* gimple-streamer-in.c (input_gimple_stmt): Silence parameter unused
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Aug 2013 14:20:47 +0000 (14:20 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Aug 2013 14:20:47 +0000 (14:20 +0000)
warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202133 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gimple-streamer-in.c

index f569cda..775048a 100644 (file)
@@ -1,5 +1,8 @@
 2013-08-31  Jan Hubicka  <jh@suse.cz>
 
+       * gimple-streamer-in.c (input_gimple_stmt): Silence parameter unused
+       warning.
+
        * cgraph.c (cgraph_get_body): Update call of lto_input_function_body.
        * gimple-streamer-in.c (input_gimple_stmt): Move sanity check to ...
        * tree-cfg.c (verify_gimple_label): ... here.
index 4abf9cd..29e8bd0 100644 (file)
@@ -80,7 +80,7 @@ input_phi (struct lto_input_block *ib, basic_block bb, struct data_in *data_in,
 
 static gimple
 input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in,
-                  struct function *fn, enum LTO_tags tag)
+                  enum LTO_tags tag)
 {
   gimple stmt;
   enum gimple_code code;
@@ -339,7 +339,7 @@ input_bb (struct lto_input_block *ib, enum LTO_tags tag,
   tag = streamer_read_record_start (ib);
   while (tag)
     {
-      gimple stmt = input_gimple_stmt (ib, data_in, fn, tag);
+      gimple stmt = input_gimple_stmt (ib, data_in, tag);
       gsi_insert_after (&bsi, stmt, GSI_NEW_STMT);
 
       /* After the statement, expect a 0 delimiter or the EH region