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++/83394] [8 Regression] always_inline vs. noinline no longer diagnosed


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

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Dec 19 22:09:00 2017
New Revision: 255844

URL: https://gcc.gnu.org/viewcvs?rev=255844&root=gcc&view=rev
Log:
PR c++/83394 - always_inline vs. noinline no longer diagnosed
PR c++/83322 - ICE: tree check: expected class ‘type’, have ‘exceptional’

gcc/cp/ChangeLog:

        PR c++/83394
        PR c++/83322
        * decl2.c (cplus_decl_attributes): Look up member functions
        in the scope of their class.

gcc/testsuite/ChangeLog:

        PR c++/83394
        * g++.dg/Wattributes-3.C: New test.
        * g++.dg/Wattributes-4.C: New test.
        * g++.dg/Wattributes-5.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/Wattributes-3.C
    trunk/gcc/testsuite/g++.dg/Wattributes-4.C
    trunk/gcc/testsuite/g++.dg/Wattributes-5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.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]