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]

Re: c/8962: "-O2 -mmmx" makes gcc seg fault


> did the following:

Thanks for your experiments. I think there is no need for you to try an 
even newer snapshot. The only thing you could do is try to strip down the 
testcase as much as possible, presently it is rather long. We usually do 
that by first stripping off the line number lines using
  perl -pi -e 's/^#.*\n//g;' expr.i
so that the compiler gives the _actual_ line number in this file when it 
crashes. Then try to delete as much stuff from the file as you can. 
Usually, one can get it down to 20-30 lines and still see the crash. But 
be warned that this can be a tediuous process that could take 30 minutes 
to an hour, if you're not frequently doing such things.

Thanks for your help
  Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth



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