------- Additional Comments From wanderer at rsu dot ru 2005-04-19 20:08
-------
Proposed patch (in #4) work fine at FreeBSD 5.1
And fix my tescase variant:
__inline void f(int a)
{
int i;
if (a < 0) {
for (i = 0, a = ~a; a; i++) {
if ((a & 1) != 0) {
f(i);
}
}
}
}
void g(void) { f(0); }
Without proposed patch i can't bootstrap LLVM using gcc CVS mainline.
bootstrap die at build of gcc version 3.4-llvm 20030924 (part of LLVM
distribution):
gcc/haifa-sched.c:737: internal compiler error: in set_value_range, at tree-
vrp.c:124
Note: haifa-sched.c isn't modified.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21030