[Bug tree-optimization/66178] New: Another label as values ICE

SztfG at yandex dot ru gcc-bugzilla@gcc.gnu.org
Sat May 16 18:03:00 GMT 2015


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

            Bug ID: 66178
           Summary: Another label as values ICE
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: SztfG at yandex dot ru
  Target Milestone: ---

c and c++ compiler crashes. Testcase:

void bar(int);

int test(void) {
    static int test =  ((char *)&&l2-(char *)&&l3)+((char *)&&l1-(char *)&&l2);
l1:
l2:
l3:
    bar(test);
    return 0;
}



More information about the Gcc-bugs mailing list