[Bug tree-optimization/105679] [12 Regression] extra -Warray-bounds warning added with -fsanitize=shift due to jump threading

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105679 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #7 from Richard Biener

[Bug lto/106334] [13 Regression] lto -g ICE in dwarf2out_register_external_die at dwarf2out.cc:6072

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106334 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from Richard B

[Bug bootstrap/106496] New: [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9

2022-08-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106496 Bug ID: 106496 Summary: [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9 Product: gcc Version: 13.0 Status: UNCONFIRMED Seve

[Bug bootstrap/106496] [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9

2022-08-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106496 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |13.0 Last reconfirmed|

[Bug lto/106170] [13 Regression] x86_64-w64-mingw32 host GCC with win32 thread model does not provide pthread.h. lto-plugin fails with canadian compilation

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170 --- Comment #18 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:5d8637208d35f78b51f8cff38c984836ab2c860f commit r13-1914-g5d8637208d35f78b51f8cff38c984836ab2c860f Author: Martin Liska Date: Mo

[Bug lto/106170] [13 Regression] x86_64-w64-mingw32 host GCC with win32 thread model does not provide pthread.h. lto-plugin fails with canadian compilation

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170 --- Comment #19 from Martin Liška --- Should be fixed now.

[Bug bootstrap/106496] [13 Regression] bootstrap fail with out of bounds subscript warning on i686-darwin9

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

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 Andrew Pinski changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #1

[Bug c++/106466] ICE in In function 'bool jxl_skcms_Parse(const void*, size_t, skcms_ICCProfile*)': at skcms/skcms.cc:1004:6 internal compiler error: Segmentation fault

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106466 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/106466] ICE in In function 'bool jxl_skcms_Parse(const void*, size_t, skcms_ICCProfile*)': at skcms/skcms.cc:1004:6 internal compiler error: Segmentation fault

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106466 --- Comment #8 from Martin Liška --- > the segfault is sort of spurious, its an about 1/5 to 1/7 chance for me. Is > that something you can work with? Please run the compiler under valgrind.

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1

[Bug middle-end/106492] [OpenMP] ICE in #pragma omp for simd and bitfields

2022-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106492 Tobias Burnus changed: What|Removed |Added Last reconfirmed||2022-08-01 Keywords|

[Bug tree-optimization/106476] ICE generating FOLD_EXTRACT_LAST

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106476 Richard Biener changed: What|Removed |Added Version|unknown |13.0 CC|rguenther at s

[Bug tree-optimization/106480] FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33)

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106480 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail --- Comment #1 from Ric

[Bug bootstrap/106482] [12 Regression] bootstrap of 12.1.0 using 4.8.2 fails with C++ errors

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106482 Richard Biener changed: What|Removed |Added Keywords||documentation Target Milestone|---

[Bug c++/106486] C++ warning for -Wmissing-prototypes is pure nuisance

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106486 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-08-01 Status|UNCONFIR

[Bug middle-end/106490] loop counter overflow within omp

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106490 Richard Biener changed: What|Removed |Added Component|libgomp |middle-end Keywords|

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-08-01 Ever confirmed|0

[Bug bootstrap/106482] [12 Regression] bootstrap of 12.1.0 using 4.8.2 fails with C++ errors

2022-08-01 Thread skunk at iskunk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106482 --- Comment #2 from Daniel Richard G. --- It would be good to have a specific minimum version of GCC in the documented prerequisites, as the current text ("an existing GCC binary (version 4.8 or later)", albeit referring to non-bootstrap builds)

[Bug tree-optimization/106497] New: [13 Regression] ICE in duplicate_block, at cfghooks.cc:1115

2022-08-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106497 Bug ID: 106497 Summary: [13 Regression] ICE in duplicate_block, at cfghooks.cc:1115 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug target/106491] ICE when compiling ArmSVE intrinsics in PCH

