Patchwork [wide-int] Fix rtl-checking build error

login
register
mail settings
Submitter Richard Sandiford
Date Aug. 21, 2013, 8:24 p.m.
Message ID <877gfeg5cv.fsf@talisman.default>
Download mbox | patch
Permalink /patch/268900/
State New
Headers show

Comments

Richard Sandiford - Aug. 21, 2013, 8:24 p.m.
Hit this building with --enable-checking=yes,rtl,df.  Seemed obvious
enough so I went ahead and applied it.  The definition in rtl.c was
already OK.

Richard


gcc/
	* rtl.h (hwivec_check_failed_bounds): Fix prototype.

Patch

Index: gcc/rtl.h
===================================================================
--- gcc/rtl.h	(revision 201904)
+++ gcc/rtl.h	(working copy)
@@ -711,7 +711,7 @@ 
     ATTRIBUTE_NORETURN;
 extern void rtl_check_failed_block_symbol (const char *, int, const char *)
     ATTRIBUTE_NORETURN;
-extern void hwivec_check_failed_bounds (const_rtvec, int, const char *, int,
+extern void hwivec_check_failed_bounds (const_hwivec, int, const char *, int,
 					const char *)
     ATTRIBUTE_NORETURN;
 extern void rtvec_check_failed_bounds (const_rtvec, int, const char *, int,