public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: c++/2437: [two-stage name lookup] template name binding problem (request for testcase-writing help)
@ 2003-01-02  7:25 Kriang Lerdsuwanakij
  0 siblings, 0 replies; 2+ messages in thread
From: Kriang Lerdsuwanakij @ 2003-01-02  7:25 UTC (permalink / raw)
  To: neroden, gcc-gnats, gcc-bugs, gcc, kenny.simpson, nobody

> Can somebody help me write a testcase?  This is a tricky one since the repro 
> recipe involves scanning asm, and I don't quite understand dejagnu's 
> facilities for that.
> 

Hi

Just use '{ dg-final { scan-assembler xxx } }' where 'xxx' is
the mangled function name expected in the generated assembler
file.  You can look at several testcases such as g++.dg/abi/mangle*.C
as examples.

--Kriang



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/2437: [two-stage name lookup] template name binding problem (request for testcase-writing help)
@ 2003-01-01 21:59 Nathanael Nerode
  0 siblings, 0 replies; 2+ messages in thread
From: Nathanael Nerode @ 2003-01-01 21:59 UTC (permalink / raw)
  To: gcc-gnats, kenny.simpson, gcc-bugs, nobody, gcc

This is fixed in the new parser!

Can somebody help me write a testcase?  This is a tricky one since the repro 
recipe involves scanning asm, and I don't quite understand dejagnu's 
facilities for that.

Actually, I can't tell whether there's already a testcase for effectively the 
same bug, so if someone tells me that there is, that would be lovely. :-)

--Nathanael

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-02  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02  7:25 c++/2437: [two-stage name lookup] template name binding problem (request for testcase-writing help) Kriang Lerdsuwanakij
  -- strict thread matches above, loose matches on Subject: below --
2003-01-01 21:59 Nathanael Nerode

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).