This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/21030] [4.1 Regression] ICE in set_value_range building 176.gcc with -O2


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]