[Bug tree-optimization/118527] When a loop is unlooped due to sccvn, its profile is not updated

2025-01-16 Thread dizhao at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118527 --- Comment #1 from Di Zhao --- The change below can fix the problem. But it appears not quite efficient. (I tried to do this in cfg cleanup stage, but haven't succeeded with that.) How do you think of this? diff --git a/gcc/tree-ssa-sccvn.cc b

[Bug tree-optimization/118527] New: When a loop is unlooped due to sccvn, its profile is not updated

2025-01-16 Thread dizhao at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118527 Bug ID: 118527 Summary: When a loop is unlooped due to sccvn, its profile is not updated Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/92539] [12/13/14 Regression] -Warray-bounds false positive with -O3 (loop unroll?)

2025-01-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92539 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[12/13/14/15 Re

[Bug tree-optimization/92539] [12/13/14/15 Regression] -Warray-bounds false positive with -O3 (loop unroll?)

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92539 --- Comment #14 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:44d21551362f9076617200595f49d4260d1f40a9 commit r15-6990-g44d21551362f9076617200595f49d4260d1f40a9 Author: Richard Biener Date:

[Bug c++/118525] [14/15 Regression] ICE after error dealing consteval

2025-01-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118525 --- Comment #4 from Richard Biener --- It's also the old "issue" that we have ERROR_MARK but not ERROR_TYPE which would make this a bit more robust.

[Bug tree-optimization/118521] [15 regression] std::vector Wstringop-overflow false positive

2025-01-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

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

2025-01-16 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118379 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug c++/29593] Missing warning when reference is bound to converted temporary

2025-01-16 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29593 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug tree-optimization/115825] [12/13/14 Regression] Loop unrolling increases code size with -Os

2025-01-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 --- Comment #28 from rguenther at suse dot de --- On Thu, 16 Jan 2025, segher at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115825 > > --- Comment #27 from Segher Boessenkool --- > > This is a GIMPLE pass which has

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-01-16 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #6 from Matthias Klose --- the same version as the native compiler, and I rechecked with 20250114.

[Bug c++/118526] infinite compile time

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118526 --- Comment #1 from Andrew Pinski --- Seems like it is stuck testing any_template_arguments_need_structural_equality_p #43 0x017f72aa in walk_tree_without_duplicates_1 (tp=tp@entry=0x7fffbca8, func=func@entry=0xccbe00 , data=data@e

[Bug c++/118526] New: infinite compile time

2025-01-16 Thread eczbek.void at gmail dot com via Gcc-bugs
e forever to compile it. Please find the preprocessed code attached g++ (GCC) 15.0.1 20250116 (experimental) compiling with -std=c++26

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #27 from GCC Commits --- The releases/gcc-14 branch has been updated by Eugene Rozenfeld : https://gcc.gnu.org/g:802771f22815157cce8643e54e6810ed80079f13 commit r14-11219-g802771f22815157cce8643e54e6810ed80079f13 Author: Eugene Roz

[Bug d/116632] d_diagnostic_report_diagnostic and non-textual diagnostic output formats (e.g. SARIF)

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116632 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/118483] [12/13/14/15 Regression] Missed optimization due to cast being used more than once

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug c++/118525] [14/15 Regression] ICE after error dealing consteval

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118525 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:1487310d2707203e0f9b5b1794daf1f381e3e622 commit r14-11217-g1487310d2707203e0f9b5b1794daf1f381e3e622 Author: Iain Buclaw Dat

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 --- Comment #6 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:d740694ff89ab5c78652a1f66b058ca16634ddbc commit r15-6983-gd740694ff89ab5c78652a1f66b058ca16634ddbc Author: Iain Buclaw Date: Fri J

[Bug target/55212] [SH] Switch to LRA

2025-01-16 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #437 from Oleg Endo --- Could be relevant https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067 https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673817.html

