This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/66550] New: [6 Regression] internal compiler error: verify_type failed


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66550

            Bug ID: 66550
           Summary: [6 Regression] internal compiler error: verify_type
                    failed
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ienkovich at gcc dot gnu.org
  Target Milestone: ---

Created attachment 35786
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35786&action=edit
reproducer

There is an ICE which appears when '-g' is used.  Reduced test is actually
invalid code (has undefined type) but there is a bigger valid test which fails
similarly.

>gcc test.i -g -S
test.i:4:11: error: field 'f1' has incomplete type
   enum e1 f1;
           ^
test.i:9:1: error: type variant has different TYPE_VFIELD
 };
 ^
...
test.i:9:1: internal compiler error: verify_type failed
...

Reproduced on r224363


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]