This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix c/12794
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: rth at redhat dot com
- Date: Thu, 26 Feb 2004 17:23:57 -0500 (EST)
- Subject: 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)