[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-03-01 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #10 from chenglulu --- (In reply to Xi Ruoyao from comment #9) > (In reply to chenglulu from comment #8) > > (In reply to Xi Ruoyao from comment #7) > > > Any update? :) > > > > Well, I haven't run it yet. Since this does not have a

[Bug middle-end/111523] Unexpected performance regression with -ftrivial-auto-var-init=zero for e.g. systemctl unmask

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523 --- Comment #7 from Andrew Pinski --- One thing I noticed is that malloc_usable_size is used for greedy_realloc but that should not change based on if -ftrivial-auto-var-init is used or not.

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-03-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #11 from Xi Ruoyao --- (In reply to chenglulu from comment #10) > (In reply to Xi Ruoyao from comment #9) > > (In reply to chenglulu from comment #8) > > > (In reply to Xi Ruoyao from comment #7) > > > > Any update? :) > > > > > > W

[Bug middle-end/111523] Unexpected performance regression with -ftrivial-auto-var-init=zero for e.g. systemctl unmask

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523 --- Comment #8 from Andrew Pinski --- I also looked into extracting greedy_realloc into its own file and I don't see anything which would cause -ftrivial-auto-var-init=zero any difference.

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

2024-03-01 Thread a.horodniceanu at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 --- Comment #3 from Andrei Horodniceanu --- (In reply to Hongtao Liu from comment #2) > on rtl level,we get > > (insn 7 6 8 2 (set (reg:CCZ 17 flags) > (compare:CCZ (mem:TI (plus:DI (reg/f:DI 100 [ _5 ]) > (const_int

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2024-03-01 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #12 from chenglulu --- (In reply to Xi Ruoyao from comment #11) > (In reply to chenglulu from comment #10) > > (In reply to Xi Ruoyao from comment #9) > > > (In reply to chenglulu from comment #8) > > > > (In reply to Xi Ruoyao from

[Bug target/114100] [avr] Inefficient indirect addressing on Reduced Tiny

2024-03-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114100 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/114141] ASSOCIATE and complex part ref when associate target is a function

2024-03-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114141 --- Comment #12 from Paul Thomas --- (In reply to Steve Kargl from comment #11) ...snip... > I know you had some ASSOCIATE patches in the works, and > certainly do not want to interfere. Do you want to > incorporate my patch or some variation i

[Bug fortran/114141] ASSOCIATE and complex part ref when associate target is a function

2024-03-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114141 --- Comment #13 from Paul Thomas --- (In reply to Steve Kargl from comment #11) ...snip... > I know you had some ASSOCIATE patches in the works, and > certainly do not want to interfere. Do you want to > incorporate my patch or some variation i

[Bug rtl-optimization/114187] New: [14 regression] bizarre register dance on x86_64 for pass-by-value struct

