[Bug other/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after r14-3823-g50b5199cff6908 on big endian

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 --- Comment #3 from Jakub Jelinek --- As I wrote, the important difference is whether aggregate_value_p is true or false for the called_by_test_5b call (which returns a struct but caller ignores it). If aggregate_value_p returns true, then there

[Bug target/111380] Inconsistent behaviors between non-LTO and LTO

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111380 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at g

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #11 from Mathieu Malaterre --- (In reply to Kewen Lin from comment #9) > It looks to me that the error message is expected, because the source code > forces the function as always_inline, users would like it to be inlined > always, i

[Bug middle-end/102202] Inefficent expansion of memset when range is [0,1]

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102202 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|target

[Bug tree-optimization/111364] `MAX_EXPR <= a` is not optimized to `a >= b`

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111364 --- Comment #4 from Andrew Pinski --- Created attachment 55884 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55884&action=edit Full patch which I am testing

[Bug tree-optimization/107881] (a <= b) == (b >= a) should be optimized to (a == b)

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug sanitizer/111382] New: Sanitizer says that the right address calculated in parentheses is misaligned.

2023-09-11 Thread aamelnikov at inbox dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111382 Bug ID: 111382 Summary: Sanitizer says that the right address calculated in parentheses is misaligned. Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity

[Bug target/111381] New: RISC-V: missed autovec MULH for signed * unsigned

2023-09-11 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111381 Bug ID: 111381 Summary: RISC-V: missed autovec MULH for signed * unsigned Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #10 from Kewen Lin --- (In reply to Jan Wassenberg from comment #5) > Thanks for reporting this. One might think this is caused by -mcpu=power9 > clashing with our #pragma target altivec,vsx,power8-vector. > > However, what makes th

[Bug target/111380] New: Inconsistent behaviors between non-LTO and LTO

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111380 Bug ID: 111380 Summary: Inconsistent behaviors between non-LTO and LTO Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Kewen Lin changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #16 from Chih-Hsuan Yang --- (In reply to Jonathan Wakely from comment #15) > (In reply to Chih-Hsuan Yang from comment #11) > > Could you please provide an update on the progress here? > > > All progress is already recorded above.

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2023-09-11 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 HaoChen Gui changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:2eb8e5cba7408e2a4016a8f5c48e4980abdd1d08 commit r11-10985-g2eb8e5cba7408e2a4016a8f5c48e4980abdd1d08 Author: Haochen Gui Date

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:ac0773956cef18cd4903365fb675447ee301d725 commit r12-9854-gac0773956cef18cd4903365fb675447ee301d725 Author: Haochen Gui Date:

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:f4358054dbaf7fb361e603e3693d9410312b88e7 commit r13-7793-gf4358054dbaf7fb361e603e3693d9410312b88e7 Author: Haochen Gui Date:

[Bug target/108812] gcc.target/powerpc/p9-sign_extend-runnable.c fails on power 9 BE

2023-09-11 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108812 HaoChen Gui changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/111379] comparison between unequal pointers to void should be illegal during constant evaluation

2023-09-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111379 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1 from Jian

[Bug tree-optimization/111364] `MAX_EXPR <= a` is not optimized to `a >= b`

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111364 --- Comment #3 from Andrew Pinski --- Created attachment 55882 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55882&action=edit max testcase

[Bug tree-optimization/111364] `MAX_EXPR <= a` is not optimized to `a >= b`

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111364 --- Comment #2 from Andrew Pinski --- diff --git a/gcc/match.pd b/gcc/match.pd index 51985c1bad4..bf49c167792 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -3902,9 +3902,9 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) (maxmin @0 (bit_not @1

[Bug tree-optimization/111364] `MAX_EXPR <= a` is not optimized to `a >= b`

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111364 --- Comment #1 from Andrew Pinski --- Created attachment 55881 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55881&action=edit mins testcase

[Bug testsuite/111071] [14 Regression] gcc.target/aarch64/sve/acle/aarch64-sve-acle-asm.exp has new failures since commit e7a36e4715c7

2023-09-11 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111071 Thiago Jung Bauermann changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 --- Comment #4 from JuzheZhong --- I am not familiar with this stuff. I would like to see whether kito has good suggestions.

