[Bug c/12446] [3.3/3.4 regression] ICE in emit_move_insn on complicated array reference

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Fri Oct 3 10:24:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gdr at integrable-solutions dot net  2003-10-03 10:24 -------
Subject: Re:  [3.3/3.4 regression] ICE in emit_move_insn on complicated array reference

"ebotcazou at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Interestingly, when ptr is assigned after its declaration, the compiler emits:
| 
| pr12446.c: In function `main':
| pr12446.c:17: error: incompatible types in assignment
| 
| which is only slightly better.

it is better and an ICE but it is incorrect, IMHO.



More information about the Gcc-bugs mailing list