Fix PR tree-opt/46232
Eric Botcazou
ebotcazou@adacore.com
Sat Dec 18 14:02:00 GMT 2010
As diagnosed in the audit trail, the recent introduction of MEM_REF in the SRA
pass can generate "spurious" address-of operators in the dumps, which breaks
the pattern matching in gcc.dg/tree-ssa/pr14814.c on e.g. SPARC 64-bit.
The attached patchlet adds -fno-tree-sra to the testcase; this is orthogonal
to the original problem. Tested on i586-suse-linux and sparc64-sun-solaris2.9
applied on the mainline as obvious.
2010-12-18 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/46232
* gcc.dg/tree-ssa/pr14814.c: Add -fno-tree-sra.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 557 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101218/c39db208/attachment.bin>
More information about the Gcc-patches
mailing list