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

Re: C++ vs. C asm/object file size


On Jan 11, 1999, Benjamin Scherrey <scherrey@gte.net> wrote:

>> Another option that is worth considering is whether you're generating
>> exception information in both languages.  Their generation is enabled
>> by default for C++, but I think it's disabled by default for C.

>     This is a possibility. My command line arguments are identical so I'll
> go and try to turn off exceptions explicitly. However, wouldn't the
> resulting asm code (when I use the -S option) be different if exception
> handling were present?

I'd expect so.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


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