[Bug c++/118486] [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118486 Tobias Burnus changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from Tobia

[Bug middle-end/118473] ELF visibility of compiler declared symbols

2025-01-14 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118473 --- Comment #4 from jbeulich at suse dot com --- (In reply to Andrew Pinski from comment #1) > Does this happen only for x86_64 or also for aarch64? As per a quick experiment - yes, same issue there. Not surprising considering that both targets

[Bug c++/118486] [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118486 --- Comment #1 from Tobias Burnus --- For the first case, omp_declare_variant_finalize_one's 8550variant = finish_call_expr (variant, &args, /*disallow_virtual=*/false, has (gdb) p debug(variant) TARGET_EXPR But after 8555 var

[Bug ipa/118400] [14/15 Regression] memory leak of irange at evaluate_properties_for_edge (ipa-fnsummary.cc:690) since r14-2121

2025-01-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118400 --- Comment #7 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #6) > Maybe use > >m_vec->truncate (0); >return; > > for simplicity? Then I'll have to retest ;) But I agree it is simpler that way.

[Bug target/118182] RISC-V: Miscompile for 410.bwaves, 416.gamess and 465.tonto from spec2006

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118182 --- Comment #3 from GCC Commits --- The master branch has been updated by Kito Cheng : https://gcc.gnu.org/g:40ad10f708b19d3e88948ac820fbfb9f3c3689ae commit r15-6906-g40ad10f708b19d3e88948ac820fbfb9f3c3689ae Author: Kito Cheng Date: Mon Dec

[Bug ipa/118484] ICE during IPA pass: cp, segfault in determine_versionability ipa-cp.cc:467

2025-01-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118484 --- Comment #2 from Thomas Schwinge --- Not sure to which extent it's related, but "[OpenMP] Static class members not implicitly captured from derived classes" also discusses this test case.

[Bug middle-end/32434] #pragma GCC visibility causes invalid relocation to __stach_chk_guard

2025-01-14 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32434 jbeulich at suse dot com changed: What|Removed |Added CC||jbeulich at suse dot com --- C

[Bug ipa/118484] ICE during IPA pass: cp, segfault in determine_versionability ipa-cp.cc:467

2025-01-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118484 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/109849] suboptimal code for vector walking loop

2025-01-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #39 from rguenther at suse dot de --- On Wed, 15 Jan 2025, arseny.kapoulkine at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 > > Arseny Kapoulkine changed: > >What|Removed

[Bug ipa/118400] [14/15 Regression] memory leak of irange at evaluate_properties_for_edge (ipa-fnsummary.cc:690) since r14-2121

2025-01-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118400 --- Comment #6 from rguenther at suse dot de --- On Tue, 14 Jan 2025, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118400 > > --- Comment #5 from Jakub Jelinek --- > So I think we want > 2025-01-14 Jakub Jel

[Bug target/115777] [12/13/14/15 regression] Severe performance regression on insertion sort at -O2 or above

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115777 --- Comment #11 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:21edcb95340424efe2e66831f3b32cbab9cc6d31 commit r15-6905-g21edcb95340424efe2e66831f3b32cbab9cc6d31 Author: Richard Biener Date:

[Bug c++/118486] New: [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118486 Bug ID: 118486 Summary: [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong Product: gcc Version: 15.0 Status: UNCONFIRMED K

[Bug fortran/71884] ICE in gfc_trans_allocate, at fortran/trans-stmt.c:5582 and :5698

2025-01-14 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71884 --- Comment #9 from kargls at comcast dot net --- (In reply to anlauf from comment #8) > Created attachment 60157 [details] > Patch > > This patch rejects NULL() as source-expr, without or with MOLD. > > I believe that F03:C632 can be interprete

[Bug lto/118238] [15 Regression] gcc/lto-wrapper.cc uses link which is not recommend and does not exist on mingw

2025-01-14 Thread mjires at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118238 Michal Jireš changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug lto/118238] [15 Regression] gcc/lto-wrapper.cc uses link which is not recommend and does not exist on mingw

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118238 --- Comment #5 from GCC Commits --- The master branch has been updated by Michal Jires : https://gcc.gnu.org/g:ed1233115c9c60b0174fa99913ba6bd61e81edd7 commit r15-6904-ged1233115c9c60b0174fa99913ba6bd61e81edd7 Author: Michal Jires Date: Mon

[Bug target/118485] [15 Regression] gnat fails to build on m68k-linux-gnu-gnu

2025-01-14 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118485 --- Comment #1 from Matthias Klose --- trunk 20241223 did also built that successfully.

[Bug target/118485] New: [15 Regression] gnat fails to build on m68k-linux-gnu-gnu

2025-01-14 Thread doko at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with 20250114 on the trunk targeting a m68k-linux-gnu compiler on x86_64-linux-gnu, the build fails with raised STORAGE_ERROR : stack

[Bug tree-optimization/118475] [15 regression] dosbox-staging-0.82.0 miscompiled? (fails dos_files, shell_cmds tests)

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118475 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target Mil

[Bug target/80881] Implement Windows native TLS

2025-01-14 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #93 from Julian Waters --- I've revised the patch to implement the desired configure semantics. If anyone wants to test the Latest TLS out I'd appreciate it (To ensure that it works on more than just my own laptop. Please do check if

[Bug target/80881] Implement Windows native TLS

2025-01-14 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 Julian Waters changed: What|Removed |Added Attachment #59516|0 |1 is obsolete|

[Bug target/118170] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:9790 with -mcpu=tt-ascalon-d8 and _Float16

2025-01-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118170 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/118170] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:9790 with -mcpu=tt-ascalon-d8 and _Float16

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118170 --- Comment #5 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:d6f1961e68092fda35ce064ef45d1dbec780c624 commit r15-6903-gd6f1961e68092fda35ce064ef45d1dbec780c624 Author: Anton Blanchard Date: Tue

[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2025-01-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 --- Comment #12 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:cab2e12362287bd50f9abdd7fb5a775138e02d1b commit r15-6902-gcab2e12362287bd50f9abdd7fb5a775138e02d1b Author: Richard Sandiford Date: T

[Bug tree-optimization/102705] [12/13/14/15 Regression] Dead Code Elimination Regression at -O3 since r12-2637-g145bc41dae7c7bfa093d61e77346f98e6a595a0e

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102705 --- Comment #10 from Andrew Pinski --- Created attachment 60159 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60159&action=edit Patch which I am testing Still need to add a few testcases.

[Bug c++/105220] [CWG2589] concept evaluation and friendship

2025-01-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105220 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/102705] [12/13/14/15 Regression] Dead Code Elimination Regression at -O3 since r12-2637-g145bc41dae7c7bfa093d61e77346f98e6a595a0e

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

[Bug middle-end/109849] suboptimal code for vector walking loop

2025-01-14 Thread arseny.kapoulkine at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 Arseny Kapoulkine changed: What|Removed |Added CC||arseny.kapoulkine at gmail dot com

[Bug c++/118482] Mutually dependent decltype ICE

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118482 --- Comment #2 from Andrew Pinski --- ``` using what_type = decltype( [](auto&& self, decltype([](decltype(self)&){}) x = {}){ return x; }); what_type x; int main() { if (x(x)) return 1; } ```

[Bug c++/118482] Mutually dependent decltype ICE

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118482 Andrew Pinski changed: What|Removed |Added Blocks||107430 --- Comment #1 from Andrew Pinsk

[Bug ipa/118484] New: ICE during IPA pass: cp in determine_versionability ipa-cp.cc:467

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118484 Bug ID: 118484 Summary: ICE during IPA pass: cp in determine_versionability ipa-cp.cc:467 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid

[Bug tree-optimization/118483] New: Missed optimization due to cast being used more than once

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 Bug ID: 118483 Summary: Missed optimization due to cast being used more than once Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug c++/118482] New: Mutually dependent decltype ICE

