[Bug c++/35730] ICE on valid code convert_move expr.c:373

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-03-28 10:30 --- *** This bug has been marked as a duplicate of 35526 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/35730] ICE on valid code convert_move expr.c:373

2008-03-28 Thread davids at webmaster dot com
--- Comment #1 from davids at webmaster dot com 2008-03-28 09:24 --- #include int moo(void) { unsigned char msg1[] = { 0, 0 }; unsigned char msg2[] = { 0, 0 }; memcpy(msg1, msg2, 2); return memcmp(msg1, msg2, 2) != 0; } With this code, changing the sizes in both memcpy and memcmp