This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g77 testsuite failures under hpux 10.20
- To: rth at cygnus dot com (Richard Henderson)
- Subject: Re: g77 testsuite failures under hpux 10.20
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Fri, 7 Jul 2000 13:43:57 -0400 (EDT)
- Cc: law at cygnus dot com, gcc-bugs at gcc dot gnu dot org
> 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)