[Bug tree-optimization/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #45 from Richard Biener --- (In reply to Linus Torvalds from comment #43) > (In reply to Richard Biener from comment #42) > > > > I think if we want to avoid doing optimizations on gcov counters we should > > make them volatile. >

[Bug c++/108594] GCC ignores deleted movement constructor is not used on return

2023-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108594 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/93106] [c++2a] Deleted move constructor is not selected when returning an automatic variable

2023-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93106 Jonathan Wakely changed: What|Removed |Added CC||dev at gutoehrlein dot eu --- Comment

[Bug tree-optimization/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-30 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #43 from Linus Torvalds --- (In reply to Richard Biener from comment #42) > > I think if we want to avoid doing optimizations on gcov counters we should > make them volatile. Honestly, that sounds like the cleanest and safest

[Bug tree-optimization/108574] [13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108574 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #44 from Jakub Jelinek --- I guess we should try and see. For volatile, --- gcc/coverage.cc 2023-01-02 09:32:37.078072992 +0100 +++ gcc/coverage.cc 2023-01-30 09:24:45.219951352 +0100 @@ -774,6 +774,7 @@ build_var (tree

[Bug target/108583] [13 Regression] wrong code with vector division by uint16 at -O2

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/108582] [12/13 Regression] ICE on valid code at -Os and above with "-fno-tree-ccp -fno-tree-dce": tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_t

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108582 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/108574] [13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108574 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/108511] [13 regression] ICE in possibly_call_in_translation_unit_p, at cgraph.cc:4184 since r13-5285-g106f99406312d7ed

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108511 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ipa/108511] [13 regression] ICE in possibly_call_in_translation_unit_p, at cgraph.cc:4184 since r13-5285-g106f99406312d7ed

2023-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108511 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4c17371dc5a1193671e5a475349fa7d7a6f0ca1c commit r13-5489-g4c17371dc5a1193671e5a475349fa7d7a6f0ca1c Author: Richard Biener Date:

[Bug tree-optimization/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-30 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #46 from rguenther at suse dot de --- On Mon, 30 Jan 2023, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 > > --- Comment #44 from Jakub Jelinek --- > I guess we should try and see. > For

[Bug tree-optimization/108584] wrong code at -O2 and -O3 with "-fno-tree-ccp" on x86_64-linux-gnu

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108584 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/108574] [13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108574 --- Comment #5 from Richard Biener --- *** Bug 108584 has been marked as a duplicate of this bug. ***

[Bug fortran/108558] OpenMP/Fortran 'has_device_addr' clause getting lost?

2023-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108558 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:591ec4820aa4e6d757ddc76cae1d92d445daf72c commit r12-9090-g591ec4820aa4e6d757ddc76cae1d92d445daf72c Author: Tobias Burnus

[Bug fortran/108558] OpenMP/Fortran 'has_device_addr' clause getting lost?

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

[Bug tree-optimization/108574] [13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2023-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108574 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7ac3e69e311351b70407d7f87a0169c4d463e57b commit r13-5492-g7ac3e69e311351b70407d7f87a0169c4d463e57b Author: Richard Biener Date:

[Bug c++/108594] GCC ignores deleted movement constructor is not used on return

2023-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108594 Jonathan Wakely changed: What|Removed |Added Resolution|DUPLICATE |INVALID --- Comment #3 from Jonathan

[Bug rtl-optimization/108596] error: EDGE_CROSSING missing across section boundary

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108596 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-01-30

[Bug c++/108599] Incorrect code generation newer intel architectures for gcc 12 and 13

2023-01-30 Thread balder at yahooinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 --- Comment #1 from Henning Baldersheim --- This is spun out from https://github.com/vespa-engine/vespa/pull/25786

[Bug target/108599] [12/13 Regression] Incorrect code generation newer intel architectures

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 --- Comment #6 from Jakub Jelinek --- The bug is in ix86_convert_const_wide_int_to_broadcast. It is called with OImode and (const_wide_int 0x100010), that CONST_WIDE_INT is actually usable as broadcast from DImode 0x10, but only to

[Bug target/108599] [12/13 Regression] Incorrect code generation newer intel architectures

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |12.3 Status|UNCONFIRMED

[Bug c++/108597] [11/12/13 Regression] internal compiler error with -Wduplicated-cond

2023-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug target/108589] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 with -mtune=ampere1a -fno-split-wide-types

2023-01-30 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108589 ptomsich at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ptomsich at gcc dot

[Bug c/108596] New: error: EDGE_CROSSING missing across section boundary

2023-01-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108596 Bug ID: 108596 Summary: error: EDGE_CROSSING missing across section boundary Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/108597] internal compiler error with -Wduplicated-cond

