[Bug middle-end/85974] [8 Regression] Failure to optimize difference of two pointers into a compile time constant
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 16 11:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85974
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jul 16 11:01:48 2018
New Revision: 262690
URL: https://gcc.gnu.org/viewcvs?rev=262690&root=gcc&view=rev
Log:
2018-07-16 Richard Biener <rguenther@suse.de>
Backport from mainline
2018-07-13 Richard Biener <rguenther@suse.de>
PR middle-end/85974
* match.pd (addr1 - addr2): Allow either of the operand to
have a conversion.
* gcc.c-torture/compile/930326-1.c: Adjust to cover widening.
2018-06-15 Richard Biener <rguenther@suse.de>
PR middle-end/86076
* tree-cfg.c (move_stmt_op): unshare invariant addresses
before adjusting their block.
* gcc.dg/pr86076.c: New testcase.
2018-06-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/85935
* graphite-scop-detection.c (find_params_in_bb): Analyze
condition operands with respect to the correct loop. Assert
the analysis doesn't fail.
* gcc.dg/graphite/pr85935.c: New testcase.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/graphite/pr85935.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr86076.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/graphite-scop-detection.c
branches/gcc-8-branch/gcc/match.pd
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/930326-1.c
branches/gcc-8-branch/gcc/tree-cfg.c
More information about the Gcc-bugs
mailing list