[patch,avr,committed] Move disable of -fno-delete-null-pointer-checks to common.

Georg-Johann Lay avr@gjlay.de
Thu Feb 1 16:01:00 GMT 2018


Applied the following patch that moves disabling of 
-fno-disable-null-pointer-checks to a different place so that it can be 
overwritten on the command-line (as opposed to TARGET_OVERRIDE_OPTIONS). 
  This allows some more test cases to pass that set 
-fdisable-null-pointer-checks.

gcc/
	* config/avr/avr.c (avr_option_override): Move disabling of
	-fdelete-null-pointer-checks to...
	* common/config/avr/avr-common.c (avr_option_optimization_table):
	...here.

gcc/testsuite/
	* gcc.dg/tree-ssa/vrp111.c (dg-options): Add
	-fdelete-null-pointer-checks.


Johann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: null-pointer-checks.diff
Type: text/x-patch
Size: 2254 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180201/bd5dd806/attachment.bin>


More information about the Gcc-patches mailing list