[Bug c/118384] unexpected call to __muldi3 generated for riscv target

2025-01-08 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #1 from Huaqi --- This issue also present in arm-eabi-gcc toolchain 14.x, but not present in 13.x. compiler option chosen is -Os -mcpu=cortex-m0 chose m0 due it don't have a multiply hw unit see https://godbolt.org/z/941TbMKGc 14

[Bug c++/118385] New: A temporary expression bound to a reference member in a mem-initializer is ill-formed

2025-01-08 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118385 Bug ID: 118385 Summary: A temporary expression bound to a reference member in a mem-initializer is ill-formed Product: gcc Version: 15.0 Status: UNCONFIRMED Ke

[Bug tree-optimization/118353] Implement greedy algorithm for switch jump table cluster finding

2025-01-08 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118353 --- Comment #4 from Filip Kastl --- Huh. Then either a) We spend a lot of time in the jump table finding algorithm. That would mean that there are large switch statements in GCC code specific for those architectures. Btw, those switch statem

[Bug c/118384] New: unexpected call to __muldi3 generated for riscv target

2025-01-08 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Bug ID: 118384 Summary: unexpected call to __muldi3 generated for riscv target Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug tree-optimization/105769] [12/13/14 Regression] program segmentation fault with -ftree-vectorize and nested lambdas

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105769 --- Comment #25 from Andrew Pinski --- I highly doubt the patches series will be backported to GCC 14 though.

[Bug c++/118383] [c++-14,17,20] Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118383 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > That is r6-7277-gb47d1d904d5397 . https://gcc.gnu.org/pipermail/gcc-patches/2016-March/443662.html

[Bug c++/118383] [c++-14,17,20] Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118383 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Confirmed. Looks like it was introduced in GCC 6 when constexpr operator= > was added for C++14. That is r6-7277-gb47d1d904d5397 .

[Bug c++/118383] [c++-14,17,20] Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

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

[Bug fortran/118337] [15 Regression] Fortran *.mod compatibility

2025-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118337 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/117927] [15 Regression] Invalid rotate optimization

2025-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117927 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/117930] Improve rotates by C - x or C + x where C is multiple of bitsize on x86

2025-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117930 Bug 117930 depends on bug 117927, which changed state. Bug 117927 Summary: [15 Regression] Invalid rotate optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117927 What|Removed |Added ---

[Bug tree-optimization/117927] [15 Regression] Invalid rotate optimization

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117927 --- Comment #14 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2cbd4409bcfaba2bd4200412090fd06db1948369 commit r15-6725-g2cbd4409bcfaba2bd4200412090fd06db1948369 Author: Jakub Jelinek Date:

[Bug target/118380] GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug c++/118383] New: Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23

2025-01-08 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118383 Bug ID: 118383 Summary: Constexpr default copy-assign operator of derived class with virtual base seems should not be allowed before C++23 Product: gcc Version:

[Bug fortran/118337] [15 Regression] Fortran *.mod compatibility

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118337 --- Comment #14 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c5e71d22d632889860ef079d4b0bff21eef8a660 commit r15-6724-gc5e71d22d632889860ef079d4b0bff21eef8a660 Author: Jakub Jelinek Date:

