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;
}

Reply via email to