This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][target/52481] m68k-*: internal compiler error: in extract_insn, at recog.c:2123


> --- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2012-03-04 21:01:28 UTC ---
> Created attachment 26827
>   --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26827
> reduced test case in C
> 
> Depends on target CPU selection.  -mcpu=680[012346]0 and -mcpu=cpu32 all work,
> but -mcpu=5206 (or apparently any other coldfire) ICEs.

Indeed.  Fixed by not trying to use negqi2 directly, but going
through the normal expanders which will DTRT for coldfire.

Tested via cross-compile, committed to mainline and 4.7.


r~

Attachment: z
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]