* gcc.c-torture/execute/pr28289.c (one): New variable.
(main): Use it instead of argc.
* gcc.c-torture/execute/
20060102-1.c (one): New variable.
(main): Use it instead of argc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117060
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-09-19 Richard Sandiford <richard@codesourcery.com>
+
+ * gcc.c-torture/execute/pr28289.c (one): New variable.
+ (main): Use it instead of argc.
+ * gcc.c-torture/execute/20060102-1.c (one): New variable.
+ (main): Use it instead of argc.
+
2006-09-19 Paul Brook <paul@codesourcery.com>
PR target/28516
return (x >> 31) ? -1 : 1;
}
-int main (int argc)
+volatile int one = 1;
+int main (void)
{
/* Test that the function above returns different values for
different signs. */
- if (f(argc) == f(-argc))
+ if (f(one) == f(-one))
abort ();
return 0;
}
: gen_x86_64_shrd) (0);
}
+volatile int one = 1;
int
-main (int argc, char **argv)
+main (void)
{
- ix86_split_ashr (argc);
+ ix86_split_ashr (one);
return 1;
}