]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/16792 (ICE in gen_subprogram_die, at dwarf2out.c:11267)
authorBen Elliston <bje@au.ibm.com>
Sun, 13 Mar 2005 22:17:59 +0000 (22:17 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Sun, 13 Mar 2005 22:17:59 +0000 (09:17 +1100)
PR debug/16792
* g++.dg/debug/pr16792.C: New test.

From-SVN: r96396

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr16792.C [new file with mode: 0644]

index 06a16dd2fa6b4202b090c65d1dc9792f3e7186db..111020facd77f8358ee83448b6e176298a935cc6 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-09  Ben Elliston  <bje@au.ibm.com>
+
+       PR debug/16792
+       * g++.dg/debug/pr16792.C: New test.
+
 2005-03-13  Joseph S. Myers  <joseph@codesourcery.com>
 
        * gcc.dg/anon-struct-6.c, gcc.dg/array-8.c,
diff --git a/gcc/testsuite/g++.dg/debug/pr16792.C b/gcc/testsuite/g++.dg/debug/pr16792.C
new file mode 100644 (file)
index 0000000..39003cb
--- /dev/null
@@ -0,0 +1,10 @@
+// { dg-do compile }
+
+struct S { S(); };
+int foo (S b, double j) { };
+
+int main ()
+{
+  int foo (S, double);
+  S v;
+}