[Bug c++/111379] New: comparison between unequal pointers to void should be illegal during constant evaluation

2023-09-11 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111379 Bug ID: 111379 Summary: comparison between unequal pointers to void should be illegal during constant evaluation Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/95185] [11/12/13/14 Regression] Failure to optimize specific kind of sign comparison check

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95185 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|pinskia at gcc do

[Bug c++/106310] [11 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/106890] [11 Regression] virtual inheritance triggers compiler error when instatiating derived class with in-class initialization since r8-2709-g12659e10c7820071

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106890 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/106310] [11 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 --- Comment #17 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:506d5f399bef7f2d8c48fd83d853c6ff7811a226 commit r11-10983-g506d5f399bef7f2d8c48fd83d853c6ff7811a226 Author: Jason Merrill

[Bug c++/109666] [12 Regression] Segmentation fault with std::array

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109666 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0d7e5f90597167c36c7816f5bcf689472e8b1940 commit r11-10982-g0d7e5f90597167c36c7816f5bcf689472e8b1940 Author: Jason Merrill

[Bug c++/106890] [11 Regression] virtual inheritance triggers compiler error when instatiating derived class with in-class initialization since r8-2709-g12659e10c7820071

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106890 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0d7e5f90597167c36c7816f5bcf689472e8b1940 commit r11-10982-g0d7e5f90597167c36c7816f5bcf689472e8b1940 Author: Jason Merrill

[Bug target/111340] gcc.dg/bitint-12.c fails on x86_64-apple-darwin or fails on x86_64-linux-gnu with -fPIE

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111340 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:65331a30922887304c183be4686ddaf12e990c6b commit r13-7791-g65331a30922887304c183be4686ddaf12e990c6b Author: Uros Bizjak Date

[Bug tree-optimization/107881] (a <= b) == (b >= a) should be optimized to (a == b)

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107881 --- Comment #15 from Andrew Pinski --- For the ^/!= case here are the missing optimizations (note == can be handled too): ``` int ltgtxor(int a, int b) { _Bool c = a < b; _Bool d = a > b; return c ^ d; // a != b } int lt

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #10 from CVS Commits --- The releases/gcc-13 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:6facc94692fe1a6a64a68c2dec2b87fb79ac853d commit r13-7790-g6facc94692fe1a6a64a68c2dec2b87fb79ac853d Author: Gaius Mulley D

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #9 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:fbd72a2108d1c05ef7f50acd71d518e769abcced commit r14-3856-gfbd72a2108d1c05ef7f50acd71d518e769abcced Author: Gaius Mulley Date: Mon

[Bug tree-optimization/111348] `(a CMP b) ? minmax : minmax` pattern missing :c on CMP

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111348 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|ASSIGNED

[Bug tree-optimization/111348] `(a CMP b) ? minmax : minmax` pattern missing :c on CMP

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111348 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:8fdf712a38422952bbcde7e22eabcf821e6676b3 commit r14-3855-g8fdf712a38422952bbcde7e22eabcf821e6676b3 Author: Andrew Pinski Date: Mo

[Bug libstdc++/111351] constexpr std::string objects permitted to escape constant evaluation when SSO

2023-09-11 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351 --- Comment #4 from James Y Knight --- vector and string are different in one key way: a zero-sized vector has no accessible storage, while a zero-sized string has 1 byte of readable storage -- the NUL terminator. Because of that, I don't think

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #8 from Gaius Mulley --- Created attachment 55880 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55880&action=edit Proposed fix v3 Here is v2 together with the -Wcase-enum switch implemented (and related fixes). I'll git commi

[Bug c++/106310] [11/12/13 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Status|RESOLVED|ASSIGNED Summary|[12/13 Regr

[Bug other/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2023-September/629887.html

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #15 from Jonathan Wakely --- (In reply to Chih-Hsuan Yang from comment #11) > Could you please provide an update on the progress here? All progress is already recorded above.

[Bug rtl-optimization/111378] New: Missed optimization for comparing with exact_log2 constants

2023-09-11 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111378 Bug ID: 111378 Summary: Missed optimization for comparing with exact_log2 constants Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/111340] gcc.dg/bitint-12.c fails on x86_64-apple-darwin or fails on x86_64-linux-gnu with -fPIE

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111340 --- Comment #7 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:048927ed8561ca994ad853fe85ccf8c2ca07a8fe commit r14-3854-g048927ed8561ca994ad853fe85ccf8c2ca07a8fe Author: Uros Bizjak Date: Mon S

[Bug other/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug other/111377] New: [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian

2023-09-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 Bug ID: 111377 Summary: [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX on big endian Product: gcc Version: 14.0 Status

[Bug fortran/111341] Elemental operator on zero-sized array seg-faults

2023-09-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111341 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFI

[Bug rtl-optimization/111376] New: missed optimization of one bit test on MIPS32r1

2023-09-11 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111376 Bug ID: 111376 Summary: missed optimization of one bit test on MIPS32r1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/111375] New: RISC-V vector Fortran: SEGV ICE during get_avl_or_vl_reg (vsetvl pass)

2023-09-11 Thread jeremy.bennett at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111375 Bug ID: 111375 Summary: RISC-V vector Fortran: SEGV ICE during get_avl_or_vl_reg (vsetvl pass) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/111374] New: Spurious -Warray-bounds warning when building std::vector (or libstdc++ bug?)

2023-09-11 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111374 Bug ID: 111374 Summary: Spurious -Warray-bounds warning when building std::vector (or libstdc++ bug?) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #14 from Chih-Hsuan Yang --- (In reply to Chih-Hsuan Yang from comment #11) > Hi all, > > I hope this message finds you well. > > I wanted to inquire about the current status of our project. It has come to > my attention that our p

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #13 from Chih-Hsuan Yang --- Hi all, I hope this message finds you well. I wanted to inquire about the current status of our project. It has come to my attention that our program is facing performance issues when using gcc 13.2. Co

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 --- Comment #12 from Chih-Hsuan Yang --- Hi all, I hope this message finds you well. I wanted to inquire about the current status of our project. It has come to my attention that our program is facing performance issues when using gcc 13.2. Co

[Bug libstdc++/66414] string::find ten times slower than strstr

2023-09-11 Thread scc at teamt5 dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66414 Chih-Hsuan Yang changed: What|Removed |Added CC||scc at teamt5 dot org --- Comment #11

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 --- Comment #4 from Andrew Pinski --- Actually this is what we have before expand: ``` if (_2 > _5) goto ; [50.00%] else goto ; [50.00%] ... if (v$2_7 < v$1_28) goto ; [33.33%] else goto ; [66.67%] [local count: 53687

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-11 Thread frs.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #9 from frs.dumont at gmail dot com --- To be honest before that report I thought that preserving abi was just a matter of preserving memory layout of types. I had no idea that member methods mattered ! Lesson learned. On 11/09/20

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 --- Comment #3 from Andrew Pinski --- Note this has nothing to do with returns in this case really, as there are no return value for this function (returns register allocation has been improved in recent years though).

[Bug middle-end/111373] conditional selection gives bad code generation

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2023-09-11 00:00:00 | Summary|conditional "

[Bug middle-end/111373] conditional "

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|Register moves rig

[Bug rtl-optimization/111373] New: Register moves right before stores and return

2023-09-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111373 Bug ID: 111373 Summary: Register moves right before stores and return Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Componen

[Bug target/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 --- Comment #3 from Alexey --- Ok, but it's better to have configure option or something else just for toolchains that definitely do not use vector extension

[Bug libgcc/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 --- Comment #2 from Andrew Pinski --- (In reply to Alexey from comment #0) > It seems better to define macros (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS...) > depending on "vector" extension is set or not. This would also prevent > future bugs. Al

[Bug libgcc/111372] libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 --- Comment #1 from Andrew Pinski --- (In reply to Alexey from comment #0) > It seems better to define macros (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS...) > depending on "vector" extension is set or not. This would also prevent > future bugs. E

[Bug libgcc/111372] New: libgcc: RISCV C++ exception handling stack usage grew in 13.1

2023-09-11 Thread alexey.lapshin at espressif dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111372 Bug ID: 111372 Summary: libgcc: RISCV C++ exception handling stack usage grew in 13.1 Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/91910] Debug mode: there is a racing condition between destructors of iterator and the associated container.

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91910 --- Comment #10 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4a2766ed00a47904dc8b85bf0538aa116d8e658b commit r14-3846-g4a2766ed00a47904dc8b85bf0538aa116d8e658b Author: Jonathan Wakely Date:

[Bug analyzer/111312] Should the analyzer run earlier?

2023-09-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111312 David Malcolm changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug driver/86030] specs file processing does not create response files for input directories

2023-09-11 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030 --- Comment #13 from Costas Argyris --- (In reply to John Soo from comment #12) > I think the general problem in that issue is that ARG_MAX is not respected > when the driver (or any subprocess) execs things on linux. I think that it > is not the

[Bug driver/86030] specs file processing does not create response files for input directories

2023-09-11 Thread john.soo+gcc-bugzilla at arista dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030 --- Comment #12 from John Soo --- I think the general problem in that issue is that ARG_MAX is not respected when the driver (or any subprocess) execs things on linux. I think that it is not the same as the original issue here, though. > I don't

[Bug target/111371] New: ICE in curr_insn_transform, at lra-constraints.cc:4290 on pp64le with -mcpu=power5+ -mpower10-fusion -Os

2023-09-11 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111371 Bug ID: 111371 Summary: ICE in curr_insn_transform, at lra-constraints.cc:4290 on pp64le with -mcpu=power5+ -mpower10-fusion -Os Product: gcc Version: 14.0 Status: UNCON

[Bug tree-optimization/111349] `Optimize (a CMP CST1) ? max : a` pattern's cmp is missing :c

2023-09-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111349 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/111349] `Optimize (a CMP CST1) ? max : a` pattern's cmp is missing :c

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111349 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:b59e9de990a17bfd5fa7252b76339c35bff7f2e8 commit r14-3842-gb59e9de990a17bfd5fa7252b76339c35bff7f2e8 Author: Andrew Pinski Date: Su

[Bug modula2/111330] [13 Regression] Bootstrap failure building SeqFile.lo

2023-09-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111330 --- Comment #7 from Gaius Mulley --- Created attachment 55876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55876&action=edit Proposed fix v2 Here is the second version of the patch which contains the missing case clauses (rather than th

[Bug libstdc++/106547] std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2023-09-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 --- Comment #3 from Jiang An --- (In reply to Valentine Anderson from comment #2) > From what I understand, the key feature of trivially copyable types is that > memcpy‘ing an object of such a type onto another object is equivalent to a > copy a

[Bug target/111370] New: On Aarch64 4% 511.povray_r regression between g:6cd85273071b5f13 (2023-08-23 00:17) and g:e1f096a3cc96c719 (2023-08-25 22:34)

2023-09-11 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111370 Bug ID: 111370 Summary: On Aarch64 4% 511.povray_r regression between g:6cd85273071b5f13 (2023-08-23 00:17) and g:e1f096a3cc96c719 (2023-08-25 22:34) Product: gcc

[Bug fortran/111341] Elemental operator on zero-sized array seg-faults

2023-09-11 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111341 --- Comment #2 from Brad Richardson --- You'll need to use fpm. I.e. $ tree . ├── app │   └── main.f90 └── fpm.toml $ fpm run + mkdir -p build/dependencies Initialized empty Git repository in /home/brad/examples/empty_elemental/build/dependenc

[Bug c++/111357] [11/12/13/14 Regression] __integer_pack fails to work with values of dependent type convertible to integers in noexcept context

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357 --- Comment #5 from Jakub Jelinek --- Seems when expand_integer_pack is called first time, ohi is TEMPLATE_PARAMETER_INDEX with the right type (_Tp TEMPLATE_TYPE_PARM), but when it calls tree hi = tsubst_copy_and_build (ohi, args, complain, in

[Bug c++/111357] [11/12/13/14 Regression] __integer_pack fails to work with values of dependent type convertible to integers in noexcept context

2023-09-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug libstdc++/106547] std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2023-09-11 Thread the.invisible.phantom at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 --- Comment #2 from Valentine Anderson --- >From what I understand, the key feature of trivially copyable types is that memcpy‘ing an object of such a type onto another object is equivalent to a copy assignment. So it is possible to trivially c

[Bug libstdc++/111351] constexpr std::string objects permitted to escape constant evaluation when SSO

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351 --- Comment #3 from Jonathan Wakely --- Does using __builtin_is_constant_p on the union member not work?

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #7 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:88a0a883960910530bfefa750461168f539f4a00 commit r14-3840-g88a0a883960910530bfefa750461168f539f4a00 Author: Juzhe-Zhong Date: Thu Sep 7

[Bug middle-end/111369] [14 Regression] ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111369 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug middle-end/111369] ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111369 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug middle-end/111369] New: ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os

