This is the mail archive of the gcc-patches@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: PATCH COMMITTED: Don't drop a space after a demangled name in collect2


On Fri, 16 Nov 2007, Ian Lance Taylor wrote:
> 2007-11-16  Ian Lance Taylor  <iant@google.com>
> 
> 	* collect2.c (dump_file): If a demangled symbol is followed by a
> 	space, make sure we output at least one space.

That triggered some very, very vague memory of mine so I went ahead and
searched a bit, back in history for ten years, two weeks, and two days:

  <drumroll>
    http://gcc.gnu.org/ml/gcc-bugs/1997-10/msg00272.html
  </drumroll>

You're the man, Ian! :-)

Gerald

======== original message below ========
From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To: egcs-bugs@cygnus.com
Date: Fri, 31 Oct 1997 22:54:40 +0100 (MET)
Subject: Formatting error in ld

I believe that in the following error message there definitely should be
at least one space, better two, between the symbol and the filename:

  Undefined                       first referenced
   symbol                             in file
  TRULE<ATOM, TLITERAL<ATOM> >::isSafe(void)dl.o

When the function is const, the error message even becomes ambiguous.  

  Undefined                       first referenced
   symbol                             in file
  TRULE<ATOM, TLITERAL<ATOM> >::isSafe(void) constdl.o

(Is the functions const and the filename "dl.o" or is the function
non-const and the filename "constdl.o"?) 

This happens on sparc-sun-solaris2.5.1 with gcc version egcs-2.90.13
971016 (gcc2-970802 experimental).


Hope this helps,
Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


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