[Bug target/60822] Index register overwritten on m68k/coldfire
mikpelinux at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Apr 12 15:53:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60822
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Created attachment 32587
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32587&action=edit
self-contained test case in C
Doesn't need C++, this C version reproduces the wrong-code on m68k-linux with
-mcpu=68010, but not with -mcpu=68020 or higher. Occurs with gcc 4.9-20140406
and 4.7-20140308 (haven't checked other versions yet).
More information about the Gcc-bugs
mailing list