https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106213
Bug ID: 106213
Summary: -Werror=deprecated-copy-dtor does not trigger warning
and error
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102209
--- Comment #2 from Federico Kircheis ---
Isn't the compiler allowed to do copy/move elision even if observable since
before c++17?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102846
Bug ID: 102846
Summary: Misleading suggestion to include cassert
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102223
--- Comment #8 from Federico Kircheis ---
> There is though, on line 10.
You are correct, I wonder how I could not see it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102482
--- Comment #4 from Federico Kircheis ---
Note that following equivalent snippet
#include
struct span {
span(std::initializer_list il) noexcept : begin(nullptr),
size(il.size()) { begin = il.begin();}
const int* begin;
std::s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102482
Bug ID: 102482
Summary: Winit-list-lifetime false positive for temporaries
with std::initializer_list
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102223
--- Comment #6 from Federico Kircheis ---
> are you expecting this to go under an existing warning flag, or a new one?
Ideally -Wall, but there might already be some flags related to dangling
pointers and references.
> Your compiler explorer l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102223
--- Comment #1 from Federico Kircheis ---
Sorry, I copied the wrong snippet, it should have been
#include
struct s{
s() noexcept;
~s();
int value() const noexcept;
};
s foo() noexcept;
int bar(){
const auto& v = std::move
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102223
Bug ID: 102223
Summary: no warning whel calling member function on dangling
reference
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102209
Bug ID: 102209
Summary: NRVO for function parameters
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assig
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487
--- Comment #30 from Federico Kircheis ---
It seems to me we are not going to agree as we tend to repeat ourselves, lets
see if we go around and around in circles or if it is more like a spiral ;)
Your view is more about the compiler, how it i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487
--- Comment #28 from Federico Kircheis ---
>Edit: sorry, my last comment about what GCC thinks is wrong.
Unless it is going to inline the function call, in that case the attributes are
as-if ignored (at least the case I've tested with GCC 11.2).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487
--- Comment #27 from Federico Kircheis ---
Edit: sorry, my last comment about what GCC thinks is wrong.
GCC seems to follow the gnu::pure/gnu::const directive to the letter, it does
not ignore it when it sees the implementation of the function,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487
--- Comment #26 from Federico Kircheis ---
As multiple people commented this Ticket, I do not know to who the least
message is sent, but I would like to give again my opinion on it, as I would
really like to use those attributes in non-toy projec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101557
--- Comment #4 from Federico Kircheis ---
Indeed.
I just checked the latest versions.
I wonder if there is a common cause that makes this recursive data structure
harder to evaluate at compile time.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101557
--- Comment #2 from Federico Kircheis ---
clang does not reject it:
https://godbolt.org/z/8Mq1e3o3j
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101557
Bug ID: 101557
Summary: the value of '' is not usable in a constant
expression
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priori
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487
Federico Kircheis changed:
What|Removed |Added
CC||federico.kircheis at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66918
Federico Kircheis changed:
What|Removed |Added
CC||federico.kircheis at gmail dot
com
19 matches
Mail list logo