[Bug c++/79407] New: -fcall-saved-rax flag causes an internal segmentation fault
mini at cs dot technion.ac.il
gcc-bugzilla@gcc.gnu.org
Tue Feb 7 14:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79407
Bug ID: 79407
Summary: -fcall-saved-rax flag causes an internal segmentation
fault
Product: gcc
Version: 5.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mini at cs dot technion.ac.il
Target Milestone: ---
I am getting internal error with the -fcall-saved-rax flag
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
to reproduce:
$ cat main.c
int main() {
int* x = new int;
return 0;
}
$ g++ -fcall-saved-rax main.c
main.c: In function ‘int main()’:
main.c:16:15: internal compiler error: Segmentation fault
int* x = new int;
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
More information about the Gcc-bugs
mailing list