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
This commit is contained in:
parent
2f1c7156ef
commit
dae279f018
@ -1,3 +1,12 @@
|
||||
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
|
||||
|
16
gcc/testsuite/gcc.dg/pr40172-2.c
Normal file
16
gcc/testsuite/gcc.dg/pr40172-2.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* 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;
|
||||
}
|
17
gcc/testsuite/gcc.dg/pr40172-3.c
Normal file
17
gcc/testsuite/gcc.dg/pr40172-3.c
Normal file
@ -0,0 +1,17 @@
|
||||
/* 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user