diff mbox

[google] suppress LIPO notes (issue5356041)

Message ID 20111104173946.510E6C1F62@rong.mtv.corp.google.com
State New
Headers show

Commit Message

Rong Xu Nov. 4, 2011, 5:39 p.m. UTC
Suppress another LIPO notes. Move it under fopt-info.

For google branch only.

Tested with internal branchmark suite.

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

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


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

Comments

Xinliang David Li Nov. 4, 2011, 5:42 p.m. UTC | #1
ok.

David

On Fri, Nov 4, 2011 at 10:39 AM, Rong Xu <xur@google.com> wrote:
> Suppress another LIPO notes. Move it under fopt-info.
>
> For google branch only.
>
> Tested with internal branchmark suite.
>
> 2011-11-04   Rong Xu  <xur@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
>
diff mbox

Patch

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;