This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2005 18:58:31 -0000
- Subject: [Bug c++/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
- References: <20050316221112.20505.ivanr@syncad.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2005-03-24 18:58 -------
actually, it'd be a miscompile if it had a dynamic initializer (because
the std says such a thing *must* be static initialized). Fortunately
the assembly is correct (which is kind of bizarre)
.type _ZN1b1dE, @object
.size _ZN1b1dE, 4
_ZN1b1dE:
.long 8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20505