Snapshot gcc-5-20140928 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/5-20140928/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 5 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision
Filed as PR63401: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63401
> This is easy to see with a simple C test case:
>
> //__attribute__ ((optimize("strength-reduce")))
> int foo (float x) { return __builtin_isnan(x); }
>
> Compiled with -O3 -ffast-math, the isnan is simplified out (fast math
tl;dr: there is a bug in optimization options saving/restoring. See after the
break for simple C testcase.
> Unfortunately I can't find if/where there is some explanation for
> these frontend_set_flag_* options -- how they're supposed to work and
> who's responsible for setting them.
It’s not t
On Sun, Sep 28, 2014 at 10:28 PM, FX wrote:
>> It looks like parse_optimize_options has nothing c-family specific in
>> it, so it could be moved to attribs.c. Then you'd use
>> build_optimization_node to set DECL_FUNCTION_SPECIFIC_OPTIMIZATION, as
>> done in c-common.c:handle_optimize_attribute.
>
> It looks like parse_optimize_options has nothing c-family specific in
> it, so it could be moved to attribs.c. Then you'd use
> build_optimization_node to set DECL_FUNCTION_SPECIFIC_OPTIMIZATION, as
> done in c-common.c:handle_optimize_attribute.
Yep, I’ve done it that way, it works fine.
There
On 09/26/14 07:47:05, Andi Kleen wrote:
> One example of an existing autotuner is the gccflags tuner in opentuner.
Although dated, ACOVEA might offer up some ideas.
http://stderr.org/doc/acovea/html/acovea_4.html
On Sun, Sep 28, 2014 at 5:24 PM, FX wrote:
> I’m trying to get the Fortran front-end to add function-specific optimization
> flags to certain functions (those that request IEEE compliance through use of
> the specific Fortran module). It seems simple enough, adding the attribute to
> the fndecl,
I’m trying to get the Fortran front-end to add function-specific optimization
flags to certain functions (those that request IEEE compliance through use of
the specific Fortran module). It seems simple enough, adding the attribute to
the fndecl, but though I’ve tried to do so at two different pl
Thanks to all.
Matthew
> -Original Message-
> From: Eric Christopher [mailto:echri...@gmail.com]
> Sent: 26 September 2014 21:07
> To: Jeff Law
> Cc: Moore, Catherine; Matthew Fortune; GCC
> Subject: Re: MIPS Maintainers
>
> Congratulations guys!
>
> -eric
>
> On Fri, Sep 26, 2014 at 1