[Bug tree-optimization/18904] [4.0 Regression] 4.0-20041205 regression ICE with -O3
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 9 15:19:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-09 15:19 -------
Confirmed, reduced to:
struct Data;
struct Wrapper {
Data* D;
};
struct Data {
int X;
void init(Wrapper&);
};
void Data::init( Wrapper &w ) {
int Data::* res = &Data::X;
w.D = this;
for( int i = 0; i < 4; i++ )
(w.D->*res) = 0;
}
I am testing a fix, it is another use convert when we should be using fold_convert.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Component|c++ |tree-optimization
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-12-09 15:19:01
date| |
Summary|4.0-20041205 regression ICE |[4.0 Regression] 4.0-
|with -O3 |20041205 regression ICE with
| |-O3
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18904
More information about the Gcc-bugs
mailing list