[Bug c++/95773] New: [[nodiscard]] attribute is ignored for calls to overridden functions

2020-06-19 Thread vladimir.krivopalov at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.krivopalov at gmail dot com Target Milestone: --- The following code compiles fine with GCC 10.1.0 but fails with Clang 10.0.0 : struct Base { [[nodiscard]] virtual

[Bug c++/82304] New: GCC compiles constexpr function with double reinterpret_cast in a constant context

2017-09-22 Thread vladimir.krivopalov at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.krivopalov at gmail dot com Target Milestone: --- The following code compiles fine with GCC (-std=c++14) although normally it should be rejected: #include

[Bug libstdc++/57350] std::align missing

2014-02-01 Thread vladimir.krivopalov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57350 Vladimir Krivopalov changed: What|Removed |Added CC||vladimir.krivopalov at gmail dot c

[Bug libstdc++/57350] std::align missing

2014-02-01 Thread vladimir.krivopalov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57350 --- Comment #6 from Vladimir Krivopalov --- (In reply to David Krauss from comment #5) > Just re-reading now, std::size_t should be std::uintptr_t, but I don't see > anything else that could cause UB. The bitwise "negative" arithmetic should > be