[Bug c/14516] [3.4/3.5 regression] -fleading-underscore does not work correctly for file static variables
geoffk at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 30 14:00:00 GMT 2004
------- Additional Comments From geoffk at gcc dot gnu dot org 2004-05-29 01:44 -------
This appears to be a new manifestation of the old bug that
int foo()
{
static int k asm ("k");
return k;
}
when compiled with -fleading-underscore calls the variable '_k' (but not if you use any assembler name
*other than* 'k').
--
What |Removed |Added
----------------------------------------------------------------------------
CC|geoffk at gcc dot gnu dot |
|org |
AssignedTo|unassigned at gcc dot gnu |geoffk at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14516
More information about the Gcc-bugs
mailing list