2024-03-01 Thread matteo at mitalia dot net via Gcc-bugs
ddsd xmm0, xmm1 ret sumxy_p_ref(P2d const&): movsd xmm0, QWORD PTR [rdi] addsd xmm0, QWORD PTR [rdi+8] ret ``` instead with g++ 14 (g++ (Compiler-Explorer-Build-gcc-b05f474c8f7768dad50a99a2d676660ee4db09c6-binutils-2.40) 14.0.1 20240301 (experimental)

[Bug target/114187] [14 regression] bizarre register dance on x86_64 for pass-by-value struct

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114187 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 CC|

[Bug target/114187] [14 regression] bizarre register dance on x86_64 for pass-by-value struct

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114187 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug tree-optimization/114151] [14 Regression] weird and inefficient codegen and addressing modes since g:a0b1798042d033fd2cc2c806afbb77875dd2909b

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114151 --- Comment #6 from Richard Biener --- (In reply to Andrew Macleod from comment #5) > (In reply to rguent...@suse.de from comment #4) > > > > > What was definitely missing is consideration of POLY_INT_CSTs (and > > variable polys, as I think t

[Bug tree-optimization/114164] simdclone vectorization creates unsupported IL

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114164 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug fortran/114188] New: Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread Bader at lrz dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 Bug ID: 114188 Summary: Overloading assignment does not invalidate intrinsic assignment Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop since g:2efe3a7de0107618397264017fb045f237764cc7

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #32 from Richard Biener --- (In reply to Richard Sandiford from comment #31) > (In reply to Tamar Christina from comment #29) > > This works fine for normal gather and scatters but doesn't work for widening > > gathers and narrowing

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop since g:2efe3a7de0107618397264017fb045f237764cc7

2024-03-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #33 from Richard Sandiford --- Can you give me a chance to look at it a bit when I back? This doesn't feel like the way to go to me.

[Bug target/114184] [12/13/14 Regression] ICE: in extract_insn, at recog.cc:2812 (unrecognizable insn ) with _Complex long double and vector VCE

2024-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114184 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Summary|ICE: in extract_i

[Bug target/114184] [12/13/14 Regression] ICE: in extract_insn, at recog.cc:2812 (unrecognizable insn ) with _Complex long double and vector VCE

2024-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114184 --- Comment #2 from Jakub Jelinek --- BTW, typedef unsigned char V __attribute__((vector_size (16))); long double foo (void) { long double d; *(V *)&d = (V) { 149, 136, 89, 42, 38, 240, 196, 194 }; return d; } ICEs at -O2 too since r14-453

[Bug middle-end/114156] during GIMPLE pass: bitintlower ICE: in lower_stmt, at gimple-lower-bitint.cc:5335 with -O -m32 and _BitInt(128) __builtin_memmove()

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114156 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d3d0fcb652748191714e4c0b2541e977a7fc7bd7 commit r14-9248-gd3d0fcb652748191714e4c0b2541e977a7fc7bd7 Author: Jakub Jelinek Date: F

[Bug tree-optimization/114164] simdclone vectorization creates unsupported IL

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114164 --- Comment #5 from Richard Biener --- The following fixes this, it also shows that even with -mavx2 we don't support this (as was expected after the analysis). Note since we emit mask ? {true,..} : {false,...} we only support in-branch clones

[Bug middle-end/114156] during GIMPLE pass: bitintlower ICE: in lower_stmt, at gimple-lower-bitint.cc:5335 with -O -m32 and _BitInt(128) __builtin_memmove()

2024-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114156 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 Bug ID: 114189 Summary: Target implements obsolete vcond{,u,eq} expanders Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

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

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #1 from Richard Biener --- The following shows them all: grep 'vcond[

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop since g:2efe3a7de0107618397264017fb045f237764cc7

2024-03-01 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #34 from rguenther at suse dot de --- On Fri, 1 Mar 2024, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 > > --- Comment #33 from Richard Sandiford --- > Can you give me a chance to look a

[Bug libstdc++/114152] Wrong exception specifiers for LFTSv3 scope guard destructors

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114152 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:89e7b77df1aefb01aadfacae83170b24a4c4d274 commit r13-8371-g89e7b77df1aefb01aadfacae83170b24a4c4d274 Author: Jonathan Wake

[Bug target/113960] [11/12/13 Regression] std::map with std::vector as input overwrites itself with c++20, on s390x platform

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113960 --- Comment #16 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3a16060d605a087fb4cf0bc3b53ed93b5875cd62 commit r13-8377-g3a16060d605a087fb4cf0bc3b53ed93b5875cd62 Author: Jonathan Wak

[Bug libstdc++/114152] Wrong exception specifiers for LFTSv3 scope guard destructors

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114152 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/113960] [11/12 Regression] std::map with std::vector as input overwrites itself with c++20, on s390x platform

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113960 Jonathan Wakely changed: What|Removed |Added Summary|[11/12/13 Regression] |[11/12 Regression] std::map

[Bug c/114181] issubnormal is a macro

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114181 --- Comment #14 from Jonathan Wakely --- Libc headers define lots of macros, we don't #undef them in C++ headers unless they use the name of a function defined by the C++ library (because C++ says its library functions must be real functions and

[Bug c/114181] issubnormal is a macro

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

[Bug target/114184] [12/13/14 Regression] ICE: in extract_insn, at recog.cc:2812 (unrecognizable insn ) with _Complex long double and vector VCE

2024-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114184 Jakub Jelinek changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment #3

[Bug target/112868] GCC passes -many to the assembler for --enable-checking=release builds

2024-03-01 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112868 Jeevitha changed: What|Removed |Added CC||jeevitha at gcc dot gnu.org --- Comment #8 f

[Bug middle-end/114070] [12/13 regression] ICE when building git-2.43.2 with -mcpu=niagara4 -fno-vect-cost-model

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114070 --- Comment #10 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f9c30ea737b806caac917d8f501305151a2cbd57 commit r14-9252-gf9c30ea737b806caac917d8f501305151a2cbd57 Author: Richard Biener Date:

[Bug tree-optimization/114190] New: wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

2024-03-01 Thread zsojka at seznam dot cz via Gcc-bugs
-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240301 (experimental) (GCC)

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-03-01 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 --- Comment #11 from Stefan Schulze Frielinghaus --- I will have a look at those s390x failures and come up with a TARGET_NOCE_CONVERSION_PROFITABLE_P implementation.

[Bug libstdc++/77776] C++17 std::hypot implementation is poor

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #12 from Jonathan Wakely --- (In reply to g.peterhoff from comment #11) > Would this be a good implementation for hypot3 in cmath? Thanks for the suggestion! > #define GCC_UNLIKELY(x) __builtin_expect(x, 0) > #define GCC_LIKELY(x) _

[Bug c++/111224] modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64 with SVE types

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug target/114187] [14 regression] bizarre register dance on x86_64 for pass-by-value struct since r14-2526

2024-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114187 Jakub Jelinek changed: What|Removed |Added Summary|[14 regression] bizarre |[14 regression] bizarre

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

2024-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 --- Comment #4 from Iain Buclaw --- Removed druntime dependency. --- import gcc.builtins; struct Token { string label; } struct BreakStatement { ulong pad; Token label; } pragma(inline, false) auto newclass() { void *p = __built

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 --- Comment #5 from Richard Biener --- (In reply to Iain Buclaw from comment #4) > Removed druntime dependency. > --- > import gcc.builtins; > struct Token { > string label; > } > struct BreakStatement { > ulong pad; > Token label; >

[Bug tree-optimization/110221] With AVX512 fully masking gfortran.dg/pr68146.f ICEs

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110221 --- Comment #7 from GCC Commits --- The releases/gcc-12 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:9d033155254ac6df5f47ab32896dbf336f991589 commit r12-10186-g9d033155254ac6df5f47ab32896dbf336f991589 Author: Ric

[Bug tree-optimization/111478] [12 Regression] aarch64 SVE ICE: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

2024-03-01 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111478 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug tree-optimization/111478] [12 Regression] aarch64 SVE ICE: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

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

[Bug debug/114015] ICE: in build_abbrev_table, at dwarf2out.cc:9266 with -g -fvar-tracking-assignments -fdebug-types-section

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114015 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5b1fb8f8b4fe60745dece9b2f83c155c772ca66d commit r14-9254-g5b1fb8f8b4fe60745dece9b2f83c155c772ca66d Author: Jakub Jelinek Date: F

[Bug debug/114015] ICE: in build_abbrev_table, at dwarf2out.cc:9266 with -g -fvar-tracking-assignments -fdebug-types-section

2024-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114015 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

2024-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 --- Comment #6 from Iain Buclaw --- (In reply to Richard Biener from comment #5) > Unless gdc somehow guarantees bn->label and init are 128bit aligned > then "casting" this way is broken. You can of course use > build_aligned_type to build a pr

[Bug c++/113976] [11/12/13 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression]

[Bug middle-end/114136] wrong code for c23 fully anonymous arg lists on arm

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114136 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b5377928a2a5cd2a79eda59e2eba7d0511bf7566 commit r14-9255-gb5377928a2a5cd2a79eda59e2eba7d0511bf7566 Author: Jakub Jelinek Date: F

[Bug tree-optimization/114151] [14 Regression] weird and inefficient codegen and addressing modes since r14-9193

2024-03-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114151 --- Comment #7 from Andrew Macleod --- (In reply to Richard Biener from comment #6) > (In reply to Andrew Macleod from comment #5) > > (In reply to rguent...@suse.de from comment #4) > > > > > > > > What was definitely missing is consideration

[Bug libstdc++/114147] [11/12/13/14 Regression] tuple allocator-extended constructor requires non-explicit default constructor

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114147 --- Comment #7 from Jonathan Wakely --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/646989.html

[Bug target/100799] Stackoverflow in optimized code on PPC

2024-03-01 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 Peter Bergner changed: What|Removed |Added CC||aagarwa at gcc dot gnu.org --- Comment

[Bug other/114191] New: Flags "Warning" and "Target" don't mix well in target.opt files

2024-03-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114191 Bug ID: 114191 Summary: Flags "Warning" and "Target" don't mix well in target.opt files Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/114187] [14 regression] bizarre register dance on x86_64 for pass-by-value struct since r14-2526

2024-03-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114187 Roger Sayle changed: What|Removed |Added Last reconfirmed||2024-03-01 Status|UNCONFIRMED

[Bug c++/110347] [OpenMP] private/firstprivate of a C++ member variable mishandled

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110347 --- Comment #3 from GCC Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:4f82d5a95a244d0aa4f8b2541b47a21bce8a191b commit r14-9257-g4f82d5a95a244d0aa4f8b2541b47a21bce8a191b Author: Jakub Jelinek Date: F

[Bug c++/92687] decltype of a structured binding to a tuple component is a reference type inside a template function

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92687 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:867cbadb912ab75d0eaf919a3f992595e508482b commit r14-9258-g867cbadb912ab75d0eaf919a3f992595e508482b Author: Jakub Jelinek Date: Fr

[Bug middle-end/113436] [OpenMP] 'allocate' clause has no effect for (first)private on 'target' directives

2024-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113436 --- Comment #2 from Tobias Burnus --- As mentioned in comment 0, PR110347's testcase (r14-9257-g4f82d5a95a244d) contains '#if 0' code which has to be enabled once this bug is fixed. Please remember to take care of: * libgomp/testsuite/libgomp.c

[Bug c++/110347] [OpenMP] private/firstprivate of a C++ member variable mishandled

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

[Bug tree-optimization/114192] New: scalar code left around following early break vectorization of reduction

2024-03-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114192 Bug ID: 114192 Summary: scalar code left around following early break vectorization of reduction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/114192] scalar code left around following early break vectorization of reduction

2024-03-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114192 Tamar Christina changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/114193] New: missed early break vectorization of reduction

2024-03-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114193 Bug ID: 114193 Summary: missed early break vectorization of reduction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug target/114194] New: ICE when using std::unique_ptr with xtheadvector

2024-03-01 Thread camel-cdr at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114194 Bug ID: 114194 Summary: ICE when using std::unique_ptr with xtheadvector Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/84414] miscompile due to assuming that object returned by value cannot alias its own member pointer values

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84414 --- Comment #8 from Jonathan Wakely --- This is now https://cplusplus.github.io/CWG/issues/2868.html

[Bug tree-optimization/109945] Escape analysis hates copy elision: different result with -O1 vs -O2

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109945 --- Comment #33 from Jonathan Wakely --- This is now https://cplusplus.github.io/CWG/issues/2868.html

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug analyzer/111802] [14 Regression] New analyser diagram failures since commit b365e9d57ad4

2024-03-01 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111802 --- Comment #5 from Thiago Jung Bauermann --- I can confirm this is fixed in our setup. Thank you!

[Bug c++/111224] modules: xtreme-header-1_a.H etc. ICE (in core_vals, at cp/module.cc:6108) on AArch64 with SVE types

2024-03-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111224 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

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

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110025 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a6a1920b592b58c38137c5c891b3bbb02b084f38 commit r14-9260-ga6a1920b592b58c38137c5c891b3bbb02b084f38 Author: Patrick Palka Date: F

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

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114138 --- Comment #1 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a6a1920b592b58c38137c5c891b3bbb02b084f38 commit r14-9260-ga6a1920b592b58c38137c5c891b3bbb02b084f38 Author: Patrick Palka Date: F

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread Bader at lrz dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 --- Comment #2 from Bader at lrz dot de --- You note that > Unfortunately, the five requirements in 10.2.1.4 for defined assignment > do not say anything about argument association. Hmm, one could see this as "intentionally" instead of "unfort

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #10 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:db0b6746be075e43c8142585968483e125bb52d0 commit r14-9261-gdb0b6746be075e43c8142585968483e125bb52d0 Author: Harald Anlauf Date:

[Bug libstdc++/113841] Can't swap two std::hash

2024-03-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113841 --- Comment #10 from Jonathan Wakely --- This one's much harder to fix: #include template struct Alloc { using value_type = T; Alloc(int) { } template Alloc(const Alloc&) { } T* allocate(std::size_t n) { return std::allocator().all

[Bug debug/114186] Incorrect CTF generated for multidimensional array

2024-03-01 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114186 --- Comment #1 from Indu Bhagat --- This in turn affects BTF generation too, because GCC internally uses the CTFC (CTF container) to create BTF info. $ bpftool btf dump file array.o [1] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNE

[Bug c++/114165] &scalar+1 and array+1 rejected as template parameters

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114165 --- Comment #1 from Andrew Pinski --- :17:32: error: '((& scalar) + 4)' is not a valid template argument for 'int*' because it is not the address of a variable

[Bug c++/114165] &scalar+1 and array+1 rejected as template parameters

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114165 --- Comment #2 from Andrew Pinski --- Reduced testcase: ``` template void withP() {} int array[2]; int main() { withP(); withP(); } ``` GCC and MSVC both reject `array+1` . All three accept `&array[1]` though in C++20+.

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug target/114187] [14 regression] bizarre register dance on x86_64 for pass-by-value struct since r14-2526

2024-03-01 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114187 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug fortran/114188] Overloading assignment does not invalidate intrinsic assignment

2024-03-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114188 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to ba...@lrz.de from comment #0) > (NAG Fortran, Intel Fortran and NVidia Fortran issue appropriate error > messages). NVidia has a different issue: if one imports only the type declara

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #19 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c7607c4cf18986025430ca8626abfe56bfe87106 commit r14-9263-gc7607c4cf18986025430ca8626abfe56bfe87106 Author: Marek Polacek Date: T

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c7607c4cf18986025430ca8626abfe56bfe87106 commit r14-9263-gc7607c4cf18986025430ca8626abfe56bfe87106 Author: Marek Polacek Date: Th

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2024-03-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/114190] wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114190 --- Comment #1 from Andrew Pinski --- >testesi, esi is missing with `-fno-dce`

[Bug target/114190] wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

2024-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114190 --- Comment #2 from Andrew Pinski --- So after reload, it looks ok: (insn 22 21 380 2 (set (reg:CCZ 17 flags) (compare:CCZ (reg:SI 4 si [orig:111 _21+4 ] [111]) (const_int 0 [0]))) "/app/example.cpp":8:8 discrim 1 7 {*cmpsi_c

[Bug target/114195] New: [14] RISC-V vector ICE: in vectorizable_store, at tree-vect-stmts.cc:8690

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114195 Bug ID: 114195 Summary: [14] RISC-V vector ICE: in vectorizable_store, at tree-vect-stmts.cc:8690 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norm

[Bug rtl-optimization/114190] wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

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

[Bug c++/110213] Bogus (as opposed to false positive) -Wdangling-reference warning

2024-03-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110213 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Res

[Bug c++/110075] Bogus -Wdangling-reference

2024-03-01 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/114196] New: [13/14 Regression] Fixed length vector ICE: in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9454

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114196 Bug ID: 114196 Summary: [13/14 Regression] Fixed length vector ICE: in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9454 Product: gcc Version: 14.0 Status: UNCONFIR

[Bug middle-end/114197] New: [14] middle-end: ICE in verify_dominators

2024-03-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 Bug ID: 114197 Summary: [14] middle-end: ICE in verify_dominators Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle

[Bug middle-end/114197] [14] middle-end: ICE in verify_dominators

2024-03-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 Edwin Lu changed: What|Removed |Added CC||ewlu at rivosinc dot com,

[Bug middle-end/114197] [14] middle-end: ICE in verify_dominators

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 --- Comment #2 from Patrick O'Neill --- found via fuzzer

[Bug middle-end/114198] New: [14] RISC-V fixed-length vector -flto ICE: in vectorizable_load, at tree-vect-stmts.cc:10570

2024-03-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114198 Bug ID: 114198 Summary: [14] RISC-V fixed-length vector -flto ICE: in vectorizable_load, at tree-vect-stmts.cc:10570 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/114005] Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114005 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:2823b4d96d9ec4ad4e67e5e8edaa1b060a467491 commit r14-9266-g2823b4d96d9ec4ad4e67e5e8edaa1b060a467491 Author: Nathaniel Shead Date:

[Bug c++/114170] [modules] error streaming in header unit with instantiated variable template with non-trivial initializer

2024-03-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114170 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:852b58552991099141f9df5782e1f28d8606af9d commit r14-9267-g852b58552991099141f9df5782e1f28d8606af9d Author: Nathaniel Shead Date:

[Bug c++/114170] [modules] error streaming in header unit with instantiated variable template with non-trivial initializer

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114170 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org Res

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

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114170, which changed state. Bug 114170 Summary: [modules] error streaming in header unit with instantiated variable template with non-trivial initializer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114170

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

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 114005, which changed state. Bug 114005 Summary: Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114005 What|Removed

[Bug c++/114005] Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules

2024-03-01 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114005 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug libstdc++/114103] FAIL: 29_atomics/atomic/lock_free_aliases.cc -std=gnu++20 (test for excess errors)

2024-03-01 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114103 --- Comment #11 from dave.anglin at bell dot net --- On 2024-02-29 12:44 p.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114103 > > --- Comment #10 from Jonathan Wakely --- > This additional change should fix

[Bug middle-end/114197] [14] middle-end: ICE in verify_dominators

2024-03-01 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 --- Comment #3 from Edwin Lu --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647031.html

  1   2   >