diff options
author | Steven Bosscher <stevenb.gcc@gmail.com> | 2007-12-03 23:09:23 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2007-12-03 23:09:23 +0000 |
commit | 3de5e93a356cea51aeb35604dedca098bb4e2f20 (patch) | |
tree | 91ef6bed119b5a89220aef6ef1626cc5351ce550 /gcc/config | |
parent | d2dda7fed054ab18eaabd73adb0ca30b7bcb6605 (diff) | |
download | gcc-3de5e93a356cea51aeb35604dedca098bb4e2f20.zip gcc-3de5e93a356cea51aeb35604dedca098bb4e2f20.tar.gz gcc-3de5e93a356cea51aeb35604dedca098bb4e2f20.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/cris/cris.h | 5 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 4 |
2 files changed, 2 insertions, 7 deletions
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 |