This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: target/5505: Doubts about a patch for OSF
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: ro at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 22 Feb 2002 22:06:01 -0000
- Subject: Re: target/5505: Doubts about a patch for OSF
- Reply-to: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
The following reply was made to PR target/5505; it has been noted by GNATS.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: Richard.Kreckel@Uni-Mainz.DE
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: target/5505: Doubts about a patch for OSF
Date: Fri, 22 Feb 2002 23:04:01 +0100 (MET)
Richard B. Kreckel writes:
> Err, while trying to debug into the problem I discovered something
> that had escaped my attantion until now: compiling CLN and an example
> (examples/e, or tests/tests or whatever, never mind) with either -O1, -O2
> or -O1 -g resulted in a working test (the linker warnings are of course
> still present) while -O2 -fno-exceptions produced a crashing program.
> Also, these funny warnings:
> as1: Warning: /tmp/ccb8ZbYD.s, line 6: macro instruction used $at
> appear only when I disable exceptions. I hadn't noticed it so far because
> I *always* export CXXFLAGS="-O2 -fno-exceptions" prior to building
> CLN. May I ask you how you configured and tested CLN? You did not
> specify -fno-exceptions, did you? Does it work when you do so?
I get those warnings and crashing test programs only when configuring with
CXXFLAGS='-fno-exceptions' CPPFLAGS="-DNO_ASM -DNO_PROVIDE_REQUIRE" \
./configure --disable-shared --without-gmp
CXXFLAGS=-fno-exceptions alone still works.
> Anyways, here is a g++ -v output as you requested:
Thanks, nothing unusual here.
Rainer