[Bug target/106095] Some AVX builtins produce invalid asm with -masm=intel

2022-06-27 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106095 --- Comment #1 from Antoni --- Created attachment 53212 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53212=edit patch fixing the bug

[Bug c++/106110] Expected ambiguity but it resolves fine

2022-06-27 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106110 --- Comment #1 from Ted Lyngmo --- Sorry, the helper variable template should be: ``` template static constexpr bool is_foo_call_ambiguous_v = is_foo_call_ambiguous::value; ``` It gives the same result: https://godbolt.org/z/bKbn8Gre7

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-06-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #6 from Sergei Trofimovich --- Also found a closely related jit build failure, but there is used directly. Proposed the change to move before poisoning step as: https://gcc.gnu.org/pipermail/gcc-patches/2022-June/597379.html

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #5 from CVS Commits --- The master branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:3b21c21f3f5726823e19728fdd1571a14aae0fb3 commit r13-1311-g3b21c21f3f5726823e19728fdd1571a14aae0fb3 Author: Sergei Trofimovich

[Bug testsuite/106105] new test case gcc.dg/torture/pr106070.c in r13-1243-gb36a1c964f9975 fails for 32 bits

2022-06-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106105 seurer at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug testsuite/106105] new test case gcc.dg/torture/pr106070.c in r13-1243-gb36a1c964f9975 fails for 32 bits

2022-06-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106105 --- Comment #2 from seurer at gcc dot gnu.org --- The last round of tests I ran still showed this failing but I will check with the latest commit.

[Bug c++/106109] Internal compiler error

2022-06-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/106109] Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 --- Comment #4 from Philip Deegan --- as a minimal reproducer ` template class G { public: auto static F() { return 1; } }; int main() { auto fn = [](auto const& f) -> void { f(); }; fn(G::F); return 0; } `

[Bug c++/106109] Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 --- Comment #3 from Philip Deegan --- a bit more testing on our end, I think the issue stems from the lack of & on GridYee::JxToMoments https://github.com/PHAREHUB/PHARE/blob/master/tests/core/data/electrons/test_electrons.cpp#L519 >

[Bug c++/106110] New: Expected ambiguity but it resolves fine

2022-06-27 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106110 Bug ID: 106110 Summary: Expected ambiguity but it resolves fine Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/106109] Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 --- Comment #2 from Philip Deegan --- Created attachment 53211 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53211=edit preprocessed source

[Bug c++/106109] Internal compiler error

2022-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 --- Comment #1 from Andrew Pinski --- > ccCpGiQv.out is uploaded here: Can you attach it? You might need to compress it too.

[Bug c++/106109] New: Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 Bug ID: 106109 Summary: Internal compiler error Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/104430] [10 Regression] ICE in gfc_conv_component_ref, at fortran/trans-expr.cc:2742 since r9-3522-gd0477233215e37de

2022-06-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104430 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING

[Bug fortran/106089] false positives with -Wuninitialized for allocation on assignment

2022-06-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106089 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||kaiserkarl31 at yahoo dot

[Bug fortran/106108] gfortran gives warning about unitilialized variable for string with both allocatable length and size

2022-06-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106108 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/89197] Templated Functions const auto assignment causes internal compiler error

2022-06-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89197 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/97899] [11 Regression] internal compiler error: in split_nonconstant_init_1, at cp/typeck2.c:626

2022-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97899 --- Comment #12 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:508231d54405ac9f120cf30c28cd6eb10ceded30 commit r13-1303-g508231d54405ac9f120cf30c28cd6eb10ceded30 Author: Marek Polacek Date:

[Bug c++/89197] Templated Functions const auto assignment causes internal compiler error

2022-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89197 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:508231d54405ac9f120cf30c28cd6eb10ceded30 commit r13-1303-g508231d54405ac9f120cf30c28cd6eb10ceded30 Author: Marek Polacek Date:

[Bug testsuite/106105] new test case gcc.dg/torture/pr106070.c in r13-1243-gb36a1c964f9975 fails for 32 bits

2022-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106105 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug fortran/106108] New: gfortran gives warning about unitilialized variable for string with both allocatable length and size

2022-06-27 Thread kaiserkarl31 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106108 Bug ID: 106108 Summary: gfortran gives warning about unitilialized variable for string with both allocatable length and size Product: gcc Version: 11.3.1 Status:

