I've got a small piece of C++ code that makes extensive use of templates.  To my
surprize it compiles to en executable of about 20 MBytes on x86_64 architecture.
 When I compiled it on an x86 machine the executable is about 6 Kbytes.  Is code
bloat of this magnitude normal?

The code I'm trying to compile is basically a cut and paste of this:
http://www.boost.org/libs/mpl/doc/tutorial/representing-dimensions.html

-- 
           Summary: x86_64 code bloat on templates
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ms6ep at cs dot virginia dot edu
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20700

Reply via email to