This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/66066] New: [6 Regression] r222889 causes bogus error: initializer element is not constant
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 May 2015 06:03:56 +0000
- Subject: [Bug c/66066] New: [6 Regression] r222889 causes bogus error: initializer element is not constant
- Auto-submitted: auto-generated
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;
^