This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2010-08-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* config/pa/pa.c (override_options): Fix warning.

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]