This is the mail archive of the gcc-patches@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: A patch for gcc/Makefile.in


>>>>> H J Lu <hjl@lucon.org> writes:

>> In message <m0ynCi9-00026CC@ocean.lucon.org>you write:
>> > All crt*.o should be compiled with -fno-exceptions. But it is not true
>> > for crtbeginS.o and crtendS.o. Also
>> -fno-exceptions is not needed when compiling C code, so I don't see
>> why you think this patch is necessary.

> 1. exceptions is just disabled for C for now.
> 2. crtbegin.o and crtend.o are compiled with -fno-exceptions.

> We should be consistent on crt*.o. And exceptions may be enabled for
> C in the future, but crt*.o should not be compiled with exceptions.

BTW, I still don't see the point of crt*S.o in the first place.  Everything
seems to work fine just using crtbegin/end for everything.

Jason


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