From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Buck To: dmartin@clifton-labs.com (Dale E. Martin) Cc: oliva@dcc.unicamp.br, egcs@egcs.cygnus.com Subject: Re: -frepo bugs in 1.1.1? Date: Mon, 08 Mar 1999 13:57:00 -0000 Message-id: <199903082153.NAA03028@atrus.synopsys.com> In-reply-to: < 8790d74pps.fsf@chinchilla.clifton-labs.com >; from "Dale E. Martin" at Mar 8, 99 4:49 pm References: <8790d74pps.fsf@chinchilla.clifton-labs.com> X-SW-Source: 1999-03/msg00314.html [ issue with seemingly redundant code from template expansions ] > Alexandre Oliva writes: > > > Yep, it certainly could, especially because unmangled names are not > > usually stored in binaries, and you report you've got them unmangled. Dale Martin writes: > OK - that looks like assertions are the explanation of the repeated > strings. I still don't know why -frepo doesn't work with this code, but > I'm not too concerned about that at this point. I recall that there is a longstanding gcc bug that once a string literal is generated, it winds up in the code regardless of whether it is used. It's been low priority because all it does is make your executable bigger, but that is what is probably happening here. One question is whether the strings are the only redundant code you are getting, or if there is other waste as wll. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Buck To: dmartin@clifton-labs.com (Dale E. Martin) Cc: oliva@dcc.unicamp.br, egcs@egcs.cygnus.com Subject: Re: -frepo bugs in 1.1.1? Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: <199903082153.NAA03028@atrus.synopsys.com> References: <8790d74pps.fsf@chinchilla.clifton-labs.com> X-SW-Source: 1999-03n/msg00315.html Message-ID: <19990331234600.qmpNA83PS9Dr5FzNsEwDD1dkaZ9Dh96vkwn6kAU7PO8@z> [ issue with seemingly redundant code from template expansions ] > Alexandre Oliva writes: > > > Yep, it certainly could, especially because unmangled names are not > > usually stored in binaries, and you report you've got them unmangled. Dale Martin writes: > OK - that looks like assertions are the explanation of the repeated > strings. I still don't know why -frepo doesn't work with this code, but > I'm not too concerned about that at this point. I recall that there is a longstanding gcc bug that once a string literal is generated, it winds up in the code regardless of whether it is used. It's been low priority because all it does is make your executable bigger, but that is what is probably happening here. One question is whether the strings are the only redundant code you are getting, or if there is other waste as wll.