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: ARC port (5/5): rest of gcc/{,common/}config/arc/


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


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