This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.0.2 c++ .o size
- To: amylaar at cygnus dot co dot uk, bglenden at aoc dot nrao dot edu
- Subject: Re: egcs 1.0.2 c++ .o size
- From: mrs at wrs dot com (Mike Stump)
- Date: Mon, 30 Mar 1998 13:19:16 -0800
- Cc: egcs at cygnus dot com
> Date: Thu, 26 Mar 1998 08:59:30 -0700
> From: Brian Glendenning <bglenden@aoc.nrao.edu>
> Is the 50% size penalty going to continue into the future?
Yes, unless someone fixes it. We all would like to see this number
smaller, but until someone ponies up the work to reduce it...
> We have an exception emulation (setjmp/longjmp, keeping classes
> derived from "Cleanup" in a list) that we'd dearly like to get rid
> of, but 50% is a fairly steep price to pay.
Use -fsjlj-exceptions, and compare against your application without
your extra EH emulation code in the object. I'm thinking that you
should come pretty close then.