aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2003-11-14 01:47:55 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2003-11-13 17:47:55 -0800
commita25d596a2961075d0aa21c51c822d87218610718 (patch)
tree5aaf8a144eb51716a97768af713542bd82296804 /gcc/testsuite/gcc.c-torture
parentd794fb9fbcd8c8c376357583c2cc38c785deba36 (diff)
downloadgcc-a25d596a2961075d0aa21c51c822d87218610718.zip
gcc-a25d596a2961075d0aa21c51c822d87218610718.tar.gz
gcc-a25d596a2961075d0aa21c51c822d87218610718.tar.bz2
+2003-11-13 Andrew Pinski <apinski@apple.com> + + * config/darwin.c...
+2003-11-13 Andrew Pinski <apinski@apple.com> + + * config/darwin.c (machopic_output_possible_stub_label): + Allow stub symbol be not defined when outputting possible + stub label. + +2003-11-13 Andrew Pinski <apinski@apple.com> + + * gcc.c-torture/compile/20031113-1.c: New test. + From-SVN: r73570
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20031113-1.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20031113-1.c b/gcc/testsuite/gcc.c-torture/compile/20031113-1.c
new file mode 100644
index 0000000..74c031c
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20031113-1.c
@@ -0,0 +1,21 @@
+/* On Darwin, the stub for simple_cst_equal was not being emitted at all
+ causing the as to die and not create an object file. */
+
+int
+attribute_list_contained ()
+{
+ return (simple_cst_equal ());
+}
+int
+simple_cst_list_equal ()
+{
+ return (simple_cst_equal ());
+}
+
+
+int __attribute__((noinline))
+simple_cst_equal ()
+{
+ return simple_cst_list_equal ();
+}
+