This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ARC port (5/5): rest of gcc/{,common/}config/arc/
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Joern Rennecke <joern dot rennecke at embecosm dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 24 Oct 2012 16:59:55 +0000
- Subject: Re: ARC port (5/5): rest of gcc/{,common/}config/arc/
- References: <20121023234945.j6eq7orako44woc8-nzlynne@webmail.spamcop.net>
Don't use ATTRIBUTE_UNUSED on a parameter that, as in
arc_option_init_struct, is in fact used unconditionally.
handle_option hooks take a location, so use warning_at not plain warning
in arc_handle_option. Same diagnostic issue as noted before applies.
There are lots of obsolete bits in your ASM_SPEC and LINK_SPEC, such as
%{v}, %{version:-v}, %{b}, %{Wl,*:%*}., %{!dynamic-linker:...}. Remove
them.
--
Joseph S. Myers
joseph@codesourcery.com