This is the mail archive of the gcc-bugs@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]

[Bug c++/20700] New: x86_64 code bloat on templates


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


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