2023-01-30 Thread mserdarsanli at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597 --- Comment #1 from Serdar Sanli --- stacktrace from my gcc 12.2.0: 0xe2534f crash_signal /root/source/gcc-12.2.0/gcc/toplev.cc:322 0xb0f049 location_wrapper_p(tree_node const*) /root/source/gcc-12.2.0/gcc/tree.h:4160 0xb0f049

[Bug rtl-optimization/108596] [10/11/12/13 Regression] error: EDGE_CROSSING missing across section boundary

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108596 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |10.5 Summary|error:

[Bug debug/108600] Use DW_LNS_set_prologue_end

2023-01-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108600 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > Created attachment 54371 [details] We probably don't want to emit in all cases, maybe limiting to "dwarf_version >= 3", or "!dwarf_strict || dwarf_version >=

[Bug target/108595] -fcall-saved-a1 with -O2 leads to incorrect RISC-V code-gen around inline assembly

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108595 --- Comment #2 from Andrew Pinski --- It is related to sibcalls and aarch64 with x1 has the same issue. I am suspecting this is just an invalid option to use here.

[Bug tree-optimization/108582] [12/13 Regression] ICE on valid code at -Os and above with "-fno-tree-ccp -fno-tree-dce": tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_t

2023-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108582 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:876b3e0514bc8cb2256c44db56255403bedfa52d commit r13-5493-g876b3e0514bc8cb2256c44db56255403bedfa52d Author: Andrew Pinski Date:

[Bug tree-optimization/108582] [12 Regression] ICE on valid code at -Os and above with "-fno-tree-ccp -fno-tree-dce": tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108582 Andrew Pinski changed: What|Removed |Added Known to work||11.1.0, 13.0 Known to fail|

[Bug target/108599] [12/13 Regression] Incorrect code generation newer intel architectures

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 --- Comment #5 from Jakub Jelinek --- cse2 still has correct: (insn 28 27 29 2 (set (reg:V4DI 86) (mem/u/c:V4DI (symbol_ref/u:DI ("*.LC2") [flags 0x2]) [0 S32 A256])) "pr108599.C":6:49 1811 {movv4di_internal} (expr_list:REG_EQUAL

[Bug target/108599] Incorrect code generation newer intel architectures for gcc 12 and 13

2023-01-30 Thread balder at yahooinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 --- Comment #2 from Henning Baldersheim --- This is an even bigger issue with gcc 13. Then it only requires -march=haswell Works: c++ -Wall -Wextra -O3 -march=ivybridge test.cpp && ./a.out Fails: c++ -Wall -Wextra -O3 -march=haswell test.cpp

[Bug debug/47471] [10/11/12/13 Regression] stdarg functions extraneous too-early prologue end

2023-01-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47471 Tom de Vries changed: What|Removed |Added CC||vries at gcc dot gnu.org --- Comment #24

[Bug c++/108594] GCC ignores deleted movement constructor is not used on return

2023-01-30 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108594 m.cencora at gmail dot com changed: What|Removed |Added CC||m.cencora at gmail dot com

[Bug target/108595] -fcall-saved-a1 with -O2 leads to incorrect RISC-V code-gen around inline assembly

2023-01-30 Thread idan.horowitz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108595 --- Comment #3 from Idan Horowitz --- (In reply to Andrew Pinski from comment #2) > I am suspecting this is just an invalid option to use here. a1 is indeed used for argument passing, it's used to pass the second argument. I don't think the

[Bug c++/108597] New: internal compiler error with -Wduplicated-cond

2023-01-30 Thread mserdarsanli at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597 Bug ID: 108597 Summary: internal compiler error with -Wduplicated-cond Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/108596] [10/11/12/13 Regression] error: EDGE_CROSSING missing across section boundary

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108596 --- Comment #3 from Jakub Jelinek --- Likely latent before that though. Slightly cleaned up testcase, just -O2 is needed: __attribute__((__cold__)) void foo (void); void qux (void); int bar (void) { asm goto ("" : : : : l1, l0); l1:

[Bug analyzer/108598] New: GCC analyzer reports false positive for buffer overflow/over-read in C code with a write in middle of an array.

2023-01-30 Thread psimovec at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108598 Bug ID: 108598 Summary: GCC analyzer reports false positive for buffer overflow/over-read in C code with a write in middle of an array. Product: gcc Version:

[Bug c++/108599] New: Incorrect code generation newer intel architectures for gcc 12 and 13

2023-01-30 Thread balder at yahooinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 Bug ID: 108599 Summary: Incorrect code generation newer intel architectures for gcc 12 and 13 Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity:

