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: [testsuite] i386 sibcall miscompilation



  In message <20000622140458.V474@sunsite.ms.mff.cuni.cz>you write:
  > Hi!
  > 
  > This testcase is miscompiled on i386 with -O2 (-O2 -fno-optimize-sibling-ca
  > lls or
  > -O2 -fno-strict-aliasing cure it though).
  > The issue is that one of the arguments gets into alias set 6 (and all other
  > args are in alias set 5, including write to the same location to prepare
  > sibcall arguments) and the read from 16(%ebp) gets scheduled after the writ
  > e
  > from the same location, eventhough we're interested in the old, not new,
  > value.
  > No fix yet.
  > 
  > 2000-06-22  Jakub Jelinek  <jakub@redhat.com>
  > 
  > 	* gcc.c-torture/execute/20000622-1.c: New test.
This is fine.  Please install this test.
jeff


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