[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #42 from Jakub Jelinek --- (In reply to Дилян Палаузов from comment #40) > Or when is gcc-bootstrap true and target-libbacktrace-bootstrap false? Whenever --enable-bootstrap (explicitly or by default) and libbacktrace isn't needed b

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #41 from Jakub Jelinek --- Fixed for 13.3 too.

[Bug c++/114572] [OpenMP] "internal compiler error: in assign_temp" with assignment operator and lastprivate clause

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114572 --- Comment #6 from Jakub Jelinek --- Fixed for 13.3 too.

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 --- Comment #14 from Jakub Jelinek --- Fixed for 13.3 too.

[Bug middle-end/114552] [13 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r13-990

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

[Bug c++/114580] Bogus warning on if constexpr

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114580 --- Comment #5 from Jakub Jelinek --- Fixed for 13.3 too.

[Bug tree-optimization/114566] [11/12 Regression] Misaligned vmovaps when compiling with stack-protector-strong for znver4

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

[Bug middle-end/110027] [11/12 regression] Stack objects with extended alignments (vectors etc) misaligned on detect_stack_use_after_return

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13 regression] Stack |[11/12 regression] Stack

[Bug sanitizer/114687] [13 Regression] ICE: in edge_before_returns_twice_call, at gimple-iterator.cc:981

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

[Bug c++/114634] [11/12 Regression] Crash Issue Encountered in GCC Compilation of Template Code with Aligned Attribute since r9-1745

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

[Bug c++/114691] [11/12 Regression] Bogus ignoring loop annotation warning

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

[Bug sanitizer/114743] ICE in build_check_stmt at asan.cc:2707 while compiling gcc.dg/ubsan/pr112709-2.c with -fsanitize=address

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114743 --- Comment #5 from Jakub Jelinek --- Fixed for 13.3 too.

[Bug middle-end/114753] from_chars aborts with -m32 -ftrapv when passed -9223372036854775808

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114753 --- Comment #11 from Jakub Jelinek --- Fixed for 13.3 too.

[Bug rtl-optimization/114768] Volatile reads can be optimized away

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114768 --- Comment #11 from Jakub Jelinek --- Fixed for 13.3 too.

[Bug c/114780] Using C23 nullptr as sentinel gives missing sentinel warning

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

[Bug ipa/114784] [14 Regression] Inlining fails for always_inline inheriting constructor

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

[Bug ipa/114784] [14 Regression] Inlining fails for always_inline inheriting constructor

2024-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114784 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:aa73eb97a1e3c84564fa71158d09f9c5582c4d2e commit r14-10086-gaa73eb97a1e3c84564fa71158d09f9c5582c4d2e Author: Jakub Jelinek Date:

[Bug c/114819] 'constructor', 'destructor' function attributes vs. function signature

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114819 --- Comment #1 from Andrew Pinski --- Note we incorrectly also accept it on nested functions too.

[Bug tree-optimization/114799] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.cc:85 with -O2 -fno-vect-cost-model

2024-04-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114799 --- Comment #7 from Richard Biener --- t.i:11:6: note: node (external) 0x4918928 (max_nunits=1, refcnt=2) t.i:11:6: note: { t1_6, patt_10 } I have a fix for this latent issue.

[Bug c/114819] New: 'constructor', 'destructor' function attributes vs. function signature

2024-04-22 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114819 Bug ID: 114819 Summary: 'constructor', 'destructor' function attributes vs. function signature Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diagnos

[Bug c/114818] New: 'constructor', 'destructor' function attributes vs. 'extern'

2024-04-22 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114818 Bug ID: 114818 Summary: 'constructor', 'destructor' function attributes vs. 'extern' Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diagnostic, docum

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #12 from Uroš Bizjak --- (In reply to Vladimir Makarov from comment #9) > (In reply to Uroš Bizjak from comment #7) > > > > > > Please note that the insn is defined as: > > > > (define_insn_and_split "*andn3_doubleword_bmi" > > [

[Bug c++/114078] operator new and operator delete are incorrectly acceptable as explicit object member functions

2024-04-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114078 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/114078] operator new and operator delete are incorrectly acceptable as explicit object member functions