2023-09-11 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111369 Bug ID: 111369 Summary: ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #8 from Mathieu Malaterre --- Further reduced: #include #define HWY_PRAGMA(tokens) _Pragma(#tokens) #define HWY_PUSH_ATTRIBUTES(targets_str) HWY_PRAGMA(GCC target targets_str) __attribute__((always_inline)) void PreventElision() {

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #7 from Mathieu Malaterre --- In case this helps resolve this, here is the cvise-reduced code: % cat skeleton_test.cc #include #define HWY_PRAGMA(tokens) _Pragma(#tokens) namespace hwy { #define HWY_PUSH_ATTRIBUTES(targets_str) HWY

[Bug libstdc++/106547] std::variant::emplace goes into an infinite recursion with certain weird trivially copyable types

2023-09-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1 from Jian

[Bug libstdc++/111351] constexpr std::string objects permitted to escape constant evaluation when SSO

2023-09-11 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from Jian

[Bug c++/111284] [11/12/13/14 Regression] Some passing-by-value parameters are mishandled since GCC 9

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111284 --- Comment #7 from Jakub Jelinek --- Perhaps we should drop the if (TREE_ADDRESSABLE (type)) /* Undo convert_for_arg_passing work here. */ x = convert_from_reference (x); in cxx_bind_parameters_in_call and somewhere at th

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #6 from Jan Wassenberg --- Thinking about this more, the LTO means more opportunity for inlining and thus for the compiler to hit the legit "don't want to inline POWER9 into POWER8" error. Interestingly this does not happen on x86 -

