re PR c++/59240 (ICE in varpool_get_node)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 12 Dec 2014 22:40:29 +0000 (22:40 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 12 Dec 2014 22:40:29 +0000 (22:40 +0000)
2014-12-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59240
* g++.dg/torture/pr59240.C: New.

From-SVN: r218693

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

index 767617798ab7ef7cd88f20ed0f30b3b5aba200ca..5fd9907dfa9f50036880c077912cedf5e9b2764d 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/59240
+       * g++.dg/torture/pr59240.C: New.
+
 2014-12-12  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/59628
diff --git a/gcc/testsuite/g++.dg/torture/pr59240.C b/gcc/testsuite/g++.dg/torture/pr59240.C
new file mode 100644 (file)
index 0000000..90d68c0
--- /dev/null
@@ -0,0 +1 @@
+static int foo __attribute__ ((__weakref__("foo")));