[Bug tree-optimization/110269] [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-4607-g2dc5d6b1e7e

2023-06-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110269 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/110268] [14 Regression] arm MVE intrinsics support broken with LTO

2023-06-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110268 --- Comment #4 from Richard Biener --- tree arm_builtin_decl (unsigned code, bool initialize_p ATTRIBUTE_UNUSED) { unsigned subcode = code >> ARM_BUILTIN_SHIFT; switch (code & ARM_BUILTIN_CLASS) { case ARM_BUILTIN_GENERAL: ret

[Bug target/110268] [14 Regression] arm MVE intrinsics support broken with LTO

2023-06-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110268 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 --- Comment #3 from Richard Biene

[Bug middle-end/109856] -Wnull-dereference false positive in Emacs itree.c (regression from GCC 12)

2023-06-15 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109856 --- Comment #1 from Paul Eggert --- Created attachment 55337 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55337&action=edit Another illustration of the bug, taken from GNU tar Here is another example of the bug, taken from GNU tar. Comp

[Bug ipa/110276] New: [13 Regression] ICE building efibootguard on x86_64-linux-gnu

2023-06-15 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110276 Bug ID: 110276 Summary: [13 Regression] ICE building efibootguard on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug bootstrap/110275] [14 Regression] trunk fails to build with binutils trunk on riscv64-linux-gnu

2023-06-15 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110275 --- Comment #1 from Matthias Klose --- ... and built with make profiledbootstrap-lean

[Bug bootstrap/110275] New: [14 Regression] trunk fails to build with binutils trunk on riscv64-linux-gnu

2023-06-15 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110275 Bug ID: 110275 Summary: [14 Regression] trunk fails to build with binutils trunk on riscv64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severit

[Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2023-06-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug target/110264] internal compiler error: riscv_vector::vector_insn_info::get_avl_reg_rtx

2023-06-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110264 JuzheZhong changed: What|Removed |Added CC||jeffreyalaw at gmail dot com --- Comment #

[Bug c/107583] Missing fixit for struct members (e.g. time_t, missing include)

2023-06-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107583 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/107583] Missing fixit for struct members (e.g. time_t, missing include)

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107583 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:57446d1bc9757ee1fb030600d38fa9487231f2a4 commit r14-1876-g57446d1bc9757ee1fb030600d38fa9487231f2a4 Author: David Malcolm Date: T

[Bug target/110274] [14 Regression] Wrong AVX2 code on highway-1.0.4 on -O1 and above

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110274 --- Comment #3 from Andrew Pinski --- Note it is _mm256_packus_epi32 which is being miscompiled.

[Bug target/110274] [14 Regression] Wrong AVX2 code on highway-1.0.4 on -O1 and above

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

[Bug target/110235] [14 Regression] Wrong use of us_truncate in SSE and AVX RTL representation

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110235 Andrew Pinski changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comment #

[Bug target/110274] [14 Regression] Wrong AVX2 code on highway-1.0.4 on -O1 and above

2023-06-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110274 --- Comment #1 from Sergei Trofimovich --- Created attachment 55336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55336&action=edit shift_test.cc

[Bug target/110274] New: [14 Regression] Wrong AVX2 code on highway-1.0.4 on -O1 and above

2023-06-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110274 Bug ID: 110274 Summary: [14 Regression] Wrong AVX2 code on highway-1.0.4 on -O1 and above Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/110273] i686-w64-mingw32 with -march=znver4 generates AVX instructions without stack alignment

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 --- Comment #2 from Andrew Pinski --- The difference is the inlining of memcpy if I used -minline-all-stringops, the realignment comes back.

[Bug target/110260] Multiple applications misbehave at runtime when compiled with -march=znver4

2023-06-15 Thread zfigura at codeweavers dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 --- Comment #11 from Zebediah Figura --- (In reply to Alexander Monakov from comment #10) > Right, those are different issues. Any chance of a standalone testcase > extracted from Wine? If you already see a function where stack realignment > is

[Bug target/110273] i686-w64-mingw32 with -march=znver4 generates AVX instructions without stack alignment

2023-06-15 Thread zfigura at codeweavers dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 --- Comment #1 from Zebediah Figura --- Created attachment 55335 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55335&action=edit gcc -v output, from godbolt

[Bug target/110273] New: i686-w64-mingw32 with -march=znver4 generates AVX instructions without stack alignment

