re PR middle-end/31490 (Compile error section type conflict)
2010-11-17 Steve Ellcey <sje@cup.hp.com> PR middle-end/31490 * gcc.dg/pr31490.c: New test. From-SVN: r166888
This commit is contained in:
parent
86f27ba678
commit
d1b2ae0d9c
@ -1,3 +1,8 @@
|
||||
2010-11-17 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
PR middle-end/31490
|
||||
* gcc.dg/pr31490.c: New test.
|
||||
|
||||
2010-11-17 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* gcc.dg/nop.h: Move from ...
|
||||
|
6
gcc/testsuite/gcc.dg/pr31490.c
Normal file
6
gcc/testsuite/gcc.dg/pr31490.c
Normal file
@ -0,0 +1,6 @@
|
||||
/* PR middle-end/31490 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-named-sections "" } */
|
||||
int cpu (void *attr) {}
|
||||
const unsigned long x __attribute__((section("foo"))) = (unsigned long)&cpu;
|
||||
const unsigned long g __attribute__((section("foo"))) = 0;
|
Loading…
Reference in New Issue
Block a user