public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12807] New: [tree-ssa] ICE on invalid variable sized array in class
@ 2003-10-28 10:12 reichelt at gcc dot gnu dot org
  2003-10-28 10:17 ` [Bug c++/12807] [tree-ssa] ICE on " reichelt 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 @ 2003-10-28 10:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [tree-ssa] ICE on invalid variable sized array in class
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          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

The following invalid code snippet

============================================================
template <int> struct A
{
    static int n;
    char text[n];
};

void foo() { A<0> a; }
============================================================

crashes tree-ssa:

bug.cc: In function `void foo()':
bug.cc:7: internal compiler error: in make_decl_rtl, at varasm.c:760
Please submit a full bug report, [etc.]

This might be related to PR 11267.


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

end of thread, other threads:[~2004-11-13 13:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-28 10:12 [Bug c++/12807] New: [tree-ssa] ICE on invalid variable sized array in class reichelt at gcc dot gnu dot org
2003-10-28 10:17 ` [Bug c++/12807] [tree-ssa] ICE on " reichelt at gcc dot gnu dot org
2003-10-28 10:37 ` falk dot hueffner at student dot uni-tuebingen dot de
2003-10-28 10:45 ` reichelt at igpm dot rwth-aachen dot de
2003-10-28 10:45 ` reichelt at igpm dot rwth-aachen dot de
2003-10-28 10:48 ` reichelt at igpm dot rwth-aachen dot de
2003-10-28 11:07 ` falk dot hueffner at student dot uni-tuebingen dot de
2003-10-28 14:45 ` bangerth at dealii dot org
2003-10-28 15:10 ` falk dot hueffner at student dot uni-tuebingen dot de
2003-10-29  6:13 ` gdr at integrable-solutions dot net
2003-10-29  6:48 ` gdr at integrable-solutions dot net
2003-10-30  5:53 ` pinskia at gcc dot gnu dot org
2003-12-01  3:25 ` pinskia at gcc dot gnu dot org
2004-02-04  2:45 ` [Bug c++/12807] Failure to diagnose VLA in template rth at gcc dot gnu dot org
2004-05-24 12:40 ` pinskia at gcc dot gnu dot org
2004-08-12  0:23 ` pinskia at gcc dot gnu dot org
2004-11-13 13:08 ` reichelt 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).