[Bug libgomp/118379] [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG'

2025-01-08 Thread one.last.kiss at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379 --- Comment #2 from shynur --- Thanks. I sent it to gcc-patc...@gcc.gnu.org .

[Bug tree-optimization/115340] Loop/SLP vectorization possible inefficiency

2025-01-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115340 --- Comment #7 from rguenther at suse dot de --- On Wed, 8 Jan 2025, rdapp.gcc at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115340 > > --- Comment #6 from rdapp.gcc at gmail dot com --- > >> Another thought I had as w

[Bug c++/118382] [c++17] extern variable for template with default template argument should be invalid

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118382 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-09 Known to fail|

[Bug c/118376] ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 --- Comment #3 from Zdenek Sojka --- Valgrind reports uninitialised uses, all from the same stack allocation: $ x86_64-pc-linux-gnu-gcc -Wsign-conversion testcase.c -wrapper valgrind,-q,--track-origins=yes ==2541== Conditional jump or move depe

[Bug c++/118381] GCC ignores missing 'noexcept'/`throw()` specifier for friend declaration

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118381 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-09 Ever confirmed|0

[Bug target/118362] [15 Regression] ICE in require, at machmode.h:313 since r15-2002

2025-01-08 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118362 --- Comment #5 from Stefan Schulze Frielinghaus --- Thanks for clarification. I'm way to unfamiliar with the vectorizer. At some point, when I was skimming over the code, I got the impression that also other modes than those defined by the ba

[Bug target/91722] gcc generates sub-optimal assembly when AVX instructions are used.

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91722 --- Comment #3 from Andrew Pinski --- _9 = __builtin_ia32_vbroadcastss256 (&signbit); _4 = __builtin_ia32_andnps256 (_9, to_3(D)); _6 = __builtin_ia32_andps256 (_9, from_5(D)); _7 = __builtin_ia32_orps256 (_6, _4); [tail call]

[Bug c++/118382] New: GCC fails to detect erroneous implicit template argument specification in extern class declaration for template class with default argument

2025-01-08 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118382 Bug ID: 118382 Summary: GCC fails to detect erroneous implicit template argument specification in extern class declaration for template class with default argument Product:

[Bug c++/118381] New: GCC ignores missing 'noexcept' specifier for friend declaration

2025-01-08 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118381 Bug ID: 118381 Summary: GCC ignores missing 'noexcept' specifier for friend declaration Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/118380] GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 --- Comment #2 from Andrew Pinski --- _205 = __builtin_ia32_vbroadcastss256 (_200); There is not much the gimple level can do with that.

[Bug target/118380] GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 --- Comment #1 from Andrew Pinski --- Created attachment 60081 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60081&action=edit testcase: -O3 -march=znver4 Next time attach the testcase

[Bug target/118348] [15 Regression] [SVE] HACCKernels seems to miscompile with VLS SVE after 0c5c0c959c2e592b84739f19ca771fa69eb8dfee

2025-01-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118348 Tamar Christina changed: What|Removed |Added Last reconfirmed||2025-1-9 --- Comment #4 from Tamar Ch

[Bug tree-optimization/118380] New: GCC is not optimizing computataion and code with avx intrinsics.

2025-01-08 Thread vekumar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118380 Bug ID: 118380 Summary: GCC is not optimizing computataion and code with avx intrinsics. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug libgomp/118379] [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG'

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379 --- Comment #1 from Andrew Pinski --- Patches should send to gcc-patches@ after reading https://gcc.gnu.org/contribute.html .

[Bug libgomp/118379] New: [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG'

2025-01-08 Thread one.last.kiss at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379 Bug ID: 118379 Summary: [PATCH] Avoid unused-variable-error when configured with 'CFLAGS=-DNDEBUG' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c++/99093] [missed optimization] Missed devirtualization involving internal-linkage class type (but only sometimes)

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

[Bug tree-optimization/95801] Optimiser does not exploit the fact that an integer divisor cannot be zero

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95801 Andrew Pinski changed: What|Removed |Added Blocks||85316 Ever confirmed|0

[Bug c/118376] ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 --- Comment #2 from Sam James --- I can on one machine and not another. The one I can is `gcc version 15.0.0 20250108 (experimental) 21ee71afa72746367cab7847f950448f04607dd2 (Gentoo 15.0. p, commit f6d3d0becd191f48aca221595377e39e53708adf

[Bug target/118378] New: mod with svint32_t ICEs

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118378 Bug ID: 118378 Summary: mod with svint32_t ICEs Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3

[Bug c/118376] ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 --- Comment #1 from Andrew Pinski --- I can't reproduce this ...

[Bug target/118377] ICE when using C division operator with svint8 and svint16

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118377 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/118377] New: [15 Regression] ICE when using C division operator with svint8 and svint16

2025-01-08 Thread soumyaa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118377 Bug ID: 118377 Summary: [15 Regression] ICE when using C division operator with svint8 and svint16 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c/118376] New: ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion

2025-01-08 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118376 Bug ID: 118376 Summary: ICE: in linemap_ordinary_map_lookup, at libcpp/line-map.cc:1152 with -Wsign-conversion Product: gcc Version: 15.0 Status: UNCONFIRMED K

[Bug target/118363] [15 regression] RISC-V: excess errors in c-c++-common/gomp/dispatch-11.c with zvls > 128b

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118363 Sam James changed: What|Removed |Added CC||burnus at gcc dot gnu.org Target Mileston

[Bug c/118375] Fixits for feature test macros (FTMs)

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118375 --- Comment #1 from Sam James --- I find this comes up most with people using -std=c99/c11/whatever instead of -std=gnu* and not realising the implications of that.

[Bug c/118375] New: Fixits for feature test macros (FTMs)

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118375 Bug ID: 118375 Summary: Fixits for feature test macros (FTMs) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug target/118356] RISC-V: -falign-labels=0 should (probably) default to 4

2025-01-08 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118356 Jeffrey A. Law changed: What|Removed |Added Status|NEW |WAITING --- Comment #7 from Jeffrey A.

[Bug c++/118374] Missing fixit for underlying enum type

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118374 Sam James changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho

[Bug c++/118374] New: Missing fixit for underlying enum type

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118374 Bug ID: 118374 Summary: Missing fixit for underlying enum type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/118372] Bogus error when passing polymorphic-result function

2025-01-08 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118372 --- Comment #2 from Jerry DeLisle --- Also appears to be OK on 14 as well.

[Bug fortran/118372] Bogus error when passing polymorphic-result function

2025-01-08 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118372 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug tree-optimization/63644] Kahan Summation with fast-math, pattern not always recognized

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63644 --- Comment #3 from Andrew Pinski --- Reduced testcase: ``` float counter(int maxl) { float tenth=0.1f; float sum = tenth; int n=0; while(n

[Bug target/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/63644] Kahan Summation with fast-math, pattern not always recognized

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63644 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|10.1.0, 7.1.0

[Bug c/118373] gcc-14.2 kernel panic on alderlake cpus

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 --- Comment #1 from Sam James --- Please include the full output from a kernel panic (so we can see the backtrace). We will also need you to do the following: a) bisect GCC; b) obtain a build-tree built before and after the bad commit (then can

[Bug c/118373] New: gcc-14.2 kernel panic on alderlake cpus

2025-01-08 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118373 Bug ID: 118373 Summary: gcc-14.2 kernel panic on alderlake cpus Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/118372] New: Bogus error when passing polymorphic-result function

2025-01-08 Thread townsend at astro dot wisc.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118372 Bug ID: 118372 Summary: Bogus error when passing polymorphic-result function Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug other/118371] [meta-bug] tracker bug for UX issues affecting porting to GCC 15

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118371 Sam James changed: What|Removed |Added Depends on||112293, 111681 --- Comment #2 from Sam Jame

