diff options
author | Rimvydas Jasinskas <rimvydas.jas@gmail.com> | 2023-02-12 06:16:51 +0000 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-02-13 18:35:26 +0100 |
commit | 086a1df4374962787db37c1f0d1bd9beb828f9e3 (patch) | |
tree | a94688f95cc312c3dece0c6cfee62c78d83856db /libgm2/libm2iso | |
parent | 72ae1e5635648bd3f6a5760ca46d531ad1f2c6b1 (diff) | |
download | gcc-086a1df4374962787db37c1f0d1bd9beb828f9e3.zip gcc-086a1df4374962787db37c1f0d1bd9beb828f9e3.tar.gz gcc-086a1df4374962787db37c1f0d1bd9beb828f9e3.tar.bz2 |
Fortran: Add !GCC$ attributes NOINLINE,NORETURN,WEAK
gcc/fortran/ChangeLog:
* decl.cc: Add EXT_ATTR_NOINLINE, EXT_ATTR_NORETURN, EXT_ATTR_WEAK.
* gfortran.h (ext_attr_id_t): Ditto.
* gfortran.texi (GCC$ ATTRIBUTES): Document them.
* trans-decl.cc (build_function_decl): Apply them.
gcc/testsuite/ChangeLog:
* gfortran.dg/noinline.f90: New test.
* gfortran.dg/noreturn-1.f90: New test.
* gfortran.dg/noreturn-2.f90: New test.
* gfortran.dg/noreturn-3.f90: New test.
* gfortran.dg/noreturn-4.f90: New test.
* gfortran.dg/noreturn-5.f90: New test.
* gfortran.dg/weak-1.f90: New test.
Signed-off-by: Rimvydas Jasinskas <rimvydas.jas@gmail.com>
Diffstat (limited to 'libgm2/libm2iso')
0 files changed, 0 insertions, 0 deletions