2025-01-14 Thread pashade1 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118482 Bug ID: 118482 Summary: Mutually dependent decltype ICE Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/118456] [15 Regression] wrong code due to ifcombine since r15-6773

2025-01-14 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118456 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97747] [12/13/14/15 Regression] missed combine opt with logical ops after zero extended load

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97747 Andrew Pinski changed: What|Removed |Added Blocks||19466 Assignee|pinskia at gcc

[Bug fortran/71884] ICE in gfc_trans_allocate, at fortran/trans-stmt.c:5582 and :5698

2025-01-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71884 --- Comment #8 from anlauf at gcc dot gnu.org --- Created attachment 60157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60157&action=edit Patch This patch rejects NULL() as source-expr, without or with MOLD. I believe that F03:C632 can b

[Bug target/118460] [14/15 Regression] ICE on armv8.1-m.main with -mfloat-abi=hard

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

[Bug target/118480] Power9 target generates poor code for vector char splat immediate.

2025-01-14 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480 --- Comment #2 from Steven Munroe --- Created attachment 60156 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60156&action=edit Examples for vector quadword shift by const immediate for POWER9 Compile with gcc -O3 -Wall -S -mcpu=power9 -m

[Bug tree-optimization/118481] missed removing of an if at the gimple level

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

[Bug tree-optimization/118481] New: missed removing of an if at the gimple level

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118481 Bug ID: 118481 Summary: missed removing of an if at the gimple level Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization, TREE Severity: normal

