Patchwork [committed] Fix warning compiling pa.c on 4.3 branch

login
register
mail settings
Submitter John David Anglin
Date Aug. 8, 2010, 7:42 p.m.
Message ID <20100808194247.AD5674D76@hiauly1.hia.nrc.ca>
Download mbox | patch
Permalink /patch/61229/
State New
Headers show

Comments

John David Anglin - Aug. 8, 2010, 7:42 p.m.
This fixes a warning from pa.c on the 4.3 branch.  Unfortunately, I
missed the change in semantics in `inform'.

Compile tested on hppa2.0w-hp-hpux11.11.  Committed to 4.3 branch.

Dave

Patch

Index: config/pa/pa.c
===================================================================
--- config/pa/pa.c	(revision 163006)
+++ config/pa/pa.c	(working copy)
@@ -503,8 +503,7 @@ 
      cold partitioning.  */
   if (flag_reorder_blocks_and_partition)
     {
-      inform (input_location,
-              "-freorder-blocks-and-partition does not work "
+      inform ("-freorder-blocks-and-partition does not work "
               "on this architecture");
       flag_reorder_blocks_and_partition = 0;
       flag_reorder_blocks = 1;