[Bug c++/105440] c++20: std::string's destructor not a constant expression when it should

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105440 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/105440] c++20: std::string's destructor not a constant expression when it should

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105440 --- Comment #5 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:15a7544e09d81fd35edcc32adc08e494e4debcc2 commit r15-6982-g15a7544e09d81fd35edcc32adc08e494e4debcc2 Author: Patrick Palka Date: T

[Bug target/113560] [12/13 regression] Strange code generated when optimizing a multiplication on x86_64

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113560 --- Comment #10 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:fed57c8ec95ce3d86e74c5afb73a3a4a499d4ec4 commit r15-6981-gfed57c8ec95ce3d86e74c5afb73a3a4a499d4ec4 Author: Alexandre Oliva Date

[Bug rtl-optimization/113994] [13 Regression] Probable C++ code generation bug with -O2 on s390x platform

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 --- Comment #17 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:def933af3cb381b423ba15f331ed51f2d255898f commit r15-6979-gdef933af3cb381b423ba15f331ed51f2d255898f Author: Alexandre Oliva Date

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #5 from Iain Buclaw --- And what version of gdc is being used to bootstrap? It might matter, as I've come across one instance where the compiler/runtime interface for BigEndian got mismatched at some point during gcc-14 development

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #14 from kargls at comcast dot net --- (In reply to anlauf from comment #13) > (In reply to kargls from comment #12) > > (In reply to Thomas Koenig from comment #9) > > > Question is, what should we permit... > > > > > > For 'normal'

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 --- Comment #5 from Iain Buclaw --- My guess is, I missed a change to the TypeInfo_Class layout in D runtime. ClassFlags got reduced from a uint to a ushort. https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff;f=libphobos/libdruntime/object.d;h=710f

[Bug tree-optimization/118521] [15 regression] std::vector Wstringop-overflow false positive

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

[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

2025-01-16 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067 --- Comment #11 from Vladimir Makarov --- (In reply to Uroš Bizjak from comment #9) > Unfortunately, the testcase still fails when -mtune=k8 is added to compile > flags: > > Thank you, Uros. I tried to avoid finding longer reload loops but it

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > Created attachment 60188 [details] > Runtime testcase I should note this fails only with >= C++17.

[Bug fortran/118321] [OpenMP] declare_variant's 'adjust_args' yields wrong code if the result is passed by argument

2025-01-16 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118321 --- Comment #3 from Tobias Burnus --- Fixed the main Fortran issue. Still to do: * Fix C++ issue ('this' pointer), comment 1 * For Fortran, we may want to check for ENTRY master functions ...

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #4

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 Andrew Pinski changed: What|Removed |Added Attachment #60182|0 |1 is obsolete|

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #13 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #12) > (In reply to Thomas Koenig from comment #9) > > Question is, what should we permit... > > > > For 'normal' operations, only unsigned op unsigned is permit

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

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

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 Andrew Pinski changed: What|Removed |Added Attachment #60186|0 |1 is obsolete|

[Bug libfortran/118406] Printing large UNSIGNED(kind=16) crashes

2025-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118406 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASS

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #12 from kargls at comcast dot net --- (In reply to Thomas Koenig from comment #9) > Question is, what should we permit... > > For 'normal' operations, only unsigned op unsigned is permitted, > so unsigned**unsigned is obviously ok.

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 Andrew Pinski changed: What|Removed |Added Attachment #60185|0 |1 is obsolete|

[Bug fortran/118321] [OpenMP] declare_variant's 'adjust_args' yields wrong code if the result is passed by argument

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118321 --- Comment #2 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:f5409d71e2ec8cdcc674b312dd4c115bb3626eba commit r15-6976-gf5409d71e2ec8cdcc674b312dd4c115bb3626eba Author: Tobias Burnus Date: T

[Bug c++/107522] ICE in parameter_mapping_equivalent_p on trunk

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107522 --- Comment #3 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:62daa81308c6c187059fcad98377146e30725fa5 commit r15-6975-g62daa81308c6c187059fcad98377146e30725fa5 Author: Patrick Palka Date: T

[Bug c++/111471] Incorrect NTTP printing in the error messages

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111471 Patrick Palka changed: What|Removed |Added Target Milestone|13.4|13.3 Resolution|---

[Bug c++/110025] [C++23] ICE with default-argument for template-param with decltype and auto.

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110025 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/114138] [c++2b] ICE on valid code using `auto(expr)` DECAY-COPY

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114138 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/103524] [meta-bug] modules issue

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115159, which changed state. Bug 115159 Summary: internal compiler error: in nothrow_spec_p, at cp/except.cc:1206 when using modules and QCoreApplication https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115159 W

