This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52283] "error: case label does not reduce to an integer constant" for constant folded cast expr
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Feb 2012 17:40:36 +0000
- Subject: [Bug c/52283] "error: case label does not reduce to an integer constant" for constant folded cast expr
- Auto-submitted: auto-generated
- References: <bug-52283-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52283
--- Comment #16 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-02-21 17:40:36 UTC ---
On Tue, 21 Feb 2012, manu at gcc dot gnu.org wrote:
> Created attachment 26710
> --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26710
> patch reverting PR26632
>
> I am testing this. It reverts PR26632 fix and ignores recurses into NOPs at the
> warning point. Do you see any potential issues?
I think the full set of testcases from the patch originally proposed on
gcc-patches should be added, but don't see any issues with this new patch
from a front-end perspective.