Comment 0 for bug 690194

Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :

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
gcc-4.5:
  Installed: 4.5.1-7ubuntu2
  Candidate: 4.5.1-7ubuntu2
  Version table:
 *** 4.5.1-7ubuntu2 0
        500 http://ua.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

Test file will be attached.

$ 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.