public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19108] New: [4.0 regression] ICE initializing arrays
@ 2004-12-21 14:37 reichelt at gcc dot gnu dot org
  2004-12-21 15:30 ` [Bug tree-optimization/19108] " pinskia at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-21 14:37 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet causes an ICE on mainline when
compiled with "-O":

==================================
struct A
{
    int i[6];
    A () : i() {}
};

struct B
{
    A a;
    B(const A& x) : a(x) {}
};

B b=A();
==================================

  bug.cc: In function 'void __static_initialization_and_destruction_0(int,
int)':
  bug.cc:13: internal compiler error: in sra_hash_tree, at tree-sra.c:383
  Please submit a full bug report, [etc.]

This seems to be a recent regression (within the last week).
The problem might be related to PR 18793.

-- 
           Summary: [4.0 regression] ICE initializing arrays
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot
                    com


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-03-29 22:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-21 14:37 [Bug c++/19108] New: [4.0 regression] ICE initializing arrays reichelt at gcc dot gnu dot org
2004-12-21 15:30 ` [Bug tree-optimization/19108] " pinskia at gcc dot gnu dot org
2004-12-21 16:10 ` pinskia at gcc dot gnu dot org
2004-12-22 12:44 ` steven at gcc dot gnu dot org
2004-12-31 12:13 ` steven at gcc dot gnu dot org
2004-12-31 16:08 ` reichelt at gcc dot gnu dot org
2004-12-31 16:10 ` pinskia at gcc dot gnu dot org
2005-01-01 16:28 ` steven at gcc dot gnu dot org
2005-03-16 20:52 ` [Bug tree-optimization/19108] [4.0/4.1 " reichelt at gcc dot gnu dot org
2005-03-18 15:49 ` sayler at thewalrus dot org
2005-03-18 23:00 ` sayler at thewalrus dot org
2005-03-24 17:58 ` mmitchel at gcc dot gnu dot org
2005-03-28 19:13 ` rth at gcc dot gnu dot org
2005-03-28 21:05 ` steven at gcc dot gnu dot org
2005-03-29 22:44 ` cvs-commit at gcc dot gnu dot org
2005-03-29 22:56 ` cvs-commit at gcc dot gnu dot org
2005-03-29 22:58 ` rth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).