On 01/06/2017 04:34 AM, Christophe Lyon wrote:
On 6 January 2017 at 11:21, 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?

I would say so, RHEL6 is not that old, is it?
I think we want to be able to build GCC on reasonably old machines.
Well, the gcc-4.4.x series is roughly 8 years old now. I call that ancient :-) But it's in widespread use, so we probably ought to support bootstrapping from compilers of that era.


jeff

Reply via email to