[Bug c/84290] New: Internal compiler error: in tree_to_uhwi, at tree.h:4044

xvl5190 at psu dot edu gcc-bugzilla@gcc.gnu.org
Thu Feb 8 16:42:00 GMT 2018


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

            Bug ID: 84290
           Summary: Internal compiler error: in tree_to_uhwi, at
                    tree.h:4044
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xvl5190 at psu dot edu
  Target Milestone: ---

Test case:

/* PR c/81231 */ /* { dg-do compile } */ /* { dg-options "" : \ \ \ ina + 1 + i
+ 1) + 1;} */
enum E;
void foo(void) {
  __atomic_load_n((enum E * ) 0, 0); /* { dg-error "incompatible" } */
  __atomic_load_n((enum X * ) 0, 0); /* { dg-error "incompatible" } */
}


More information about the Gcc-bugs mailing list