------- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-12 00:32 ------- Hmm, we also have a missed optimization on the tree level too. For the following code: __complex__ double t1;
void f() { __complex__ double t; __imag__ t = 0; __real__ t = 0; t1 = t; } we get: t1 = COMPLEX_EXPR <0.0, IMAGPART_EXPR <COMPLEX_EXPR <REALPART_EXPR <t>, 0.0>>>; We should just get t1 = COMPLEX_CST {0.0, 0.0} -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC build triplet|i686-suse-linux | GCC host triplet|i686-suse-linux | GCC target triplet|i686-suse-linux | Keywords| |missed-optimization, TREE Last reconfirmed|0000-00-00 00:00:00 |2005-10-12 00:32:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23497