[Bug libgcc/108279] Improved speed for float128 routines

2023-01-14 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108279 --- Comment #12 from Michael_S --- (In reply to Thomas Koenig from comment #10) > What we would need for incorporation into gcc is to have several > functions, which would then called depending on which floating point > options are in force at

[Bug libgcc/108279] Improved speed for float128 routines

2023-01-14 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108279 --- Comment #11 from Michael_S --- (In reply to Thomas Koenig from comment #9) > Created attachment 54273 [details] > matmul_r16.i > > Here is matmul_r16.i from a relatively recent trunk. Thank you. Unfortunately, I was not able to link it

[Bug tree-optimization/99408] s3251 benchmark of TSVC vectorized by clang runs about 7 times faster compared to gcc

2023-01-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99408 --- Comment #4 from Jan Hubicka --- On Zen4 it is 20s for gcc and 6.9s for aocc, so still a problem.

[Bug middle-end/108376] TSVC s1279 runs 40% faster with aocc than gcc at zen4

2023-01-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108376 --- Comment #3 from Jan Hubicka --- If I make the arrays random then GCC code is indeed faster: #include #include typedef float real_t; #define iterations 100 #define LEN_1D 32000 #define LEN_2D 256 real_t

[Bug libstdc++/108409] std::chrono::current_zone() doesn't work on AIX

2023-01-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108409 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > We should parse the TZ env var and see if it is already an IANA name, and > handle a few other special cases. E.g. gcc119 in the cfarm hax TZ=CUT0 which >

[Bug libstdc++/108409] std::chrono::current_zone() doesn't work on AIX

2023-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108409 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d80e5a7b30e5d045c808f5235123e366e4e9286c commit r13-5170-gd80e5a7b30e5d045c808f5235123e366e4e9286c Author: Jonathan Wakely

[Bug ipa/56139] [10/11/12/13 Regression] unmodified static data could go in .rodata, not .data

2023-01-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56139 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #4

