pr36901.h: AVR must support address zero.

2009-12-21  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

	* gcc.dg/pr36901.h: AVR must support address zero.

From-SVN: r155383
This commit is contained in:
Andy Hutchinson 2009-12-22 00:08:34 +00:00
parent 993948c6da
commit 7ad50b4d41
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
* gcc.dg/pr36901.h: AVR must support address zero.
2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
PR testsuite/36903

View file

@ -1,2 +1,6 @@
#if defined(AVR) /* flag_delete_null_pointer_checks = 0 */
int sc = (&sc >= 0);
#else
int sc = (&sc > 0);
#endif