[Bug tree-optimization/120358] [15 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-07-08 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #37 from Holger Hoffstätte --- (In reply to Richard Biener from comment #36) > Should be fixed on trunk. The issue is latent since forever, I'll pick this > to most branches. I hope somebody can test on the very original Qt testcas

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-07-04 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #27 from Holger Hoffstätte --- If I add lifetime-extending printfs to QStringTokenizerBase::next() like this: --- qstringtokenizer.h 2025-07-04 17:56:28.523676630 +0200 +++ qstringtokenizer-printf.h 2025-07-04 17:56:03.998840901

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-29 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #23 from Holger Hoffstätte --- (In reply to Holger Hoffstätte from comment #22) > Created attachment 61758 [details] > Readable reproducer for debugging > > Slightly more reduced, no need for the join business. ..and not for the fa

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-29 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 Holger Hoffstätte changed: What|Removed |Added Attachment #61755|0 |1 is obsolete|

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-29 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #19 from Holger Hoffstätte --- (In reply to Holger Hoffstätte from comment #18) > Consequently the problematic second test (testNotOK) can be "fixed" by: > > auto tok = qTokenize(std::move(expected.join(u'.')), QLatin1Char('.'), >

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-29 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #18 from Holger Hoffstätte --- Furthermore, using an explicit std::move to the first test like this: auto joined = expected.join(u'.'); auto tok = qTokenize(std::move(joined), QLatin1Char('.'), Qt::CaseSensitive, Qt::SkipEmp

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-29 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #17 from Holger Hoffstätte --- Created attachment 61755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61755&action=edit Readable reproducer for debugging (In reply to rguent...@suse.de from comment #16) > Does -fno-lifetime-d

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-27 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #7 from Holger Hoffstätte --- Sorry if the following is unhelpful - I'm just an interested observer. Since I could easily reproduce the problem I decided to poke at things in gdb and got a bit annoyed at the bad test code style. So