bad generation of stabs under i386-coff with -O2 -finline-functions
Marc Espie
Marc.Espie@liafa.jussieu.fr
Tue Oct 13 11:54:00 GMT 1998
... I even looked up the relevant statement in the CD2, so unless things have
changed in between, my updated example indeed shows an error...
[3.6.2]:
3 It is implementation-defined whether or not the dynamic initialization
(_dcl.init_, _class.static_, _class.ctor_, _class.expl.init_) of an
object of namespace scope is done before the first statement of main.
If the initialization is deferred to some point in time after the
first statement of main, it shall occur before the first use of any
function or object defined in the same translation unit as the object
to be initialized.31)
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'
More information about the Gcc-bugs
mailing list