This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29478] [4.2 Regression] optimization generates warning for casts
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2007 01:15:50 -0000
- Subject: [Bug middle-end/29478] [4.2 Regression] optimization generates warning for casts
- References: <bug-29478-11533@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #28 from manu at gcc dot gnu dot org 2007-11-13 01:15 -------
(In reply to comment #26)
> (In reply to comment #25)
> >
> > ... but the audit trail suggests otherwise. :S
> >
>
> Ok, now I'm confused :-)
>
Mark does not actually read the full list of messages when changing the target
milestone. I think this should be closed as WONTFIX since there is no easy way
to fix this for 4.2 but it is fixed in 4.3. As a workaround, you should be able
to use -Wno-cast-qual to avoid the warning.
I don't remember if 4.2 supports -Wno-error=cast-qual. If it does, you can
still get the warning as a warning even when using -Werror.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478