gimple-streamer-in.c (input_gimple_stmt): Silence parameter unused warning.
authorJan Hubicka <jh@suse.cz>
Sat, 31 Aug 2013 14:20:47 +0000 (16:20 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 31 Aug 2013 14:20:47 +0000 (14:20 +0000)
* gimple-streamer-in.c (input_gimple_stmt): Silence parameter unused
warning.

From-SVN: r202133

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

index f569cdab7493e3a979788a19b2cbb83345ddd5da..775048a24a30cff2276223a39ac64d077a18945d 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 4abf9cd739e0a3873f0112de97c816a8f0ade3bd..29e8bd04c83d9103262d925603315684d90b43e1 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