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]: Fix bootstrap for 68HC11/HC12 compiler (target/15334)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Committed this patch on mainline.  It fixes building the 68HC11/HC12 compiler.
This patch was already integrated in 3_4 but was not in mainline for some
unknown reason.

Stephane

2004-08-31 Stephane Carrez <stcarrez@nerim.fr>

	PR target/15334
	* config/m68hc11/m68hc11.c (m68hc11_override_options): Disable -fweb
	because it breaks the 32-bit shift patterns that rely on a match_dup.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFBNNhZNyQxO2LzKT0RAvf0AKDDLrsAlv8tbIWEHNpiXND7BDCY9wCeJ90u
t9ExkPFLVSONLsofjz1BodM=
=d2vX
-----END PGP SIGNATURE-----
Index: config/m68hc11/m68hc11.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m68hc11/m68hc11.c,v
retrieving revision 1.106
diff -u -p -r1.106 m68hc11.c
--- config/m68hc11/m68hc11.c	18 Aug 2004 17:05:07 -0000	1.106
+++ config/m68hc11/m68hc11.c	31 Aug 2004 19:46:53 -0000
@@ -293,6 +293,11 @@ m68hc11_override_options (void)
       flag_pic = 0;
     }
 
+  /* Do not enable -fweb because it breaks the 32-bit shift patterns
+     by breaking the match_dup of those patterns.  The shift patterns
+     will no longer be recognized after that.  */
+  flag_web = 0;
+
   /* Configure for a 68hc11 processor.  */
   if (TARGET_M6811)
     {

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