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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr31490.c] - Rev 689

Compare with Previous | Blame | View Log

/* PR middle-end/31490 */
/* { dg-do compile } */
/* { dg-require-named-sections "" } */
/* { dg-require-effective-target ptr32plus } */
 
int cpu (void *attr) {}
const unsigned long x __attribute__((section("foo"))) =  (unsigned long)&cpu;
const unsigned long g __attribute__((section("foo"))) = 0;
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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