Re: [PATCH] merge attributes from function template redeclarations (PR 84294)

2018-03-01 Thread Martin Sebor
On 03/01/2018 12:28 PM, Jason Merrill wrote: On Wed, Feb 28, 2018 at 5:47 PM, Martin Sebor wrote: Attached is a patch for the failure to merge a subset of attributes specified on redeclarations of a function template with those of the first declaration (const, malloc, pure, noinline, noreturn,

Re: [PATCH] merge attributes from function template redeclarations (PR 84294)

2018-03-01 Thread Jason Merrill
On Wed, Feb 28, 2018 at 5:47 PM, Martin Sebor wrote: > Attached is a patch for the failure to merge a subset of attributes > specified on redeclarations of a function template with those of > the first declaration (const, malloc, pure, noinline, noreturn, > and nothrow). This was uncovered this m

[PATCH] merge attributes from function template redeclarations (PR 84294)

2018-02-28 Thread Martin Sebor
Attached is a patch for the failure to merge a subset of attributes specified on redeclarations of a function template with those of the first declaration (const, malloc, pure, noinline, noreturn, and nothrow). This was uncovered this morning while debugging failures in tests I added just yesterd