[Bug debug/108600] New: Use DW_LNS_set_prologue_end

2023-01-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108600 Bug ID: 108600 Summary: Use DW_LNS_set_prologue_end Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: debug

[Bug debug/108600] Use DW_LNS_set_prologue_end

2023-01-30 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108600 --- Comment #1 from Tom de Vries --- Created attachment 54371 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54371=edit tentative patch Tentative patch. For hello.c, for the -gas-loc-support case it gives us: ... $ gcc -g ~/hello.c -S

[Bug target/108599] [12/13 Regression] Incorrect code generation newer intel architectures

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #4 from Jakub

[Bug target/108583] [13 Regression] wrong code with vector division by uint16 at -O2

2023-01-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583 Tamar Christina changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug middle-end/108102] rust bootstrap comparison failure on s390x-linux-gnu

2023-01-30 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108102 --- Comment #12 from Stefan Schulze Frielinghaus --- The culprit seems to be that s390_sched_init is not called in one particular case. We have the following basic blocks and edges: 6 --> 12 --> 13 --> 14 The edges from 12 to 13 and 13 to 14

[Bug target/108595] -fcall-saved-a1 with -O2 leads to incorrect RISC-V code-gen around inline assembly

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108595 --- Comment #1 from Andrew Pinski --- a1 is also used for argument passing so is this option to use here? What happens at -O1 ? Is it only related to sibcalls?

[Bug c++/108597] [11/12/13 Regression] internal compiler error with -Wduplicated-cond

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0 Known to work|

[Bug target/108583] [13 Regression] wrong code with vector division by uint16 at -O2

2023-01-30 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583 --- Comment #4 from rguenther at suse dot de --- On Mon, 30 Jan 2023, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583 > > Tamar Christina changed: > >What|Removed

[Bug target/108599] [12/13 Regression] Incorrect code generation newer intel architectures

2023-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-*

[Bug c++/108602] New: FAIL: g++.dg/modules/xtreme-header-5_c.C -std=c++2b (test for excess errors)

2023-01-30 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108602 Bug ID: 108602 Summary: FAIL: g++.dg/modules/xtreme-header-5_c.C -std=c++2b (test for excess errors) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/108583] [13 Regression] wrong code with vector division by uint16 at -O2

2023-01-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583 --- Comment #7 from Tamar Christina --- (In reply to rsand...@gcc.gnu.org from comment #6) > (In reply to Tamar Christina from comment #3) > > The vectorizer has this context but since we didn't want a new IFN the > > context should instead be

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #26 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #25) > Now, I believe the fix was incorrect and the other PR has all the details on > it. S/Now/No/, ouch.

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-30 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #21 from Jan Dubiec --- Unfortunately, after recent changes compilation for H8 family ends with: Making all in c++20 make[5]: Entering directory '/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src/c++20' echo 'static const char

[Bug rtl-optimization/103979] asm goto is not considered volatile with output operands

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug rtl-optimization/108463] [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108463 --- Comment #14 from Jakub Jelinek --- Created attachment 54374 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54374=edit gcc13-pr108463-1.patch Additional untested patch (likely stage1 material) to avoid considering SP_DERIVED_VALUE_P

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2023-01-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #24 from Segher Boessenkool --- So this PR can be marked resolved now?

[Bug tree-optimization/108601] New: [13 Regression] vector peeling ICEs with PGO + LTO + IPA inlining in gcc_r in SPEC2017

2023-01-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108601 Bug ID: 108601 Summary: [13 Regression] vector peeling ICEs with PGO + LTO + IPA inlining in gcc_r in SPEC2017 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/108601] [13 Regression] vector peeling ICEs with PGO + LTO + IPA inlining in gcc_r in SPEC2017

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108601 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 --- Comment #1 from Andrew Pinski

[Bug rtl-optimization/108463] [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108463 --- Comment #15 from Jakub Jelinek --- Created attachment 54375 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54375=edit gcc13-pr108463-2.patch Additional untested patch (likely stage1 material) to treat SP_DERIVED_VALUE_P and

[Bug target/108599] [12/13 Regression] Incorrect code generation newer intel architectures

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org ---

[Bug rtl-optimization/108596] [10/11/12/13 Regression] error: EDGE_CROSSING missing across section boundary

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

[Bug target/108595] -fcall-saved-a1 with -O2 leads to incorrect RISC-V code-gen around inline assembly

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108595 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug gcov-profile/60008] x86_64: Segmentation fault if compiled with -fcall-saved-rdi -O2 --coverage

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60008 Andrew Pinski changed: What|Removed |Added CC||idan.horowitz at gmail dot com ---

