This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
A bug present in 3.2
- From: Stelios Xanthakis <sxanth at ceid dot upatras dot gr>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 21 Oct 2003 23:15:10 +0300 (EET DST)
- Subject: A bug present in 3.2
Hi.
In gcc32, if you put a static local variable of
a static inline function into a ".gnu.linkonce.d"
section, it crashes.
The sections appear to be correct in object files,
so this is probably a linker problem.
This is fixed in 3.3/3.4?
Any other way we can work around static locals of
static inline functions? (we want one storage for all object files)
Thanks
stelios
// CC: