This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/20505] [4.0/4.1 Regression] internal error when compiling with -ggdb2 and no error with -ggdb1
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2005 23:25:29 -0000
- Subject: [Bug debug/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 pinskia at gcc dot gnu dot org 2005-03-16 23:25 -------
Confirmed, reduce testcase:
struct a
{
int b,c;
};
template <int>
struct b
{
static const int d;
virtual bool f() const=0;
};
template <>
const int b<2>::d = ((int)(&((a*)1)->c) - 1);
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-03-16 23:25:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20505