Skip to content
Snippets Groups Projects
  • Martin Sebor's avatar
    5837edca
    PR c++/83394 - always_inline vs. noinline no longer diagnosed · 5837edca
    Martin Sebor authored
    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.
    
    From-SVN: r255844
    5837edca
    History
    PR c++/83394 - always_inline vs. noinline no longer diagnosed
    Martin Sebor authored
    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.
    
    From-SVN: r255844