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]

Re: -frepo bugs in 1.1.1?


Alexandre Oliva <oliva@dcc.unicamp.br> writes:

> Why do you think so?  

As one example - if I run "strings scram | grep "dl_list" | wc -l" on my
binary, I get 262 lines of output.  "dl_list" is a very small template
class.  So I'm assuming it's due to multiple instances.  Is this a bad
assumption?  Could it be due to inlining? Even if I'm compiling without
optimization?

Here's what the lines look like:

class wrapper_container * dl_list<IIR_Declaration>::find<IIR_Declaration>(const 
class IIR_Declaration *)
util/dl_list.hh
class wrapper_container * dl_list<char>::find<char>(const char *)
class wrapper_container * dl_list<IIR_Declaration>::find<IIR_Declaration>(const 
class IIR_Declaration *)
util/dl_list.hh
class wrapper_container * dl_list<IIR_Declaration>::find<IIR_Declaration>(const 
class IIR_Declaration *)
util/dl_list.hh
bool dl_list<IIR_Declaration>::remove<IIR_Declaration>(const class IIR_Declarati
on *)
class wrapper_container * dl_list<char>::find<char>(const char *)
class wrapper_container * dl_list<IIR_Declaration>::find<IIR_Declaration>(const 
class IIR_Declaration *)
util/dl_list.hh
class wrapper_container * dl_list<IIR>::find<IIR>(const class IIR *)
bool dl_list<IIR>::remove<IIR>(const class IIR *)
class wrapper_container * dl_list<declaration_chain>::find<declaration_chain>(co
nst class declaration_chain *)
util/dl_list.hh
class wrapper_container * dl_list<IIR>::find<IIR>(const class IIR *)
util/dl_list.hh

LOTS of them are for <IIR_Declaration>, and there are many
dl_list<IIR_Declaration> instantiations in my code, hence my assumption.

> Which platform is that?  

Linux glibc-2.0.7 - it's Debian 2.1 box.

>What linker are you using?
 
~> ld --version
GNU ld 2.9.1

> > Are there bugs in -frepo in egcs-1.1.1?
> 
> AFAIR, yes.

Am I barking up the wrong tree?

Thanks,
	Dale
-- 
+------------------------- pgp key available --------------------------+
| Dale E. Martin |  Clifton Labs, Inc.  |  Senior Computer Engineer    |
| dmartin@clifton-labs.com    |    http://www.clifton-labs.com         |
+----------------------------------------------------------------------+


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