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/52283] "error: case label does not reduce to an integer constant" for constant folded cast expr


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.


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