Commit dae279f0 by H.J. Lu Committed by H.J. Lu

re PR c/40172 (Revision 147596 breaks bootstrap)

2009-05-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR c/40172
	* gcc.dg/pr40172.c: Renamed to ...
	* gcc.dg/pr40172-1.c: This.

	* gcc.dg/pr40172-2.c: New.
	* gcc.dg/pr40172-3.c: Likewise.

From-SVN: r147719
parent 2f1c7156
2009-05-19 H.J. Lu <hongjiu.lu@intel.com>
PR c/40172
* gcc.dg/pr40172.c: Renamed to ...
* gcc.dg/pr40172-1.c: This.
* gcc.dg/pr40172-2.c: New.
* gcc.dg/pr40172-3.c: Likewise.
2009-05-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/40172
......
/* PR middle-end/40172 */
/* { dg-do compile } */
/* { dg-options "-Wall -W -Werror" } */
extern int xxx;
#define XXX xxx
int
test (void)
{
if (!XXX && xxx)
return 4;
else
return 0;
}
/* PR middle-end/40172 */
/* { dg-do compile */
/* { dg-xfail-if "" { "*-*-*" } { "*" } { "" } } */
/* { dg-options "-Wall -W -Werror -Wlogical-op" } */
extern int xxx;
#define XXX xxx
int
test (void)
{
if (!XXX && xxx)
return 4;
else
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment