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 c/66068] New: error: type variant has different TYPE_VFIELD


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

            Bug ID: 66068
           Summary: error: type variant has different TYPE_VFIELD
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 35495
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35495&action=edit
C source code

The attached code, when compiled by gcc trunk dated 20150506
and with flag -g, says this:

udns_resolver.c: In function âdns_newâ:
udns_resolver.c:474:1: error: type variant has different TYPE_VFIELD

...

udns_resolver.c:474:1: internal compiler error: verify_type failed
0xe3782b verify_type(tree_node const*)
    ../../src/trunk/gcc/tree.c:12695
0x7de490 gen_type_die_with_usage
    ../../src/trunk/gcc/dwarf2out.c:20247
0x7cede2 gen_type_die_with_usage
    ../../src/trunk/gcc/dwarf2out.c:20334
0x7cd756 gen_type_die
    ../../src/trunk/gcc/dwarf2out.c:20431

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