[Bug other/22393] ICE in emit_move_insn, at expr.c:3142

2005-07-11 Thread reichelt at gcc dot gnu dot org

--- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-11 
10:47 ---
Reduced testcase (compile with gcc -O -std=gnu99):


__complex__ double foo (__complex__ double x)
{
return 1.0 / x * -1.0i;
}


Andrew, this was really fixed by your patch for PR 22356.

Do you want to add this as a testcase, since the one in PR22356
only triggers with an additional patch of yours?


-- 
   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org, reichelt at gcc dot gnu
   ||dot org
  BugsThisDependsOn||22356
 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22393


Re: [Bug other/22393] ICE in emit_move_insn, at expr.c:3142

2005-07-11 Thread Andrew Pinski


On Jul 11, 2005, at 6:47 AM, reichelt at gcc dot gnu dot org wrote:


Do you want to add this as a testcase, since the one in PR22356
only triggers with an additional patch of yours?


Yes Please add the testcase as we don't have that many complex tests
in GCC's testsuite.

-- Pinski



[Bug other/22393] ICE in emit_move_insn, at expr.c:3142

2005-07-10 Thread pluto at agmk dot net

--- Additional Comments From pluto at agmk dot net  2005-07-10 12:22 ---
Created an attachment (id=9238)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9238action=view)
testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22393


[Bug other/22393] ICE in emit_move_insn, at expr.c:3142

2005-07-10 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-10 
18:26 ---
I think this was fixed by:
2005-07-08  Andrew Pinski  [EMAIL PROTECTED]

PR tree-opt/22356
* tree-complex.c (expand_complex_libcall): Produce
REALPART_EXPR/IMAGPART_EXPR with the correct type.

Just because I cannot reproduce it with last night's build of gcc.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22393