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]

[Bug middle-end/16948] [3.5 Regression] Many new testsuite failures on hppa64-hp-hpux11.11


------- Additional Comments From jason at redhat dot com  2004-08-09 19:48 -------
Subject: Re:  [3.5 Regression] Many new testsuite
 failures on hppa64-hp-hpux11.11

Hmm, the spurious dereference seems to be appearing during expansion; the
last tree dump looks like

std::auto_ptr<Derived> conversiontest08() ()
{
  struct auto_ptr<Derived> * const this;
  void * T___903;

<bb 0>:
  this = <retval>;
  T___903 = operator new (1);
  this->_M_ptr = (struct Derived *)T___903;
  operator delete (0B);
  return <retval>;
}

which is correct.  For some reason when we get to rtl, it has become
"this = *<retval>;"

Continuing to investigate.

Jason


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16948


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