aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-08-16 10:16:15 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-08-16 10:16:15 +0000
commitc07fdd94f46a274c04563cf69c62e87d1727936d (patch)
tree24148aafcfc6b92104799dde10993008c3662278 /gcc/tree-object-size.c
parent684939cef5c8dee565d3711b720c45c5b6596b8a (diff)
downloadgcc-c07fdd94f46a274c04563cf69c62e87d1727936d.zip
gcc-c07fdd94f46a274c04563cf69c62e87d1727936d.tar.gz
gcc-c07fdd94f46a274c04563cf69c62e87d1727936d.tar.bz2
re PR middle-end/32897 (Invalid rematerialisation of subregs)
gcc/ PR middle-end/32897 * reload.c (find_reloads): Check that the memory returned by find_reloads_toplev was not the result of forcing a constant to memory. (find_reloads_toplev): Always use simplify_gen_subreg to get the subreg of a constant. If the result is also a constant, but not a legitimate one, force it into the constant pool and reload its address. gcc/testsuite/ * gcc.dg/torture/pr32897.c: New test. From-SVN: r127536
Diffstat (limited to 'gcc/tree-object-size.c')
0 files changed, 0 insertions, 0 deletions