[Bug c/18465] New: static function with asm("name") and attribute("used") not emitted
falk at debian dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 13 18:57:00 GMT 2004
With this code:
static void f() __asm__("ff") __attribute__((used));
static void __attribute__((used)) f() { }
gcc 3.3 doesn't emit any code for ff when optimizing (-O3). gcc 3.4 and 4 do.
This breaks mozilla on alpha-linux.
--
Summary: static function with asm("name") and attribute("used")
not emitted
Product: gcc
Version: 3.3.5
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18465
More information about the Gcc-bugs
mailing list