This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: xfail gcc.dg test


On 04-Oct-2002, David Edelsohn <dje@watson.ibm.com> wrote:
> >>>>> Geoff Keating writes:
> 
> Geoff> I believe the problem is that if you have a function named "text",
> Geoff> then the symbols for that function are "text" and ".text", which
> Geoff> causes trouble.  Is it too late to change the second symbol to, say,
> Geoff> "_.text"?
> 
> 	Or maybe just "text" and "_text".

That wouldn't work, because then you'd have problems if a program
contains two functions named `foo' and `_foo'.  The symbols for the
first function would be `foo' and `_foo', and the symbols for
the second function would be `_foo' and `__foo'; the two different
uses of `_foo' would clash.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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