[Bug other/111368] New: contrib/test_summary should check to ensure the git branch being put in the email matches the branch actually tested

2023-09-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111368 Bug ID: 111368 Summary: contrib/test_summary should check to ensure the git branch being put in the email matches the branch actually tested Product: gcc Version

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #8 from Jonathan Wakely --- (In reply to François Dumont from comment #1) > It seems to be a limited issue as you need a non-optimized build. That's not a safe assumption. Inlining decisions can change across builds and across archi

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

2023-09-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5c3c04960d773f47ba5b1da592b6f1e013efe3ea commit r14-3838-g5c3c04960d773f47ba5b1da592b6f1e013efe3ea Author: Jonathan Wakely Date:

[Bug c++/111284] [11/12/13/14 Regression] Some passing-by-value parameters are mishandled since GCC 9

2023-09-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111284 --- Comment #6 from Jakub Jelinek --- Actually, the binding of parms seems to work fine. But am out of ideas where this should be fixed. When evaluating the comparison, we have lhs (const struct S *) (struct S *) ((const struct S *) this)->s an

[Bug libstdc++/111347] Memory leak loading a shared library built with --static-libsdtc++ when version script is used

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111347 --- Comment #4 from Jonathan Wakely --- There's a reason it's marked as unique: it needs to be globally visible and globally unique.

[Bug c++/111363] internal compiler error when mistype type of operator<=>

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111363 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #3 from Jonathan Wa

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Jan Wassenberg changed: What|Removed |Added CC||jan.wassenberg at gmail dot com --- Co

[Bug other/111359] contrib/gcc-git-customization.sh uses getent, which is non-portable

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-09-11 Ever confirmed|0

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-11 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #3 from Mathieu Malaterre --- Reduced test case: % cat bench_sort.cc #define HWY_PRAGMA(tokens) _Pragma(#tokens) #define HWY_PUSH_ATTRIBUTES(targets_str) HWY_PRAGMA(GCC target targets_str) #define HWY_BEFORE_NAMESPACE() HWY_PUSH_ATT

[Bug other/17239] gcc_update not being writable while it is running

2023-09-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17239 --- Comment #5 from Jonathan Wakely --- I don't know whether the underlying problem still exists with git. Does a 'git pull' write to the files it updates, or does it rename them, create a new file, and delete the old one? Would the latter have t

  1   2   >