[Bug bootstrap/107950] partial LTO linking of libbackend.a: gcc/gcc-rich-location.cc:207: undefined reference to `range_label_for_type_mismatch::get_text(unsigned int) const'

2023-01-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107950 --- Comment #7 from Jan Hubicka --- Thanks for looking into the incremental link of libbackend. I had it in my tree for a while but never got around implementing correct way to enable it only during bootstrap since host compiler may not support

[Bug middle-end/108410] New: x264 averaging loop not optimized well for avx512

2023-01-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108410 Bug ID: 108410 Summary: x264 averaging loop not optimized well for avx512 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/108407] SegFault with structured binding and OpenMP without optimization

2023-01-14 Thread mmoelle1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407 --- Comment #4 from Matthias Möller --- Thank you, I have changed the code as suggested and it compiles and runs fine in all optimization levels including '-O0'.

[Bug libstdc++/108409] std::chrono::current_zone() doesn't work on AIX

2023-01-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108409 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/108409] New: std::chrono::current_zone() doesn't work on AIX

2023-01-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108409 Bug ID: 108409 Summary: std::chrono::current_zone() doesn't work on AIX Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/92342] [10/11/12/13 Regression] a small missed transformation into x?b:0

2023-01-14 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92342 --- Comment #29 from Gabriel Ravier --- Looks like the patch fixes this bug, unless I'm missing something.

[Bug c++/108407] SegFault with structured binding and OpenMP without optimization

2023-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407 --- Comment #3 from Andrew Pinski --- If you do: return std::tuple(a,b); You don't get the reference.

[Bug c++/108407] SegFault with structured binding and OpenMP without optimization

2023-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407 --- Comment #2 from Andrew Pinski --- > return std::tie(a,b); That returns a reference to the two local variables. Both have now gone out of scope.

[Bug c++/108407] SegFault with structured binding and OpenMP without optimization

2023-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug d/108408] New: libphobos: Support building on *-*-cygwin

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108408 Bug ID: 108408 Summary: libphobos: Support building on *-*-cygwin Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d

[Bug c++/108407] New: SegFault with structured binding and OpenMP without optimization

2023-01-14 Thread mmoelle1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407 Bug ID: 108407 Summary: SegFault with structured binding and OpenMP without optimization Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug libstdc++/107189] Inconsistent range insertion implementations in std::_Rb_tree in

2023-01-14 Thread fdumont at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107189 François Dumont changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/82028] Windows x86_64 should not pass float aggregates in xmm

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/90256] Optimizer with interrupt routines

2023-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256 --- Comment #4 from Andrew Pinski --- The reason why it is target specific is because the attribute interrupt is target specific and ipa-icf code has no knowledge of it. Basically the x86_64 backend when it sees interrupt attribute it should

[Bug target/90256] Optimizer with interrupt routines

2023-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256 --- Comment #3 from Andrew Pinski --- Easy work around is add to the attribute, noipa.

[Bug target/90256] Optimizer with interrupt routines

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug tree-optimization/106103] ICE in binds_to_current_def_p when source object files are compiled with -flto -Os

2023-01-14 Thread ivanka2012 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106103 --- Comment #2 from Ivan --- Putting -fno-declone-ctor-dtor in the flags "fixes" the bug.

[Bug ipa/108383] g++ ICE with -O3 and -flto and -fdeclone-ctor-dtor on simple function

2023-01-14 Thread ivanka2012 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 Ivan changed: What|Removed |Added CC||ivanka2012 at gmail dot com --- Comment #5 from

[Bug c++/80561] Missed optimization: std::array data is aligned if array is aligned

2023-01-14 Thread jzwinck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80561 John Zwinck changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2023-01-14 Thread jzwinck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 80561, which changed state. Bug 80561 Summary: Missed optimization: std::array data is aligned if array is aligned https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80561 What|Removed

[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)

2023-01-14 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 --- Comment #3 from Andreas Schwab --- NPTL does not have the alignment restriction.

[Bug tree-optimization/108406] New: Missed integer optimization on x86-64 unless -fwrapv is used

2023-01-14 Thread jzwinck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108406 Bug ID: 108406 Summary: Missed integer optimization on x86-64 unless -fwrapv is used Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)

2023-01-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 --- Comment #2 from Iain Sandoe --- (In reply to Iain Sandoe from comment #1) > note that a default size of 8Mb is not enough for either Linux or Arm64 > Darwin (both have PTHREAD_STACK_MIN of 16384). this is, of course, rubbish .. the default

[Bug libgcc/108279] Improved speed for float128 routines

2023-01-14 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108279 --- Comment #10 from Thomas Koenig --- What we would need for incorporation into gcc is to have several functions, which would then called depending on which floating point options are in force at the time of invocation. So, let's go through

[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)

2023-01-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 Iain Sandoe changed: What|Removed |Added Target||x86_64-darwin Keywords|

[Bug modula2/108405] New: modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)

2023-01-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 Bug ID: 108405 Summary: modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere) Product: gcc Version: 13.0

[Bug modula2/108404] New: M2RTS_Halt fails with a segv (it should emit a diagnostic and exit).

2023-01-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404 Bug ID: 108404 Summary: M2RTS_Halt fails with a segv (it should emit a diagnostic and exit). Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/108365] [9/10/11/12 Regression] Wrong code with -O0

2023-01-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108365 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12/13 Regression] |[9/10/11/12 Regression]

[Bug libgcc/108279] Improved speed for float128 routines

2023-01-14 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108279 --- Comment #9 from Thomas Koenig --- Created attachment 54273 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54273=edit matmul_r16.i Here is matmul_r16.i from a relatively recent trunk.

[Bug c++/108365] [9/10/11/12/13 Regression] Wrong code with -O0

2023-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108365 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5b3a88640f962d4ffca31ae651bed2d8672f1a8c commit r13-5163-g5b3a88640f962d4ffca31ae651bed2d8672f1a8c Author: Jakub Jelinek Date:

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2023-01-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #18 from Jakub Jelinek --- Thanks for looking into this.

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2023-01-14 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #17 from Alexandre Oliva --- Created attachment 54272 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54272=edit patch that fixes the problem for reasons not fully understood It seems that looking up the MEM exprs in