From c4c9b76eef0a48bdcce1c3f27396143e266fadb2 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Tue, 31 Aug 2004 21:49:14 +0200 Subject: [PATCH] re PR target/15334 (ICE building libgcc/./_mulvsi3.o for m68hc11-unknown-elf) 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. From-SVN: r86840 --- gcc/ChangeLog | 6 ++++++ gcc/config/m68hc11/m68hc11.c | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66806edc8ec..bc2d7bd1665 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-08-31 Stephane Carrez + + 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 * 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 e719ee17bd5..99d9568339f 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) { -- 2.30.2