This is the mail archive of the gcc@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: The "980505-1.c" bug (The Story Continued)



  In message <199807110128.DAA16618@jolan.ppro>you write:
  > The "libcall" case is just one of the many cases this can happen :/.
  > I think therefore that Jeffs patch (cvs diff -c3p -r1.39 -r1.40 cse.c)
  > is not sufficient for the whole family of bugs of this type.
  > 
  > reg_in_table[i] = reg_tick[i]  occurs at one single line in the code.
  > When I put the following in front of it:
  > 
  > if (reg_tick[i] == 0)
  >   abort();
  > 
  > then, with Jeffs patch added, "make check-gcc" fails for THOUSANDS of
  > test cases!  In other words: It is VERY commmon that an expression with
  > an uninitialized register is validated as having a meaningful value :/.
Nope.  See my previous message.  It is common for local CSE to not see an
initializing instruction for a register.  This is not a problem.

jeff


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