This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/83634] ICE in useless_type_conversion_p, at gimple-expr.c:86
- From: "bugzilla at poradnik-webmastera dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 30 Dec 2017 22:31:56 +0000
- Subject: [Bug c/83634] ICE in useless_type_conversion_p, at gimple-expr.c:86
- Auto-submitted: auto-generated
- References: <bug-83634-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83634
--- Comment #1 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> ---
A bit simpler test case which triggers this ICE:
[code]
void test()
{
const int foo = Foo();
short n;
for (n = foo; n < 100; ++n) {}
}
[/code]