[Bug tree-optimization/81428] [7/8 Regression] ICE: in build_one_cst, at tree.c:2079 with -O2. Fixed point division.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 17 19:46:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81428
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jul 17 19:45:59 2017
New Revision: 250289
URL: https://gcc.gnu.org/viewcvs?rev=250289&root=gcc&view=rev
Log:
PR tree-optimization/81428
* match.pd (X / X -> one): Don't optimize _Fract divisions, as 1
can't be built for those types.
* gcc.dg/fixed-point/pr81428.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/fixed-point/pr81428.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/match.pd
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list