http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45382
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45382
--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-14
15:31:42 UTC ---
Author: rguenth
Date: Thu Oct 14 15:31:36 2010
New Revision: 165471
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165471
Log:
2010-10-14 Richard
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45382
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
--- Comment #2 from jakub at gcc dot gnu dot org 2010-08-23 10:09 ---
Smaller testcase:
templateclass T, unsigned long l
inline unsigned long foo (T ()[l]) { return l; }
struct S { char *s[4]; S (); };
S::S () { typedef int T[foo (s) == 4 ? 1 : -1]; }
--
jakub at gcc dot gnu dot
--- Comment #3 from jakub at gcc dot gnu dot org 2010-08-23 10:16 ---
As can be seen in
inline unsigned long foo () { return 4; }
struct S { S (); };
void bar () { typedef int T[foo () == 4 ? 1 : -1]; }
S::S () { typedef int T[foo () == 4 ? 1 : -1]; }
the problem only happens in cdtors,
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|4.5.2 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45382
--- Comment #1 from mattst88 at gmail dot com 2010-08-22 22:01 ---
Created an attachment (id=21546)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21546action=view)
SmallStrings.i from webkit-gtk-1.2.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45382