This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29718] [4.2/4.3 Regression] when compiling dirac 0.6.0 with gcc 4.2.0 20061024, gcc gives an internal compiler error
- 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: 5 Nov 2006 08:24:32 -0000
- Subject: [Bug tree-optimization/29718] [4.2/4.3 Regression] when compiling dirac 0.6.0 with gcc 4.2.0 20061024, gcc gives an internal compiler error
- References: <bug-29718-13516@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-05 08:24 -------
Reduced testcase:
struct Subband
{
int m_xp, m_yp, m_xl, m_yl, a, b;
bool m_multi_quants;
};
struct SubbandList
{
int Length() const;
Subband& operator()(void){return *(_M_start);}
Subband *_M_start;
};
struct BandCodec
{
BandCodec(int band_num);
virtual void DoWorkDecode(void);
virtual ~BandCodec ();
};
struct IntraDCBandCodec : public BandCodec
{
IntraDCBandCodec(const SubbandList& band_list)
: BandCodec(band_list.Length()) {}
};
void Decompress()
{
SubbandList bands;
bands().m_multi_quants = 0;
new IntraDCBandCodec(bands);
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.2.0 4.3.0
Known to work| |4.1.2
Last reconfirmed|0000-00-00 00:00:00 |2006-11-05 08:24:32
date| |
Summary|when compiling dirac 0.6.0 |[4.2/4.3 Regression] when
|with gcc 4.2.0 20061024, gcc|compiling dirac 0.6.0 with
|gives an internal compiler |gcc 4.2.0 20061024, gcc
|error |gives an internal compiler
| |error
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29718