Commit 62df2805 by Steve Ellcey Committed by Steve Ellcey

versionid-1.c: New test.

	* gcc.target/ia64/versionid-1.c: New test.
	* gcc.target/ia64/versionid-2.c: New test.

From-SVN: r121130
parent 3b313c78
2007-01-24 Steve Ellcey <sje@cup.hp.com>
* gcc.target/ia64/versionid-1.c: New test.
* gcc.target/ia64/versionid-2.c: New test.
2007-01-24 Richard Guenther <rguenther@suse.de>
PR testsuite/30181
/* { dg-do compile { target ia64-*-hpux* } } */
extern int foo () __attribute__((version_id ("20040821")));
int bar(int i)
{
return (foo() + 1);
}
/* { dg-final { scan-assembler "alias.*foo.*foo{20040821}" } } */
/* { dg-do compile { target ia64-*-hpux* } } */
extern int foo () __attribute__((version_id ("20040821")));
int foo(int i)
{
return (1);
}
/* { dg-final { scan-assembler "alias.*foo.*foo{20040821}" } } */
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