[Issue 1157] New: gdc makes functions .globl even when visibility is "hidden" or "internal"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 17 10:07:49 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1157
Summary: gdc makes functions .globl even when visibility is
"hidden" or "internal"
Product: DGCC aka GDC
Version: 0.23
Platform: Other
OS/Version: All
Status: NEW
Severity: blocker
Priority: P2
Component: glue layer
AssignedTo: dvdfrdmn at users.sf.net
ReportedBy: madou at madou.org
The following code:
pragma(GNU_attribute, visibility("hidden"))
void test()
{
}
results in:
.globl _D1x4testFZv
.hidden _D1x4testFZv
.type _D1x4testFZv, @function
_D1x4testFZv:
which is clearly bogus.
--
More information about the D.gnu
mailing list