2022-08-01 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106491 --- Comment #4 from Denis Yaroshevskiy --- Thanks for the response, after testing with an updated gcc. As far as the Ubuntu comment - I didn't quite understand that, sorry.

[Bug target/106481] [13 Regression] ICE: in native_encode_rtx, at simplify-rtx.cc:6884 with -O2 -fno-dce -fno-forward-propagate -fno-rerun-cse-after-loop

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106481 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/106498] New: [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645

2022-08-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106498 Bug ID: 106498 Summary: [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords

[Bug c++/106486] C++ warning for -Wmissing-prototypes is pure nuisance

2022-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106486 --- Comment #4 from Jonathan Wakely --- You mean accept -Wmissing-prototypes and silently ignore it (because it's already an error)?

[Bug tree-optimization/106497] [13 Regression] ICE in duplicate_block, at cfghooks.cc:1115 since r13-1753-g26cea5f108e0facd

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106497 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/106484] Failure to optimize uint64_t/constant division on ARM32

2022-08-01 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106484 --- Comment #2 from Richard Earnshaw --- 32-bit division by constant relies on a 32x32->64 bit multiply. So it seems reasonable that a 64-bit division would need a 64x64->128 bit multiply. We don't have an instruction for that on arm nor does

[Bug tree-optimization/106498] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r13-1450-gd2a89866660945

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106498 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/106183] std::atomic::wait might fail to be unblocked by notify_one/all on platforms without platform_wait()

2022-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106183 --- Comment #4 from Jonathan Wakely --- Created attachment 53394 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53394&action=edit Proposed patch: Unblock atomic wait on non-futex platforms When using a mutex and condition variable, th

[Bug tree-optimization/106480] FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33)

2022-08-01 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106480 --- Comment #2 from dave.anglin at bell dot net --- On 2022-08-01 5:12 a.m., rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106480 > > Richard Biener changed: > > What|Removed

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 --- Comment #3 from Richard Biener --- OK, so it's indeed an isolated path we warn on: [local count: 2735590]: _46 = global_options.x_param_max_fsm_thread_path_insns; if (_46 <= n_insns_157) goto ; [34.00%] else goto ; [66.00%] [local co

[Bug target/106484] Failure to optimize uint64_t/constant division on ARM32

2022-08-01 Thread rsaxvc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106484 --- Comment #3 from rsaxvc at gmail dot com --- > 32-bit division by constant relies on a 32x32->64 bit multiply. I believe only the upper half of the bits are required for the product to represent the integer component of the quotient. This mak

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 --- Comment #4 from Richard Biener --- if (_233 != 0B) goto ; [70.00%] else goto ; [30.00%] ;;succ: 113 [70.0% (guessed)] count:1263844 (estimated locally) (TRUE_VALUE,EXECUTABLE) ;;111 [30.0% (guessed)] c

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 --- Comment #5 from Richard Biener --- Created attachment 53395 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53395&action=edit preprocessed source, trimmed at tail preprocessed source for i686-pc-linux-gnu, reproduce with ./cc1plus -fp

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 Richard Biener changed: What|Removed |Added Attachment #53395|0 |1 is obsolete|

[Bug middle-end/106492] [OpenMP] ICE in #pragma omp for simd and bitfields

2022-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106492 --- Comment #2 from Tobias Burnus --- The following seems to fix it: diff --git a/gcc/omp-low.cc b/gcc/omp-low.cc index d73c165f029..1af18e92395 100644 --- a/gcc/omp-low.cc +++ b/gcc/omp-low.cc @@ -6244,7 +6244,8 @@ lower_rec_input_clauses (tre

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 --- Comment #8 from Richard Biener --- Created attachment 53397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53397&action=edit patch I'm testing this.

