Re: [PATCH] Add strict aliasing warning when inlining function.

2014-08-18 Thread lin zuojian
Hi Andrew, I configure my gcc only to c language family. Sorry for my sloppy. I have not run the test yet either. I only run my test manually. That will be patch v2 soon. -- Lin Zuojian

Re: [PATCH] Add strict aliasing warning when inlining function.

2014-08-18 Thread Andrew Pinski
On Mon, Aug 18, 2014 at 9:35 PM, lin zuojian wrote: > Hi, > I want to add a warning to inlining function when violate strict > aliasing. > See bug: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60546 > For details. > > * tree-inline.c (global): Add new include to c-family/c-co

[PATCH] Add strict aliasing warning when inlining function.

2014-08-18 Thread lin zuojian
Hi, I want to add a warning to inlining function when violate strict aliasing. See bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60546 For details. * tree-inline.c (global): Add new include to c-family/c-common.h. To access strict aliasing check. (setup_one_parameter): Add