[Bug c++/105593] avx512 math function raises uninitialized variable warning

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #17 from Jakub Jelinek --- (In reply to James Addison from comment #16) > Does it make sense to update some of the other variable declarations (like > this[1] one) within optimized blocks to use self-initialization as part of > this

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #23 from Jakub Jelinek --- See PR108463 and https://gcc.gnu.org/pipermail/gcc-patches/2023-January/610778.html

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #25 from Jakub Jelinek --- Now, I believe the fix was incorrect and the other PR has all the details on it.

[Bug target/108583] [13 Regression] wrong code with vector division by uint16 at -O2

2023-01-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583 --- Comment #5 from Tamar Christina --- > > The vectorizer has this context but since we didn't want a new IFN the > > context should instead be derivable in > > targetm.vectorize.can_special_div_by_const hook. > > The vectorizer doesn't

[Bug target/108583] [13 Regression] wrong code with vector division by uint16 at -O2

2023-01-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583 --- Comment #6 from rsandifo at gcc dot gnu.org --- (In reply to Tamar Christina from comment #3) > The vectorizer has this context but since we didn't want a new IFN the > context should instead be derivable in >

[Bug target/108484] [13 Regression] ICE building glibc for ia64 in cselib_subst_to_values, at cselib.cc:2148

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108484 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/108603] New: [11/12 Regression] ICE in output_operand_lossage with SVE and ilp32

2023-01-30 Thread acoplan at gcc dot gnu.org via Gcc-bugs
Target: aarch64-none-elf Configured with: /home/alecop01/toolchain/src/gcc/configure --prefix=/data_sdb/toolchain/cc1s/aarch64 --enable-langauges=c,c++ --disable-bootstrap --target=aarch64-none-elf Thread model: single Supported LTO compression algorithms: zlib gcc version 13.0.1 20230130

[Bug tree-optimization/107409] Perf loss ~5% on 519.lbm_r SPEC cpu2017 benchmark with r10-5090-ga9a4edf0e71bba

2023-01-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107409 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug c++/108579] [13 Regression] Requires-expression that checks constructor on non-template constructor of template class got rejected

2023-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108579 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug other/108604] New: New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs

2023-01-30 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108604 Bug ID: 108604 Summary: New test case gcc.dg/torture/pr108574-3.c in r13-5492-g7ac3e69e311351 hangs Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #22 from Jonathan Wakely --- Use --without-libstdcxx-zoneinfo

[Bug c++/108607] New: [12/13 Regression] ICE in potential_constant_expression_1, at cp/constexpr.cc:10003

2023-01-30 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108607 Bug ID: 108607 Summary: [12/13 Regression] ICE in potential_constant_expression_1, at cp/constexpr.cc:10003 Product: gcc Version: 13.0 Status:

[Bug c++/108606] New: [13 Regression] ICE in potential_constant_expression_1, at cp/constexpr.cc:9713

2023-01-30 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108606 Bug ID: 108606 Summary: [13 Regression] ICE in potential_constant_expression_1, at cp/constexpr.cc:9713 Product: gcc Version: 13.0 Status:

[Bug ipa/108605] [13 Regression] ICE in ipa_push_agg_values_from_jfunc with offsets >= INT_MAX

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108605 --- Comment #3 from Andrew Pinski --- Slightly modified testcase so it comes with both C and C++ front-ends: ``` struct S { char a; char b; char c; int d[0x7fffu]; int e; }; void foo (struct S *s) { if (s->b && s->c != 0)

[Bug c++/108479] ICE in type_memfn_rqual, at cp/typeck.cc:10994

2023-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108479 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/96745] [concepts] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

2023-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96745 Patrick Palka changed: What|Removed |Added CC||etienne.doms at gmail dot com ---

[Bug tree-optimization/108306] [12 Regression] false-positive -Warray-bounds warning emitted with -fsanitize=shift

2023-01-30 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2023-01-30 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 108306, which changed state. Bug 108306 Summary: [12 Regression] false-positive -Warray-bounds warning emitted with -fsanitize=shift https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 What|Removed

[Bug tree-optimization/108306] [12 Regression] false-positive -Warray-bounds warning emitted with -fsanitize=shift

2023-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 --- Comment #18 from CVS Commits --- The releases/gcc-12 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:9dccaeaa586a1634e1f6a0f4c51806f3c3aea63b commit r12-9091-g9dccaeaa586a1634e1f6a0f4c51806f3c3aea63b Author: Andrew

[Bug tree-optimization/48783] ~0ULL % (a / (a & -a)) == 0 is not optimized to false on the tree level

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783 Andrew Pinski changed: What|Removed |Added Known to work||5.1.0 --- Comment #7 from Andrew Pinski

