Commit 25ff07eb by J"orn Rennecke Committed by Joern Rennecke

* gcc.c-torture/execute/pr28289.c: New test.

From-SVN: r116224
parent 343d4b27
2006-08-17 J"orn Rennecke <joern.rennecke@st.com>
* gcc.c-torture/execute/pr28289.c: New test.
2006-08-17 Jakub Jelinek <jakub@redhat.com> 2006-08-17 Jakub Jelinek <jakub@redhat.com>
PR c/28744 PR c/28744
extern int ok (int);
extern void exit ();
static int gen_x86_64_shrd (int);
static int
gen_x86_64_shrd(int a __attribute__ ((__unused__)))
{
return 0;
}
extern int gen_x86_shrd_1 (int);
extern void ix86_split_ashr (int);
void
ix86_split_ashr (int mode)
{
(mode != 0
? ok
: gen_x86_64_shrd) (0);
}
int
main (int argc, char **argv)
{
ix86_split_ashr (argc);
return 1;
}
int
ok (int i)
{
exit (i);
}
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