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: g77 testsuite failures under hpux 10.20


> On Fri, Jul 07, 2000 at 01:20:16AM -0400, John David Anglin wrote:
> > 2) Use ggc_p and put newstr in gc memory.
> 
> This is the correct solution.  See, for example, ia64_encode_section_info.

I added a simple patch to store in gc memory if ggc_p is true.  This
appears to fix the problem.  However, I am uncertain as to whether
gc memory is suitable "permanent" labels.

There is one other use of obstack_alloc is pa.c.  This is for deferred
plabels.  I am wondering if this name should also be in ggc memory when
ggc_p is true.

In looking at ia64_encode_section_info, it referred to the v850 port.
On inspection, it may have the same problem as the pa port.  Thus, the
problem doesn't appear limited to just the pa.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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