This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/53433] [4.8 Regression] ICE in int_mode_for_mode, at stor-layout.c:424 during lto-bootstrap
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 May 2012 15:18:38 +0000
- Subject: [Bug middle-end/53433] [4.8 Regression] ICE in int_mode_for_mode, at stor-layout.c:424 during lto-bootstrap
- Auto-submitted: auto-generated
- References: <bug-53433-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53433
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-05-21 15:18:38 UTC ---
Started with revision 187631.
commit aa419a527f91567691f226133efb0469b59359ac
Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu May 17 16:37:33 2012 +0000
* lto-symtab.c (lto_symtab_resolve_symbols): Preffer decl with
constructor
over decl without.
...
Here is another testcase (ICE with -O2):
% cat test2.i
struct demangle_component *a;
b;
d_demangle_callback () {
enum
{ DCT_GLOBAL_DTORS } c = 0;
if (0 ? : strncmp (&b, "_GLOBAL_", 8) == '.'
|| '_' == '$' == 'D' == 'I' == '_')
c = 'I' ? : 0;
switch (c)
case 0:
a = 0;
}