* [PATCH]: Fix PR target/7361 (HC11 port)
@ 2002-07-22 13:11 Stephane Carrez
0 siblings, 0 replies; only message in thread
From: Stephane Carrez @ 2002-07-22 13:11 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
Hi!
I've committed the following patch to fix PR 7361.
Committed on mainline only since I don't know if branches are open...
Stephane
2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
PR target/7361
* config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
constant addresses only on 68HC12.
[-- Attachment #2: m68hc11.c.diffs --]
[-- Type: text/plain, Size: 686 bytes --]
Index: config/m68hc11/m68hc11.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m68hc11/m68hc11.c,v
retrieving revision 1.48
diff -u -p -r1.48 m68hc11.c
--- config/m68hc11/m68hc11.c 16 Jul 2002 22:23:59 -0000 1.48
+++ config/m68hc11/m68hc11.c 22 Jul 2002 19:34:06 -0000
@@ -660,7 +660,7 @@ go_if_legitimate_address_internal (opera
enum machine_mode mode;
int strict;
{
- if (CONSTANT_ADDRESS_P (operand))
+ if (CONSTANT_ADDRESS_P (operand) && TARGET_M6812)
{
/* Reject the global variables if they are too wide. This forces
a load of their address in a register and generates smaller code. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-22 19:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-22 13:11 [PATCH]: Fix PR target/7361 (HC11 port) Stephane Carrez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).