[Bug target/106488] New: [13 Regression] ICE: in ix86_output_ssemov, at config/i386/i386.cc:5565 with -O2 -fno-dce -fno-tree-vrp -mf16c -fno-tree-coalesce-vars

2022-07-30 Thread zsojka at seznam dot cz via Gcc-bugs
x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-1899-20220730103523-ga63b99f24df-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220730 (experimental) (GCC)

[Bug fortran/106487] Calls to ___builtin_nested_func_ptr_created that cannot be resolved on M1 (Apple silicon)

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

[Bug fortran/106487] New: Calls to ___builtin_nested_func_ptr_created that cannot be resolved on M1 (Apple silicon)

2022-07-30 Thread apersaud at lbl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106487 Bug ID: 106487 Summary: Calls to ___builtin_nested_func_ptr_created that cannot be resolved on M1 (Apple silicon) Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug c++/71954] template partial specialization for constexpr error

2022-07-30 Thread lichray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71954 Zhihao Yuan changed: What|Removed |Added CC||lichray at gmail dot com --- Comment #5

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

2022-07-30 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105679 --- Comment #6 from Kees Cook --- (In reply to Richard Biener from comment #5) > Should be fixed on trunk. Can you check on the original unreduced testcase? Thanks! I've done test builds and can confirm these two false positives have been

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

2022-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106486 --- Comment #1 from Andrew Pinski --- > which is often painful to do without structural Makefile changes. Not true. Most makefiles have CFLAGS and CXXFLAGS. And then use a common OPTFLAGS or something similar. It seems like setting CXXFLAGS

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

2022-07-30 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106486 Bug ID: 106486 Summary: C++ warning for -Wmissing-prototypes is pure nuisance Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

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

2022-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106484 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/106485] Can't use heap pointer in `static_assert`

2022-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106485 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/105619] Wrong "used in its own initializer" with class prvalue

2022-07-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105619 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2022-07-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Roger Sayle changed: What|Removed |Added Target Milestone|--- |13.0 Status|NEW

[Bug c++/106485] New: Can't use heap pointer in `static_assert`

2022-07-30 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106485 Bug ID: 106485 Summary: Can't use heap pointer in `static_assert` Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

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

2022-07-30 Thread rsaxvc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106484 rsaxvc at gmail dot com changed: What|Removed |Added CC||rsaxvc at gmail dot com ---

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

2022-07-30 Thread rsaxvc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106484 Bug ID: 106484 Summary: Failure to optimize uint64_t/constant division on ARM32 Product: gcc Version: 12.1.0 Status: UNCONFIRMED Keywords: missed-optimization

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

2022-07-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #10 from Andreas Schwab --- libbacktrace and libphobos are target modules that are part of the bootstrap stages. libgo and libgfortran are target modules that are _not_ part of the bootstrap stages.

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

2022-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

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

2022-07-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #8 from Roger Sayle --- Investigating further, using an absolute path doesn't help, but interestingly after the failure, repeatedly trying "make -j 8 bootstrap" a few times, allows the build to progress after several attempts, so it

[Bug c++/106483] undefined reference to function implemented in shared library if putting main.cpp after options, but non of any error when putting before options

2022-07-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106483 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/106483] New: undefined reference to function implemented in shared library if putting main.cpp after options, but non of any error when putting before options

2022-07-30 Thread xyang619 at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106483 Bug ID: 106483 Summary: undefined reference to function implemented in shared library if putting main.cpp after options, but non of any error when putting before options

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

2022-07-30 Thread andrey.vihrov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101438 --- Comment #4 from Andrey Vihrov --- Looks like this is a duplicate of bug 105032 (or vice versa). Both samples from this bug succeed for me with GCC 11.3 and GCC 12.

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

2022-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106079 --- Comment #6 from Jakub Jelinek --- And on the box I was working on this fix (Fedora 34, glibc 2.33) without the fix I see in ../configure --enable-languages=c,c++,fortran --with-long-double-format=ieee --with-long-double-128 make

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

2022-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106079 --- Comment #5 from Jakub Jelinek --- Strange, in my 12 branch distro (scratch) build the only differences with the patch are: -FAIL: gfortran.dg/boz_15.f90 -O0 execution test -FAIL: gfortran.dg/boz_15.f90 -O1 execution test -FAIL:

[Bug debug/106261] [10/11 Regression] ICE in output_call_frame_info, at dwarf2out.cc:943

2022-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106261 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11 Regression] ICE in

[Bug middle-end/106449] ICE in #pragma omp parallel for simd since r6-4544-ge01d41e553aae245

2022-07-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106449 --- Comment #13 from Jakub Jelinek --- Fixed for 12.2+ too.

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

2022-07-30 Thread skunk at iskunk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106482 Bug ID: 106482 Summary: [12 Regression] bootstrap of 12.1.0 using 4.8.2 fails with C++ errors Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/106449] ICE in #pragma omp parallel for simd since r6-4544-ge01d41e553aae245

2022-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106449 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:681c73db9bd156f9b65a73ccc6c4a0a697fe70d6 commit r12-8645-g681c73db9bd156f9b65a73ccc6c4a0a697fe70d6 Author: Jakub Jelinek

[Bug debug/106261] [10/11/12 Regression] ICE in output_call_frame_info, at dwarf2out.cc:943

2022-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106261 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0062d8491c20eb95411ac0b112e09ec0cee836d1 commit r12-8644-g0062d8491c20eb95411ac0b112e09ec0cee836d1 Author: Jakub Jelinek

[Bug middle-end/106144] wide_int shifted_mask() and mask() do not agree

2022-07-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106144 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:527dccb33e54ffe49fb1507fc4539968f48a9d12 commit r12-8643-g527dccb33e54ffe49fb1507fc4539968f48a9d12 Author: Jakub Jelinek

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

2022-07-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #7 from Roger Sayle --- At the point that this fails there is no /home/roger/GCC/clean_go/x86_64-pc-linux-gnu/libbacktrace directory whilst the build (make) is in /home/roger/GCC/clean_go/x86_64-pc-linux-gnu/libgo I also don't use

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

2022-07-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #6 from Andreas Schwab --- So what's the contents of .../x86_64-pc-linux-gnu/libbacktrace?

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

2022-07-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Roger Sayle changed: What|Removed |Added Last reconfirmed||2022-07-30

[Bug tree-optimization/106099] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649

2022-07-30 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106099 --- Comment #10 from Zdenek Sojka --- Thank you for the patch; I can still trigger the ICE with a degenerate testcase though: $ cat testcase.c void foo (void) { for (unsigned i = 0; i == 0; i++) __builtin_printf ("%d", i); } $

[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-07-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106481 Roger Sayle changed: What|Removed |Added Target Milestone|--- |13.0 Last reconfirmed|

[Bug target/106458] [12/13 Regression] glibc's malloc/tst-scratch_buffer.c test is miscompiled with gcc-12

2022-07-30 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106458 --- Comment #7 from Sam James --- Thanks Dave. I'd seen this failure when testing glibc 2.36 but hadn't looked into it more (too warm to keep machine on).

[Bug target/68485] ICE while building gpsd package on microblaze

2022-07-30 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485 Sam James changed: What|Removed |Added CC||sam at gentoo dot org --- Comment #12 from

[Bug target/106481] New: [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-07-30 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106481 Bug ID: 106481 Summary: [13 Regression] ICE: in native_encode_rtx, at simplify-rtx.cc:6884 with -O2 -fno-dce -fno-forward-propagate -fno-rerun-cse-after-loop Product: gcc