2023-06-15 Thread zfigura at codeweavers dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 Bug ID: 110273 Summary: i686-w64-mingw32 with -march=znver4 generates AVX instructions without stack alignment Product: gcc Version: 13.1.0 Status: UNCONFIRMED

[Bug tree-optimization/110271] [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 --- Comment #4 from Jakub Jelinek --- The problem is that I thought match_arith_overflow returns true if it replaced something, but that is not the case, it only returns true for the BIT_NOT_EXPR case when it removed the stmt. So, I think the ri

[Bug target/110260] Multiple applications misbehave at runtime when compiled with -march=znver4

2023-06-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 --- Comment #10 from Alexander Monakov --- Right, those are different issues. Any chance of a standalone testcase extracted from Wine? If you already see a function where stack realignment is missing, just give us preprocessed containing source,

[Bug tree-optimization/110271] [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-06-15 Ever confirmed|0

[Bug tree-optimization/110271] [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 Andrew Pinski changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/110271] [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Component|middle-end

[Bug c/110272] ICE in as_a, at machmode.h:381

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110272 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug middle-end/110117] [14 Regression] ICE on valid code at -O1 with "-ftree-vrp -fno-tree-ccp -fno-tree-forwprop": in as_a, at machmode.h:381

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110117 Andrew Pinski changed: What|Removed |Added CC||19373742 at buaa dot edu.cn --- Comment

[Bug driver/97058] invalid "cc1: warning: '-Werror=' argument '-funroll-completely-grow-size' is not valid for C"

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97058 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2023-06-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug libstdc++/109442] Dead local copy of std::vector not removed from function

2023-06-15 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 --- Comment #17 from AK --- With recent changes in libc++ (https://reviews.llvm.org/D147741) clang optimizes away the new-delete pair. https://godbolt.org/z/a6PG54Pvb $ clang++ -O3 -stdlib=libc++ -fno-exceptions vat1(std::__1::vector >): # @va

[Bug c/110272] ICE in as_a, at machmode.h:381

2023-06-15 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110272 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55332&action=edit The compiler output

[Bug c/110272] New: ICE in as_a, at machmode.h:381

2023-06-15 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110272 Bug ID: 110272 Summary: ICE in as_a, at machmode.h:381 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assig

[Bug middle-end/110271] [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 --- Comment #1 from Sergei Trofimovich --- Created attachment 55330 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55330&action=edit mont.c.c.orig.xz In case I reduced it too much mont.c.c.orig.xz is the original preprocessed file. ICEs w

[Bug middle-end/110271] New: [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 Bug ID: 110271 Summary: [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437 Product: gcc Vers

[Bug target/110260] Multiple applications misbehave at runtime when compiled with -march=znver4

2023-06-15 Thread zfigura at codeweavers dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 Zebediah Figura changed: What|Removed |Added CC||zfigura at codeweavers dot com --- Co

[Bug c++/109443] missed optimization of std::vector access (Related to issue 35269)

2023-06-15 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109443 --- Comment #17 from AK --- Even after vector::size() is hoisted, the codegen is sub-optimal compared to iterator version. ``` void use_idx_const_size(std::vector v) { auto s = v.size(); for (std::vector::size_type i = 0; i < s; i++)

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55327|0 |1 is obsolete|

[Bug tree-optimization/110266] [14 Regression] ice in gimple_range_adjustment

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:91fb8bdb3944b78bca4f739583ff490c83a92fe7 commit r14-1872-g91fb8bdb3944b78bca4f739583ff490c83a92fe7 Author: Andrew Pinski Date: Th

[Bug tree-optimization/110266] [14 Regression] ice in gimple_range_adjustment

2023-06-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/110266] [14 Regression] ice in gimple_range_adjustment

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 --- Comment #7 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:6c121a2c687c56b09ecc11ef6ae1893ec5006325 commit r14-1871-g6c121a2c687c56b09ecc11ef6ae1893ec5006325 Author: Andrew MacLeod Date:

[Bug middle-end/110270] New: [OpenMP] OpenMP 5.2 – firstprivate of pointer shall retain the value if pointee is not mapped

2023-06-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110270 Bug ID: 110270 Summary: [OpenMP] OpenMP 5.2 – firstprivate of pointer shall retain the value if pointee is not mapped Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/110269] [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-4607-g2dc5d6b1e7e

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110269 --- Comment #2 from Andrew Pinski --- Maybe gimple_fold_stmt_to_constant_1 should handle GIMPLE_COND ...

[Bug tree-optimization/110269] [13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-4607-g2dc5d6b1e7e

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110269 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug target/110268] [14 Regression] arm MVE intrinsics support broken with LTO

2023-06-15 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110268 --- Comment #2 from Christophe Lyon --- This regression appeared after the patch that re-implements vdupq, but the issue is likely more generic. velo r I tried to update arm_init_mve_builtins() with: + if (in_lto_p) + { + arm_mve::handle

[Bug tree-optimization/110269] New: 13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-4607-g2dc5d6b1e7e

2023-06-15 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110269 Bug ID: 110269 Summary: 13/14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r13-4607-g2dc5d6b1e7e Product: gcc Version: 14.0

[Bug target/110268] [14 Regression] arm MVE intrinsics support broken with LTO

2023-06-15 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110268 Alex Coplan changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/110266] [14 Regression] ice in gimple_range_adjustment

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-06-15 Ever confirmed|0

[Bug target/110268] New: arm MVE intrinsics support broken with LTO

2023-06-15 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110268 Bug ID: 110268 Summary: arm MVE intrinsics support broken with LTO Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug tree-optimization/110266] [14 Regression] ice in gimple_range_adjustment

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Summary|ice in

[Bug tree-optimization/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 105868, which changed state. Bug 105868 Summary: false positive return-local-addr with goto statement and optimization O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105868 What|Removed

[Bug middle-end/93644] [10/11/12/13/14 Regression] spurious -Wreturn-local-addr with PHI of PHI

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 Andrew Pinski changed: What|Removed |Added CC||dixyes at gmail dot com --- Comment #25

[Bug tree-optimization/105868] false positive return-local-addr with goto statement and optimization O2

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105868 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug tree-optimization/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 110267, which changed state. Bug 110267 Summary: Bogus warning "function may return address of local variable" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110267 What|Removed |Added --

[Bug middle-end/93644] [10/11/12/13/14 Regression] spurious -Wreturn-local-addr with PHI of PHI

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 Andrew Pinski changed: What|Removed |Added CC||nullplanwichmann at web dot de --- Comme

[Bug c/110267] Bogus warning "function may return address of local variable"

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

[Bug c/110267] New: Bogus warning "function may return address of local variable"

2023-06-15 Thread nullplanwichmann at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110267 Bug ID: 110267 Summary: Bogus warning "function may return address of local variable" Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/110189] Using an unknown TYPE as argument to VAL gives ICE

2023-06-15 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110189 --- Comment #5 from Thorsten Otto --- Many thanks for fixing it. But just found, that same thing seems to happen when using other builtin functions like ORD(). Should i open a new report for this?

[Bug ada/109798] internal error on iterator filter with -gnatVa

2023-06-15 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109798 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |13.2 URL|

[Bug c/107583] Missing fixit for struct members (e.g. time_t, missing include)

2023-06-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107583 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/107583] Missing fixit for struct members (e.g. time_t, missing include)

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