[Bug c++/115159] internal compiler error: in nothrow_spec_p, at cp/except.cc:1206 when using modules and QCoreApplication

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115159 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/67491] [meta-bug] concepts issues

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 111890, which changed state. Bug 111890 Summary: ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890

[Bug c++/65608] [meta-bug] friend issues

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 111890, which changed state. Bug 111890 Summary: ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 Andrew Pinski changed: What|Removed |Added Attachment #60184|0 |1 is obsolete|

[Bug libstdc++/113386] [C++23] std::pair comparison operators should be transparent, but are not in libstdc++

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113386 Bug 113386 depends on bug 109203, which changed state. Bug 109203 Summary: sort(zip(v1, v2)) fails to compile https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203 What|Removed |Added

[Bug c++/111419] Eager instantiation of function return type in concept causes compilation error

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111419 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/117792] [12/13 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 Patrick Palka changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13 Regression] ICE in

[Bug libstdc++/109203] sort(zip(v1, v2)) fails to compile

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 --- Comment #4 from Andrew Pinski --- Created attachment 60184 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60184&action=edit Starting of removal of templates

[Bug c++/117925] [14/15 Regression] ice unexpected expression '(FnPtr)(fnPtr)' of kind cast_expr

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117925 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118060] [13 Regression] ICE (internal compiler error) on requires clause

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Patrick Palka changed: What|Removed |Added Summary|[13/14/15 Regression] ICE |[13 Regression] ICE |

[Bug c++/116524] FAIL: g++.dg/modules/permissive-error-1.C -std=c++17 (internal compiler error: Segmentation fault)

2025-01-16 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116524 --- Comment #2 from John David Anglin --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673831.html

[Bug c++/118454] [15 regression] ICE when building scipy-1.15.1 (hash table checking failed: equal operator returns true for a pair of values with a different hash value)

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118454 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116417] SFINAE on std::is_destructible cannot handle pseudo destructor

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116417 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/118454] [15 regression] ICE when building scipy-1.15.1 (hash table checking failed: equal operator returns true for a pair of values with a different hash value)

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118454 --- Comment #10 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d72e5b7be203f9bb9b7e2aac8dd812af7f70859f commit r15-6974-gd72e5b7be203f9bb9b7e2aac8dd812af7f70859f Author: Patrick Palka Date:

[Bug c++/116417] SFINAE on std::is_destructible cannot handle pseudo destructor

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116417 --- Comment #4 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:232d3a73e18d6886f0a5781048a78da293fbb014 commit r15-6973-g232d3a73e18d6886f0a5781048a78da293fbb014 Author: Patrick Palka Date: T

[Bug c++/118525] [14/15 Regression] ICE after error dealing consteval

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118525 --- Comment #2 from Andrew Pinski --- Created attachment 60183 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60183&action=edit patch which I am testing

[Bug c++/118525] [14/15 Regression] ICE after error dealing consteval

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

[Bug c++/118525] New: [14/15 Regression] ICE after error dealing consteval

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118525 Bug ID: 118525 Summary: [14/15 Regression] ICE after error dealing consteval Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: error-recovery, ice-checking, ice-on-invalid-

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #10) > (In reply to Thomas Koenig from comment #9) > > Question is, what should we permit... > > > > For 'normal' operations, only unsigned op unsigned is

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #10 from Jerry DeLisle --- (In reply to Thomas Koenig from comment #9) > Question is, what should we permit... > > For 'normal' operations, only unsigned op unsigned is permitted, > so unsigned**unsigned is obviously ok. > > What a

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 --- Comment #9 from Thomas Koenig --- Question is, what should we permit... For 'normal' operations, only unsigned op unsigned is permitted, so unsigned**unsigned is obviously ok. What about (integer|real|complex)**unsigned? What about unsign

