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/23046] [4.1 Regression] ICE in set_value_range, at tree-vrp.c:191


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-25 21:41 -------
You might want to try delta:
 http://www.cs.berkeley.edu/~dsw/
I use the following script with delta to reduce stuff like this:
#!/usr/bin/python
# Using delta debugging on GCC input
#import psyco
#from psyco.classes import *
import commands
import string
import sys

# Invoke GCC
(status, output) = commands.getstatusoutput("/Users/pinskia/local.c/libexec/gcc/powerpc-apple-
darwin7.9.0/4.1.0/cc1plus -quiet  --param ggc-min-expand=0 --param ggc-min-heapsize=0 
-Wfatal-errors %s 2>&1" % sys.argv[1])

# Determine outcome
if status == 0:
  sys.exit(1)
elif string.find(output, "finish_compound_stmt") >= 0:
  sys.exit(0)
else:
  sys.exit(1)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23046


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