[Bug tree-optimization/116338] New: GCC is not vectoring TSVC s255 while clang can

2024-08-11 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116338 Bug ID: 116338 Summary: GCC is not vectoring TSVC s255 while clang can Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug tree-optimization/61338] too many permutation in a vectorized "reverse loop"

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61338 Andrew Pinski changed: What|Removed |Added CC||kugan at gcc dot gnu.org --- Comment #7

[Bug middle-end/116337] Reverse iterated loops has redundant code compared to clang

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

[Bug middle-end/116337] New: Reverse iterated loops has redundant code compared to clang

2024-08-11 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116337 Bug ID: 116337 Summary: Reverse iterated loops has redundant code compared to clang Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

[Bug target/116275] [15 regression] ICE when building llvm-18.1.8 (convert_insn, at config/i386/i386-features.cc:1502)

2024-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116275 --- Comment #6 from GCC Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:7a970bd03f1d8eed7703db8a8db3c753ea68899f commit r15-2880-g7a970bd03f1d8eed7703db8a8db3c753ea68899f Author: Roger Sayle Date: Mon A

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2024-08-11 Thread amylaar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30957 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||amylaar at gcc dot gnu.org ---

[Bug sanitizer/115205] ICE when using -fsanitize=hwaddress

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115205 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug fortran/114308] ICE in fold_convert_loc, at fold-const.cc:2627

2024-08-11 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308 --- Comment #5 from kargls at comcast dot net --- (In reply to kargls from comment #4) > F2023:C7124 (R781) An ac-value shall not be unlimited polymorphic. > > 3.149 > unlimited polymorphic > able to have any dynamic type (3.144.4) during progra

[Bug fortran/114308] ICE in fold_convert_loc, at fold-const.cc:2627

2024-08-11 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16 by r15-1619

2024-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #20 from GCC Commits --- The releases/gcc-13 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:617562e4e422c7bd282960b14abfffd994445009 commit r13-8971-g617562e4e422c7bd282960b14abfffd994445009 Author: liuhongt Date:

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16 by r15-1619

2024-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #19 from GCC Commits --- The releases/gcc-12 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:c94738e2462ff46f3013f6270f6a955b749d82b2 commit r12-10668-gc94738e2462ff46f3013f6270f6a955b749d82b2 Author: liuhongt Date:

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #15 from GCC Commits --- The master branch has been updated by LuluCheng : https://gcc.gnu.org/g:0498f8bda1d08b8ed8100d759917792baf2da15f commit r15-2878-g0498f8bda1d08b8ed8100d759917792baf2da15f Author: Lulu Cheng Date: Thu Aug

[Bug rtl-optimization/116294] -O2 -gno-statement-frontiers -fcompare-debug failure when building duktape-2.7.0

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116294 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > I am going to redo the reduction and if the behavior of where the debug > compare is different, I will file the first reduction seperately. PR 116336 .

[Bug rtl-optimization/116336] [14/15 Regression] LRA causes a compare debug with uninitialized variable

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 --- Comment #2 from Andrew Pinski --- The first change is in reload (LRA): without -g: Creating newreg=102 from oldreg=98, assigning class ALL_SSE_REGS to r102 13: [`duk_js_execute_bytecode_duk__tv_0_0']=r102:DF Inserting insn reload

[Bug rtl-optimization/116336] [14/15 Regression] LRA causes a compare debug with uninitialized variable

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 Andrew Pinski changed: What|Removed |Added Known to work||13.3.0 Keywords|

[Bug rtl-optimization/116336] [14/15 Regression] LRA causes a compare debug with uninitialized variable

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 Andrew Pinski changed: What|Removed |Added Keywords||ra Target Milestone|---

[Bug rtl-optimization/116336] New: [14/15 Regression] LRA causes a compare debug with uninitialized variable

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116336 Bug ID: 116336 Summary: [14/15 Regression] LRA causes a compare debug with uninitialized variable Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: comp

[Bug rtl-optimization/116294] -O2 -gno-statement-frontiers -fcompare-debug failure when building duktape-2.7.0

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116294 --- Comment #7 from Andrew Pinski --- On the original testcase this is another one of the DECL UID issues: tv__tmp$v$heaphdrD.16341

[Bug modula2/116181] -Wlto-type-mismatch warnings/errors during m2 bootstrap

2024-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116181 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:9f3b5c2314239e1d3b6e1722e676ea1935bc2836 commit r15-2876-g9f3b5c2314239e1d3b6e1722e676ea1935bc2836 Author: Gaius Mulley Date: Mon

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

2024-08-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #158 from Sam James --- (In reply to John Paul Adrian Glaubitz from comment #154) > > The error message is not visible during boot due to ">/dev/null 2>&1" at the > end of the command line. This stupid behaviour is a libtool feature

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

2024-08-11 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #157 from Kazumoto Kojima --- Created attachment 58905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58905&action=edit a revised patch for c#135, c#139 and c#154

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

2024-08-11 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #156 from Kazumoto Kojima --- Created attachment 58904 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58904&action=edit a reduced testcase for c#154 New insn_and_split mov_store_mem_index added with my patch is generated with a

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

2024-08-11 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #155 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #154) > Managed to reproduce the error with an error message: > > (unstable-sh4-sbuild)glaubitz@acrux:/build/gcc-14-7reYr0/gcc-14-14.2.0/buil