[Bug tree-optimization/106497] [13 Regression] ICE in duplicate_block, at cfghooks.cc:1115 since r13-1753-g26cea5f108e0facd

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106497 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug tree-optimization/106497] [13 Regression] ICE in duplicate_block, at cfghooks.cc:1115 since r13-1753-g26cea5f108e0facd

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106497 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/106498] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r13-1450-gd2a89866660945

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106498 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org T

[Bug tree-optimization/104992] [missed optimization] x / y * y == x not optimized to x % y == 0

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104992 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Sam Feifer : https://gcc.gnu.org/g:388fbbd895e72669909173c3003ae65c6483a3c2 commit r13-1916-g388fbbd895e72669909173c3003ae65c6483a3c2 Author: Sam Feifer Date: Fri Jul

[Bug tree-optimization/24021] VRP does not work with floating points

2022-08-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #25 from Aldy Hernandez --- Adding some notes here as I work through this PR... Even with floating aware VRP, we won't be able to do much because SCEV (which ranger and VRP use) does not work with non-integers. At EVRP time we see:

[Bug c++/106466] ICE in In function 'bool jxl_skcms_Parse(const void*, size_t, skcms_ICCProfile*)': at skcms/skcms.cc:1004:6 internal compiler error: Segmentation fault

2022-08-01 Thread herrtimson at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106466 --- Comment #9 from tt_1 --- started with pr105998 commit 20bb976fb6a853d4f79577278ac2f01622946b61 Author: Jakub Jelinek Date: Sat, 18 Jun 2022 09:07:13 + varasm: Fix up ICE in narrowing_initializer_constant_valid_p [PR105998] The follo

[Bug tree-optimization/106498] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r13-1450-gd2a89866660945

2022-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106498 --- Comment #3 from Richard Biener --- Confirmed. Before OMP expansion the loops do not define virtual operands. After OMP expansion there's (useless) loop-around virtual operands. SSA form is updated at #0 update_ssa (update_flags=2048)

[Bug middle-end/106495] [13 Regression] Build fails gcc/tree-ssa-threadbackward.cc:22: gcc/vec.h:890:19: error: array subscript 4294967294 is above array bounds of 'basic_block_def* [1]' [-Werror=arra

2022-08-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495 --- Comment #9 from Aldy Hernandez --- (In reply to Richard Biener from comment #7) > So in this case we have > > (gdb) p *path->m_vec->m_vecdata[0] > $106 = {e = 7)>, type = EDGE_COPY_SRC_BLOCK} > (gdb) p *path->m_vec->m_vecdata[1] > $107 = {

[Bug tree-optimization/24021] VRP does not work with floating points

2022-08-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #26 from Aldy Hernandez --- (In reply to Andrew Macleod from comment #19) > We can use the original testcase as the litmus test for basic support if we > compile it with > > -O2 -fno-tree-fre -fno-tree-dominator-opts > > The unrol

[Bug c++/105766] requires std::is_constructible<> reports 'constraint depends on itself' error.

2022-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105766 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug lto/106499] New: LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 Bug ID: 106499 Summary: LTO runs forever in libfabric 1.15.1 linking Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #1 from Tomasz Kłoczko --- Last detail. I'm adding -Os to %build_cflags

[Bug c++/106395] [12/13 regression] [mingw] "redeclared without dllimport attribute: previous dllimport ignored" on C++ friend

2022-08-01 Thread m101010a at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106395 m101010a at gmail dot com changed: What|Removed |Added CC||m101010a at gmail dot com --

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 Andrew Pinski changed: What|Removed |Added Keywords||memory-hog --- Comment #2 from Andrew P

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #3 from Tomasz Kłoczko --- This box has 256GB of RAM and ZERO swap.

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #4 from Tomasz Kłoczko --- Other detail is that produces DSO libfabric.so.1.18.1 without LTO has only 1340096 bytest so question is why lto needs in this case +10GB of RAM?🤔

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #5 from Tomasz Kłoczko --- +100GB

[Bug lto/56840] a.out aborts instead of catching exception with -flto and -static-libstdc++

