// { dg-do compile }
// { dg-options "-g -fno-inline" }

void
test ()
{
  struct S
  {
    typedef void (**T) (void);
    static T i (void) { return 0; }
  };
  S s;
  if (s.i ())
    *s.i () = 0;
}

ICEs with
rh632847.C:15:1: internal compiler error: in dwarf2out_finish, at
dwarf2out.c:22387
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

This has been introduced in r145440.


-- 
           Summary: [4.5/4.6 Regression] ICE in dwarf2out_finish
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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

Reply via email to