diff mbox

[SH,committed] Fix excess failures in SH tests caused by switch to GNU11

Message ID 1413634132.31394.155.camel@yam-132-YW-E178-FTW
State New
Headers show

Commit Message

Oleg Endo Oct. 18, 2014, 12:08 p.m. UTC
On Thu, 2014-10-16 at 23:42 +0200, Oleg Endo wrote:
> Hi,
> 
> Attached patch fixes warnings in some of the SH test cases which are
> caused by the switch to GNU11.  Committed as r216351.
> 

... and another one, which I missed.  Committed as r216426.

Cheers,
Oleg

gcc/testsuite/ChangeLog:
	* gcc.target/sh/torture/pr58314.c: Fix excess failures caused by switch
	to GNU11.
diff mbox

Patch

Index: gcc/testsuite/gcc.target/sh/torture/pr58314.c
===================================================================
--- gcc/testsuite/gcc.target/sh/torture/pr58314.c	(revision 216424)
+++ gcc/testsuite/gcc.target/sh/torture/pr58314.c	(working copy)
@@ -52,6 +52,8 @@ 
  xfs_attr_leaf_entry_t entries[1];
 } xfs_attr_leafblock_t;
 
+int xfs_attr_leaf_entsize (xfs_attr_leafblock_t*, int);
+
 int
 xfs_attr_leaf_remove(xfs_attr_leafblock_t *leaf, xfs_da_args_t *args)
 {