[Bug target/106895] powerpc64 strange extended inline asm behaviour with register pairs

2023-06-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106895 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug preprocessor/80753] __has_include and __has_include_next taints subsequent I/O errors

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:37f373e974ac0a272b0e2b24e27c08833ad43470 commit r14-1870-g37f373e974ac0a272b0e2b24e27c08833ad43470 Author: Jakub Jelinek Date: Th

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55240|0 |1 is obsolete|

[Bug target/110260] Multiple applications misbehave at runtime when compiled with -march=znver4

2023-06-15 Thread chiitoo at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 --- Comment #8 from Jimi Huotari --- Looks like with '-mno-avx512f' the issues go away for me. As a sidey-note, this seems to also possibly affect KWin desktop effects (animated ones at least), which don't seem to be doing their thing (haven't

[Bug c++/107535] -fvisibility=hidden should not hide C++17 inline static variables

2023-06-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107535 --- Comment #2 from Jonathan Wakely --- (In reply to Richard Biener from comment #1) > kind-of a pilot error, Yes, this seems to be exactly what the code asks for. If you compile the class with hidden visibility, its static member isn't shared

[Bug c/110266] ice in gimple_range_adjustment

2023-06-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 --- Comment #5 from David Binderman --- Second test case: # include int Hann_i, PsyBufferUpdate_psyInfo_0, PsyBufferUpdate_i; double *mdct_data; double PsyBufferUpdate_sfreq; void PsyBufferUpdate() { if (PsyBufferUpdate_psyInfo_0 == 4)

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2023-06-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug c/110266] ice in gimple_range_adjustment

