[PATCH] Broken build @147534

Jan-Benedict Glaw jbglaw@lug-owl.de
Wed May 20 21:33:00 GMT 2009


Hi!

This patch changes the declarations of three functions back to their
original type, which was changed @147534 (without ChangeLog entry,
without changing the definition, thus probably accidentally).

This patch restores a vax-linux build. Please apply.

MfG, JBG



2009-05-20  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* vax-protos.h (legitimate_constant_address_p) Change definition to
	bool (from int) to un-break build.
	(legitimate_constant_p, vax_mode_dependent_address_p): Likewise.

diff --git a/gcc/config/vax/vax-protos.h b/gcc/config/vax/vax-protos.h
index 86feccd..e9cc616 100644
--- a/gcc/config/vax/vax-protos.h
+++ b/gcc/config/vax/vax-protos.h
@@ -19,9 +19,9 @@ along with GCC; see the file COPYING3.  If not see
 
 extern void override_options (void);
 
-extern int legitimate_constant_address_p (rtx);
-extern int legitimate_constant_p (rtx);
-extern int vax_mode_dependent_address_p (rtx);
+extern bool legitimate_constant_address_p (rtx);
+extern bool legitimate_constant_p (rtx);
+extern bool vax_mode_dependent_address_p (rtx);
 
 #ifdef RTX_CODE
 extern const char *cond_name (rtx);


-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of: "Debugging is twice as hard as writing the code in the first place.
the second  :  Therefore, if you write the code as cleverly as possible, you are,
               by definition, not smart enough to debug it." - Brian W. Kernighan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090520/7625a335/attachment.sig>


More information about the Gcc-patches mailing list