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: fix c/12794


>	* c-common.c (handle_alias_attribute): Reject the attribute if
>	current_function_decl is set.

I think this change causes the following fail:

Executing on host: /home/dave/gcc-3.5/objdir/gcc/testsuite/../g++ -B/home/dave/g
cc-3.5/objdir/gcc/testsuite/../ /home/dave/gcc-3.5/gcc/gcc/testsuite/g++.dg/ext/
attrib10.C  -nostdinc++ -I/home/dave/gcc-3.5/objdir/hppa-linux/libstdc++-v3/incl
ude/hppa-linux -I/home/dave/gcc-3.5/objdir/hppa-linux/libstdc++-v3/include -I/ho
me/dave/gcc-3.5/gcc/libstdc++-v3/libsupc++ -I/home/dave/gcc-3.5/gcc/libstdc++-v3
/libsupc++ -I/home/dave/gcc-3.5/gcc/libstdc++-v3/include/backward -I/home/dave/g
cc-3.5/gcc/libstdc++-v3/testsuite -fmessage-length=0   -ansi -pedantic-errors -W
no-long-long  -S  -o attrib10.s    (timeout = 300)
/home/dave/gcc-3.5/gcc/gcc/testsuite/g++.dg/ext/attrib10.C: In function `void fo
o()':
/home/dave/gcc-3.5/gcc/gcc/testsuite/g++.dg/ext/attrib10.C:6: warning: `__alias_
_' attribute ignored

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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