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]
Other format: [Raw text]

Re: [patch] Factor common code for C-family and Fortran preprocessing (3rd try)


On Sun, Oct 03, 2010 at 08:45:53PM +0200, FX wrote:
> > The C changes are OK.  There are more macros I would think of as 
> > language-independent - __EXCEPTIONS, __USING_SJLJ_EXCEPTIONS__, 
> > __GCC_HAVE_DWARF2_CFI_ASM, __SSP_ALL__, __SSP__, _OPENMP, __NO_INLINE__, 
> > __SIZEOF_INT128__ at least - but they can be dealt with later.
> 
> Thanks for the review, I'll look at these macros (does SSP apply to Fortran, for example?).

Yes, the first 7 definitely apply to Fortran (-fexceptions,
-fdwarf2-cfi-asm, -fstack-protector, -fopenmp, -fno-inline), not 100% sure about how
__SIZEOF_*__ applies to Fortran, given that it is the sizeof of a C/C++
types, but perhaps for interoperability with C/C++ it doesn't hurt to define
them too.

	Jakub


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