[Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)

2023-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110673 --- Comment #2 from Sam James --- Created attachment 55548 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55548=edit reduced.i

[Bug tree-optimization/110666] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666 --- Comment #6 from Andrew Pinski --- (In reply to Zhendong Su from comment #5) > A couple of very likely related tests (especially #2 and #3): > > *** (1) wrong code at -O2, -O3, and -Os case 1 is a phiopt issue (PR 110252). > *** (2)

[Bug tree-optimization/110666] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666 --- Comment #5 from Zhendong Su --- A couple of very likely related tests (especially #2 and #3): *** (1) wrong code at -O2, -O3, and -Os [539] % gcctk -O1 small.c; ./a.out [540] % gcctk -O2 small.c [541] % timeout -s 9 5 ./a.out Killed [542]

[Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)

2023-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110673 --- Comment #1 from Sam James --- Created attachment 55547 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55547=edit test_unit_entropy.c.i This is what cvise popped out, it's borderline invalid though, so let me touch it up.

[Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)

2023-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110673 Bug ID: 110673 Summary: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) Product: gcc

[Bug tree-optimization/110204] [14 Regression] Suspicous warning when compiling ranges-v3 using GCC trunk (iteration 9223372036854775807 invokes undefined behavior)

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110204 Andrew Pinski changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/110204] [14 Regression] Suspicous warning when compiling ranges-v3 using GCC trunk (iteration 9223372036854775807 invokes undefined behavior)

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110204 --- Comment #3 from Andrew Pinski --- PRE leaves around: [local count: 118111600]: ... pretmp_163 = 0; [local count: 19488414]: if (pretmp_163 != 0) goto ; [59.00%] else goto ; [41.00%]

[Bug tree-optimization/110204] [14 Regression] Suspicous warning when compiling ranges-v3 using GCC trunk (iteration 9223372036854775807 invokes undefined behavior)

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110204 --- Comment #2 from Andrew Pinski --- The preprocessed source that is produced by GCC 13 is warning free.

[Bug tree-optimization/110252] [14 Regression] Wrong code at -O2/3/s on x86_64-linux-gnu

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110252 --- Comment #16 from Andrew Pinski --- Updated patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624563.html (depends on: https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624562.html )

[Bug tree-optimization/110672] vec.h:1023:9: error: 'new_temp' may be used uninitialized [-Werror=maybe-uninitialized]

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

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 Andrew Pinski changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment

[Bug tree-optimization/110672] New: vec.h:1023:9: error: 'new_temp' may be used uninitialized [-Werror=maybe-uninitialized]

2023-07-14 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110672 Bug ID: 110672 Summary: vec.h:1023:9: error: 'new_temp' may be used uninitialized [-Werror=maybe-uninitialized] Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/110206] [14 Regression] wrong code with -Os -march=cascadelake since r14-1246

2023-07-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110206 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|14.0

[Bug rtl-optimization/110206] [14 Regression] wrong code with -Os -march=cascadelake since r14-1246

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110206 --- Comment #19 from CVS Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:eeb8e9a36d7aa9bc4ac8b0d7abe1e84e9afc4250 commit r12-9774-geeb8e9a36d7aa9bc4ac8b0d7abe1e84e9afc4250 Author: Uros Bizjak

[Bug c++/110344] [C++26] P2738R1 - constexpr cast from void*

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110344 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8d344146727da02eb5c62fbf6cee97a4e96d63db commit r14-2535-g8d344146727da02eb5c62fbf6cee97a4e96d63db Author: Jason Merrill Date:

[Bug middle-end/87944] Wrong code with LRA pushing stack local variable

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87944 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED

[Bug tree-optimization/110666] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug ipa/93385] [11 Regression] wrong code with u128 modulo at -O2 -fno-dce -fno-ipa-cp -fno-tree-dce

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 Andrew Pinski changed: What|Removed |Added CC||19373742 at buaa dot edu.cn --- Comment

[Bug ipa/110662] [11 Regression] Segmentation fault with '-O3'

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110662 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/110662] [11 Regression] Segmentation fault with '-O3'

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110662 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5 Summary|Segmentation

