]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Thu, 6 Feb 2003 10:59:21 +0000 (10:59 +0000)
committerNo Author <no-author@gcc.gnu.org>
Thu, 6 Feb 2003 10:59:21 +0000 (10:59 +0000)
'gcc-3_2-branch'.

From-SVN: r62483

gcc/testsuite/gcc.c-torture/compile/20030206-1.c [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.c-torture/compile/20030206-1.c b/gcc/testsuite/gcc.c-torture/compile/20030206-1.c
new file mode 100644 (file)
index 0000000..1e0d544
--- /dev/null
@@ -0,0 +1,14 @@
+/* PR c/9530 */
+/* Contributed by Volker Reichelt. */
+
+/* Verify that the call to 'foo' is not turned
+   into a sibling call.  */
+
+void foo(float d);
+
+float bar(float d);
+
+float baz(float d)
+{
+  foo(bar(d));
+}