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]

[ARM PATCH] Tweak arm_init_tls_builtins for gfortran


gfortran on the ARM?  The following patch tweaks the ARM backend the same
way as I recently fixed the alpha backend, to avoid warnings from the non
C/C++ front-ends when declaring back-end specific builtins/intrinsics c.f.
http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00325.html

The following patch has been tested on a uberbaum cross compiler to
mips-elf, all default languages, and regression tested with a "make
check-gcc RUNTESTFLAGS=--target_board=arm-sim".  Alas the results (for me)
we pretty horrific, but I could confirm that the relevant gfortran
front-end warnings disappeared (though the tests failed for other
reasons).

Ok for mainline?


2007-02-09  Roger Sayle  <roger@eyesopen.com>

        * config/arm/arm.c (arm_init_tls_builtins): Avoid using front-end
        attributes and instead set TREE_READONLY and TREE_NOTHROW directly.

Roger
--

Attachment: patch.txt
Description: Text document


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