g++ 4.8 fails with -Ox option

Ian Lance Taylor iant@google.com
Wed Jul 24 09:54:00 GMT 2013


On Tue, Jul 23, 2013 at 12:50 AM, Patrick Begou
<Patrick.Begou@legi.grenoble-inp.fr> wrote:
> .....
> /* If we are compiling with optimizing read this file.  It contains
>    several optimizing inline functions and macros.  */
> #ifdef __USE_EXTERN_INLINES
> # include <bits/stdio.h>
> #endif
> ....
> but no  __OPTIMIZE__  directives.

Look for where __USE_EXTERN_INLINES is defined.  In standard glibc,
you'll see that it is only defined for GCC 4.7 or later.

> So I'm not sure that it is related to a bogus glibc....

Third time: you need to talk to the glibc developers.  We're just
going to tell you that again and again and again until you do.

Ian



More information about the Gcc-help mailing list