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/70250] New: Compilation hangs without optimization.


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

            Bug ID: 70250
           Summary: Compilation hangs without optimization.
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: brijesh.s.singh at gmail dot com
  Target Milestone: ---

Following code hangs during compiling. It works with O2, O3.

#include<stdio.h>

static int hash[(1ul<<32 - 1)];

int main() {
        return 0;
}

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