2022-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56840 --- Comment #5 from Jonathan Wakely --- (In reply to Jason Merrill from comment #4) > Author: jason > Date: Sun Nov 13 06:51:23 2016 > New Revision: 242348 > > URL: https://gcc.gnu.org/viewcvs?rev=242348&root=gcc&view=rev > Log: > DR 374 -

[Bug debug/106263] BTF_KIND_FUNC type does not encode linkage

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106263 --- Comment #1 from CVS Commits --- The master branch has been updated by Jose E. Marchesi : https://gcc.gnu.org/g:32566720f3a9135fa355f0304f024a79f107a1b8 commit r13-1918-g32566720f3a9135fa355f0304f024a79f107a1b8 Author: Jose E. Marchesi Dat

[Bug target/83782] [10/11 Regression] Inconsistent address for hidden ifunc in a shared library

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83782 --- Comment #12 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:80928920147a109a7f8735bffc55a72cbe8db185 commit r13-1919-g80928920147a109a7f8735bffc55a72cbe8db185 Author: H.J. Lu Date: Wed Jul 20 16

[Bug tree-optimization/106497] [13 Regression] ICE in duplicate_block, at cfghooks.cc:1115 since r13-1753-g26cea5f108e0facd

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106497 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug tree-optimization/97333] [gimple_can_duplicate_bb_p == false, tree-ssa-threadupdate] ICE in duplicate_block, at cfghooks.c:1093

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97333 Andrew Pinski changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #4 f

[Bug tree-optimization/97333] [13 Regression] [gimple_can_duplicate_bb_p == false, tree-ssa-threadupdate] ICE in duplicate_block, at cfghooks.c:1093

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97333 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gcc

[Bug tree-optimization/106497] [13 Regression] ICE in duplicate_block, at cfghooks.cc:1115 since r13-1753-g26cea5f108e0facd

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106497 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug tree-optimization/97333] [meta-bug] [gimple_can_duplicate_bb_p == false, tree-ssa-threadupdate] ICE in duplicate_block, at cfghooks.c:1093

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97333 Andrew Pinski changed: What|Removed |Added Summary|[13 Regression] |[meta-bug] |[gimple_ca

[Bug tree-optimization/97333] [meta-bug] [gimple_can_duplicate_bb_p == false, tree-ssa-threadupdate] ICE in duplicate_block, at cfghooks.c:1093

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97333 --- Comment #6 from Andrew Pinski --- Since gimple_can_duplicate_bb_p can now return false for returns_twice, there might be other regressions

[Bug tree-optimization/97333] [meta-bug] [gimple_can_duplicate_bb_p == false, tree-ssa-threadupdate] ICE in duplicate_block, at cfghooks.c:1093

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97333 --- Comment #7 from Andrew Pinski --- It might be useful do a test of having gimple_can_duplicate_bb_p return true for all basic block again. as shown by PR 106497 and PR 106422 there definitely is some in jump threading. And it might be able to

[Bug fortran/106500] New: ICE on invalid argument to c_sizeof()

2022-08-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106500 Bug ID: 106500 Summary: ICE on invalid argument to c_sizeof() Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/106500] ICE on function as an argument to c_sizeof()

2022-08-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106500 --- Comment #1 from kargl at gcc dot gnu.org --- Changed subject as it's unclear whether it is invalid or not. In any case, this patch allows the code to compile and it produces the expected output. % gfcx -o z a.f90 % ./z 4 16 diff --git a/

[Bug tree-optimization/106457] array_at_struct_end_p returns TRUE for a two-dimension array which is not inside any structure

2022-08-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106457 qinzhao at gcc dot gnu.org changed: What|Removed |Added Resolution|FIXED |--- Status|RESO

[Bug tree-optimization/106457] array_at_struct_end_p returns TRUE for a two-dimension array which is not inside any structure