[Bug c++/106107] New: dynamic_cast fail within constant expression

2022-06-27 Thread pkeir at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106107 Bug ID: 106107 Summary: dynamic_cast fail within constant expression Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/106106] New: SRA scalarizes structure copies

2022-06-27 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106106 Bug ID: 106106 Summary: SRA scalarizes structure copies Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug rtl-optimization/106101] [12/13 Regression] ICE in reg_bitfield_target_p

2022-06-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #3 from Segher Boessenkool --- STRICT_LOW_PART is required to contain a SUBREG though.

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-06-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #4 from Sergei Trofimovich --- Posted my naive attempt: https://gcc.gnu.org/pipermail/gcc-patches/2022-June/597353.html

[Bug middle-end/106081] missed vectorization

2022-06-27 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #4 from Jan Hubicka --- Thanks! It seems that imagemagick has quite few loops that inovlve consuming shorts and producing doubles. Also it would be nice to do something about __builtin_convertvector so it does not produce stupid

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-27 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #13 from Alex Coplan --- (In reply to Richard Earnshaw from comment #12) > (In reply to Alex Coplan from comment #11) > > (In reply to Jakub Jelinek from comment #8) > > > The IMHO UB case is for a != b when one address is at the

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #12 from Richard Earnshaw --- (In reply to Alex Coplan from comment #11) > (In reply to Jakub Jelinek from comment #8) > > The IMHO UB case is for a != b when one address is at the start of one > > object and the other address is at

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-06-27 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #32 from qinzhao at gcc dot gnu.org --- (In reply to James Y Knight from comment #31) > It doesn't make sense to have a mode in which `int array[0]` is accepted but > is not a flex array. > > Either that should be a compilation

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 --- Comment #9 from Martin Liška --- (In reply to luoxhu from comment #8) > (In reply to rguent...@suse.de from comment #6) > > On Tue, 21 Jun 2022, jakub at gcc dot gnu.org wrote: > > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740

[Bug gcov-profile/106090] [GCOV] Wrong coverage for loop statements

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106090 Martin Liška changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:00063459f683adcd92ada8325984e6b10e9f7a95 commit r13-1299-g00063459f683adcd92ada8325984e6b10e9f7a95 Author: Jakub Jelinek Date:

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2022-06-27 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #17 from jbeulich at suse dot com --- Largely the same is actually true for the RNDSCALEPH test added for the PR here.

[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

2022-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #14 from H.J. Lu --- (In reply to rguent...@suse.de from comment #13) > On Fri, 24 Jun 2022, hjl.tools at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 > > > > --- Comment #12 from H.J. Lu --- > >

[Bug testsuite/106105] New: new test case gcc.dg/torture/pr106070.c in r13-1243-gb36a1c964f9975 fails for 32 bits

2022-06-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106105 Bug ID: 106105 Summary: new test case gcc.dg/torture/pr106070.c in r13-1243-gb36a1c964f9975 fails for 32 bits Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/106104] PR 87007 testcase fails with 32-bit compiler

2022-06-27 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106104 jbeulich at suse dot com changed: What|Removed |Added Target||i?86-*-* --- Comment #1 from

[Bug target/106104] New: PR 87007 testcase fails with 32-bit compiler

2022-06-27 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106104 Bug ID: 106104 Summary: PR 87007 testcase fails with 32-bit compiler Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/106053] [13 Regression] wrong code with -O -fno-tree-fre since r13-707-g68e0063397ba820e

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106053 --- Comment #2 from Richard Biener --- It works with -mavx or when 'foo' is early inlined (using always-inline). Working: u.1_8 = u; _9 = (long long unsigned int) u.1_8; u64_0_10 = _9 | 23725760132; _18 = u64_0_10 * 3095179400; _50

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2022-06-27 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 jbeulich at suse dot com changed: What|Removed |Added CC||jbeulich at suse dot com ---

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-27 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #11 from Alex Coplan --- (In reply to Jakub Jelinek from comment #8) > The IMHO UB case is for a != b when one address is at the start of one > object and the other address is at the end of another one Just to dig a little deeper

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-06-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #3 from Sergei Trofimovich --- Aha, that makes sense. In this case include chain is: - c++tools/resolver.cc -> c++tools/resolver.h -> libcody/cody.hh -> libstdc++-v3/include/memory ->

