OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr31490.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR middle-end/31490 */
2
/* { dg-do compile } */
3
/* { dg-require-named-sections "" } */
4
/* { dg-require-effective-target ptr32plus } */
5
 
6
int cpu (void *attr) {}
7
const unsigned long x __attribute__((section("foo"))) =  (unsigned long)&cpu;
8
const unsigned long g __attribute__((section("foo"))) = 0;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.