Failure of test g++.dg/mangle.C on cygwin.

Zack Weinberg zackw@stanford.edu
Tue May 29 22:30:00 GMT 2001


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_



More information about the Gcc-bugs mailing list