[Bug rtl-optimization/110206] [14 Regression] wrong code with -Os -march=cascadelake since r14-1246

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110206 --- Comment #18 from CVS Commits --- The releases/gcc-13 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:bef95ba085b0ae9bf3eb79a8eed685236d773116 commit r13-7565-gbef95ba085b0ae9bf3eb79a8eed685236d773116 Author: Uros Bizjak

[Bug target/59172] pdp11-aout makes a wrong code at the epilogue

2023-07-14 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59172 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

[Bug libstdc++/108556] std::sort changes objects' member values

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108556 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew

[Bug libstdc++/553] Call to sort () results in segfault

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=553 Andrew Pinski changed: What|Removed |Added CC||gnu.iodaj at simplelogin dot com ---

[Bug tree-optimization/110671] New: ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in gimple_phi_arg_def_from_edge, at gimple.h:4699

2023-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20230714 (experimental) (GCC) [632] % [632] % gcctk -O2 -c small.c during GIMPLE pass: sccp small.c: In function ‘main

[Bug fortran/99139] ICE: gfc_get_default_type(): Bad symbol '__tmp_UNKNOWN_0_rank_1'

2023-07-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99139 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to fail||10.5.0, 11.4.0, 12.3.0,

[Bug target/110657] BPF verifier rejects generated code due to invalid stack access

2023-07-14 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110657 Jose E. Marchesi changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/110657] BPF verifier rejects generated code due to invalid stack access

2023-07-14 Thread kris.van.hees at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110657 --- Comment #7 from Kris Van Hees --- Confirmed that it resolves the issue Thanks!

[Bug fortran/110288] [11/12/13/14] Regression: segfault in findloc with allocatable array of allocatable characters

2023-07-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110288 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/110288] [11/12/13/14] Regression: segfault in findloc with allocatable array of allocatable characters

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110288 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a348245bfb018f02b36d22575380b34aef58f52c commit r11-10910-ga348245bfb018f02b36d22575380b34aef58f52c Author: Harald

[Bug fortran/110288] [11/12/13/14] Regression: segfault in findloc with allocatable array of allocatable characters

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110288 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:995c717500c368c5aec7889dfa047cff7cb0139b commit r12-9773-g995c717500c368c5aec7889dfa047cff7cb0139b Author: Harald Anlauf

[Bug c/110654] inconsistent error message in presence of unexpected encoded characters

2023-07-14 Thread drepper.fsp+rhbz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110654 --- Comment #2 from Ulrich Drepper --- (In reply to Andrew Pinski from comment #1) > So this is due to differences in the languages themselves rather than due to > C vs C++ front-end ... This is certainly true for the validation. But the

[Bug fortran/110288] [11/12/13/14] Regression: segfault in findloc with allocatable array of allocatable characters

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110288 --- Comment #8 from CVS Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:447dd2924e43884d798d8c40765cbfddd0fde0ae commit r13-7564-g447dd2924e43884d798d8c40765cbfddd0fde0ae Author: Harald Anlauf

[Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5

2023-07-14 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668 Dennis Clarke changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug other/110669] [14 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b

2023-07-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110669 --- Comment #2 from David Binderman --- Reduced C code seems to be: int g_29, func_47_p_48, func_47_p_51_l_129; void func_47_p_51() { for (;;) { func_47_p_51_l_129 = 0; for (; func_47_p_51_l_129 <= 1; func_47_p_51_l_129 += 1) {

[Bug target/110647] [14 Regression] 66% TSVC/s2712 regressoin on N1-neoverse between g:620a35b24a2b6edb (2023-07-01 07:24) and g:80ae426a195a0d03 (2023-07-02 01:37)

2023-07-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110647 --- Comment #2 from Jan Hubicka --- This is a testcase based on our testuiste version so it can be copied to compiler explorer #define iterations 1 #define LEN_1D 32000 #define LEN_2D 256 #define ARRAY_ALIGNMENT 64 typedef float real_t;

[Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5

2023-07-14 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668 --- Comment #3 from Mikael Pettersson --- https://gcc.gnu.org/install/prerequisites.html, GNAT section, 4th paragraph.

[Bug other/110669] [24 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b

2023-07-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110669 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com ---

[Bug other/110669] New: [24 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b

2023-07-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110669 Bug ID: 110669 Summary: [24 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c/110670] New: tree-vect-stmts.cc:9733:11: warning: variable 'offvar' is sometimes initialised

2023-07-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110670 Bug ID: 110670 Summary: tree-vect-stmts.cc:9733:11: warning: variable 'offvar' is sometimes initialised Product: gcc Version: unknown Status: UNCONFIRMED

[Bug target/110588] btl (on x86_64) not always generated

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110588 --- Comment #3 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:43a0a5cd57eefd5a5bbead606ec4f6959af31802 commit r14-2528-g43a0a5cd57eefd5a5bbead606ec4f6959af31802 Author: Roger Sayle Date: Fri

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-07-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55542|0 |1 is obsolete|

[Bug c++/109876] [11/12/13 Regression] initializer_list not usable in constant expressions in a template

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

[Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5

2023-07-14 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668 --- Comment #2 from Dennis Clarke --- Oh darn. Is this documented anywhere in the build instructions?

[Bug c++/109876] [11/12/13/14 Regression] initializer_list not usable in constant expressions in a template

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109876 --- Comment #13 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:b5138df96a93d3b5070c88b8617eabd38cb24ab6 commit r14-2527-gb5138df96a93d3b5070c88b8617eabd38cb24ab6 Author: Marek Polacek Date:

[Bug middle-end/88873] missing vectorization for decomposed operations on a vector type

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88873 --- Comment #8 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:8911879415d6c2a7baad88235554a912887a1c5c commit r14-2526-g8911879415d6c2a7baad88235554a912887a1c5c Author: Roger Sayle Date: Fri

[Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5

2023-07-14 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

[Bug tree-optimization/110666] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666 --- Comment #3 from Andrew Pinski --- Created attachment 55544 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55544=edit Full testcase to make sure we don't create wrong code

[Bug ada/110668] New: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5

2023-07-14 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668 Bug ID: 110668 Summary: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5 Product: gcc Version: 10.5.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102854] [OpenMP] Bogus "initializer expression refers to iteration variable" when using templates

2023-07-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102854 --- Comment #4 from Tobias Burnus --- The testcase of comment 2 seems to be the same as the one of bug 106449 comment 4, which went in as r13-1887-g97d32048c04e97 openmp: Fix up handling of non-rectangular simd loops with pointer type

[Bug tree-optimization/110666] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666 --- Comment #2 from Andrew Pinski --- I totally messed up the !=1/!=0 cases for the outer eq case: Patch diff --git a/gcc/match.pd b/gcc/match.pd index 351d9285e92..3de30df8b06 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -6431,8 +6431,8 @@

[Bug middle-end/110667] gcc-14, ICE: internal compiler error: in replace_reg, at reg-stack.cc:722

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

[Bug rtl-optimization/110206] [14 Regression] wrong code with -Os -march=cascadelake since r14-1246

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110206 --- Comment #17 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:1815e313a8fb519a77c94a908eb6dafc4ce51ffe commit r14-2525-g1815e313a8fb519a77c94a908eb6dafc4ce51ffe Author: Uros Bizjak Date: Fri

[Bug tree-optimization/110666] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2023-07-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code

[Bug middle-end/110659] Error from linker: .eh_frame_hdr refers to overlapping FDEs

2023-07-14 Thread townsend at astro dot wisc.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110659 --- Comment #9 from Rich Townsend --- OK, I managed to get things working by setting export LDFLAGS='-Wl,--no-eh-frame-hdr' prior to configuring. I'm hoping this won't affect the functionality of the built compiler.

[Bug target/110649] [14 Regression] 25% sphinx3 spec2006 regression on Ice Lake and zen between g:acaa441a98bebc52 (2023-07-06 11:36) and g:55900189ab517906 (2023-07-07 00:23)

2023-07-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649 --- Comment #4 from Jan Hubicka --- We also have PR98782 that is about sphinx being sensitive to LRA decisions. Reducing loopback probability might trigger LRA adding a spill to the loop.

[Bug target/110649] [14 Regression] 25% sphinx3 spec2006 regression on Ice Lake and zen between g:acaa441a98bebc52 (2023-07-06 11:36) and g:55900189ab517906 (2023-07-07 00:23)

2023-07-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649 Jan Hubicka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/54089] [SH] Refactor shift patterns

2023-07-14 Thread klepikov.alex+bugs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 Alexander Klepikov changed: What|Removed |Added Attachment #55503|0 |1 is obsolete|

[Bug c/110667] New: gcc-14, ICE: internal compiler error: in replace_reg, at reg-stack.cc:722

2023-07-14 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110667 Bug ID: 110667 Summary: gcc-14, ICE: internal compiler error: in replace_reg, at reg-stack.cc:722 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/110666] New: wrong code at -O1 and above on x86_64-linux-gnu

2023-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20230714 (experimental) (GCC) [502] % [502] % gcctk -O0 small.c; ./a.out [503] % gcctk -O1 small.c; ./a.out Aborted [504] % cat small.c int a; int

[Bug target/110665] RISC-V do not preserve vector registers in interrupt handler

2023-07-14 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 --- Comment #2 from Lehua Ding --- I just found the relevant specification and the specification seems to require that the vector registers used be saved. > The interrupt attribute specifies that a function is an interrupt handler. > The

[Bug target/110665] RISC-V do not preserve vector registers in interrupt handler

2023-07-14 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 --- Comment #1 from Lehua Ding --- If it's a problem, I'm willing to fix it.

[Bug target/110665] New: RISC-V do not preserve vector registers in interrupt handler

2023-07-14 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110665 Bug ID: 110665 Summary: RISC-V do not preserve vector registers in interrupt handler Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/109112] [[assume(...)]] is not taken into account for structs

2023-07-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109112 --- Comment #8 from Jakub Jelinek --- (In reply to Jason Merrill from comment #7) > Why don't the existing optimizations work on the artificial function the > same as any other function? i.e. like > > struct S { bool x; }; > void

[Bug middle-end/87944] Wrong code with LRA pushing stack local variable

2023-07-14 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87944 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

[Bug target/110657] BPF verifier rejects generated code due to invalid stack access

2023-07-14 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110657 --- Comment #6 from Jose E. Marchesi --- Hello Kris. The commit above (now in gcc master) should fix the issue. Can you please confirm? Thanks!

[Bug target/110657] BPF verifier rejects generated code due to invalid stack access

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110657 --- Comment #5 from CVS Commits --- The master branch has been updated by Jose E. Marchesi : https://gcc.gnu.org/g:53d12ecd624ec901d8449cfa1917f6f90e910927 commit r14-2522-g53d12ecd624ec901d8449cfa1917f6f90e910927 Author: Jose E. Marchesi

[Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #20 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:71e4d568b1264bca46d30c5fc4933f137d05ca24 commit r14-2520-g71e4d568b1264bca46d30c5fc4933f137d05ca24 Author: Mikael Morin Date:

[Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #21 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:9206641d0899e4bae3ad6765129661ff3bcc423a commit r14-2521-g9206641d0899e4bae3ad6765129661ff3bcc423a Author: Mikael Morin Date:

[Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #19 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:e93452a5712e87ba624562ba7164b1e1394d18fb commit r14-2519-ge93452a5712e87ba624562ba7164b1e1394d18fb Author: Mikael Morin Date:

[Bug bootstrap/110550] libintl build without -fPIC even though --enable-shared is configured

2023-07-14 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110550 --- Comment #2 from Sascha Wilde --- (please excuse my late reply) Indeed without jit the build works as expected. However, jit is the primary reason I'm building gcc on NetBSD. Building relocateable code also in the supporting libraries is

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-07-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-07-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55538|0 |1 is obsolete|

[Bug c/110664] New: -std=c2x -pedantic-errors pedwarns on _Float128

2023-07-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110664 Bug ID: 110664 Summary: -std=c2x -pedantic-errors pedwarns on _Float128 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/109156] Support Absolute Difference detection in GCC

2023-07-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109156 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/86486] GCC 8 stack clash protection on AArch64 is incomplete

2023-07-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86486 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/109154] [13/14 regression] jump threading de-optimizes nested floating point comparisons

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 --- Comment #67 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:9ed4fcfe47f28b36c73d74109898514ef4da00fb commit r14-2517-g9ed4fcfe47f28b36c73d74109898514ef4da00fb Author: Tamar Christina

[Bug tree-optimization/109154] [13/14 regression] jump threading de-optimizes nested floating point comparisons

2023-07-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 --- Comment #66 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:d8f5e349772b6652bddb0620bb178290905998b9 commit r14-2516-gd8f5e349772b6652bddb0620bb178290905998b9 Author: Tamar Christina

[Bug rtl-optimization/104914] [MIPS] wrong comparison with scrabbled int value

2023-07-14 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104914 --- Comment #14 from YunQiang Su --- New patch: diff --git a/gcc/expmed.cc b/gcc/expmed.cc index fbd4ce2d42f..66d45da67df 100644 --- a/gcc/expmed.cc +++ b/gcc/expmed.cc @@ -850,6 +850,7 @@ store_bit_field_1 (rtx str_rtx, poly_uint64 bitsize,

[Bug libgomp/110663] [OpenMP] Use 'affinity' clause for node placement for the 'task' construct

2023-07-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110663 --- Comment #1 from Tobias Burnus --- Carry on of Jakub's comment in PR99666 about implementing this: "Yeah, but not really sure if we want to do anything with it other than accept it / verify the restrictions. "The tasking is already overly

[Bug middle-end/99666] [OpenMP][5.0] Support 'affinity' clause in 'omp task'

2023-07-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99666 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/110663] New: [OpenMP] Use 'affinity' clause for node placement for the 'task' construct

2023-07-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110663 Bug ID: 110663 Summary: [OpenMP] Use 'affinity' clause for node placement for the 'task' construct Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/110653] Support std::stoi etc. without C99 APIs