[Bug fortran/114308] ICE in fold_convert_loc, at fold-const.cc:2627

2024-08-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308 --- Comment #3 from anlauf at gcc dot gnu.org --- There may be some doubt on the validity of the testcase. Intel ifx: pr114308.f90(20): warning #9108: Polymorphic values in array constructors will be converted to their declared type. [A_ARRAY

[Bug c++/116335] New: defaulting int spaceship operator produces wrong code

2024-08-11 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116335 Bug ID: 116335 Summary: defaulting int spaceship operator produces wrong code Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug fortran/116221] -Wmaybe-uninitialized in symbol.cc's gfc_get_ha_symbol

2024-08-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116221 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFI

[Bug fortran/116221] -Wmaybe-uninitialized in symbol.cc's gfc_get_ha_symbol

2024-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116221 --- Comment #7 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2b23a444bcf7eb67cb04b431d8fd4fa6f65222de commit r15-2874-g2b23a444bcf7eb67cb04b431d8fd4fa6f65222de Author: Harald Anlauf Date: S

[Bug middle-end/116331] Math function non-determinism due to constant folding of cos

2024-08-11 Thread carl at dehlin dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116331 --- Comment #3 from Carl Dehlin --- Thanks Andrew for your quick response and confirmation of what is going on. After reading through all the excessive precision stuff I was so sure this related to it! Very interesting to see that floating poin

[Bug ipa/116333] unused result of pure function is not optimized out because of inlining

2024-08-11 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116333 --- Comment #2 from Pali Rohár --- Hello Andrew, you have wrote that this function is not optimized out because of inlining. I tried to mark _winshowcmd() function with __attribute__((noinline)) but result is similar. Function _winshowcmd() is p

[Bug lto/116334] New: LTO dllimport generates ureferenced symbol and unused code

2024-08-11 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116334 Bug ID: 116334 Summary: LTO dllimport generates ureferenced symbol and unused code Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/116333] unused result of pure function is not optimized out because of inlining

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

[Bug tree-optimization/47255] Missed CSE optimization with inline functions, and __attribute__((const))

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47255 Andrew Pinski changed: What|Removed |Added CC||pali at kernel dot org --- Comment #7 fr

[Bug lto/116333] New: unused result of pure function is not optimized out

2024-08-11 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116333 Bug ID: 116333 Summary: unused result of pure function is not optimized out Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/99274] [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)"

2024-08-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99274 Nathaniel Shead changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/116332] -O2 makes c++ std::regex give zero-alloc warnings

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116332 --- Comment #2 from Andrew Pinski --- Created attachment 58903 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58903&action=edit unpreprocessed source just in case

[Bug middle-end/116331] Math function non-determinism due to constant folding of cos

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

[Bug c/79973] atanh() constant-folds differently than it would evaluate at runtime

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79973 Andrew Pinski changed: What|Removed |Added CC||carl at dehlin dot com --- Comment #4 fr

[Bug c++/116331] Math function non-determinism due to excessive precision and constant folding

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116331 --- Comment #1 from Andrew Pinski --- Note this is not excessive precision. But rather the cos library implementation and the constant folding implementation produces slightly different answer. they differ by 1ulp. __builtin_printf("%a

[Bug c++/116332] -O2 makes c++ std::regex give zero-alloc warnings

2024-08-11 Thread junxuan_liao at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116332 --- Comment #1 from Junxuan Liao --- Created attachment 58902 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58902&action=edit preprocessed source

[Bug c++/116332] New: -O2 makes c++ std::regex give zero-alloc warnings

2024-08-11 Thread junxuan_liao at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116332 Bug ID: 116332 Summary: -O2 makes c++ std::regex give zero-alloc warnings Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/116331] New: Math function non-determinism due to excessive precision and constant folding

2024-08-11 Thread carl at dehlin dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116331 Bug ID: 116331 Summary: Math function non-determinism due to excessive precision and constant folding Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity

[Bug middle-end/116330] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building qtbase-6.7.2

2024-08-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116330 --- Comment #2 from Sam James --- I'll kick off a reduction.

[Bug middle-end/116330] -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building qtbase-6.7.2

2024-08-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116330 --- Comment #1 from Sam James --- Created attachment 58900 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58900&action=edit unity_1_cxx.cxx.ii.xz

[Bug middle-end/116330] New: -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building qtbase-6.7.2

2024-08-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116330 Bug ID: 116330 Summary: -fcompare-debug -gno-statement-frontiers failure with -O3 -march=znver3 -mshstk when building qtbase-6.7.2 Product: gcc Version: 15.0 Status: UNC

[Bug middle-end/116290] [12/13/14/15 regression] -fcompare-debug -gno-statement-frontiers -O2 failure with evolution-data-server-3.52.4

2024-08-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116290 Sam James changed: What|Removed |Added Last reconfirmed||2024-08-11 Status|UNCONFIRMED

[Bug target/116329] no sibcalling for thumb1 (cortex-m0)

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116329 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Summary|Arm M0+

[Bug target/116329] Arm M0+ doesn't do tail-call optimization

2024-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116329 --- Comment #2 from Andrew Pinski --- /* Never tailcall something if we are generating code for Thumb-1. */ if (TARGET_THUMB1) return false;