https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108613
--- Comment #6 from Serdar Sanli ---
> Where did you get this from? The header uses signed __int128
> here, not signed __int128_t.
Just checked and __GLIBCXX_TYPE_INT_N_0 is also __int128 for me. int128_t seem
to come from somewhere else, in
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mserdarsanli at gmail dot com
Target Milestone: ---
https://godbolt.org/z/M1o34e6cx
Below code crashes GCC versions starting with GCC 12. It is only stuff from std
library headers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597
--- Comment #1 from Serdar Sanli ---
stacktrace from my gcc 12.2.0:
0xe2534f crash_signal
/root/source/gcc-12.2.0/gcc/toplev.cc:322
0xb0f049 location_wrapper_p(tree_node const*)
/root/source/gcc-12.2.0/gcc/tree.h:4160
0xb0f049 t
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mserdarsanli at gmail dot com
Target Milestone: ---
https://godbolt.org/z/Kdvd5hzYK
compile below with -Wduplicated-cond and it will crash
template
struct MyStruct {
void check(int &x) {
if (&
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mserdarsanli at gmail dot com
Target Milestone: ---
Godbolt link: https://godbolt.org/z/rjEGPKcE7
void fine() {
int x;
struct {
int
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54202
Serdar Sanli changed:
What|Removed |Added
CC||mserdarsanli at gmail dot com
++
Assignee: unassigned at gcc dot gnu.org
Reporter: mserdarsanli at gmail dot com
Target Milestone: ---
Below code causes the warning in the last line, which seems to be incorrect. It
affects all versions starting from GCC 8
Compiler explorer: https://godbolt.org/z/xhf6cr
#include
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mserdarsanli at gmail dot com
Target Milestone: ---
Link: https://godbolt.org/z/wcIN0a
#include
uint32_t foo1() {
return __builtin_ia32_rdtsc();
}
uint64_t foo2
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mserdarsanli at gmail dot com
Target Milestone: ---
I recently posted about this on SO, but it did not gain much traction:
https://stackoverflow.com/questions/55987401/gcc-clang-labels-as-values-computing
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mserdarsanli at gmail dot com
Target Milestone: ---
#include
#include
void encode_v1(uint8_t *buf, uint64_t a1, uint16_t a2) {
memcpy(buf, &a1, 6);
memcpy(buf+6, &a2, 2);
}
void encode_v2
10 matches
Mail list logo