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

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


Reply via email to