2023-06-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 --- Comment #4 from David Binderman --- $ git bisect bad 07767389fb390814 07767389fb390814d9b6142e9d0341b7b9fd1cc2 is the first bad commit commit 07767389fb390814d9b6142e9d0341b7b9fd1cc2 Author: Andrew MacLeod Date: Fri Jun 9 12:58:57 2023 -0

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #34 from CVS Commits --- The releases/gcc-12 branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:b2d29f2622c215201cb415565ab4f18b738ca35c commit r12-9700-gb2d29f2622c215201cb415565ab4f18b738ca35c Author: Xi Ruoyao Date:

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #35 from CVS Commits --- The releases/gcc-12 branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:5a21f78294624dd7166e1a25a57c805a759dc0d2 commit r12-9701-g5a21f78294624dd7166e1a25a57c805a759dc0d2 Author: Xi Ruoyao Date:

[Bug c/110266] ice in gimple_range_adjustment

2023-06-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 David Binderman changed: What|Removed |Added CC||amacleod at redhat dot com --- Commen

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #33 from CVS Commits --- The releases/gcc-12 branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:e8ee5a0b00dc7a7c25dd3264e9007f440457a791 commit r12-9699-ge8ee5a0b00dc7a7c25dd3264e9007f440457a791 Author: Xi Ruoyao Date:

[Bug target/106895] powerpc64 strange extended inline asm behaviour with register pairs

2023-06-15 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106895 Nicholas Piggin changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug c/110266] ice in gimple_range_adjustment

2023-06-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 --- Comment #2 from David Binderman --- After a couple of steps of bisect, I have this list of Authors in the git range: Author: Andrew MacLeod Author: Andrew MacLeod Author: Andrew MacLeod Author: Andrew MacLeod Author: GCC Administrator

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2023-06-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #32 from rsandifo at gcc dot gnu.org --- (In reply to Xi Ruoyao from comment #31) > Richard: is it allowed to backport them (or the entire > https://gcc.gnu.org/pipermail/gcc-patches/2023-March/613093.html series) for > gcc-12? Yeah,

[Bug target/110260] Multiple applications misbehave at runtime when compiled with -march=znver4

2023-06-15 Thread chiitoo at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 Jimi Huotari changed: What|Removed |Added Summary|Multiple applications |Multiple applications

[Bug c/110266] ice in gimple_range_adjustment

2023-06-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 --- Comment #1 from David Binderman --- Reduced code is: typedef struct { int sizeS } PsyInfo; Hann_i; *mdct_data; PsyInfo PsyBufferUpdate_psyInfo; mdct(N) { double tempr, s, sfreq, xr_0 = cos(N); int i; sfreq = sin(N); for (; N; i++)

[Bug c/110266] New: ice in gimple_range_adjustment

2023-06-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110266 Bug ID: 110266 Summary: ice in gimple_range_adjustment Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug target/110136] After optimization, the $r1 register will be broken when jumping to the jump table, resulting in a significant increase in the false prediction rate of branch prediction.

2023-06-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110136 Xi Ruoyao changed: What|Removed |Added Target Milestone|--- |12.4 CC|

[Bug target/110235] [14 Regression] Wrong use of us_truncate in SSE and AVX RTL representation

2023-06-15 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110235 --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to Hongtao.liu from comment #3) > (In reply to Hongtao.liu from comment #2) > > FAIL: gcc.target/i386/avx2-vpackssdw-2.c execution test > > > > This one is about sign saturation which

[Bug target/110136] After optimization, the $r1 register will be broken when jumping to the jump table, resulting in a significant increase in the false prediction rate of branch prediction.

2023-06-15 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110136 chenglulu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/110136] After optimization, the $r1 register will be broken when jumping to the jump table, resulting in a significant increase in the false prediction rate of branch prediction.

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110136 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by LuluCheng : https://gcc.gnu.org/g:f829733b5c92877247727347246d9f927372f0c1 commit r13-7448-gf829733b5c92877247727347246d9f927372f0c1 Author: Lulu Cheng Date:

[Bug target/110136] After optimization, the $r1 register will be broken when jumping to the jump table, resulting in a significant increase in the false prediction rate of branch prediction.

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110136 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by LuluCheng : https://gcc.gnu.org/g:ddec24e5abe99033c8d6bbe544b4c2b35a0232f2 commit r12-9698-gddec24e5abe99033c8d6bbe544b4c2b35a0232f2 Author: Lulu Cheng Date:

