Patchwork Split up option decoding code

login
register
mail settings
Submitter Jason Merrill
Date July 16, 2010, 12:50 p.m.
Message ID <4C40559B.4080300@redhat.com>
Download mbox | patch
Permalink /patch/59103/
State New
Headers show

Comments

Jason Merrill - July 16, 2010, 12:50 p.m.
On 06/11/2010 02:28 PM, Joseph S. Myers wrote:
> 2010-06-11  Joseph Myers<joseph@codesourcery.com>
>
> 	* opts-common.c: Include options.h.

Need to add it to the dependencies of opts-common.o as well.  OK for trunk?
Jason Merrill - July 16, 2010, 9:11 p.m.
On 07/16/2010 08:50 AM, Jason Merrill wrote:
> Need to add it to the dependencies of opts-common.o as well. OK for trunk?

Committed as obvious.

Jason

Patch

commit 3d04eb2d1b60e3e6144c2adf2c37aff1048b84f7
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Jul 15 23:18:02 2010 -0400

    	* Makefile.in (opts-common.o): Depend on options.h.

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 5a45701..3aeade5 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2801,7 +2801,7 @@  opts.o : opts.c opts.h options.h $(TOPLEV_H) $(DIAGNOSTIC_CORE_H) $(CONFIG_H) $(
    output.h $(DIAGNOSTIC_H) $(TM_P_H) $(INSN_ATTR_H) intl.h $(TARGET_H) \
    $(FLAGS_H) $(PARAMS_H) $(TREE_PASS_H) $(DBGCNT_H) debug.h \
    $(PLUGIN_H) $(EXCEPT_H) $(LTO_STREAMER_H) opts-diagnostic.h
-opts-common.o : opts-common.c opts.h $(CONFIG_H) $(SYSTEM_H) \
+opts-common.o : opts-common.c opts.h options.h $(CONFIG_H) $(SYSTEM_H) \
    coretypes.h intl.h
 targhooks.o : targhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
    $(EXPR_H) $(TM_H) $(RTL_H) $(TM_P_H) $(FUNCTION_H) output.h $(TOPLEV_H) $(DIAGNOSTIC_CORE_H) \