This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][M68K]: Fix PR35018
- From: Jeff Law <law at redhat dot com>
- To: Maxim Kuvyrkov <maxim at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Andreas Schwab <schwab at suse dot de>, Nils Wallménius <nils dot wallmenius at gmail dot com>
- Date: Mon, 24 Nov 2008 09:51:17 -0700
- Subject: Re: [PATCH][M68K]: Fix PR35018
- References: <4925BFBC.3010901@codesourcery.com>
Maxim Kuvyrkov wrote:
Hello,
The patch below fixes PR35018 in a rather trivial way: it adds new
ColdFire-friendly alternatives to the instruction pattern and makes
original alternative be skipped when compiling for ColdFire.
This patch employs new instruction attribute "ok_for_coldfire" that is
added by a similar patch in
http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00964.html.
Tested on ColdFire bare-metal QEMU emulator (gcc, g++, libstdc++); ok
for trunk?
This is fine as is the hunk from the extendsidi Coldfire patch which
introduces ok_for_coldfire.
jeff