From 3de5e93a356cea51aeb35604dedca098bb4e2f20 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Mon, 3 Dec 2007 23:09:23 +0000 Subject: re PR middle-end/33713 (can't find a register in class 'GENERAL_REGS' while reloading 'asm') PR33713 * doc/invoke.texi: Remove -fforce-addr documentation. * expr.c (emit_move_insn): Remove use of flag_force_addr. (expand_expr_real_1): Same. (do_tablejump): Same. Call memory_address instead of memory_address_noforce. * expr.h (memory_address_noforce): Remove prototype. * explow.c (memory_address): Remove support for flag_force_addr. (validize_mem): Same. (memory_address_noforce): Remove. * common.opt: Add dummy documentation for -fforce-addr. * combine.c (can_combine_p): Remove -fforce-addr comment. * config/cris/cris.h (OPTIMIZATION_OPTIONS): Remove set of flag_force_addr. * config/m68k/m68k.h (PIC_CASE_VECTOR_ADDRESS): Remove comment relating to memory_address_noforce. * testsuite/gcc.c-torture/compile/20050802-1.c: Remove. * testsuite/gcc.c-torture/compile/20011113-1.c: Remove. From-SVN: r130591 --- gcc/config/cris/cris.h | 5 +---- gcc/config/m68k/m68k.h | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index 4e1b964..b2748de 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -305,10 +305,7 @@ extern int target_flags; do \ { \ if ((OPTIMIZE) >= 2 || (SIZE)) \ - { \ - flag_force_addr = 1; \ - flag_omit_frame_pointer = 1; \ - } \ + flag_omit_frame_pointer = 1; \ } \ while (0) diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index d8e1d3a..862f7ca 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -755,9 +755,7 @@ __transfer_from_trampoline () \ } \ while (0) -/* Don't call memory_address_noforce for the address to fetch - the switch offset. This address is ok as it stands, - but memory_address_noforce would alter it. */ +/* This address is OK as it stands. */ #define PIC_CASE_VECTOR_ADDRESS(index) index /* For the 68000, we handle X+REG by loading X into a register R and -- cgit v1.1