Re: [PATCH] Avoid spurious test failures when -fno-inline in test flags

2019-01-04 Thread Jonathan Wakely
On 04/01/19 11:38 +, Jonathan Wakely wrote: These tests rely on inlining, so if -fno-inline is added to the compiler flags the tests fail. Use the predefined __NO_INLINE__ macro to detect that situation, and don't bother testing the move assignment. * testsuite/21_strings/basic_strin

[PATCH] Avoid spurious test failures when -fno-inline in test flags

2019-01-04 Thread Jonathan Wakely
These tests rely on inlining, so if -fno-inline is added to the compiler flags the tests fail. Use the predefined __NO_INLINE__ macro to detect that situation, and don't bother testing the move assignment. * testsuite/21_strings/basic_string/modifiers/assign/char/ move_assign_opti