Suppress another LIPO notes. Move it under fopt-info.

For google branch only.

Tested with internal branchmark suite.

2011-11-04   Rong Xu  <x...@google.com>

        * gcc/c-family/c-opts.c: move the notes under fopt-info.

Index: gcc/c-family/c-opts.c
===================================================================
--- gcc/c-family/c-opts.c       (revision 180964)
+++ gcc/c-family/c-opts.c       (working copy)
@@ -1104,8 +1104,9 @@
           > (size_t) PARAM_VALUE (PARAM_MAX_LIPO_MEMORY))) {
     i++;
     do {
-      inform (input_location, "Not importing %s: maximum memory "
-             "consumption reached", in_fnames[i]);
+      if (flag_opt_info >= OPT_INFO_MED)
+        inform (input_location, "Not importing %s: maximum memory "
+                "consumption reached", in_fnames[i]);
       i++;
     } while (i < num_in_fnames);
     return true;

--
This patch is available for review at http://codereview.appspot.com/5356041

Reply via email to