This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ 4.8 fails with -Ox option
- From: Ian Lance Taylor <iant at google dot com>
- To: Patrick Begou <Patrick dot Begou at legi dot grenoble-inp dot fr>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 23 Jul 2013 06:25:16 -0700
- Subject: Re: g++ 4.8 fails with -Ox option
- References: <51E930AF dot 9000800 at legi dot grenoble-inp dot fr> <CAKOQZ8ws50Tp-3cKHOkpXZ7-QEYjd2aw3Bn02ZhB7Sejja=_Xg at mail dot gmail dot com> <51ED5C52 dot 5030909 at legi dot grenoble-inp dot fr> <CAH6eHdSMF6p_-WwtJ1wYPvt2oz6kkJNgbf8S+coyGGPHC1aLVg at mail dot gmail dot com> <51EE35C1 dot 5060205 at legi dot grenoble-inp dot fr>
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