[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
Fri Jul 13 12:11:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85974
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jul 13 11:25:38 2018
New Revision: 262632
URL: https://gcc.gnu.org/viewcvs?rev=262632&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.c-torture/compile/930326-1.c
More information about the Gcc-bugs
mailing list