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/66066] New: [6 Regression] r222889 causes bogus error: initializer element is not constant


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

            Bug ID: 66066
           Summary: [6 Regression] r222889 causes bogus error: initializer
                    element is not constant
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
  Target Milestone: ---

% cat decode.i
int a = -1 << 0 | 0;

 % gcc -c decode.i
decode.i:1:9: error: initializer element is not constant
 int a = -1 << 0 | 0;
         ^


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