re PR rtl-optimization/49169 (ARM: optimisations strip the Thumb/ARM mode bit off...
authorRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 27 Jun 2011 09:33:06 +0000 (09:33 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 27 Jun 2011 09:33:06 +0000 (09:33 +0000)
commitafc3f22f90ca9b2e1028949e671acf78dcb2b4b3
tree9a1ad68c73f727bde3503eefc6ef4d5afc51c17d
parentd38e4e3fc3eca21e6f2fec0c4d96d57acd203155
re PR rtl-optimization/49169 (ARM: optimisations strip the Thumb/ARM mode bit off function pointers)

gcc/
2011-07-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49169
* fold-const.c (get_pointer_modulus_and_residue): Don't rely on
the alignment of function decls.

gcc/testsuite/
2011-07-24  Michael Hope  <michael.hope@linaro.org>
    Richard Sandiford  <richard.sandiford@linaro.org>

PR tree-optimization/49169
* gcc.dg/torture/pr49169.c: New test.

From-SVN: r175427
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr49169.c [new file with mode: 0644]