Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
The following code crashes gcc-10.1
#include
class WrappedValue
{
public:
constexpr
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
I tried to implement a map-like data structure, with compile-time keys:
#include
#include
#include
namespace
.org/z/vjvYE5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
It appears that `operator<` on `std::array` does
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851
--- Comment #1 from milasudril at gmail dot com ---
Apparently, std::lexicographical_compare works
https://gcc.godbolt.org/z/E1ETh1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851
--- Comment #4 from milasudril at gmail dot com ---
Actually, I did not even try without the c++20 flag:
template< class T, std::size_t N >
bool operator<( const std::array& lhs,
const std::array& rhs );
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
Target: Any
In GCC 8.3 and later the following code fails to compile:
#include
template
using
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
Target: ARM, x86-64
It appears that for GCC versions later than or
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91217
--- Comment #1 from milasudril at gmail dot com ---
For reference, here is a MWE:
#include
#include
template
struct CreateArray
{
using value_type = typename TargetArray::value_type;
auto operator
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
g++ does not accept [[aligned(16)]] as attribute on a function. However, the
non-standard notation works.
Example:
#include
__attribute__((aligned(16))) int test(int x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59861
milasudril at gmail dot com changed:
What|Removed |Added
Severity|minor |enhancement
++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
There are inconsistencies in how gcc reports function names on compile error
Note the use and no use of quotation marks:
/wand-src/wand.cpp: In member function ‘void Wand::Wand::targetsInstall(const
Herbs::Array
ersion: 10.2.1
URL: https://gcc.godbolt.org/z/n13PKr
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail d
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
Host: x86-64_linux_gnu
Target: x86-64_linux_gnu
I tried to write a generic inner product implementation, accepting vectorized
arguments:
```c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107123
--- Comment #2 from milasudril at gmail dot com ---
> It would be nice to standardized the vector attribute.
Good features to have:
constexpr std::size (and also std::ssize)
template
inline constexpr std::is_simd_type_v = ...;
namespace
: 12.2.0
URL: https://godbolt.org/z/dve3Yx8ax
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
Target: x86-64_linux_gnu
I was trying to construct a span type
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: milasudril at gmail dot com
Target Milestone: ---
I tried to use
template
using unique_ptr_deleter =
std::unique_ptr;
As described by
https://andreasfertig.blog/2022/08/cpp-insights-lambdas-in-unevaluated
17 matches
Mail list logo