I suppose this PR is a bit premature, but after the VTA merge using
-fvar-tracking-assignments with -flto

$ cat seg.c
void foo() {
  int hex = 0x4;
}
$ ./xgcc -B. seg.c -flto -fvar-tracking-assignments -c
r...@avarice:~/gcc/lto/x86-build/gcc$ ./xgcc -B. seg.o -flto -shared           
In file included from :0:0:
seg.c: In function 'foo':
seg.c:1:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: ././xgcc returned 1 exit status
collect2: lto-wrapper returned 1 exit status


-- 
           Summary: [LTO] Segfault using -flto with -fvar-tracking-
                    assignments
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rmansfield at qnx dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41230

Reply via email to