diff --git a/gcc/defaults.h b/gcc/defaults.h index 8aed0545751..6364216d968 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -390,7 +390,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* Provide defaults for stuff that may not be defined when using sjlj exceptions. */ #ifndef EH_RETURN_DATA_REGNO -#define EH_RETURN_DATA_REGNO(N) INVALID_REGNUM +#define EH_RETURN_DATA_REGNO(N) (void (N), INVALID_REGNUM) #endif /* Offset between the eh handler address and entry in eh tables. */