------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-13 04:40 ------- And here is a testcase which makes this a regression: struct aaa { aaa(_Complex float __z) ; _Complex float _M_value; }; aaa::aaa(_Complex float __z) { __z*=2.0f; _M_value = __z; } --------------------- The invalid gimple causes an ICE: [EMAIL PROTECTED] ~]$ ~/gcc-4.1//bin/gcc -O2 t.cc -fdump-tree-all t.cc: In constructor aaa::aaa(float __complex__): t.cc:6: internal compiler error: in find_lattice_value, at tree-complex.c:133 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [EMAIL PROTECTED] ~]$ ~/gcc-4.2//bin/gcc -O2 t.cc -fdump-tree-all t.cc: In constructor aaa::aaa(float __complex__): t.cc:6: internal compiler error: in find_lattice_value, at tree-complex.c:133 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-- 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.1.0 4.2.0 Known to work| |4.0.4 Last reconfirmed|0000-00-00 00:00:00 |2006-12-13 04:40:26 date| | Summary|C++ constructors can cause |[4.1/4.2/4.3 Regression] C++ |invalid gimple to happen |constructors can cause |with complex typed variables|invalid gimple to happen | |with complex typed variables Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30168