[Bug target/110136] After optimization, the $r1 register will be broken when jumping to the jump table, resulting in a significant increase in the false prediction rate of branch prediction.

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110136 --- Comment #5 from CVS Commits --- The master branch has been updated by LuluCheng : https://gcc.gnu.org/g:5430c86e71927492399129f3df80824c6c334ddf commit r14-1866-g5430c86e71927492399129f3df80824c6c334ddf Author: Lulu Cheng Date: Wed Jun

[Bug c/110265] RISC-V: ICE when build RVV intrinsic with "-march=rv32gc_zve64d -mabi=ilp32d", both GCC 14 and 13.

2023-06-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110265 --- Comment #1 from JuzheZhong --- This issue is caused by incorrect redcution instructions: (define_insn "@pred_reduc_" [(set (match_operand: 0 "register_operand""=vr, vr") (unspec: [(unspec: [(ma

[Bug middle-end/79173] add-with-carry and subtract-with-borrow support (x86_64 and others)

2023-06-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173 Jakub Jelinek changed: What|Removed |Added CC||krebbel at gcc dot gnu.org,

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2023-06-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 Xi Ruoyao changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment #31

[Bug c/110265] New: RISC-V: ICE when build RVV intrinsic with "-march=rv32gc_zve64d -mabi=ilp32d"

2023-06-15 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110265 Bug ID: 110265 Summary: RISC-V: ICE when build RVV intrinsic with "-march=rv32gc_zve64d -mabi=ilp32d" Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c++/110264] internal compiler error: src/gcc/toplev.cc:314

2023-06-15 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110264 --- Comment #1 from Mathieu Malaterre --- This is not a duplicate of PR/109535 since I can compile the previously mentionned TU transform_test.cc just fine.

[Bug c++/110264] New: internal compiler error: src/gcc/toplev.cc:314

2023-06-15 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110264 Bug ID: 110264 Summary: internal compiler error: src/gcc/toplev.cc:314 Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/110104] gcc produces sub-optimal code for _addcarry_u64 chain

2023-06-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110104 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/98160] [11 Regression] ICE in default_tree_printer at gcc/tree-diagnostic.c:270 since r11-5732-gdce6c58db87ebf7f

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98160 --- Comment #13 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:df071fbd467f0cb379ef41d74792fc5e6c8c commit r14-1838-gdf071fbd467f0cb379ef41d74792fc5e6c8c Author: Thomas Schwinge Date:

[Bug c++/57111] Generalize -Wfree-nonheap-object to delete

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57111 --- Comment #19 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:df071fbd467f0cb379ef41d74792fc5e6c8c commit r14-1838-gdf071fbd467f0cb379ef41d74792fc5e6c8c Author: Thomas Schwinge Date:

[Bug middle-end/79173] add-with-carry and subtract-with-borrow support (x86_64 and others)

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173 --- Comment #20 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:43a3252c42af12ad90082e4088ea58eecd0bf582 commit r14-1837-g43a3252c42af12ad90082e4088ea58eecd0bf582 Author: Jakub Jelinek Date: T

[Bug middle-end/79173] add-with-carry and subtract-with-borrow support (x86_64 and others)

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173 --- Comment #19 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ec52d228d6db7f77188ad099a8c0ff65dead3241 commit r14-1836-gec52d228d6db7f77188ad099a8c0ff65dead3241 Author: Jakub Jelinek Date: T

[Bug target/110260] Multiple applications misbehave when compiled with -march=znver4

2023-06-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 --- Comment #6 from Alexander Monakov --- (In reply to Jimi Huotari from comment #0) > (By the by, is ADCX a typo of ADX? I see -madx as an option but only one > use of it otherwise, and no -adcx as an option and lots of mentions of it... > but

[Bug middle-end/79173] add-with-carry and subtract-with-borrow support (x86_64 and others)

2023-06-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173 --- Comment #18 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b6ca11407d4f5d16ccfb580ea2d3d9aa08d7cd11 commit r14-1835-gb6ca11407d4f5d16ccfb580ea2d3d9aa08d7cd11 Author: Jakub Jelinek Date: T

[Bug target/110260] Multiple applications misbehave when compiled with -march=znver4

2023-06-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 --- Comment #5 from Richard Biener --- (In reply to Alexander Monakov from comment #4) > Um, sched1 is not enabled on x86 so -fno-schedule-insns does nothing — you > probably meant -fno-schedule-insns2? Yes, of course - thanks for correcting me

[Bug target/110260] Multiple applications misbehave when compiled with -march=znver4

2023-06-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com