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 #24 from chrbr at gcc dot gnu.org 2012-02-27 08:25:54 UTC ---

> I think you need to add a Changelog and submit it to gcc-patches. Both 4.6.3
> and 4.7.0 are about to be released, so you may need to wait until they are (or
> not, I am not following closely the current status)

OK, do you have an entry that comes with your patch (stmt,c and convert.c) ?

The ChangeLog entry that came with the testcase was part of the initial patch:

2010-02-15  Christian Bruel  <christian.bruel@st.com>

    * gcc.dg/case-const-1.c: Add cond expr label and cast case.
    * gcc.dg/case-const-2.c: Likewise.
    * gcc.dg/case-const-3.c: Likewise.

I'll submit the whole thing to gcc-patches.

many thanks,


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