From: Jan Hubicka Date: Tue, 3 Mar 2015 17:33:22 +0000 (+0000) Subject: re PR ipa/65287 (Current trunk ICE in address_matters_p, at symtab.c:1908) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d76b082e8a606d14211b2d5070901c9c87c71b42;p=gcc.git re PR ipa/65287 (Current trunk ICE in address_matters_p, at symtab.c:1908) PR ipa/65287 * gcc.dg/ipa/pr65287.c: New test. From-SVN: r221157 --- diff --git a/gcc/testsuite/gcc.dg/ipa/pr65287.c b/gcc/testsuite/gcc.dg/ipa/pr65287.c new file mode 100644 index 00000000000..5c975fcc43d --- /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; +}