[Bug tree-optimization/118476] [12/13/14 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > > But this also means there might be some missed optimizations now on the > trunk due to that. Let me find a testcase. I can't find a testcase that is a regre

[Bug d/118449] [15 regression] libphobos.init_fini/custom_gc.d FAILs

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

[Bug d/118438] [15 Regression] libgphobos fails to build on s390x-linux-gnu

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

[Bug d/118448] [15 regression] libdruntime lacks Solaris SO_REUSEPORT

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

[Bug tree-optimization/118476] [12/13/14 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #9 from Andrew Pinski --- So backporting the fix for PR 116412 will also fix the issue here too. But still leave the latent bug in phiopt. The reason is that EVRP does the folding of: Folding statement: iftmp.1_9 = VIEW_CONVERT_EXPR(

[Bug d/118448] [15 regression] libdruntime lacks Solaris SO_REUSEPORT

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118448 --- Comment #3 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:c8894b681143041205d41e02ede112cef082bf2f commit r15-6899-gc8894b681143041205d41e02ede112cef082bf2f Author: Iain Buclaw Date: Tue J

[Bug d/118449] [15 regression] libphobos.init_fini/custom_gc.d FAILs

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118449 --- Comment #5 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:c8894b681143041205d41e02ede112cef082bf2f commit r15-6899-gc8894b681143041205d41e02ede112cef082bf2f Author: Iain Buclaw Date: Tue J

[Bug d/118438] [15 Regression] libgphobos fails to build on s390x-linux-gnu

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118438 --- Comment #5 from GCC Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:c8894b681143041205d41e02ede112cef082bf2f commit r15-6899-gc8894b681143041205d41e02ede112cef082bf2f Author: Iain Buclaw Date: Tue J

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

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

[Bug tree-optimization/118476] [12/13/14 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #8 from Andrew Pinski --- Yes it is fully fixed on the trunk and not latent due to PR 116412 . A patch like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116412#c4 I think should be enough to fix the issue for older GCC.

[Bug target/118480] Power9 target generates poor code for vector char splat immediate.

2025-01-14 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480 --- Comment #1 from Steven Munroe --- Strangely the ticks that seem to work for positive immediate values (see test_slqi_char_18_V3 above) fail (generate and .rodata load) for negative values. For example the shift count for 110 (110-128 = -18)

[Bug target/118480] New: Power9 target generates poor code for vector char splat immediate.

2025-01-14 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118480 Bug ID: 118480 Summary: Power9 target generates poor code for vector char splat immediate. Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/118478] [OpenMP][5.0] Use defined assignment for FIRSTPRIVATE etc., if available

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118478 --- Comment #1 from Tobias Burnus --- Same Issue with C++ and the copy constructor. It seems as, technically, there are two new copies + assignments with !$omp target firstprivate(x) [Cf. OpenMP Spec Pull Req. 4435] - Namely: one when creat

[Bug tree-optimization/118476] [12/13/14 Regression] Internal compiler error, invalid 'PHI' argument since GCC8

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Summary|[14

[Bug tree-optimization/118476] [14 Regression] Internal compiler error, invalid 'PHI' argument since r14-573-g69f1a8af45d8a4

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #6 from Andrew Pinski --- Created attachment 60155 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60155&action=edit testcase that is failing since at least GCC 10

[Bug tree-optimization/118476] [14 Regression] Internal compiler error, invalid 'PHI' argument since r14-573-g69f1a8af45d8a4

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 Andrew Pinski changed: What|Removed |Added Summary|[14 Regression] Internal|[14 Regression] Internal

[Bug ipa/118476] [14 Regression] Internal compiler error: in predicate_for_phi_result, at ipa-fnsummary.cc:2447

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #4 from Andrew Pinski --- The problem is the patch for GCC 14 will be different from the patch from the trunk as the trunk uses gimple_extract which was fixed with the patch for PR 116412. This was introduced by

[Bug ipa/118476] [14 Regression] Internal compiler error: in predicate_for_phi_result, at ipa-fnsummary.cc:2447

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2025-01-14 00:00:00 | Assignee|unassigned at gcc d

[Bug ipa/118476] [14 Regression] Internal compiler error: in predicate_for_phi_result, at ipa-fnsummary.cc:2447

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

[Bug ipa/118476] [14 Regression] Internal compiler error: in predicate_for_phi_result, at ipa-fnsummary.cc:2447

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 --- Comment #1 from Andrew Pinski --- : In function 'vext_p64': :10:1: error: invalid 'PHI' argument 10 | } | ^ a _11 = PHI during GIMPLE pass: phiopt :10:1: internal compiler error: verify_gimple failed Let me look into this.

[Bug analyzer/118474] -Wanalyzer-allocation-size false positive with -O0 -fsanitize=integer-divide-by-zero -fanalyzer

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118474 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic, false-positive --- Comment

[Bug d/118477] Race condition in 'd' Make-lang.in

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

[Bug fortran/118479] [OpenMP] Warn if a non-definable/INTENT(IN) appears in a 'from' clause or with a map-exiting map type (from, tofrom, or storage)

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118479 --- Comment #1 from Tobias Burnus --- We also need to handle implicit mapping with INTENT(IN) – in which case it should decay a 'from' should decay to 'release' on map exiting.

[Bug ipa/118400] [14/15 Regression] memory leak of irange at evaluate_properties_for_edge (ipa-fnsummary.cc:690) since r14-2121

2025-01-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118400 --- Comment #5 from Jakub Jelinek --- So I think we want 2025-01-14 Jakub Jelinek PR ipa/118400 * vec.h (vec::release): Call vec_destruct in the using_auto_storage () case. --- gcc/vec.h.jj2025-01-02 11:23:13

[Bug ipa/118400] [14/15 Regression] memory leak of irange at evaluate_properties_for_edge (ipa-fnsummary.cc:690) since r14-2121

2025-01-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118400 --- Comment #4 from Jakub Jelinek --- This looks like a serious vec.h bug to me. avals->m_known_value_ranges member is auto_vec. ipa-fnsummary.cc does on that if (!avals->m_known_value_ranges.length ())

[Bug fortran/118479] New: [OpenMP] Warn if a non-definable/INTENT(IN) appears in a 'from' clause or with a map-exiting map type (from, tofrom, or storage)

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118479 Bug ID: 118479 Summary: [OpenMP] Warn if a non-definable/INTENT(IN) appears in a 'from' clause or with a map-exiting map type (from, tofrom, or storage) Product: gcc

[Bug c++/86883] Unexpected error: expansion pattern '' contains no argument packs

2025-01-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86883 --- Comment #7 from Patrick Palka --- Another testcase (based off of the PR118454 testcase): template using identity = T; template struct A; template struct B { template struct dual; template using ty1 = dual, Vs...>; template usin

[Bug c++/118355] [12/13/14/15 Regression] cannot assign empty braced-init-list to struct containing array

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118355 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:e939005c496dfd4058fa57b6860bfadcabe4a111 commit r15-6897-ge939005c496dfd4058fa57b6860bfadcabe4a111 Author: Marek Polacek Date: Mo

[Bug c++/118355] [12/13/14 Regression] cannot assign empty braced-init-list to struct containing array

2025-01-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118355 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression]

[Bug c++/118047] [12/13/14 Regression] Incorrect list initialization of vector of struct of array of struct of enum since r12-7803-gf0530882d99abc

2025-01-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Marek Polacek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression]

[Bug middle-end/118473] ELF visibility of compiler declared symbols

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118473 --- Comment #3 from Andrew Pinski --- Also the bad relocation is recorded as pr 32434

[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum since r12-7803-gf0530882d99abc

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:e939005c496dfd4058fa57b6860bfadcabe4a111 commit r15-6897-ge939005c496dfd4058fa57b6860bfadcabe4a111 Author: Marek Polacek Date: M

[Bug middle-end/118473] ELF visibility of compiler declared symbols

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118473 --- Comment #2 from Andrew Pinski --- Also do you have a simple Testcase?

[Bug middle-end/118473] ELF visibility of compiler declared symbols

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118473 --- Comment #1 from Andrew Pinski --- So I think __stack_chk_guard is special and handled in the backend rather than the middle end so the visibility will need to be handled in the backend. Does this happen only for x86_64 or also for aarch64?

[Bug fortran/118478] New: [OpenMP][5.0] Use defined assignment for FIRSTPRIVATE etc., if available

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118478 Bug ID: 118478 Summary: [OpenMP][5.0] Use defined assignment for FIRSTPRIVATE etc., if available Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openm

[Bug c++/118469] ICE in lexical parser if too many open parentheses

2025-01-14 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118469 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug d/118477] Race condition in 'd' Make-lang.in

2025-01-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118477 --- Comment #3 from Sam James --- Intention was to link to the thread and not endorse a particular patch within.

[Bug d/118477] Race condition in 'd' Make-lang.in

2025-01-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118477 --- Comment #2 from Jakub Jelinek --- Or https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673428.html Both should work.

[Bug tree-optimization/118468] vectorizer: if conversion does not handle early exit well

2025-01-14 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118468 Andi Kleen changed: What|Removed |Added Summary|vectorizer: extra phi |vectorizer: if conversion

[Bug d/118477] Race condition in 'd' Make-lang.in

2025-01-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118477 Sam James changed: What|Removed |Added CC||arsen at gcc dot gnu.org,

[Bug d/118477] New: Race condition in 'd' Make-lang.in

2025-01-14 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118477 Bug ID: 118477 Summary: Race condition in 'd' Make-lang.in Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d A

[Bug ipa/118476] [14 Regression] Internal compiler error: in predicate_for_phi_result, at ipa-fnsummary.cc:2447

2025-01-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Summary|Inte

[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2025-01-14 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #9 from sandra at gcc dot gnu.org --- The just-committed patches implemented most of the support for dynamic selectors including user/condition. Remaining bugs are as noted in Comment 7: allowing references to parameter variables of

[Bug middle-end/114596] [OpenMP] "declare variant" scoring seems incorrect for construct selectors

2025-01-14 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114596 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug middle-end/118472] [15 Regression] ICE : tree check: expected none of vector_type, have vector_type in operand_equal_p, at fold-const.cc:3749

2025-01-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118472 --- Comment #3 from Tamar Christina --- reducer: typedef int a; typedef struct { a b __attribute__((__vector_size__(8))) } c; typedef a d __attribute__((__vector_size__(8))); c e, f, g; d h, j; void k() { c l; l.b[1] = 0; c m = l;

[Bug ipa/118400] [14/15 Regression] memory leak of irange at evaluate_properties_for_edge (ipa-fnsummary.cc:690) since r14-2121

2025-01-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118400 Jakub Jelinek changed: What|Removed |Added Summary|[14/15 Regression] memory |[14/15 Regression] memory

[Bug target/118460] [14/15 Regression] ICE on armv8.1-m.main with -mfloat-abi=hard

2025-01-14 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118460 --- Comment #2 from Torbjorn SVENSSON --- std::hypot() is actually expanded to a min/max like expression. Anyhow, I've reduced it further down to the following C snippet: $ cat pr118460.c _Float16 bar(_Float16 x, _Float16 y) { return x < y ?

[Bug tree-optimization/118140] [14/15 Regression] ifcvt miscompiles program at -O3 since r14-5076-g01c18f58d37 for riscv and aarch64 (with SVE)

2025-01-14 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118140 Robin Dapp changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/113904] [OpenMP][5.0][5.1] Dynamic context selector 'user={condition(expr)}' not handled

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904 --- Comment #8 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:1294b819e1207c0ae76db29a75256f3fafd5f262 commit r15-6895-g1294b819e1207c0ae76db29a75256f3fafd5f262 Author: Sandra Loosemore Dat

