aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/m68hc11/m68hc11.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66806ed..bc2d7bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2004-08-31 Matt Austern <austern@apple.com>
* config/darwin.c (darwin_make_decl_one_only): Allocate section
diff --git a/gcc/config/m68hc11/m68hc11.c b/gcc/config/m68hc11/m68hc11.c
index e719ee1..99d9568 100644
--- a/gcc/config/m68hc11/m68hc11.c
+++ b/gcc/config/m68hc11/m68hc11.c
@@ -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)
{