This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Failure of test g++.dg/mangle.C on cygwin.
- To: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Subject: Re: Failure of test g++.dg/mangle.C on cygwin.
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Tue, 29 May 2001 22:30:06 -0700
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
On Wed, May 30, 2001 at 04:22:36AM -0000, Billinghurst, David (CRTS) wrote:
> The test g++.dg/mangle1.C fails with 3.0 and 3.1 on cygwin, with
>
> FAIL: g++.dg/mangle1.C scan-assembler _ZN1A1fEv:
...
> The symbols in mangle1.s have two leading underscores, while the test
> requires one leading underscore. Which is correct?
The symbols are correct, the test fails to take USER_LABEL_PREFIX into
account. dejagnu doesn't know anything about that, so your best bet
is to insert _? at the beginning of each regular expression.
(USER_LABEL_PREFIX is always either a single underscore, or nothing.)
--
zw Well, there's another triumph for clean hands, a pure heart, a good
soul...and vastly superior technology.
-- _Undocumented Features: Out in the Cold_