[Bug bootstrap/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 --- Comment #5 from Andrew Pinski --- Looks like they changed how they handle mutli-lib with respect to multi-arch. Before they required you to install the multiarch i386-linux-gnu too. Now it seems like 32bit is multilibed in with the x86_64-

[Bug other/118371] [meta-bug] tracker bug for UX issues affecting porting to GCC 15

2025-01-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118371 David Malcolm changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #

[Bug bootstrap/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 --- Comment #4 from Andrew Pinski --- Or maybe the i386 multi-arch is not exactly installed.

[Bug bootstrap/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 Andrew Pinski changed: What|Removed |Added Component|libgcc |bootstrap --- Comment #3 from Andrew Pi

[Bug c++/110930] Fix-it hints suggest wrong header for names in the global namespace

2025-01-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110930 David Malcolm changed: What|Removed |Added Blocks||118371 --- Comment #7 from David Malcol

[Bug other/118371] New: [meta-bug] tracker bug for UX issues affecting porting to GCC 15

2025-01-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118371 Bug ID: 118371 Summary: [meta-bug] tracker bug for UX issues affecting porting to GCC 15 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: meta-bug

[Bug libgcc/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-08 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 --- Comment #2 from Ilya Leoshkevich --- I did quite a few experiments with different sets of flags, and in my log I have the following marked as FAIL: ../configure -v --enable-languages=c,c++ --enable-shared --enable-linker-build-id --libexecd

[Bug libgcc/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 --- Comment #1 from Andrew Pinski --- --enable-multiarch should be another workaround. I wonder why auto didn't figure out multi-arch is enabled here ...

[Bug libgcc/118369] New: Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-08 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 Bug ID: 118369 Summary: Multilib bootstrap on Debian 12 fails due to missing asm/errno.h Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/118346] Access to member inherited from virtual base class forbidden in GCC with temporary null pointer instance

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

[Bug c++/118347] Nested template class name inside template class with default parameter is not treated as a dependent template name

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118347 --- Comment #4 from Andrew Pinski --- The key here is: https://timsong-cpp.github.io/cppwp/n4868/temp.names#4.sentence-4 Which says: In these contexts, a < token is always assumed to introduce a template-argument-list. The context reffered to

[Bug c++/118347] Nested template class name inside template class with default parameter is not treated as a dependent template name

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

[Bug c++/110930] Fix-it hints suggest wrong header for names in the global namespace

2025-01-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110930 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 H.J. Lu changed: What|Removed |Added Attachment #60072|0 |1 is obsolete|

[Bug c++/118347] Nested template class name inside template class with default parameter is not treated as a dependent template name

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118347 --- Comment #2 from Andrew Pinski --- Here is one without a default template argument: ``` template struct holder { template struct fn {}; template struct t2 : holder::fn {}; // fail }; template<> struct holder { template st

[Bug c++/118347] Nested template class name inside template class with default parameter is not treated as a dependent template name

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118347 --- Comment #1 from Andrew Pinski --- EDG accepts this code too. I am not 100% sure this requires a template here. Also I found a different issue which I filed PR 118347 for it.

[Bug c++/118368] New: 'baselink' not supported by dump_type

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118368 Bug ID: 118368 Summary: 'baselink' not supported by dump_type Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug c++/118319] [12/13/14/15 Regression] ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 --- Comment #4 from Andrew Pinski --- (In reply to Simon Martin from comment #3) > For the record this started to crash between 12.3 and 12.4 - > https://godbolt.org/z/P3qvcnvj1 Note I didn't mention that in the comments part when I confirmed t

[Bug target/118356] RISC-V: -falign-labels=0 should (probably) default to 4

2025-01-08 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118356 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug c++/91082] Reference to function binds to Addr to function when given a template specialization

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91082 Andrew Pinski changed: What|Removed |Added Summary|Reference to function binds |Reference to function binds

[Bug libstdc++/118260] Automatically add some 'skip's from gdb helper code

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118260 --- Comment #9 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #8) > std::get for pair is from C++11, but yes it's a good candidate. I was talking about std::get for std::complex :).

[Bug c++/118354] Address-of result of a function template specialization may be treated as the function itself

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

[Bug c++/91082] Reference to function binds to pointer to function when given a template specialization

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91082 Andrew Pinski changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from

[Bug libstdc++/118260] Automatically add some 'skip's from gdb helper code

2025-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118260 --- Comment #8 from Jonathan Wakely --- std::get for pair is from C++11, but yes it's a good candidate.

[Bug c++/118365] try to define an overloaded function template for a namespace, without having first declared it in that namespace

2025-01-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118365 --- Comment #4 from Jonathan Wakely --- Dup of PR 97174, or at least related. Oh, I see Andrew already found that :)

[Bug target/55372] MIPS: Loading integer constants to floating-pointer registers generates suboptimal code

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

[Bug c++/118367] Confusing error message with user generated static_assert or asm "expression cannot be used as a function"

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118367 Andrew Pinski changed: What|Removed |Added Summary|Confusing error message |Confusing error message

[Bug c++/118367] Confusing error message with user generated static_assert or asm "expression cannot be used as a function"

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118367 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > asm on the trunk has the same issue: That is because it uses the same code path.

[Bug c++/118367] Confusing error message with user generated static_assert "expression cannot be used as a function"

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

[Bug c++/118367] New: Confusing error message with user generated static_assert "expression cannot be used as a function"

2025-01-08 Thread veeloxfire at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118367 Bug ID: 118367 Summary: Confusing error message with user generated static_assert "expression cannot be used as a function" Product: gcc Version: 14.2.1

[Bug target/65181] Support for alloca in nvptx

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:b7f168644966d451fbe46ee9d06c9763a539c41b commit r15-6719-gb7f168644966d451fbe46ee9d06c9763a539c41b Author: Thomas Schwinge Date:

[Bug target/118280] [14/15 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #10 from Sam James --- (In reply to Andrew Pinski from comment #9) > So Microblaze backend has only atomic_compare_and_swapsi but that in theory > could be used to implement smaller size atomics. > Plus microblaze ISA has LWX/SWX (w

[Bug target/118280] [14/15 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #9 from Andrew Pinski --- So Microblaze backend has only atomic_compare_and_swapsi but that in theory could be used to implement smaller size atomics. Plus microblaze ISA has LWX/SWX (which is like LL/SC on MIPS), so that can be use

[Bug target/65181] Support for alloca in nvptx

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:dcbd260a1dff3f93ed1aa6fd962e92bae8933dc6 commit r15-6715-gdcbd260a1dff3f93ed1aa6fd962e92bae8933dc6 Author: Thomas Schwinge Date:

[Bug c++/117825] [12/13/14/15 Regression] ICE on template with -Wformat-security (error reporting routines re-entered.)

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e5180fbcbcc356c71154413588288cbd30e5198d commit r15-6716-ge5180fbcbcc356c71154413588288cbd30e5198d Author: Jakub Jelinek Date: W

[Bug tree-optimization/118353] Implement greedy algorithm for switch jump table cluster finding

2025-01-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118353 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3 fr

[Bug tree-optimization/118353] Implement greedy algorithm for switch jump table cluster finding

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

[Bug target/65181] Support for alloca in nvptx

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:1823170805a3b36848d096dbdd28b479e16cf443 commit r15-6714-g1823170805a3b36848d096dbdd28b479e16cf443 Author: Thomas Schwinge Date:

[Bug target/65181] Support for alloca in nvptx

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:2116e8d2275f8bfb04263f26eed17b928513fed8 commit r15-6713-g2116e8d2275f8bfb04263f26eed17b928513fed8 Author: Thomas Schwinge Date:

[Bug target/65181] Support for alloca in nvptx

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:678c3f06fc165b883f63b0c44ce9f650b7c1504a commit r15-6712-g678c3f06fc165b883f63b0c44ce9f650b7c1504a Author: Thomas Schwinge Date:

[Bug target/65181] Support for alloca in nvptx

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:7eec6fedf457883adc8222b2f4a3230311f8f25f commit r15-6706-g7eec6fedf457883adc8222b2f4a3230311f8f25f Author: Thomas Schwinge Date:

[Bug target/65181] Support for alloca in nvptx

2025-01-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:aae1db742a1766365c0c7023be55ebef67b70bf4 commit r15-6705-gaae1db742a1766365c0c7023be55ebef67b70bf4 Author: Thomas Schwinge Date:

[Bug middle-end/118366] style of comment for parameter for NEXT_PASS inside passes.def

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

[Bug middle-end/118366] New: style of comment for parameter for NEXT_PASS inside passes.def

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118366 Bug ID: 118366 Summary: style of comment for parameter for NEXT_PASS inside passes.def Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improv

[Bug libstdc++/118260] Automatically add some 'skip's from gdb helper code

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118260 --- Comment #7 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #6) > Good enough? Any other suggestions for functions to skip? > > std::get for tuples? Most likely std::get for pair and complex (though that is C++26 and I am n

[Bug tree-optimization/112545] [14/15 Regression] Size regression when using -Os starting with r14-569-g21e2ef2dc25

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112545 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/118362] [15 Regression] ICE in require, at machmode.h:313 since r15-2002

2025-01-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118362 --- Comment #4 from Jakub Jelinek --- gcc/machmode.def doesn't contain any VECTOR_MODE/VECTOR_MODES. And, even vector modes defined in the backend don't appear anywhere without any reason, the V8SImode in this case is because the *vmrhf and *vmr

  1   2   3   >