diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-11-08 02:21:01 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-11-08 02:21:01 +0000 |
commit | 8a1977f38c2628c124d06e6add8ca196d8f16b1c (patch) | |
tree | ce689030ac15385954458e2efa3d5581e74f5eb0 | |
parent | 3d67ba1e3b11f434e159e45682579cef695466eb (diff) | |
download | gcc-8a1977f38c2628c124d06e6add8ca196d8f16b1c.tar.gz |
rs6000.c (rs6000_legitimize_address): Remove redundant parens.
* config/rs6000/rs6000.c (rs6000_legitimize_address): Remove
redundant parens.
From-SVN: r73354
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8dfa0a82a61..a9a864371a4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-11-07 Geoffrey Keating <geoffk@apple.com> + * config/rs6000/rs6000.c (rs6000_legitimize_address): Remove + redundant parens. + * cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it. (find_file_in_dir): Likewise. (_cpp_find_file): Print message if no header file is found diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 9a0efb0efd8..2f6af6bc272 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2621,8 +2621,8 @@ rs6000_legitimize_address (rtx x, rtx oldx ATTRIBUTE_UNUSED, || ((TARGET_HARD_FLOAT && TARGET_FPRS) && mode == DFmode))) { rtx reg = gen_reg_rtx (Pmode); - emit_insn (gen_elf_high (reg, (x))); - return gen_rtx_LO_SUM (Pmode, reg, (x)); + emit_insn (gen_elf_high (reg, x)); + return gen_rtx_LO_SUM (Pmode, reg, x); } else if (TARGET_MACHO && TARGET_32BIT && TARGET_NO_TOC && ! flag_pic @@ -2637,8 +2637,8 @@ rs6000_legitimize_address (rtx x, rtx oldx ATTRIBUTE_UNUSED, && mode != TImode) { rtx reg = gen_reg_rtx (Pmode); - emit_insn (gen_macho_high (reg, (x))); - return gen_rtx_LO_SUM (Pmode, reg, (x)); + emit_insn (gen_macho_high (reg, x)); + return gen_rtx_LO_SUM (Pmode, reg, x); } else if (TARGET_TOC && constant_pool_expr_p (x) |