https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114772
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|13.4 |12.5
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
CC| |jason at gcc dot gnu.org
Summary|[13/14/15 Regression] |[12/13/14/15 Regression]
|pragma GCC target applied |pragma GCC target applied
|to earlier template |to earlier template
|function with |function with
|__attribute__((warn_unused_ |__attribute__((warn_unused_
|result)) since r12-6904 |result))
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> Started with r12-6904-g66b86171188dcb61d2d0e0a4a98a7467e58a84a7
This is incorrect, it fails in all of GCC 4.9-15. 4.3-4.8 accept the testcase
(though also don't inline the call at -O0).