Commit 67384dfb by Richard Henderson Committed by Richard Henderson

990208-1.c (main): Don't pass constants through to doit's conditional.

        * gcc.c-torture/execute/990208-1.c (main): Don't pass
        constants through to doit's conditional.

From-SVN: r33878
parent a92fa608
2000-05-12 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/990208-1.c (main): Don't pass
constants through to doit's conditional.
Thu May 11 19:02:43 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20000511-1.c: New test.
......
......@@ -4,6 +4,7 @@
#ifndef NO_LABEL_VALUES
static void *ptr1, *ptr2;
static int i = 1;
static __inline__ void doit(void **pptr, int cond)
{
......@@ -27,9 +28,9 @@ static void bar(void);
int main()
{
f (1);
f (i);
bar();
g (1);
g (i);
#ifdef __OPTIMIZE__
if (ptr1 == ptr2)
......
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