2022-08-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106457 --- Comment #5 from qinzhao at gcc dot gnu.org --- I am wondering whether the following: 12781 /* If the object itself is the array it is not at struct end. */ 12782 if (DECL_P (ref_to_array)) 12783 return false; should be:

[Bug middle-end/98109] Seemingly wrong warnings from -Wnonnull when combined with -O2 -fsanitize=undefined

2022-08-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98109 --- Comment #5 from Martin Sebor --- (In reply to Bernd Buschinski from comment #4) > Can someone tell me if this should be a new bug or is just a duplicate? It's the same bug. The sanitizer transforms the source code into the following IR (not

[Bug libfortran/106079] [12/13 regression] gfortran.dg/boz_15.f90 fails after r12-6498-g07c60b8e33

2022-08-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106079 --- Comment #8 from seurer at gcc dot gnu.org --- The fix worked fine in my testing on trunk. Thanks!

[Bug target/106481] [13 Regression] ICE: in native_encode_rtx, at simplify-rtx.cc:6884 with -O2 -fno-dce -fno-forward-propagate -fno-rerun-cse-after-loop

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106481 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:96e5f6696a1fa90493c464884984e9f1de86d817 commit r13-1920-g96e5f6696a1fa90493c464884984e9f1de86d817 Author: Roger Sayle Date: Mon A

[Bug target/106278] [13 Regression] ICE on valid code at -Os and above on x86_64-linux-gnu: in ix86_output_ssemov, at config/i386/i386.cc:5555 since r13-1607-gc3ed9e0d6e96d869

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106278 --- Comment #5 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:96e5f6696a1fa90493c464884984e9f1de86d817 commit r13-1920-g96e5f6696a1fa90493c464884984e9f1de86d817 Author: Roger Sayle Date: Mon A

[Bug target/106450] [13 Regression] ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) since r13-1607-gc3ed9e0d6e96d869

2022-08-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106450 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #7 from Tomasz Kłoczko --- Hmm .. Martin even if that can be fixed in libfabric code does it still mean that it something wrong with LO optimisation? Sorry for asking maybe dumb question but this situation is not clear for me :)

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #8 from Andrew Pinski --- (In reply to Tomasz Kłoczko from comment #7) > Hmm .. Martin even if that can be fixed in libfabric code does it still mean > that it something wrong with LO optimisation? > Sorry for asking maybe dumb quest

[Bug libstdc++/106501] New: libstdc++ is built without -fPIC despite --with-pic

2022-08-01 Thread skunk at iskunk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106501 Bug ID: 106501 Summary: libstdc++ is built without -fPIC despite --with-pic Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/58638] libstdc++ builds as non-PIC when --with-pic is specified

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638 --- Comment #13 from Andrew Pinski --- *** Bug 106501 has been marked as a duplicate of this bug. ***

[Bug libstdc++/106501] libstdc++ is built without -fPIC despite --with-pic

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

[Bug target/106491] ICE when compiling ArmSVE intrinsics in PCH

2022-08-01 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106491 --- Comment #5 from Denis Yaroshevskiy --- Tried with gcc-12, still the same issue. gcc version 12.0.1 20220222 (experimental) [master r12-7325-g2f59f067610] (Ubuntu 12-20220222-1ubuntu1) Does that include the fix you talked about?

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #9 from Tomasz Kłoczko --- (In reply to Andrew Pinski from comment #8) [..] > Basically with the flatten attribute and lto, every function needs to there > and cloned and inlined causing a lot of memory and time really. > Functions b

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #10 from Andrew Pinski --- (In reply to Tomasz Kłoczko from comment #9) > (In reply to Andrew Pinski from comment #8) > [..] > > Basically with the flatten attribute and lto, every function needs to there > > and cloned and inlined c

[Bug c++/106502] New: Three calls to __attribute__((const)) function

2022-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106502 Bug ID: 106502 Summary: Three calls to __attribute__((const)) function Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/58638] libstdc++ builds as non-PIC when --with-pic is specified

