[Bug middle-end/58742] pointer arithmetic simplification
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 29 14:46:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58742
--- Comment #22 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jan 29 14:45:44 2014
New Revision: 207239
URL: http://gcc.gnu.org/viewcvs?rev=207239&root=gcc&view=rev
Log:
2014-01-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/58742
* tree-ssa-forwprop.c (associate_pointerplus): Rename to
associate_pointerplus_align.
(associate_pointerplus_diff): New function.
(associate_pointerplus): Likewise. Call associate_pointerplus_align
and associate_pointerplus_diff.
* gcc.dg/pr58742-1.c: New testcase.
* gcc.dg/pr58742-2.c: Likewise.
* gcc.dg/pr58742-3.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/pr58742-1.c
trunk/gcc/testsuite/gcc.dg/pr58742-2.c
trunk/gcc/testsuite/gcc.dg/pr58742-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-forwprop.c
More information about the Gcc-bugs
mailing list