[Bug c++/108605] New: [13 Regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089

2023-01-30 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108605 Bug ID: 108605 Summary: [13 Regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/108608] New: [12/13 Regression] AArch64 vectorizer ICE in vect_transform_reduction

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 Bug ID: 108608 Summary: [12/13 Regression] AArch64 vectorizer ICE in vect_transform_reduction Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/108608] [12/13 Regression] AArch64 vectorizer ICE in vect_transform_reduction

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |12.3 Ever confirmed|0

[Bug tree-optimization/108608] [12/13 Regression] AArch64 vectorizer ICE in vect_transform_reduction and __builtin_fmax

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 --- Comment #2 from Jakub Jelinek --- The ICE is on: 7755 gimple_match_op op; 7756 if (!gimple_extract_op (stmt_info->stmt, )) 7757gcc_unreachable (); 7758 gcc_assert (op.code.is_tree_code ()); 7759 auto code =

[Bug rtl-optimization/103979] asm goto is not considered volatile with output operands

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979 --- Comment #4 from Jakub Jelinek --- Tried to reproduce the #c0 ICE all the way back to r11-5002-ge3b3b59683c1e7d31a9d313dd97394abebf644be but couldn't, even that version successfully DCEs the asm goto (though, in all cases during RTL

[Bug tree-optimization/48783] ~0ULL % (a / (a & -a)) == 0 is not optimized to false on the tree level

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783 --- Comment #8 from Andrew Pinski --- See also thread starting at https://inbox.sourceware.org/gcc-patches/20221208105944.660323-1-jose.march...@oracle.com/ .

[Bug tree-optimization/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-30 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #47 from Linus Torvalds --- (In reply to Richard Biener from comment #45) > For user code > > volatile long long x; > void foo () { x++; } > > emitting inc + adc with memory operands is only "incorrect" in re-ordering > the

[Bug target/97642] Incorrect replacement of vmovdqu32 with vpblendd can cause fault

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97642 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug middle-end/84514] powerpc sub optimal condition register reuse with extended inline asm

2023-01-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84514 --- Comment #2 from Segher Boessenkool --- Still happens with current trunk.

[Bug fortran/108592] In IF statements -Winteger-division is repeated 4 times

2023-01-30 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108592 --- Comment #2 from Thomas Koenig --- (In reply to anlauf from comment #1) > @Thomas: do you remember the reason you chose the "_now" version? I'm not sure any more. It's been a few years :-)

[Bug c++/108606] [13 Regression] ICE in potential_constant_expression_1 with friend function declaration inside a local class of a generic/templated lambda

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108606 Andrew Pinski changed: What|Removed |Added Summary|[13 Regression] ICE in |[13 Regression] ICE in

[Bug c++/108606] [13 Regression] ICE in potential_constant_expression_1 with friend function declaration inside a local class of a generic/templated lambda

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108606 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug ipa/108605] [13 Regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2089

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108605 --- Comment #1 from Andrew Pinski --- Slightly more reduced: ``` struct S { char a; char b; char c; int d[0x7fffu]; int e; }; void foo (S *s) { if (s->b && s->c != 0) __builtin_abort (); } void bar () { struct S s[2];

[Bug ipa/108605] [13 Regression] ICE in ipa_push_agg_values_from_jfunc with offsets >= INT_MAX

2023-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108605 Andrew Pinski changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/108608] [12/13 Regression] AArch64 vectorizer ICE in vect_transform_reduction and __builtin_fmax

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 --- Comment #5 from Jakub Jelinek --- The original code in kokkos had roughly: Real max_rel_err = -1; const Real rel_tol = std::numeric_limits::epsilon(); for (int n = 0; n < N; n++) { for (int k = 0; k < N; k++) { for (int j

[Bug tree-optimization/108608] [12/13 Regression] AArch64 vectorizer ICE in vect_transform_reduction and __builtin_fmax

2023-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 --- Comment #6 from Jakub Jelinek --- #define N 64 extern double host_du[N][N][N][N]; int foo (void) { double max_rel_err = -1; const double rel_tol = __DBL_EPSILON__; for (int n = 0; n < N; n++) for (int k = 0; k < N; k++) for

[Bug c++/108559] [13 Regression] A new crash with using a simple class, inheritance and a function

2023-01-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108559 --- Comment #3 from Jason Merrill --- (In reply to Andrew Pinski from comment #2) > This might be related to C++ core issue cwg2403: https://wg21.link/cwg2403 Indeed. We don't expect the copy to be elided because of that issue, but we are

  1   2   >