2022-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638 --- Comment #14 from Jonathan Wakely --- (In reply to Alec Ari from comment #11) > This fix worked for me: > > --- a/libstdc++-v3/configure.ac > +++ b/libstdc++-v3/configure.ac > @@ -121,8 +121,8 @@ if test "$enable_shared" = yes; then >glib

[Bug c++/106502] Three calls to __attribute__((const)) function

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106502 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #11 from Tomasz Kłoczko --- (In reply to Andrew Pinski from comment #10) > The flatten attribute is designed to override all heuristics in the compiler > that is designed to not cause the gignatic memory usage and compile time. > Bas

[Bug c++/106502] Three calls to __attribute__((const)) function

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106502 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug preprocessor/97498] #pragma GCC diagnostic ignored "-Wunused-function" inconsistent

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97498 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:98e2676558f6f50cfb90610e5a160642a24d1596 commit r12-8648-g98e2676558f6f50cfb90610e5a160642a24d1596 Author: Lewis Hyatt Date:

[Bug lto/106499] LTO runs forever in libfabric 1.15.1 linking

2022-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499 --- Comment #12 from Andrew Pinski --- (In reply to Tomasz Kłoczko from comment #11) > (In reply to Andrew Pinski from comment #10) > > The flatten attribute is designed to override all heuristics in the compiler > > that is designed to not caus

[Bug target/106415] loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-08-01 Thread undefinedopcode2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 --- Comment #7 from Undefined Opcode --- (In reply to Undefined Opcode from comment #6) A little more context: Group 1: cand costcompl. inv.expr. inv.vars 0 0 0 NIL;NIL; 1 0 0 NIL;NIL;

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:a2ead00af2731e5551b15523ebf8f3e68c4e2ecb commit r10-10924-ga2ead00af2731e5551b15523ebf8f3e68c4e2ecb Author: Kewen Lin Date:

[Bug testsuite/106345] Some ppc64le tests fail with -mcpu=power9 -mtune=power9

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106345 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:a221c4b8e581d89c311f58c7c2e64c9d1f16c642 commit r10-10925-ga221c4b8e581d89c311f58c7c2e64c9d1f16c642 Author: Peter Bergner Dat

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:cd014105121275d1b226cb494277663d9181ab01 commit r11-10186-gcd014105121275d1b226cb494277663d9181ab01 Author: Kewen Lin Date:

[Bug testsuite/106345] Some ppc64le tests fail with -mcpu=power9 -mtune=power9

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106345 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:ab1d329cb7d5ef19d234c37892c3268f063cf9c5 commit r11-10187-gab1d329cb7d5ef19d234c37892c3268f063cf9c5 Author: Peter Bergner Dat

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:bd521701c819710a244eae87b097b6acb534756b commit r12-8650-gbd521701c819710a244eae87b097b6acb534756b Author: Kewen Lin Date:

[Bug testsuite/106345] Some ppc64le tests fail with -mcpu=power9 -mtune=power9

2022-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106345 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:5f583aa1c56af983ca8f2b8bc57122c4be5a6e55 commit r12-8651-g5f583aa1c56af983ca8f2b8bc57122c4be5a6e55 Author: Peter Bergner Date

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-08-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/106247] GCC12 warning in Eigen: array subscript is partly outside array bounds

2022-08-01 Thread skunk at iskunk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106247 Daniel Richard G. changed: What|Removed |Added CC||skunk at iskunk dot org --- Comment

[Bug target/101438] Compiler hang on inline asm with local register and alloca

2022-08-01 Thread andrey.vihrov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101438 Andrey Vihrov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/105032] Compiling inline ASM x86 causing GCC stuck in an endless loop with 100% CPU usage

2022-08-01 Thread andrey.vihrov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105032 --- Comment #15 from Andrey Vihrov --- *** Bug 101438 has been marked as a duplicate of this bug. ***

  1   2   >