2024-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114078 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:cf51fe706ea0219beb5bb85e81606d372ca9635e commit r14-10085-gcf51fe706ea0219beb5bb85e81606d372ca9635e Author: Nathaniel Shead Date

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Resolutio

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #11 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > (In reply to Uroš Bizjak from comment #7) > > (define_insn_and_split "*andn3_doubleword_bmi" > > [(set (match_operand: 0 "register_operand" "=&r,r,r") > > (

[Bug target/114786] ICE in recog.cc: unrecognizable insn while compiling bcd-3.c for power pc

2024-04-22 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114786 Jiu Fu Guo changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug target/100736] ICE: unrecognizable insn

2024-04-22 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100736 Jiu Fu Guo changed: What|Removed |Added CC||pheeck at gcc dot gnu.org --- Comment #7 f

[Bug libstdc++/114817] New: Wrong codegen for std::copy of "trivially copyable but not trivially assignable" type

2024-04-22 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114817 Bug ID: 114817 Summary: Wrong codegen for std::copy of "trivially copyable but not trivially assignable" type Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/114816] New: Non-standard behavior with void arguments

2024-04-22 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114816 Bug ID: 114816 Summary: Non-standard behavior with void arguments Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug analyzer/114778] ICE: in get_region_for_local, at analyzer/region.cc:1366

2024-04-22 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114778 --- Comment #3 from Anonymous --- (In reply to David Malcolm from comment #1) > Thanks for filing this. > > It's failing this assertion in frame_region::get_region_for_local : > > 1421 case VAR_DECL: > 1422gcc_assert (!is_

[Bug fortran/114815] internal compiler error: Segmentation fault - on creating type with len parameter and dependent on it character array

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

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 Halalaluyafail3 changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/114800] DSE does not remove set-zero which is partial redundant with respect to mod-ref

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114800 --- Comment #4 from Andrew Pinski --- Note mod-ref does tells us that only f1, f3 are used here but DSE must have missed that for `= {}`. Note without the knowledge of foo, we still have a partial redundant zeroing happening due to padding bein

[Bug fortran/114815] New: internal compiler error: Segmentation fault - Segmentation Fault - on creating type with len parameter and dependent on it character array

2024-04-22 Thread dencraft29 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114815 Bug ID: 114815 Summary: internal compiler error: Segmentation fault - Segmentation Fault - on creating type with len parameter and dependent on it character array Product:

[Bug tree-optimization/114800] DSE does not remove set-zero which is partial redundant

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114800 Andrew Pinski changed: What|Removed |Added Summary|redundant set-zero when |DSE does not remove |

[Bug tree-optimization/114800] redundant set-zero when initiate a struct

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114800 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIR

[Bug ipa/114643] [11/12/13/14 Regression] Call to a template function emitted but without the code for the template function itself

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114643 --- Comment #6 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #5) > Started with r8-6709-gb9aba9fde536dc3e0293653509f530322ee2753e That is almost definitely just exposed the bug I have not looked to see if changing the params on

[Bug c++/114804] [11/12/13/14 Regression] using of a static variable inside a template is not found for use of a base class template of an inner class during instantiation since r11-6815

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114804 Andrew Pinski changed: What|Removed |Added Known to work||10.5.0 Known to fail|

[Bug target/114639] [riscv] ICE in create_pre_exit, at mode-switching.cc:451

2024-04-22 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114639 --- Comment #16 from JuzheZhong --- This issue is not fully fixed since the fixed patch only fixes ICE but there is a regression in codegen: https://godbolt.org/z/4nvxeqb6K Terrible codege: test(__rvv_uint64m4_t): addisp,sp,-16

[Bug c++/114795] internal compiler error: in finish_member_declaration after module import in gcc 14.0.1 snapshot

2024-04-22 Thread porten at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114795 --- Comment #6 from porten at kde dot org --- The test case for the other ICE is quite similar to the first one: - command g++ -std=c++2a -fmodules-ts -c url.cpp queue.cpp --- url.cp --- module; #

[Bug target/114809] [RISC-V RVV] Counting elements might be simpler

2024-04-22 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114809 JuzheZhong changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment #3

[Bug target/114714] [RISC-V][RVV] ICE: insn does not satisfy its constraints (postreload)

2024-04-22 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114714 JuzheZhong changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai --- Comment #6

[Bug tree-optimization/114814] New: Reduction sum of comparison should be better

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114814 Bug ID: 114814 Summary: Reduction sum of comparison should be better Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug target/114809] [RISC-V RVV] Counting elements might be simpler

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114809 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #10 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #8) > So, given the known ia32 register starvation, can't we split that first > alternative to > =&r,r,o with "nox64" isa and =&r,r,ro with "x64" isa? Better make it

[Bug c/114746] With FLT_EVAL_METHOD = 2, -fexcess-precision=fast reduces the precision of floating-point constants and floating-point constant expressions

2024-04-22 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114746 --- Comment #6 from Vincent Lefèvre --- (In reply to Jakub Jelinek from comment #5) > FLT_EVAL_METHOD = 0 is on some hw like the pre-SSE2 ia32 extremely > expensive, far more so than even the very expensive -ffloat-store. That is > certainly no

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #9 from Vladimir Makarov --- (In reply to Uroš Bizjak from comment #7) > > > Please note that the insn is defined as: > > (define_insn_and_split "*andn3_doubleword_bmi" > [(set (match_operand: 0 "register_operand" "=&r,r,r") >

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #8 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #7) > (define_insn_and_split "*andn3_doubleword_bmi" > [(set (match_operand: 0 "register_operand" "=&r,r,r") > (and: > (not: (match_operand: 1 "register_

[Bug tree-optimization/109071] -Warray-bounds false positive warnings due to code duplication from jump threading

2024-04-22 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109071 --- Comment #9 from qinzhao at gcc dot gnu.org --- (In reply to Kees Cook from comment #8) > Normally -Warray-bounds doesn't warn when a value is totally unknown (i.e. > "index" here can be [-INT_MAX,INT_MAX]). Why does the warning change when >

[Bug target/114809] [RISC-V RVV] Counting elements might be simpler

2024-04-22 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114809 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug fortran/102597] ICE in gfc_get_extern_function_decl, at fortran/trans-decl.c:2243 since r8-3365-gb89a63b916340ef2

2024-04-22 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102597 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 Bug 40883 depends on bug 66928, which changed state. Bug 66928 Summary: Typos in translatable strings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66928 What|Removed |Added --

[Bug translation/66928] Typos in translatable strings

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66928 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Sta

[Bug target/114809] [RISC-V RVV] Counting elements might be simpler

2024-04-22 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114809 palmer at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug translation/66928] Typos in translatable strings

2024-04-22 Thread abe_skolnik at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66928 --- Comment #3 from Abe --- (In reply to Eric Gallager from comment #1) > are these still there? "No" to all four [please see comment #2, i.e. ].

[Bug translation/66928] Typos in translatable strings

2024-04-22 Thread abe_skolnik at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66928 Abe changed: What|Removed |Added CC||abe_skolnik at yahoo dot com --- Comment #2 from A

[Bug tree-optimization/109071] -Warray-bounds false positive warnings due to code duplication from jump threading

2024-04-22 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109071 --- Comment #8 from Kees Cook --- The warning is about: val = &sg->vals[index]; poc.c:20:20: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds=] 20 | val = &sg->vals[index]; |~~~

[Bug c++/114812] Arguments of array type decay to pointer type too eagerly when used as arguments to ref- or ptr-to-function

2024-04-22 Thread rkraesig at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114812 --- Comment #2 from Raymond Kraesig --- (In reply to Andrew Pinski from comment #1) > Maybe a dup of one of the bugs linked from PR 24666. It's none of the open bugs, as far as I can tell. Since it still happens on trunk, I assume it's none of

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 --- Comment #8 from Andrew Pinski --- https://github.com/llvm/llvm-project/issues/39494 is the clang issue dealing with DR 423 .

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #7 from Uroš Bizjak --- (In reply to Vladimir Makarov from comment #6) > The problem is that the alternative assumes 3 DI values live simultaneously. > This means 6 regs and we have only 6 available ones. One input reg is > assigned

[Bug tree-optimization/109071] -Warray-bounds false positive warnings due to code duplication from jump threading

2024-04-22 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109071 --- Comment #7 from qinzhao at gcc dot gnu.org --- (In reply to Kees Cook from comment #6) > (In reply to qinzhao from comment #5) > > adding __attribute__ ((noreturn)) to the routine "warn" can eliminate the > > false positive warning. > > But

[Bug driver/114813] powerpc64: Assembly option -many passed unconditionally, please drop, or make easily configurable

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

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

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112868 Andrew Pinski changed: What|Removed |Added CC||nisse at lysator dot liu.se --- Comment

[Bug c++/114812] Arguments of array type decay to pointer type too eagerly when used as arguments to ref- or ptr-to-function

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114812 --- Comment #1 from Andrew Pinski --- Maybe a dup of one of the bugs linked from PR 24666.

[Bug fortran/102597] ICE in gfc_get_extern_function_decl, at fortran/trans-decl.c:2243 since r8-3365-gb89a63b916340ef2

2024-04-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102597 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to fail||10.5.0, 11.4.1, 12.3.1

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 --- Comment #7 from Joseph S. Myers --- Yes, this is deliberate following the resolution of DR#423 which means qualifiers are ignored on function return types (it's still diagnosed in pre-C11 modes).

[Bug driver/114813] New: powerpc64: Assembly option -many passed unconditionally, please drop, or make easily configurable

2024-04-22 Thread nisse at lysator dot liu.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114813 Bug ID: 114813 Summary: powerpc64: Assembly option -many passed unconditionally, please drop, or make easily configurable Product: gcc Version: 12.2.0

[Bug c++/114812] New: Arguments of array type decay to pointer type too eagerly when used as arguments to ref- or ptr-to-function

2024-04-22 Thread rkraesig at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114812 Bug ID: 114812 Summary: Arguments of array type decay to pointer type too eagerly when used as arguments to ref- or ptr-to-function Product: gcc Version: 13.2.1

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 --- Comment #6 from Halalaluyafail3 --- * Paragraph 5 instead of Paragraph 4

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #6 from Vladimir Makarov --- (In reply to Uroš Bizjak from comment #4) > An interesting observation, when the insn is defined only with problematic > alternative: > > (define_insn_and_split "*andn3_doubleword_bmi" > [(set (match_o

[Bug fortran/54389] [F2003/F2008 difference] PURE functions and pointer dummy arguments / DECL_PURE_P issue

2024-04-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54389 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #7 from a

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 --- Comment #5 from Halalaluyafail3 --- I made this bug report because of the warning that clang has, but the following paragraph may allow this: > If, in the declaration "T D1", D1 has the form > D ( parameter-type-list ) > or > D ( identifier

[Bug modula2/114811] iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114811] iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:b909daa5b67317e46543a7b2ed76e82298645cf6 commit r14-10080-gb909daa5b67317e46543a7b2ed76e82298645cf6 Author: Gaius Mulley Date: Mo

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-04-22 Ever confirmed|0

[Bug rtl-optimization/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -msta

2024-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 Uroš Bizjak changed: What|Removed |Added Keywords||ra Component|target

[Bug target/114801] [14 Regression] arm: ICE in find_cached_value, at rtx-vector-builder.cc:100 with MVE intrinsics

2024-04-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114801 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/114799] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.cc:85 with -O2 -fno-vect-cost-model

2024-04-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114799 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -mstackrealign

2024-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #4 from Uroš Bizjak --- An interesting observation, when the insn is defined only with problematic alternative: (define_insn_and_split "*andn3_doubleword_bmi" [(set (match_operand: 0 "register_operand" "=&r") (and:

[Bug tree-optimization/109071] -Warray-bounds false positive warnings due to code duplication from jump threading

2024-04-22 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109071 --- Comment #6 from Kees Cook --- (In reply to qinzhao from comment #5) > adding __attribute__ ((noreturn)) to the routine "warn" can eliminate the > false positive warning. But it does return... it's not an assert.

[Bug tree-optimization/114785] special handling of COND_EXPR in gimple_extract can be removed

2024-04-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114785 --- Comment #3 from Richard Biener --- Note there's still code in tree-vect-patterns.cc creating those and code in tree-vect-stmts.cc might use gimple_extract on them.

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 --- Comment #3 from Jakub Jelinek --- Oops, I'm blind.

[Bug modula2/114811] iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 --- Comment #1 from Gaius Mulley --- Created attachment 58012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58012&action=edit Proposed fix This patch fixes gm2-torture.exp to detect internal compiler error as a negative result and also p

[Bug modula2/114811] iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/114808] Qualified void return type is not diagnosed

2024-04-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114808 --- Comment #2 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #1) > I don't see such a sentence in C++17 nor other C++ standards. It was reported for C, not C++ :). Anyways clang rejects it in C mode (with -pedantic-errors): ``

[Bug tree-optimization/109071] -Warray-bounds false positive warnings due to code duplication from jump threading

2024-04-22 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109071 --- Comment #5 from qinzhao at gcc dot gnu.org --- adding __attribute__ ((noreturn)) to the routine "warn" can eliminate the false positive warning.

[Bug c/114808] Qualified void return type is not diagnosed

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

[Bug target/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -mstackrealign

2024-04-22 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug modula2/114811] New: iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 Bug ID: 114811 Summary: iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/114803] simd conversion to [[gnu::vector_size(N)]] type hits invalid code in experimental/bits/simd_builtin.h

2024-04-22 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114803 --- Comment #2 from Matthias Kretz (Vir) --- Fixed in master, still need to backport.

[Bug libstdc++/114803] simd conversion to [[gnu::vector_size(N)]] type hits invalid code in experimental/bits/simd_builtin.h

2024-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114803 --- Comment #1 from GCC Commits --- The master branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:7ef139146a8923a8719873ca3fdae175668e8d63 commit r14-10079-g7ef139146a8923a8719873ca3fdae175668e8d63 Author: Matthias Kretz Date:

[Bug testsuite/114034] Failure of tests gcov-dump-{1,2}.C

2024-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114034 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:6a4824a8bc86fcbcb8f51bab4c24d72ffd00715e commit r12-10385-g6a4824a8bc86fcbcb8f51bab4c24d72ffd00715e Author: Iain Sandoe D

[Bug target/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -mstackrealign

2024-04-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |14.0 Priority|P3

[Bug target/114801] [14 Regression] arm: ICE in find_cached_value, at rtx-vector-builder.cc:100 with MVE intrinsics

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

[Bug target/114810] [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -mstackrealign

2024-04-22 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 --- Comment #1 from Kostadin Shishmanov --- Created attachment 58011 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58011&action=edit reduced testcase

[Bug target/114810] New: [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with -m32 -mstackrea

2024-04-22 Thread kocelfc at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114810 Bug ID: 114810 Summary: [14 Regression] internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_d

[Bug modula2/114807] badpointer3.mod causes an ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114807 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114807] badpointer3.mod causes an ICE

2024-04-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114807 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:b0469e35dbcc9a93a2cb50e3c0445edc3db174be commit r14-10077-gb0469e35dbcc9a93a2cb50e3c0445edc3db174be Author: Gaius Mulley Date: Mo

[Bug libstdc++/114417] std::experimental::simd is not a POD (by ABI definitions) and is always passed by reference instead of by value

2024-04-22 Thread lee.imple at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114417 --- Comment #11 from Imple Lee --- > What you want to use instead is std::experimental::simd_abi::deduce_t. > That'll give you a not-fixed_size ABI if one exists. And those will likely be > passed via registers (as long as the psABI allows).

  1   2   >