[Bug c++/18581] New: ICE in 3.4.3, regression from 3.4.2

bagnara at cs dot unipr dot it gcc-bugzilla@gcc.gnu.org
Sat Nov 20 18:30:00 GMT 2004


The following snippet compiles fine with GCC versions prior to 3.4.3
and aborts with an ICE with 3.4.3:

struct S {
  int i;
  int a[];
};

S v = { 0, {} };

$ g++ -V 3.4.3 -c bug.cc
bug.cc:6: internal compiler error: in tree_low_cst, at tree.c:3313
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ g++ -V 3.4.2 -c bug.cc
$ g++ -V 3.4.1 -c bug.cc
$ g++ -V 3.4.0 -c bug.cc
$ g++ -V 3.3.3 -c bug.cc

-- 
           Summary: ICE in 3.4.3, regression from 3.4.2
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bagnara at cs dot unipr dot it
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list