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]

Re: An alias bug



  In message <m0yvbp5-000266C@ocean.lucon.org>you write:
  > > HJ's testcase basically as a useless cast to try and trip the "bug".
  > > you can remove the whole ((long_long_type *)&u)->l[1] and replace it
  > > with just (u & 0xffffffff).  Actually HJ's testcase could just as
  > > easily fail with gcc-2.7 since the "bug" it's trying to trigger exists
  > > there too.
  > > 
  > 
  > That is not true. My testcase works with egcs 1.0.3 and gcc 2.7.2.3.
  > Mark suggested another patch which fixes it.
It works by accident, not by design.

The testcase is simply wrong and broken.  I'm not planning any attempt
to fix it, nor am I likely to approve a patch to fix that test.

jeff


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