[Bug c++/117775] [13/14/15 Regression] Internal compiler error when deriving from lambda function with invalid body

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117775 --- Comment #4 from GCC Commits --- The master branch has been updated by Simon Martin : https://gcc.gnu.org/g:37f38b0f97374476a4818b68c8df991886428787 commit r15-6972-g37f38b0f97374476a4818b68c8df991886428787 Author: Simon Martin Date: Thu

[Bug c++/118523] [15 regression] std::vector C++20 Wuninitialized false positive at -O2

2025-01-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118523 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

2025-01-16 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067 --- Comment #10 from Uroš Bizjak --- Please note that RA loops with SImode, the dump from _.324r.reload reads: (insn 193 5 191 2 (set (reg:SI 338) (subreg/j:SI (reg/v:V32HI 165 [ u ]) 0)) "pr118067.c":13:8 96 {*movsi_internal} (nil

[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

2025-01-16 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067 --- Comment #9 from Uroš Bizjak --- Unfortunately, the testcase still fails when -mtune=k8 is added to compile flags: gcc -O -fno-split-wide-types -mavx512f -mtune=k8 in the same way as reported in Comment #5. The asm dump without -mtune=k8 (g

[Bug c++/118515] Incorrect error message: after undeclared error message

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118515 --- Comment #5 from Andrew Pinski --- Or maybe . I am not sure what is better here.

[Bug c++/118515] Incorrect error message: after undeclared error message

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118515 --- Comment #4 from Andrew Pinski --- Maybe just and remove prefix.

[Bug c++/118515] Incorrect error message: after undeclared error message

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118515 --- Comment #3 from Andrew Pinski --- I wonder if it should just be undeclaredtypeerror instead so it is obvious what it was. But then again it might not be an undeclared type causing the error.

[Bug libfortran/118406] Printing large UNSIGNED(kind=16) crashes

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118406 --- Comment #6 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:99bcce0d89b8a9aa9a1cc481b41be101c07d8bdf commit r15-6971-g99bcce0d89b8a9aa9a1cc481b41be101c07d8bdf Author: Harald Anlauf Date: T

[Bug c++/118515] Incorrect error message: after undeclared error message

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118515 Andrew Pinski changed: What|Removed |Added Summary|[15] Incorrect error|Incorrect error message:

[Bug target/113257] -march=native or -mcpu=native are ineffective, but -march=native -mcpu=native works on arm64 M2 Ultra

2025-01-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257 Tamar Christina changed: What|Removed |Added Version|14.0|13.0 --- Comment #11 from Tamar Chris

[Bug c++/118509] [14/15 regression] Front-end produced uninitialized memory reference when compiling Nektar since r15-4595-gb25d3201b6338d

2025-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118509 --- Comment #3 from Jakub Jelinek --- Created attachment 60182 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60182&action=edit pr118509.ii Somewhat reduced.

[Bug fortran/118441] [15 Regression] [openmp] ICE with assignment of PACK of string array

2025-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118441 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/118524] [15 Regression] Wrong assembler for string view literals with embedded null characters on ARM64 gcc trunk

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118524 --- Comment #6 from Andrew Pinski --- Filed https://github.com/compiler-explorer/compiler-explorer/issues/7280 for the filtering issue.

[Bug libfortran/118406] Printing large UNSIGNED(kind=16) crashes

2025-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118406 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|

[Bug c++/118524] [15 Regression] Wrong assembler for string view literals with embedded null characters on ARM64 gcc trunk