[Bug lto/106103] New: ICE in binds_to_current_def_p when source object files are compiled with -flto -Os

2022-06-27 Thread ivanka2012 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106103 Bug ID: 106103 Summary: ICE in binds_to_current_def_p when source object files are compiled with -flto -Os Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #2 from Richard Biener --- The failure can only happen if system headers are included after gcc posioning. All system headers need to be included from system.h for this reason. I think gcc/cp/mapper-resolver.cc needs to arrange the

[Bug fortran/106100] where

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106100 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/106099] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106099 Richard Biener changed: What|Removed |Added Summary|ICE in execute_todo, at |[13 Regression] ICE in

[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu because stage 2 gcc is miscompiled

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.4

[Bug target/106088] ld cannot find dependent libraries when cross compiling

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106088 Richard Biener changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug middle-end/106081] missed vectorization

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #10 from Jakub Jelinek --- IMHO it is.

[Bug tree-optimization/106064] Wrong code comparing two global zero-sized arrays

2022-06-27 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106064 --- Comment #9 from Alex Coplan --- So if f is UB, I suppose the question is whether the codegen for g is correct?

[Bug c++/106102] New: gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-06-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 Bug ID: 106102 Summary: gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc" Product: gcc

[Bug middle-end/106056] Missing call to targetm.asm_out.final_postscan_insn after processing an asm_input

2022-06-27 Thread piannetta at kalrayinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106056 --- Comment #2 from Paul Iannetta --- Right now, I can't pinpoint a test-case within the official gcc testsuite, and the list of targets which define TARGET_ASM_FINAL_POSTSCAN_INSN is limited to: mips, avr and m68k. From my understanding the

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-06-27 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #1 from Sam James --- See also bug 104799.

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 --- Comment #10 from Richard Earnshaw --- the testcase in the committed patch, that is.

[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu because stage 2 gcc is miscompiled

2022-06-27 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096 Xi Ruoyao changed: What|Removed |Added Known to work|12.1.0 | --- Comment #4 from Xi Ruoyao --- Remove

[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu because stage 2 gcc is miscompiled

2022-06-27 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096 Xi Ruoyao changed: What|Removed |Added Build|loongarch64-linux-gnu | Summary|[13 regression] ICE

[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu since r13-911

2022-06-27 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096 --- Comment #2 from Xi Ruoyao --- Created attachment 53208 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53208=edit reduced testcase It looks like a LoongArch code generation issue, not really related to the changes in r13-911.

[Bug demangler/105039] rust demangler stack overflow

2022-06-27 Thread hs.naveen2u at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039 hs.naveen2u at gmail dot com changed: What|Removed |Added CC||hs.naveen2u at gmail dot

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2022-06-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 106070, which changed state. Bug 106070 Summary: [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 What|Removed

[Bug tree-optimization/106070] [13 Regression] Wrong code with -O1 since r13-469-g9a53101caadae1b5

2022-06-27 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106070 Richard Earnshaw changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug rtl-optimization/106101] [12/13 Regression] ICE in reg_bitfield_target_p

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 Richard Biener changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug rtl-optimization/106101] [12/13 Regression] ICE in reg_bitfield_target_p

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #1 from Richard Biener --- Created attachment 53207 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53207=edit reduced testcase

[Bug rtl-optimization/106101] [12/13 Regression] ICE in reg_bitfield_target_p

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug rtl-optimization/106101] New: [12/13 Regression] ICE in reg_bitfield_target_p

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 Bug ID: 106101 Summary: [12/13 Regression] ICE in reg_bitfield_target_p Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106099] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649

2022-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106099 --- Comment #3 from Andrew Pinski --- (In reply to Martin Liška from comment #2) > Started with r13-1204-gd68d366425369649. Since -funreachable-traps is a new option, is this a regression then?

[Bug target/106053] [13 Regression] wrong code with -O -fno-tree-fre since r13-707-g68e0063397ba820e

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106053 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug gcov-profile/106036] Missing stdint.h include in libgcc/libgcov.h

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106036 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/106081] missed vectorization

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 Martin Liška changed: What|Removed |Added Blocks||26163 Ever confirmed|0

[Bug tree-optimization/106099] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106099 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/106082] [13 Regression] Recent change broke m68k

