This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix PR38406


On Fri, Dec 5, 2008 at 3:58 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> The testcase Wstrict-aliasing-converted-assigned.c is optimized on ilp32
> targets before the alias warning machinery comes along.  Thus the
> following restricts the test to lp64 ones.

Wait this should not be restricted to lp64.  We really should be
warning here even if we are able to produce "correct" code.  In fact I
requested this testcase when the original newer -Wstrict-aliasing
fixes was being worked on.  The warning for this case was added to the
front-end so it could be optimized and still be warned about.

Thanks,
Andrew Pinski


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