Take the following code:
void bar (const int * const x);
static const int y[];
void
foo (void)
{
bar (y);
}
This should at assemble but does not.
If I get some time this weekend I will look into fixing this.
--
Summary: variable is not emitted in the asm
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: minor
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19315