2023-07-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110653 --- Comment #10 from Jonathan Wakely --- And this should fix it: --- a/libstdc++-v3/include/c_global/cstdlib +++ b/libstdc++-v3/include/c_global/cstdlib @@ -256,6 +256,20 @@ namespace std using ::__gnu_cxx::strtold; } // namespace std

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-07-14 Thread hliu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #3 from Hao Liu --- Sorry, it seems this case can not be fixed by only adjusting the calculation of "reduction latency". Even it becomes smaller, the case still can not be vectorized as the "general operations" count is still too

[Bug middle-end/110660] conditional length reduction optimization

2023-07-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110660 --- Comment #3 from rguenther at suse dot de --- On Fri, 14 Jul 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110660 > > --- Comment #2 from JuzheZhong --- > (In reply to Richard Biener from comment

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 --- Comment #6 from rguenther at suse dot de --- On Fri, 14 Jul 2023, linkw at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 > > Kewen Lin changed: > >What|Removed |Added >

[Bug libstdc++/110653] Support std::stoi etc. without C99 APIs

2023-07-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110653 --- Comment #9 from Jonathan Wakely --- (In reply to dave.anglin from comment #8) > or maybe "using::strtold" additions are needed to various cstdlib files in > gcc. Yes, that's the problem.

[Bug target/110649] [14 Regression] 25% sphinx3 spec2006 regression on Ice Lake and zen between g:acaa441a98bebc52 (2023-07-06 11:36) and g:55900189ab517906 (2023-07-07 00:23)

2023-07-14 Thread hliu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649 --- Comment #2 from Hao Liu --- Hi, I bisected the following 3 commits (sequantial): [v3] 3a61ca1b925 - Improve profile updates after loop-ch and cunroll (2023-07-06) [v2] d4c2e34deef - Improve scale_loop_profile (2023-07-06) [v1]

[Bug rtl-optimization/110206] [14 Regression] wrong code with -Os -march=cascadelake since r14-1246

2023-07-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110206 --- Comment #16 from Uroš Bizjak --- v2 patch at [1]. [1] https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624491.html

[Bug middle-end/110660] conditional length reduction optimization

2023-07-14 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110660 --- Comment #2 from JuzheZhong --- (In reply to Richard Biener from comment #1) > The vectorizer itself could do the merging which means it could also more > accurately cost things. > It's similar with ARM SVE:

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #5

[Bug ipa/110662] Segmentation fault with '-O3'

2023-07-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110662 Richard Biener changed: What|Removed |Added Keywords||wrong-code Known to fail|

[Bug c/110662] Segmentation fault with '-O3'

2023-07-14 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110662 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- The reduced sequence is -O3 -fno-dce -fno-tree-dce -fno-tree-sink