This is the mail archive of the gcc-patches@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]

Re: Crash in alias.c



  In message <Pine.SOL.3.90.980528113008.28555I@matlock.informatik.rwth-aachen.de>you write:
  > While playing with the loop patch (see my previous email), I got a
  > segmentation fault in find_base_value. This function uses REGNO(src) to
  > index into new_reg_base_value without checking that this regno is within
  > the range of the array. Since I couldn't convince myself that this shouldn'  > t
  > be able to happen, I added the following test.
This most likely indicates a bug elsewhere in the compiler.  We need
to find out where/when that register got allocated, then decide what
the right fix is.

Probably the most important tidbit is to find out what pass added
the register in question and what pass calls into the alias analysis
code next.

Note that you can use --enable-checking to try and catch out of
range accesses to the register table.

jeff


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