This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70255

--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue May 10 10:22:16 2016
New Revision: 236071

URL: https://gcc.gnu.org/viewcvs?rev=236071&root=gcc&view=rev
Log:
        PR c/70255
        * c-decl.c (diagnose_mismatched_decls): Warn for optimize attribute
        on a declaration following the definition.

        * gcc.dg/attr-opt-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/attr-opt-1.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]