aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-04-13 15:57:29 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-04-13 15:57:29 +0200
commitb88990be30c676e36843aaab71ce98639c49711d (patch)
treec177fb4f5b91e9c5214acc2a8023720c106b6f29 /gcc
parent042c8364769ff1642c2227779bceade4b3f14112 (diff)
downloadgcc-b88990be30c676e36843aaab71ce98639c49711d.zip
gcc-b88990be30c676e36843aaab71ce98639c49711d.tar.gz
gcc-b88990be30c676e36843aaab71ce98639c49711d.tar.bz2
re PR debug/70628 (ICE in get_reg_rtx, at emit-rtl.c:1025)
PR debug/70628 * explow.c (convert_memory_address_addr_space_1): Formatting fix. From-SVN: r234937
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/explow.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1d0953b..1f83398 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2016-04-13 Jakub Jelinek <jakub@redhat.com>
+ PR debug/70628
+ * explow.c (convert_memory_address_addr_space_1): Formatting fix.
+
PR middle-end/70633
* gimplify.c (gimplify_init_constructor): Clear TREE_STATIC if
gimplification turns some element into non-constant.
diff --git a/gcc/explow.c b/gcc/explow.c
index 48acd36..e0ce201 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -343,9 +343,9 @@ convert_memory_address_addr_space_1 (machine_mode to_mode ATTRIBUTE_UNUSED,
{
temp = convert_memory_address_addr_space_1 (to_mode, XEXP (x, 0),
as, in_const, no_emit);
- return temp ? gen_rtx_fmt_ee (GET_CODE (x), to_mode,
- temp, XEXP (x, 1))
- : temp;
+ return (temp ? gen_rtx_fmt_ee (GET_CODE (x), to_mode,
+ temp, XEXP (x, 1))
+ : temp);
}
break;