2022-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106082 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug tree-optimization/106099] ICE in execute_todo, at passes.cc:2134

2022-06-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106099 --- Comment #1 from Zdenek Sojka --- A simple C testcase: $ cat testcase.c void foo (void) { for (unsigned i = 0; i < sizeof (foo); i++) ; } $ x86_64-pc-linux-gnu-gcc -O -fsanitize=unreachable -fsanitize-undefined-trap-on-error

[Bug c++/105956] [13 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 Martin Liška changed: What|Removed |Added CC||nyh at math dot technion.ac.il ---

[Bug tree-optimization/106087] Segmentation fault in GIMPLE pass: ccp

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106087 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

2022-06-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #13 from rguenther at suse dot de --- On Fri, 24 Jun 2022, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 > > --- Comment #12 from H.J. Lu --- > (In reply to Richard Biener from comment

[Bug tree-optimization/106073] [12/13 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-3903-g0288527f47cec669

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106073 Martin Liška changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug fortran/106048] [10/11/12/13 Regression] ICE in ubsan_encode_value, at ubsan.cc:143 / verify_gimple failed

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106048 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/106097] undefined behaviors regarding integer shifts in loongarch_build_integer

2022-06-27 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106097 --- Comment #9 from chenglulu --- Created attachment 53206 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53206=edit use LU52I_B and LU32I_B instead of hard coding those long

[Bug target/106053] [13 Regression] wrong code with -O -fno-tree-fre since r13-707-g68e0063397ba820e

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106053 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-06-27

[Bug middle-end/106056] Missing call to targetm.asm_out.final_postscan_insn after processing an asm_input

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

[Bug fortran/106050] ICE in reject_statement, at fortran/parse.cc:2879 since r8-3056-g5bab4c9631c478b7

2022-06-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106050 Martin Liška changed: What|Removed |Added Summary|ICE in reject_statement, at |ICE in reject_statement, at

[Bug target/106097] undefined behaviors regarding integer shifts in loongarch_build_integer

2022-06-27 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106097 --- Comment #8 from chenglulu --- > You can reuse LU32I_B and LU52I_B instead of hard coding those long > constants :). I have fixed it, thanks!:)

[Bug target/106097] undefined behaviors regarding integer shifts in loongarch_build_integer

2022-06-27 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106097 --- Comment #7 from Xi Ruoyao --- (In reply to chenglulu from comment #6) > Created attachment 53205 [details] > 0001-Fix-bug-for-PR16097.patch You can reuse LU32I_B and LU52I_B instead of hard coding those long constants :).

[Bug jit/100096] libgccjit.so.0: Cannot write-enable text segment: Permission denied on NetBSD 9.1

2022-06-27 Thread swilde--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096 Sascha Wilde changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug target/106097] undefined behaviors regarding integer shifts in loongarch_build_integer

2022-06-27 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106097 --- Comment #6 from chenglulu --- Created attachment 53205 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53205=edit 0001-Fix-bug-for-PR16097.patch

[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu since r13-911

2022-06-27 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096 --- Comment #1 from Xi Ruoyao --- Stage 1 GCC generates some very strange code for stage 2 GCC, jumping to "0x2000": .L747: beqz$r12,.L750 lu12i.w $r13,8192>>12 # 0x2000 ld.d$r5,$r26,8 add.d $r3,$r3,$r13

[Bug fortran/106100] New: where

2022-06-27 Thread xiao.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106100 Bug ID: 106100 Summary: where Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at

[Bug tree-optimization/94026] combine missed opportunity to simplify comparisons with zero

2022-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 --- Comment #12 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:f3f73e86ec8613f176db3e52bbfbfbb9636cb714 commit r13-1281-gf3f73e86ec8613f176db3e52bbfbfbb9636cb714 Author: Roger Sayle Date: Mon

[Bug rtl-optimization/7061] Access of bytes in struct parameters

2022-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7061 --- Comment #11 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:64d4f27a0ce47e97867512bda7fa5683acf8a134 commit r13-1282-g64d4f27a0ce47e97867512bda7fa5683acf8a134 Author: Roger Sayle Date: Mon

[Bug tree-optimization/106099] New: ICE in execute_todo, at passes.cc:2134

2022-06-27 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106099 Bug ID: 106099 Summary: ICE in execute_todo, at passes.cc:2134 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal