[Bug target/108654] Incorrect codegen of RVV GCC

2023-03-24 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108654 JuzheZhong changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/108654] Incorrect codegen of RVV GCC

2023-03-24 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108654 --- Comment #3 from JuzheZhong --- FIXED

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-24 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 --- Comment #8 from Hans-Peter Nilsson --- (In reply to David Malcolm from comment #7) > The invalid UTF-8 in the patch seems to have broken the server-side script: Maybe the not-really-utf8 files need to be marked in some way in the git repo t

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #13 from Vineet Gupta --- Ok it seems I missed _some_ improvement with prev change, although not ideal still. With 2e886eef7f2b li a0,0x0101_ addia0,a0,0x0101 sllia0,a0,16 addia0

[Bug analyzer/109098] Encoding errors on SARIF output for non-UTF-8 source files

2023-03-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109098 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #12 from Andrew Pinski --- Here is something to look into: #define const1 0x0101010101010101ULL #define const2 0x0080402010080400ULL #define const0 const1 unsigned long long g(unsigned long long occ, const unsigned int sq) { retu

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #11 from Vineet Gupta --- With change suggested by @pinksia, I do see that in split1, riscv_move_integer() -> riscv_split_integer() is now called.

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #10 from Vineet Gupta --- I tried removing the in_splitter check (in 2 places), but no change in results. @@ -1313,7 +1313,7 @@ riscv_force_temporary (rtx dest, rtx value, bool in_splitter) - if (can_create_pseudo_p () && !in_spl

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #9 from Andrew Pinski --- The comment in riscv.cc: /* We can't call gen_reg_rtx from a splitter, because this might realloc the regno_reg_rtx array, which would invalidate reg rtx pointers in the combine undo buffer. */

[Bug c/106465] ICE for VLA in struct in parameter of nested function

2023-03-24 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106465 --- Comment #4 from Martin Uecker --- This version works with 4.1.2 https://godbolt.org/z/x4v6aTv87 int h(void) { int g(int m, struct { char (*p)[m]; }* b) { return sizeof *b->p; } return g(5, 0); }

[Bug c/109280] Very significant increase in code size (gcc-avr)

2023-03-24 Thread dirkx-gcc-2001 at webweaving dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109280 Dirk-Willem van Gulik changed: What|Removed |Added Target||air CC|

[Bug c/109280] New: Very significant increase in code size (gcc-avr)

2023-03-24 Thread dirkx-gcc-2001 at webweaving dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109280 Bug ID: 109280 Summary: Very significant increase in code size (gcc-avr) Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #8 from Andrew Pinski --- oh right this is because can_create_pseudo is false This code is just so broken ...

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #7 from Andrew Pinski --- riscv_split_integer does something similarlly to what I was suggesting but for some reason it is not kicking in for this case ...

[Bug target/109279] RISC-V: complex constants synthesized should be improved

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-03-24 Status|UNCONFIRM

[Bug target/109279] [13 Regression] RISC-V: complex constants synthesized vs. fetching from constant pool

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #5 from Andrew Pinski --- (In reply to Vineet Gupta from comment #4) > But this is not so much about code bloat, we see 3.5% additional dynamic > icount on qemu which will affect perf even if we didn't care about code size > at all.

[Bug target/109279] [13 Regression] RISC-V: complex constants synthesized vs. fetching from constant pool

2023-03-24 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #4 from Vineet Gupta --- (In reply to Andrew Pinski from comment #2) > If this was about -Os, then I would say yes this is a big code bloat but > this is about -O2. But this is not so much about code bloat, we see 3.5% additional dy

[Bug target/109279] [13 Regression] RISC-V: complex constants synthesized vs. fetching from constant pool

2023-03-24 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #3 from Vineet Gupta --- We start off with following: (insn 18 17 19 2 (set (reg:DI 154) (mem/u/c:DI (reg/f:DI 155) [0 S8 A64])) "...":9:8 179 {*movdi_64bit} (expr_list:REG_DEAD (reg/f:DI 155) (expr_list:REG_EQU

[Bug target/109279] [13 Regression] RISC-V: complex constants synthesized vs. fetching from constant pool

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #2 from Andrew Pinski --- If this was about -Os, then I would say yes this is a big code bloat but this is about -O2.

[Bug target/109279] [13 Regression] RISC-V: complex constants synthesized vs. fetching from constant pool

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 --- Comment #1 from Andrew Pinski --- Note I think this really depends on the micro-arch if loading from memory is faster than doing instructions for constant forming.

[Bug target/109279] New: [13 Regression] RISC-V: complex constants synthesized vs. fetching from constant pool

2023-03-24 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109279 Bug ID: 109279 Summary: [13 Regression] RISC-V: complex constants synthesized vs. fetching from constant pool Product: gcc Version: unknown Status: UNCONFIRMED

[Bug middle-end/109258] [13 Regression] go.test/test/fixedbugs/bug207.go ICEs

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109258 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0849a188d539d78101a32deea63db4cb39fb55ac commit r13-6858-g0849a188d539d78101a32deea63db4cb39fb55ac Author: Jakub Jelinek Date: F

[Bug c++/109278] a note without a warning

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109278 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/109278] a note without a warning

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109278 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Keyw

[Bug fortran/107560] ICE in gfc_get_derived_type, at fortran/trans-types.cc:2811

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107560 --- Comment #4 from anlauf at gcc dot gnu.org --- The BOZ memleak should be fixed with r13-6857-g833233a4aefc99. There is another FE memleak which is the same for z1.f90 and z2.f90: ==16805== 48 bytes in 1 blocks are definitely lost in loss rec

[Bug c++/85775] False positive with -Wparentheses

2023-03-24 Thread markus-t314 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85775 --- Comment #3 from markus --- Worked until 7.5, fails since 8.1 and still fails in 12.2

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #8 from Jonathan Wakely --- Yes, looks undefined at first glance. We don't have to diagnose bad uses of type traits (but we don't have to ignore them either, which means both gcc 12 and gcc 13 are correct). The question is whether t

[Bug fortran/107560] ICE in gfc_get_derived_type, at fortran/trans-types.cc:2811

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107560 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #2) > Yep. It was missed by the guy that did the BOZ rework. ;-) I think the BOZ rework was a greater step for mankind than the missing fix ... > If it passed reg

[Bug c++/85775] False positive with -Wparentheses

2023-03-24 Thread markus-t314 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85775 markus changed: What|Removed |Added CC||markus-t314 at gmx dot de --- Comment #2 from m

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #7 from Andrew Pinski --- Note I filed the note without a warning at PR 109278.

[Bug c++/109278] a note without a warning

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109278 --- Comment #2 from Andrew Pinski --- Created attachment 54751 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54751&action=edit compressed preprocessed source Semi reduced testcase, just removing what was afterwards rather than anything e

[Bug fortran/107560] ICE in gfc_get_derived_type, at fortran/trans-types.cc:2811

2023-03-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107560 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/109278] a note without a warning

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109278 --- Comment #1 from Andrew Pinski --- Sorry the compressed source is still too big.

[Bug c++/109278] New: a note without a warning

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109278 Bug ID: 109278 Summary: a note without a warning Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: diagnostic, needs-reduction Severity: normal Priority

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #6 from Andrew Pinski --- I know cppreference is not the standard but usually it has a good summary. From: https://en.cppreference.com/w/cpp/types/is_convertible : ``` >From and To shall each be a complete type, (possibly cv-qualifi

[Bug fortran/107560] ICE in gfc_get_derived_type, at fortran/trans-types.cc:2811

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107560 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to work||11.3.1, 12.2.1, 13.0

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #5 from Andrew Pinski --- Reduced testcase that shows the compiling difference between GCC 12 and 13: ``` #include struct a; struct b{}; bool c = std::is_convertible::value; ```

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > The difference is is_convertible definition. > 12: > template > struct is_convertible > : public __is_convertible_helper<_From, _To>::type > { }; >

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #3 from Andrew Pinski --- Though the code might be undefined ... 20.15.6/5 says: ``` The predicate condition for a template specialization is_convertible shall be satisfied if and only if the return expression in the following code

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 Andrew Pinski changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |https://gcc.gnu.org/bugzill

[Bug libstdc++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Andrew Pi

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

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

[Bug tree-optimization/109175] error: 'void* __builtin_memset(void*, int, long unsigned int)' writing 4 or more bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]

2023-03-24 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109175 --- Comment #7 from Jan Wassenberg --- Thanks, I will be changing the code to add a nullptr check.

[Bug fortran/109275] Bad error messages for interfaces describing surrounding program unit

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109275 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-03-24 Ever confirme

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/109277] New: [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-03-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 Bug ID: 109277 Summary: [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’ Product: gcc Version: 13.0 Status: UNC

[Bug c++/106969] [12 Regression] member function constness incorrectly propagates to local class member function return type deduction

2023-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106969 Patrick Palka changed: What|Removed |Added Summary|[12/13 Regression] member |[12 Regression] member

[Bug c++/106969] [12/13 Regression] member function constness incorrectly propagates to local class member function return type deduction

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106969 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bbf2424c57c2e13d1a972c4ef4e871c3119b9cb4 commit r13-6856-gbbf2424c57c2e13d1a972c4ef4e871c3119b9cb4 Author: Patrick Palka Date: F

[Bug tree-optimization/109175] error: 'void* __builtin_memset(void*, int, long unsigned int)' writing 4 or more bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109175 --- Comment #6 from Andrew Pinski --- Reduced all the way removing all of the classes showing exactly what I thought it was: ``` void *ao(); float *aq(long t) { if (t) return nullptr; return static_cast(ao()); } float v; void at(long t)

[Bug fortran/109186] nearest(huge(x),-1.0_kind(x)) half of correct value

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109186 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|

[Bug fortran/85877] [10/11/12/13 Regression] ICE in fold_convert_loc, at fold-const.c:2449

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85877 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASSI

[Bug fortran/32630] [meta-bug] ISO C binding

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32630 Bug 32630 depends on bug 85877, which changed state. Bug 85877 Summary: [10/11/12/13 Regression] ICE in fold_convert_loc, at fold-const.c:2449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85877 What|Removed |Ad

[Bug fortran/109186] nearest(huge(x),-1.0_kind(x)) half of correct value

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109186 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b9f6e7e234bab6ef8b5425c3e8b88bf8dfbc5089 commit r10-11265-gb9f6e7e234bab6ef8b5425c3e8b88bf8dfbc5089 Author: Harald Anlauf

[Bug fortran/85877] [10/11/12/13 Regression] ICE in fold_convert_loc, at fold-const.c:2449

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85877 --- Comment #15 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:dca8e28c990547648543175de9b6e05356f77e8a commit r10-11264-gdca8e28c990547648543175de9b6e05356f77e8a Author: Harald Anlauf

[Bug fortran/99036] [11/12/13 Regression] ICE in gfc_current_interface_head, at fortran/interface.c:4699

2023-03-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99036 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASSI

[Bug fortran/99036] [11/12/13 Regression] ICE in gfc_current_interface_head, at fortran/interface.c:4699

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99036 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2055702e8d492be6e978fa93a7bfefd358d5d9e3 commit r11-10596-g2055702e8d492be6e978fa93a7bfefd358d5d9e3 Author: Harald Anlauf

[Bug fortran/109186] nearest(huge(x),-1.0_kind(x)) half of correct value

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109186 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4b722050fe8e7f06a3e653f290a39ccdc4d03174 commit r11-10595-g4b722050fe8e7f06a3e653f290a39ccdc4d03174 Author: Harald Anlauf

[Bug fortran/85877] [10/11/12/13 Regression] ICE in fold_convert_loc, at fold-const.c:2449

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85877 --- Comment #14 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0257ba766443f11cf61c52db9b480337e44b48c8 commit r11-10594-g0257ba766443f11cf61c52db9b480337e44b48c8 Author: Harald Anlauf

[Bug target/109276] [11/12/13 Regression] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #10 from H.J. Lu --- (In reply to Jakub Jelinek from comment #7) > This started to ICE with r11-508-gdfa4fcdba374ed44 in the newly added pass > there, > and since r11-2259-g0a9d711df36b42b6494b73 it ICEs similarly like on the > trunk

[Bug tree-optimization/109175] error: 'void* __builtin_memset(void*, int, long unsigned int)' writing 4 or more bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]

2023-03-24 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109175 --- Comment #5 from Mathieu Malaterre --- c-reduce(d) ugly version: % cat demo3.cc struct d { using b = float &; }; template using c = d::b; struct e { using b = c; }; template struct j; template using h = typename j::b; template struct

[Bug target/109276] [11/12/13 Regression] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

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

[Bug target/109276] [11/12/13 Regression] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #8 from Andrew Pinski --- A workaround is to do: long long int digit __attribute__((aligned(8))); Note manually setting the digit alignment to 4 does not cause an ICE for GCC 10.4 either.

[Bug target/109276] [11/12/13 Regression] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug target/109276] [11/12/13 Regression] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0, 13.0 Summary|ICE: in

[Bug rtl-optimization/109276] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread max.aehle at scicomp dot uni-kl.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 Max Aehle changed: What|Removed |Added Attachment #54745|0 |1 is obsolete|

[Bug rtl-optimization/109276] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread max.aehle at scicomp dot uni-kl.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #5 from Max Aehle --- Created attachment 54750 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54750&action=edit produced with -save-temps

[Bug rtl-optimization/109276] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread max.aehle at scicomp dot uni-kl.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #4 from Max Aehle --- Created attachment 54749 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54749&action=edit produces with -save-temps

[Bug rtl-optimization/109276] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread max.aehle at scicomp dot uni-kl.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #3 from Max Aehle --- Created attachment 54748 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54748&action=edit preprocessed source produced with -freport-bug

[Bug rtl-optimization/109276] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread max.aehle at scicomp dot uni-kl.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #2 from Max Aehle --- Created attachment 54747 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54747&action=edit output with additional flag -v

[Bug rtl-optimization/109276] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread max.aehle at scicomp dot uni-kl.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #1 from Max Aehle --- Created attachment 54746 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54746&action=edit source code of minimal example

[Bug rtl-optimization/109276] New: ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-03-24 Thread max.aehle at scicomp dot uni-kl.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 Bug ID: 109276 Summary: ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Sev

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2023-03-24 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #36 from Peter Bergner --- (In reply to Jakub Jelinek from comment #34) > What is the state of this PR? I see patches posted in August, but don't see > anything committed... I've seen some patch submissions and pings in February an

[Bug libgcc/108891] libatomic: AArch64 SEQ_CST 16-byte load missing barrier

2023-03-24 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108891 Wilco changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgcc/108891] libatomic: AArch64 SEQ_CST 16-byte load missing barrier

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108891 --- Comment #1 from CVS Commits --- The master branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:1f641d6aba284e0c277e6684cd6b2c73591cd14d commit r13-6855-g1f641d6aba284e0c277e6684cd6b2c73591cd14d Author: Wilco Dijkstra Date:

[Bug c++/105481] [10/11/12/13 Regression] ICE: unexpected expression of kind template_parm_index

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105481 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4e2cdb1ddb5f6ace909358775e94bfe23046ad5a commit r13-6853-g4e2cdb1ddb5f6ace909358775e94bfe23046ad5a Author: Jason Merrill Date: Th

[Bug target/106069] [12/13 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #35 from Jakub Jelinek --- Ping again.

[Bug fortran/104949] [OpenMP] omp target: firstprivate of allocatable array – only descriptor firstprivatized

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104949 --- Comment #4 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:e8fec6998b656dac02d4bc6c69b35a0fb5611e87 commit r13-6852-ge8fec6998b656dac02d4bc6c69b35a0fb5611e87 Author: Thomas Schwinge Date:

[Bug target/105980] [11/12 Regression] ICE in final_scan_insn_1, at final.cc:2811

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

[Bug c++/97740] [10/11/12/13 Regression] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2023-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740 --- Comment #4 from Patrick Palka --- A C++14 version that's more similar to the original testcase using a generic lambda and dependent initializer: struct A { constexpr const int* get() const { return &m; } private: int m = 42; } a; struct

[Bug ipa/105685] [10/11/12/13 Regression] Bogus `-Wsuggest-attribute=cold` on function already marked as `__attribute__((cold))`

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

[Bug c++/97740] [10/11/12/13 Regression] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2023-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740 Patrick Palka changed: What|Removed |Added Target Milestone|--- |10.5 See Also|

[Bug other/109163] SARIF (and other JSON) output files are non-deterministic

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109163 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:7f1e15f743357e037d7c4f6f6000863c26f3dfc3 commit r13-6851-g7f1e15f743357e037d7c4f6f6000863c26f3dfc3 Author: David Malcolm Date: F

[Bug tree-optimization/109274] [13 Regression] ice in in_chain_p, at gimple-range-gori.cc:119 starting with r13-6787-g0963cb5fde158cce986

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

[Bug tree-optimization/109274] [13 Regression] ice in in_chain_p, at gimple-range-gori.cc:119 starting with r13-6787-g0963cb5fde158cce986

2023-03-24 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109274 Andrew Macleod changed: What|Removed |Added Attachment #54742|0 |1 is obsolete|

[Bug target/103628] ICE: Segmentation fault (in gfc_conv_tree_to_mpfr)

2023-03-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103628 --- Comment #7 from Segher Boessenkool --- (In reply to HaoChen Gui from comment #5) > The memory representation of IBM long double is not unique. It's actually > the sum of two 64-bit doubles. Yes, and the first of those two DP numbers is req

[Bug tree-optimization/109265] [13 Regression] ICE for 527.cam4_r after r13-6787-g0963cb5fde158c

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109265 Jakub Jelinek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/109274] [13 Regression] ice in in_chain_p, at gimple-range-gori.cc:119 starting with r13-6787-g0963cb5fde158cce986

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109274 Jakub Jelinek changed: What|Removed |Added CC||stefansf at linux dot ibm.com --- Comme

[Bug tree-optimization/109274] [13 Regression] ice in in_chain_p, at gimple-range-gori.cc:119 starting with r13-6787-g0963cb5fde158cce986

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

[Bug fortran/109275] Bad error messages for interfaces describing surrounding program unit

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

[Bug tree-optimization/109265] [13 Regression] ICE for 527.cam4_r after r13-6787-g0963cb5fde158c

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109265 --- Comment #9 from Jakub Jelinek --- Adjusted testcase: module pr109265 integer, parameter :: r8 = selected_real_kind (12) contains subroutine foo (b, c, d, e, f) implicit none logical :: b real (kind = r8) :: c, d, e, f, i

[Bug ipa/107769] [12/13 Regression] -flto with -Os/-O2/-O3 emitted code with gcc 12.x segfaults via mutated global in .rodata since r12-2887-ga6da2cddcf0e959d

2023-03-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107769 Martin Jambor changed: What|Removed |Added Assignee|hubicka at gcc dot gnu.org |jamborm at gcc dot gnu.org ---

[Bug tree-optimization/109265] [13 Regression] ICE for 527.cam4_r after r13-6787-g0963cb5fde158c

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109265 --- Comment #8 from Jakub Jelinek --- My PR109274 patch fixes this too.

[Bug tree-optimization/109238] [13 Regression] tst-realloc.i:42:19: error: pointer ‘p’ may be used after ‘realloc’ [-Werror=use-after-free] in glibc tests

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

[Bug libgcc/109270] ssp/ssp.h should be adapted to use __builtin_dynamic_object_size()

2023-03-24 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109270 Siddhesh Poyarekar changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 Richard Biener changed: What|Removed |Added CC||jdx at o2 dot pl --- Comment #30 from

[Bug bootstrap/109188] Building genmodes under MinGW-W64/MSYS2 fails due to undefined HOST_EXTRA_OBJS_SYMBOL

2023-03-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109188 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug tree-optimization/109274] [13 Regression] ice in in_chain_p, at gimple-range-gori.cc:119 starting with r13-6787-g0963cb5fde158cce986

2023-03-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109274 --- Comment #3 from Jakub Jelinek --- I think: --- gcc/gimple-range-gori.cc.jj 2023-03-23 15:25:47.060741116 +0100 +++ gcc/gimple-range-gori.cc2023-03-24 14:30:38.272043631 +0100 @@ -632,10 +632,11 @@ gori_compute::compute_operand_range (vra

[Bug tree-optimization/109238] [13 Regression] tst-realloc.i:42:19: error: pointer ‘p’ may be used after ‘realloc’ [-Werror=use-after-free] in glibc tests

2023-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109238 --- Comment #8 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:0409aa5a2de9ce3164933814a4a7adc91f6acb96 commit r13-6850-g0409aa5a2de9ce3164933814a4a7adc91f6acb96 Author: Andrew MacLeod Date:

[Bug target/109137] [12 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-24 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 --- Comment #20 from Vladimir Makarov --- (In reply to CVS Commits from comment #19) > The master branch has been updated by Jakub Jelinek : > > https://gcc.gnu.org/g:0d9e52675c009139a14182d92ddb446ba2feabce > > commit r13-6846-g0d9e52675c0091

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-24 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #21 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #20 from Jakub Jelinek --- > Tried valgrind on the cross d21 on x86_64 and didn't see anything. > Perhaps modify the makefiles such that it uses -fdump-tree-all -da alrea

  1   2   >