[Bug c++/110258] New: Undefined reference to intrinsic when taking function reference at namespace scope

2023-06-14 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110258 Bug ID: 110258 Summary: Undefined reference to intrinsic when taking function reference at namespace scope Product: gcc Version: 13.1.1 Status: UNCONFIRMED

[Bug c++/109753] New: pragma GCC target stops std::vector from compiling

2023-05-05 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753 Bug ID: 109753 Summary: pragma GCC target stops std::vector from compiling Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/109746] New: Fails removing redundant comparison in for loop over multiple variables, unless members of struct

2023-05-05 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109746 Bug ID: 109746 Summary: Fails removing redundant comparison in for loop over multiple variables, unless members of struct Product: gcc Version: 13.1.1 Status:

[Bug c++/112795] New: [C++>=14] ICE pragma GCC unroll (n) cxx_eval_constant_expression

2023-11-30 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112795 Bug ID: 112795 Summary: [C++>=14] ICE pragma GCC unroll (n) cxx_eval_constant_expression Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112795] [C++>=14] ICE pragma GCC unroll (n) cxx_eval_constant_expression

2023-11-30 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112795 --- Comment #1 from Magnus Hokland Hegdahl --- Full output: // Target: x86_64-pc-linux-gnu // Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr

[Bug tree-optimization/113676] New: Miscompilation tree-vrp __builtin_unreachable

2024-01-30 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113676 Bug ID: 113676 Summary: Miscompilation tree-vrp __builtin_unreachable Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/113676] [12 Regression] Miscompilation tree-vrp __builtin_unreachable

2024-01-31 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113676 --- Comment #2 from Magnus Hokland Hegdahl --- Hi, here's a version that doesn't need -std=c++20 or argv: https://godbolt.org/z/Y9ooY998e #include constexpr auto bit_ceil(unsigned x) -> unsigned { if (x <= 1) return 1U; int w = 32 -