https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588

            Bug ID: 63588
           Summary: [5 Regression] ICE (segfault) on arm-linux-gnueabihf
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

seen building libjava on arm-linux-gnueabihf on the trunk (PR63574 for the
bootstrap issue).

$ cat foo.cc 
template < class T > T elements;
       elements <> 
$ /home/doko/gcc/gcc-snapshot-20141017/build/gcc/xg++
-B/home/doko/gcc/gcc-snapshot-20141017/build/gcc/ -c -O2 foo.cc
foo.cc:1:24: warning: variable templates only available with -std=c++14 or
-std=gnu++14
 template < class T > T elements;
                        ^
foo.cc:2:18: internal compiler error: Segmentation fault
        elements <> 
                  ^
Please submit a full bug report,
with preprocessed source if appropriate.


unsure if this is correctly reduced, because the original file in PR63574
succeeds to build with -O1.

Reply via email to