]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-structalias.c
re PR tree-optimization/65077 (memcpy generates incorrect code with floating point...
authorRichard Biener <rguenther@suse.de>
Mon, 16 Feb 2015 18:15:19 +0000 (18:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 16 Feb 2015 18:15:19 +0000 (18:15 +0000)
commit7b909872f15f48482a23e41fe8093cb1f4425c74
tree6cb559fe91c65ad408ec96560ca19c4fb3583cf1
parent3f880d38dc55082cf671731ab4424b3808bbaf30
re PR tree-optimization/65077 (memcpy generates incorrect code with floating point numbers and -O1)

2015-02-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65077
* tree-ssa-structalias.c (get_constraint_for_1): Handle
IMAGPART_EXPR, REALPART_EXPR and BIT_FIELD_REF.
(find_func_aliases): Allow float values to carry pointers again.

* gcc.dg/torture/pr65077.c: New testcase.

From-SVN: r220741
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr65077.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c