Commit 6d8a9f7c by Jan Hubicka Committed by Jan Hubicka

* g++.dg/tree-ssa/pr61034.C: Add temporary; fix template.

From-SVN: r222527
parent 73d81d3a
2015-04-28 Jan Hubicka <hubicka@ucw.cz>
* g++.dg/tree-ssa/pr61034.C: Add temporary; fix template.
2015-04-28 Marek Polacek <polacek@redhat.com>
PR c/65901
......
......@@ -34,7 +34,8 @@ inline I operator- (I a, I const&b) { return a -= b; }
inline bool operator< (I const&a, I const&b) { return a.o->num < b.o->num; }
bool f(I a, I b, I c, I d) {
return (a * d - b * c) * (a * b - c * d) < 42;
I tmp = (a * d - b * c) * (a * b - c * d);
return tmp < 42;
}
// We should be able to CSE most references to count and thus remove
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment