$ gcc-4.5 test.c -o test -O1 -fopenmp -flto -std=c99
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
lto-wrapper: /usr/bin/gcc-4.5.real returned 1 exit status
collect2: lto-wrapper returned 1 exit status
The bug does not happen with -O0, or when either -flto or -fopenmp is not used
Despite 'ulimit -c unlimited', core file is not generated.
Binary package hint: gcc-4.5
$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
$ LC_ALL=C apt-cache policy gcc-4.5 ua.archive. ubuntu. com/ubuntu/ maverick/main amd64 Packages dpkg/status
gcc-4.5:
Installed: 4.5.1-7ubuntu2
Candidate: 4.5.1-7ubuntu2
Version table:
*** 4.5.1-7ubuntu2 0
500 http://
100 /var/lib/
Test file will be attached.
$ gcc-4.5 test.c -o test -O1 -fopenmp -flto -std=c99 //usr/share/ doc/gcc- 4.5/README. Bugs> for instructions. gcc-4.5. real returned 1 exit status
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
lto-wrapper: /usr/bin/
collect2: lto-wrapper returned 1 exit status
The bug does not happen with -O0, or when either -flto or -fopenmp is not used
Despite 'ulimit -c unlimited', core file is not generated.