This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Workaround more _Bool problems on HP-UX (take 2)
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: roger at eyesopen dot com (Roger Sayle)
- Cc: gcc-patches at gcc dot gnu dot org, zack at codesourcery dot com
- Date: Fri, 23 Jan 2004 18:02:32 -0500 (EST)
- Subject: Re: [PATCH] Workaround more _Bool problems on HP-UX (take 2)
> On Fri, 23 Jan 2004, John David Anglin wrote:
> > > The following patch has been tested on hppa64-hp-hpux11.00 with a full
> > > bootstrap, all languages except Ada and treelang, hosted with the
> > > native hpux compiler using CC="/usr/bin/cc +DD64". The compilers
> > > now build fine, but I then run into an unrelated(?) failure building
> > > libstdc++-v3; an ICE in rtl_verify_flow_info, at cfgrtl.c:2129.
> >
> > Didn't happen for me starting with GCC:
> > http://gcc.gnu.org/ml/gcc-testresults/2004-01/msg00997.html
>
> Arghhh! It turns out that there must be a latent bug in the handling
> of bitfields on hppa64. The following patch works around the _Bool
> problems by removing the problematic idiom from GCC's source code.
Just a note, I have built hppa64-hp-hpux11.11 with GCC and your
previous patch. The testsuite has just about completed and results
so far appear similar to my previous build without your patch.
Thus, it would appear that the problem arises from using the HP
compiler for stage1. I'd check the warnings that it may have
produced for problems (also, it might be important to apply the
latest patch for your compiler).
I will try a trunk build with the HP compiler as soon as the machine
completes a build of the 3.3 branch.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)