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,testsuite]Fix tree-ssa tests for target with no-delete-null-pointer-checks


On Sun, 2008-06-15 at 14:07 -0400, Andy H wrote:
> The attached patch allow several tree-ssa test to operate correctly on 
> AVR target where *-fno-delete-null-pointer-checks* is active.
> 
> In this case  tests for removal of null pointer checks after 
> dereferencing  are invalid. Indeed the opposite is correct
> 
> The patches exclude avr-*-*  target from existing check and add avr-*-* 
> tests to check for NO REMOVAL of null pointer checks.
> Other targets maybe  added to selector latter as required.
> 
> Tests with AVR target and i686 target on i686 host. No regressions. AVR 
> now passes these tests.
> 
> Ok for 4.4 mainline?

Instead of checking directly for avr-*-*, please add a new
effective target keyword for targets on which
*-fno-delete-null-pointer-checks* is active and use that
instead.

Janis


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