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 #14 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-02-20 15:59:39 UTC ---
(In reply to comment #13)
> Related to PR37985, which is caused by the fix for PR26632, too.  I still think
> that patch should possibly be reverted instead.

I also think that patch should be reverted, and a proper fix for that bug be
implemented instead by making the code that emits the warning smarter. I rather
have that PR26632 reopen, and no hacks, than these recent ones.

BTW, I cannot reproduce this bug in a recent trunk r184311.


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