From: Richard Earnshaw Date: Mon, 9 Nov 1998 22:08:52 +0000 (+0000) Subject: arm.c (add_constant): When taking the address of an item in the pool, get the mode... X-Git-Tag: prereleases/egcs-1.1.1-prerelease-2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=622385b4d37fc5352e2d8736c679c0568d3c2a43;p=thirdparty%2Fgcc.git arm.c (add_constant): When taking the address of an item in the pool, get the mode of the item addressed. * arm.c (add_constant): When taking the address of an item in the pool, get the mode of the item addressed. From-SVN: r23590 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 070436b6750b..4454db7564c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Mon Nov 9 23:05:51 1998 Richard Earnshaw (rearnsha@arm.com) + * arm.c (add_constant): When taking the address of an item in the + pool, get the mode of the item addressed. + * arm.c (final_prescan_insn, case INSN): If an insn doesn't contain a SET or a PARALLEL, don't consider it for conditional execution. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index b201a0b5f8c3..767f1a781684 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -3470,6 +3470,7 @@ add_constant (x, mode, address_only) else if (GET_CODE (x) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P(x)) { *address_only = 1; + mode = get_pool_mode (x); x = get_pool_constant (x); } #ifndef AOF_ASSEMBLER