[Bug middle-end/114596] [OpenMP] "declare variant" scoring seems incorrect for construct selectors

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114596 --- Comment #9 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:1294b819e1207c0ae76db29a75256f3fafd5f262 commit r15-6895-g1294b819e1207c0ae76db29a75256f3fafd5f262 Author: Sandra Loosemore Dat

[Bug middle-end/112779] [OpenMP] Support omp Metadirectives

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112779 --- Comment #2 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:1294b819e1207c0ae76db29a75256f3fafd5f262 commit r15-6895-g1294b819e1207c0ae76db29a75256f3fafd5f262 Author: Sandra Loosemore Dat

[Bug tree-optimization/118140] [14/15 Regression] ifcvt miscompiles program at -O3 since r14-5076-g01c18f58d37 for riscv and aarch64 (with SVE)

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118140 --- Comment #19 from GCC Commits --- The releases/gcc-14 branch has been updated by Robin Dapp : https://gcc.gnu.org/g:9b8488f662b070933d0427df22811bf1eaac661e commit r14-11210-g9b8488f662b070933d0427df22811bf1eaac661e Author: Robin Dapp Date

[Bug lto/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #7 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:1294b819e1207c0ae76db29a75256f3fafd5f262 commit r15-6895-g1294b819e1207c0ae76db29a75256f3fafd5f262 Author: Sandra Loosemore Date

[Bug tree-optimization/118456] [15 Regression] wrong code due to ifcombine since r15-6773

2025-01-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118456 --- Comment #7 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:22fe3c05d86b52c35850918bfb21e1f597e1b5c7 commit r15-6893-g22fe3c05d86b52c35850918bfb21e1f597e1b5c7 Author: Alexandre Oliva Date:

[Bug c++/118398] Resolving lambda expression decltype prioritized over the option to consider failed required concept using that type as argument

2025-01-14 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118398 --- Comment #10 from mauro russo --- As comment about point (a), I hope to be right in referring the following standard text from [temp.constr.normal]-p(1.4): "The normal form of a concept-id C is the normal form of the constraint-expression of

[Bug ipa/118476] New: Internal compiler error: in predicate_for_phi_result, at ipa-fnsummary.cc:2447

2025-01-14 Thread egori at altlinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118476 Bug ID: 118476 Summary: Internal compiler error: in predicate_for_phi_result, at ipa-fnsummary.cc:2447 Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severit

[Bug tree-optimization/118475] [15 regression] dosbox-staging-0.82.0 miscompiled? (fails dos_files, shell_cmds tests)

2025-01-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118475 --- Comment #4 from Sam James --- I'm wondering if this is PR118396.

[Bug tree-optimization/118475] [15 regression] dosbox-staging-0.82.0 miscompiled? (fails dos_files, shell_cmds tests)

2025-01-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118475 --- Comment #3 from Sam James --- With 14, I don't see any of the uninit warnings.

[Bug tree-optimization/118475] [15 regression] dosbox-staging-0.82.0 miscompiled? (fails dos_files, shell_cmds tests)

2025-01-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118475 --- Comment #2 from Sam James --- Created attachment 60154 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60154&action=edit sblaster.cpp.ii.xz

[Bug tree-optimization/118475] [15 regression] dosbox-staging-0.82.0 miscompiled? (fails dos_files, shell_cmds tests)

2025-01-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118475 --- Comment #1 from Sam James --- > > Valgrind complains about uninitialised variables: > ``` > ==903347== Conditional jump or move depends on uninitialised value(s) > ==903347==at 0x794D60: ~__shared_count (shared_ptr_base.h:1069) > ==9033

  1   2   >