https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48379
Adam Badura changed:
What|Removed |Added
CC||adam.f.badura at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113051
Bug ID: 113051
Summary: -Wformat-signedness wrongly triggers for values from
template arguments
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: norm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111087
--- Comment #9 from Adam Badura ---
Is there any option to improve the warning so that it is not generated in cases
that are valid. I mean, to make it flow-dependent?
How it works now? What it takes into account and how to phrase the code to
av
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111087
--- Comment #7 from Adam Badura ---
So, the cases I described here _is_ a false-positive, however, an expected one.
Do I understand this correctly?
However, consider the code:
class class1
{
public:
bool method1() const;
};
bool
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111087
--- Comment #5 from Adam Badura ---
(In reply to Andrew Pinski from comment #3)
> The warning is correct as tags.end() and tags.begin() will always be a
> nullptr for std::array
Yes. But what does it change?
`std::lower_bound` gets an empty ra
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111087
--- Comment #2 from Adam Badura ---
(In reply to Andrew Pinski from comment #1)
> Zero sized arrays are a gcc extension.
The problem is with `std::array` rather than C-array. It seems to me
`std::array` can have `0` size - it is not an extensio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111087
Bug ID: 111087
Summary: -Wnonnull issued for std::array of zero size when
under C++20
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107802
--- Comment #3 from Adam Badura ---
Why is this marked as a duplicate of bug 98487? I have seen bug 98487 before
reporting it. Furthermore, I experienced it while trying my code sample on the
trunk version to see if the problem still exists.
Ho
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107802
Bug ID: 107802
Summary: -Wsuggest-attribute=format ignores
[[gnu::format(...)]]
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Pr