https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #20 from Marc Mutz ---
Thanks for rubberducking, and sorry for the noise. Found bugs are always
obvious in hindsight ;)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #15 from Marc Mutz ---
It seems to be the
auto* &i = reinterpret_cast(it)
The code advances `i` and expects `it` to be advanced by this as well. Guess
that's wishful thinking, then?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #14 from Marc Mutz ---
C++ build gives me also a crash, this time with a nicer backtrace:
```
* Start testing of tst_QXmlStream *
Config: Using QtTest library 6.11.0, Qt 6.11.0 (x86_64-little_endian-lp64
shared (dyna
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #12 from Marc Mutz ---
> Lemme throw ubsan/asan on the noinline code.
Passes, no report :(
> Does -fno-ipa-modref work?
> Does -fno-strict-alias work?
Both (independent of each other) fix the issue, yes.
Lemme try a C++20 build t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #10 from Marc Mutz ---
> Also I am trying to understand which version has the bug? The one without the
> patch (and with `__attribute__((optimize("O0"))` removed) or the one with the
> patch (and with `__attribute__((optimize("O0")
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #7 from Marc Mutz ---
> Also `15.1.1 (20250611)` is before the fix for PR 120358 which might be the
> fix here too.
Same issue with 15.2.1 (20250819).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #6 from Marc Mutz ---
ubsan didn't report any, at least
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #4 from Marc Mutz ---
> Can you try `-flifetime-dse=0 -fstack-reuse=none` ?
They do not, not when added with CXXFLAGS (which adds them in front of the
options):
```
c++ -DBACKTRACE_HEADER=\"execinfo.h\" -DCore_EXPORTS
-DELF_INTERPR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
--- Comment #1 from Marc Mutz ---
Created attachment 62144
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62144&action=edit
Diff from "inlined" to "guarded" (see comment 1).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121593
Bug ID: 121593
Summary: Miscompiles small function to produce endless(?) loop
Product: gcc
Version: 15.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114153
--- Comment #1 from Marc Mutz ---
It's only the C++14 "diamond"/is_transparent version of std::less/greater_equal
that is affected. If you replace the return from main with greater_equal{},
then it calls op<=>, too:
// https://godbolt.org/z/cnj
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114153
Bug ID: 114153
Summary: std::less prefers operator const void*() over
operator<=>() in C++20 mode
Product: gcc
Version: 12.3.0
Status: UNCONFIRMED
Severity: no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100903
Marc Mutz changed:
What|Removed |Added
CC||marc.mutz at hotmail dot com
--- Comment #7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80578
--- Comment #5 from Marc Mutz ---
Still in GCC 11 and GCC 13.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110704
--- Comment #1 from Marc Mutz ---
GCC self-compiled, line numbers should be as at 275820c09e5:
$ g++ --version
g++ (GCC) 13.0.1 20230124 (experimental)
$ (cd ~/C++/gcc; git log -1 --oneline)
275820c09e5 (HEAD, origin/trunk, origin/master, origi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110704
Bug ID: 110704
Summary: When ubsan reports an error, asan reports a leak in
cp-demangle.c
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92562
Marc Mutz changed:
What|Removed |Added
CC||marc.mutz at hotmail dot com
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108820
Bug ID: 108820
Summary: vector::resize(n, v) requires copy_assignable, which
is not part of the CopyInsertable concept
Product: gcc
Version: 13.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105416
--- Comment #3 from Marc Mutz ---
It's both: aarch64 is here:
https://gcc.gnu.org/legacy-ml/gcc-patches/2019-01/msg00570.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105416
Bug ID: 105416
Summary: arm_acle.h is missing __yield()
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
As
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86974
--- Comment #7 from Marc Mutz ---
Fantastic! Thanks for the tip!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86974
Marc Mutz changed:
What|Removed |Added
CC||marc.mutz at hotmail dot com
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104480
Marc Mutz changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104480
Bug ID: 104480
Summary: [trunk] Combining stores across memory locations might
violate [intro.memory]/3
Product: gcc
Version: unknown
Status: UNCONFIRMED
Sever
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100415
--- Comment #2 from Marc Mutz ---
Confirmed with
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/d/gcc/11/libexec/gcc/x86_64-pc-linux-gnu/11.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --pr
25 matches
Mail list logo