[Bug c++/91182] New: deprecated attribute string-literal

2019-07-16 Thread aaron.ballman+gcc at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: aaron.ballman+gcc at gmail dot com Target Milestone: --- Using a wide string literal argument to the deprecated attribute has unfortunate behavior when trying to print that argument as part of a diagnostic. Consider: ``` [[deprecated(L

[Bug c++/87456] New: Attributes on a global empty statement

2018-09-27 Thread aaron.ballman+gcc at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: aaron.ballman+gcc at gmail dot com Target Milestone: --- GCC rejects the following valid program: ``` [[]]; int main() {} ``` with the error "declaration does not declare anything" on the attribute. However, this is a valid

[Bug c++/78951] New: Attributes allowed in an incorrect position

2016-12-29 Thread aaron.ballman+gcc at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: aaron.ballman+gcc at gmail dot com Target Milestone: --- [dcl.type] specifies in what positions an attribute-specifier-seq may appear within a type-specifier-seq, which is only at the end of the sequence. GCC silently accepts

[Bug c++/77369] New: incorrect noexcept specification deduction

2016-08-24 Thread aaron.ballman+gcc at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: aaron.ballman+gcc at gmail dot com Target Milestone: --- The following code produces "false, false" with Clang 3.8.0 and MSVC 2015, but "true, true" with GCC 6.1.0 (and EDG). #include template int som

[Bug c++/70382] New: Attribute not supported on bit-field declarations

2016-03-23 Thread aaron.ballman+gcc at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aaron.ballman+gcc at gmail dot com Target Milestone: --- The following code produces a reject-valid diagnostic: struct test { unsigned d [[]] : 1; }; main.cpp:2:17: error: function definition does not declare