projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb1282
)
re PR ipa/65287 (Current trunk ICE in address_matters_p, at symtab.c:1908)
author
Jan Hubicka
<hubicka@gcc.gnu.org>
Tue, 3 Mar 2015 17:33:22 +0000
(17:33 +0000)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Tue, 3 Mar 2015 17:33:22 +0000
(17:33 +0000)
PR ipa/65287
* gcc.dg/ipa/pr65287.c: New test.
From-SVN: r221157
gcc/testsuite/gcc.dg/ipa/pr65287.c
[new file with mode: 0644]
patch
|
blob
diff --git a/gcc/testsuite/gcc.dg/ipa/pr65287.c
b/gcc/testsuite/gcc.dg/ipa/pr65287.c
new file mode 100644
(file)
index 0000000..
5c975fc
--- /dev/null
+++ b/
gcc/testsuite/gcc.dg/ipa/pr65287.c
@@ -0,0
+1,15
@@
+/* { dg-do compile } */
+/* { dg-require-alias "" } */
+/* { dg-options "-O2" } */
+
+const int __new_sys_siglist[] = {};
+
+extern __typeof(__new_sys_siglist) _new_sys_siglist
+ __attribute__((alias("__new_sys_siglist")));
+extern __typeof(__new_sys_siglist) _sys_siglist
+ __attribute__((alias("__new_sys_siglist")));
+
+int main()
+{
+ return 0;
+}