public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11063] New: ICE on parsing initialization list of const array member
@ 2003-06-02 12:15 ElGringo@gmx.at
  2003-06-02 12:21 ` [Bug c++/11063] " ElGringo@gmx.at
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: ElGringo@gmx.at @ 2003-06-02 12:15 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=11063

           Summary: ICE on parsing initialization list of const array member
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ElGringo@gmx.at
                CC: gcc-bugs@gcc.gnu.org

Member:       const int val[2];
Constructor:  Foo::Foo (...) : val((int[]) {...})
results in:
init.cpp: In constructor `Foo::Foo(int, int)':
init.cpp:12: Internal compiler error in build_modify_expr, at cp/typeck.c:5516

works fine with Constructor: Foo::Foo (...) : foo((const int[]) {...})

(i don't understand why i need the casting, but syntax error without...)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2003-10-17  4:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02 12:15 [Bug c++/11063] New: ICE on parsing initialization list of const array member ElGringo@gmx.at
2003-06-02 12:21 ` [Bug c++/11063] " ElGringo@gmx.at
2003-06-02 12:24 ` ElGringo@gmx.at
2003-06-02 12:27 ` [Bug c++/11063] [3.3/3.4 Regression] " pinskia@physics.uc.edu
2003-07-11 22:19 ` mmitchel at gcc dot gnu dot org
2003-07-23 19:43 ` pinskia at physics dot uc dot edu
2003-08-03 17:31 ` pinskia at physics dot uc dot edu
2003-08-05  2:23 ` pinskia at physics dot uc dot edu
2003-08-05 22:45 ` janis187 at us dot ibm dot com
2003-08-29 21:17 ` jason at gcc dot gnu dot org
2003-10-14 20:45 ` cvs-commit at gcc dot gnu dot org
2003-10-14 20:46 ` cvs-commit at gcc dot gnu dot org
2003-10-14 20:46 ` cvs-commit at gcc dot gnu dot org
2003-10-14 20:49 ` pinskia at gcc dot gnu dot org
2003-10-17  1:57 ` danglin at gcc dot gnu dot org
2003-10-17  4:57 ` jason 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).