This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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_


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]