diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-04 10:30:17 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-04 10:30:17 +0000 |
commit | 888d4c42155c9d4906bb10d565d3985ea105058e (patch) | |
tree | 825af2fb0d37366d20fb14c3209321c62c2f8dd8 /libgfortran/libgfortran.h | |
parent | 1bc0f76b068e42d3230fa42d20c1c84c8d8a1213 (diff) | |
download | gcc-888d4c42155c9d4906bb10d565d3985ea105058e.tar.gz |
PR libfortran/30007
* libgfortran.h: Do not prefix symbol name with
__USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121569 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index af53e480009..2f7a5396eef 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -126,10 +126,10 @@ typedef off_t gfc_offset; # define export_proto(x) sym_rename(x, PREFIX(x)) # define export_proto_np(x) extern char swallow_semicolon # define iexport_proto(x) internal_proto(x) -# define iexport(x) iexport1(x, __USER_LABEL_PREFIX__, IPREFIX(x)) -# define iexport1(x,p,y) iexport2(x,p,y) -# define iexport2(x,p,y) \ - extern __typeof(x) PREFIX(x) __attribute__((__alias__(#p #y))) +# define iexport(x) iexport1(x, IPREFIX(x)) +# define iexport1(x,y) iexport2(x,y) +# define iexport2(x,y) \ + extern __typeof(x) PREFIX(x) __attribute__((__alias__(#y))) /* ??? We're not currently building a dll, and it's wrong to add dllexport to objects going into a static library archive. */ #elif 0 && defined(HAVE_ATTRIBUTE_DLLEXPORT) |