[Bug middle-end/41611] [4.5 Regression] guard variable is emitted even when the guarded symbol isn't
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 25 10:11:00 GMT 2009
------- Comment #6 from hjl dot tools at gmail dot com 2009-11-25 10:10 -------
Gcc 4.5 generates:
---
.file "pr41611.cc"
.weak _ZGVZN1A4InitEvE1i
.section
.bss._ZGVZN1A4InitEvE1i,"awG",@nobits,_ZZN1A4InitEvE1i,comdat
.align 8
.type _ZGVZN1A4InitEvE1i, @object
.size _ZGVZN1A4InitEvE1i, 8
_ZGVZN1A4InitEvE1i:
.zero 8
----
It uses "_ZZN1A4InitEvE1i" for signature. Gcc should
1. Use _ZGVZN1A4InitEvE1i for signature. Or
2. Generate in the same assembly file where _ZZN1A4InitEvE1i is defined.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl dot tools at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41611
More information about the Gcc-bugs
mailing list