This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
[ issue with seemingly redundant code from template expansions ] > Alexandre Oliva <oliva@dcc.unicamp.br> 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.