This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/84291] New: Internal compiler error: in tree_to_uhwi, at tree.h:4128
- From: "xvl5190 at psu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Feb 2018 16:42:41 +0000
- Subject: [Bug c/84291] New: Internal compiler error: in tree_to_uhwi, at tree.h:4128
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84291
Bug ID: 84291
Summary: Internal compiler error: in tree_to_uhwi, at
tree.h:4128
Product: gcc
Version: 7.2.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" } */
}