https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115581
--- Comment #3 from Barnabás Pőcze ---
Isn't your testcase a bit different? I guess my question is, why does gcc feel
the need to make a local copy of a by-value argument when calling a function
with a reference to it, but seemingly only in a fu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115581
Bug ID: 115581
Summary: missed argument forwarding in lambda
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115229
--- Comment #2 from Barnabás Pőcze ---
So because `A::p` might point into the temporary of type `B` returned by `f()`,
the warning is shown? If so, why don't I get a warning if `x` is not a
reference? The same potential issue is possible in that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115229
Bug ID: 115229
Summary: inconsistent `error: possibly dangling reference to a
temporary`
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115222
Bug ID: 115222
Summary: clang does not think libstdc++'s std::optional is
nothrow destructible
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219
--- Comment #3 from Barnabás Pőcze ---
That reduced test case compiles fine for me. On CE, too. Am I missing some
compilation flags?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115219
Bug ID: 115219
Summary: ICE on conditionally noexcept class operator delete
Product: gcc
Version: 14.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113835
Bug ID: 113835
Summary: compiling std::vector with const size in C++20 is slow
Product: gcc
Version: 13.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113053
Bug ID: 113053
Summary: local variable misaligned with AddressSanitizer
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Componen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112934
Bug ID: 112934
Summary: excessive code for std::map::erase(key)
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80454
Barnabás Pőcze changed:
What|Removed |Added
CC||pobrn at protonmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108238
--- Comment #5 from Barnabás Pőcze ---
Based on a suggestion from Jakub Jelínek, I have tried to modify
`is_late_template_attribute()` instead, but it appears that function does not
run in this case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
--- Comment #17 from Barnabás Pőcze ---
The simple test case with std::span still triggers the warning:
https://gcc.godbolt.org/z/43cKxdqr3. I feel that without deeper code analysis
such a warning will generate too many false positives and peopl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108802
Bug ID: 108802
Summary: missed inlining of call via pointer to member function
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Comp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
Barnabás Pőcze changed:
What|Removed |Added
CC||pobrn at protonmail dot com
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108238
--- Comment #2 from Barnabás Pőcze ---
Here is a change that I believe might address this. It seems to work but I have
never done anything in gcc, so probably has shortcomings.
The error points to the return expression, like this:
asd2.cpp:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108238
Bug ID: 108238
Summary: returns_nonnull attribute with auto return type fails
to compile
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104151
Barnabás Pőcze changed:
What|Removed |Added
CC||pobrn at protonmail dot com
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105667
Barnabás Pőcze changed:
What|Removed |Added
CC||pobrn at protonmail dot com
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95137
Barnabás Pőcze changed:
What|Removed |Added
CC||pobrn at protonmail dot com
--- Comment
20 matches
Mail list logo