re PR ipa/83051 (ICE on valid code at -O3: in edge_badness, at ipa-inline.c:1024)
authorJan Hubicka <hubicka@ucw.cz>
Sun, 14 Jan 2018 11:20:31 +0000 (12:20 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 14 Jan 2018 11:20:31 +0000 (11:20 +0000)
commit3f05a4f0727bac6f4456fbbecdc1315cc8bd59cf
treed9cb2c24510576f53ed1943d209df058e1162c80
parent01b9bf0615e178e6c31f8d010cb8df9382b3c2d4
re PR ipa/83051 (ICE on valid code at -O3: in edge_badness, at ipa-inline.c:1024)

PR ipa/83051
* gcc.c-torture/compile/pr83051.c: New testcase.
* ipa-inline.c (edge_badness): Tolerate roundoff errors.

From-SVN: r256659
gcc/ChangeLog
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr83051.c [new file with mode: 0644]