2025-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118524 --- Comment #5 from Jakub Jelinek --- Filter -> Directives is filtering .base64 out but not .string, guess somebody should file an issue against compiler explorer and ask that to be tweaked.

[Bug middle-end/118457] OpenMP: refactor/move dispatch construct handling to get rid of "sorry"

2025-01-16 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118457 --- Comment #1 from sandra at gcc dot gnu.org --- Also note that the new testcase c-c++-common/gomp/adjust-args-6.c is xfail'ed because of this bug.

[Bug c++/118524] [15 Regression] Wrong assembler for string view literals with embedded null characters on ARM64 gcc trunk

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118524 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > godbolt is filtering too much. That is it is filtering out the .base64 directive.

[Bug c++/118524] [15 Regression] Wrong assembler for string view literals with embedded null characters on ARM64 gcc trunk

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

[Bug c++/118524] [15 Regression] Wrong assembler for string view literals with embedded null characters on ARM64 gcc trunk

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

[Bug c++/118524] [15 Regression] Wrong assembler for string view literals with embedded null characters on ARM64 gcc trunk

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

[Bug target/113257] -march=native or -mcpu=native are ineffective, but -march=native -mcpu=native works on arm64 M2 Ultra

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257 --- Comment #10 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:1ff85affe46623fe1a970de95887df22f4da9d16 commit r15-6970-g1ff85affe46623fe1a970de95887df22f4da9d16 Author: Tamar Christina Date

[Bug target/110901] -march does not override -mcpu in calls to assembler

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110901 --- Comment #6 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:773beeaafb0ea31bd4e308b64781731d64b571ce commit r15-6969-g773beeaafb0ea31bd4e308b64781731d64b571ce Author: Tamar Christina Date:

[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

2025-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067 --- Comment #8 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:d9835825b3d7193b3d6669174f4386be2cb1 commit r15-6968-gd9835825b3d7193b3d6669174f4386be2cb1 Author: Vladimir N. Makarov

[Bug c++/118524] New: Wrong assembler for string view literals on ARM64 gcc trunk

2025-01-16 Thread filip.svensson at embeddev dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118524 Bug ID: 118524 Summary: Wrong assembler for string view literals on ARM64 gcc trunk Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118523] [15 regression] std::vector C++20 Wuninitialized false positive at -O2

2025-01-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118523 --- Comment #2 from maic --- Yes, thanks! This looks like a dup. When running in valgrind I also get "Conditional jump or move depends on uninitialised value(s)"

[Bug c++/118524] [15 Regression] Wrong assembler for string view literals with embedded null characters on ARM64 gcc trunk

2025-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118524 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, wrong-code

[Bug fortran/118499] Exponentiation of UNSIGNED is rejected

2025-01-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-01-16 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #18 from Benjamin Schulz --- Interesting. Similarly as in clang, after the printf issue was resolved, a simple test script shows: Number of available devices 1 but also, firsttest runs on target Well, I have a gpu, and a cpu. th

[Bug tree-optimization/118523] [15 regression] std::vector C++20 Wuninitialized false positive at -O2

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

[Bug tree-optimization/118523] New: [15 regression] std::vector C++20 Wuninitialized false positive

2025-01-16 Thread gnu.ojxq8 at dralias dot com via Gcc-bugs
{ std::vector a{}; bool b{}; }; struct B2 { B2(S = {}); }; struct E : public B2 { E(S opts = {}) : B2{opts} {} }; void fun() { E{}; } Warning: /opt/compiler-explorer/gcc-trunk-20250116/include/c++/15.0.1/bits/stl_vector.h:1118:41: warning: '.S::a.std::vector::std::_Vector

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-01-16 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #17 from Benjamin Schulz --- -U_FORTIFY_SOURCE worked. Thanks Sam.

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2025-01-16 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #16 from Benjamin Schulz --- "BTW, if you're calling "new" in the offload kernel then you're probably "doing it wrong"," I do not think so. For more complex mathematical algorithms, there are many situations, where we need temporary

  1   2   3   >