On 01/06/2017 04:39 AM, Richard Biener wrote:
On January 6, 2017 11:21:44 AM GMT+01:00, Jakub Jelinek <ja...@redhat.com> 
wrote:
On Fri, Jan 06, 2017 at 09:34:46AM +0100, Christophe Lyon wrote:
I makes my aarch64*linux* and arm*linux* builds for fail, because:
gcc/fortran/simplify.c:613: error: #pragma GCC diagnostic not allowed
inside functions
gcc/fortran/simplify.c:620: error: #pragma GCC diagnostic not allowed
inside functions
gcc/fortran/simplify.c:624: error: #pragma GCC diagnostic not allowed
inside functions

My host compiler is RHEL6's, that is 4.4.7....

I'm not sure what current minimum gcc version is required to build
gcc?

So, do we want something like (untested) following patch then, so that
we
use the pragmas only on recent GCC versions?

Works for me.
Likewise.
jeff

Reply via email to