FS#61847 - [gcc] internal compiler error: Segmentation fault signal terminated program cc1plus

Attached to Project: Arch Linux
Opened by Daniil Sharko (werelaxe) - Sunday, 24 February 2019, 12:45 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 23 June 2019, 16:14 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Segmentation fault happens while compiling segfault-program.cpp (in attachments) with options: "g++ -ftemplate-depth=1000000 segfault-program.cpp".
Also, there is no errors while compiling non-segfault-program.cpp (in attachments) with the same compiler options, but it takes some time:

real 2m16,186s
user 2m14,934s
sys 0m0,231s

Additional info:
* Verbose output of compiling (with -v option) in attachments (verbose-output).
* g++ version: "g++ (GCC) 8.2.1 20180831".
* Arch Linux version: "Linux Billy 4.18.16-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 20 22:06:45 UTC 2018 x86_64 GNU/Linux".
* Preprosessed segfault program in attachments (preprocessed-segfault-program).
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 23 June 2019, 16:14 GMT
Reason for closing:  Upstream
Additional comments about closing:  It also happens with GCC 9 and is not a packaging bug. Please report it (including reproducing steps) upstream.

Loading...