[Bug fortran/30409] [fortran] missed optimization with pure function arguments

2023-10-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30409 Thomas Koenig changed: What|Removed |Added Depends on||21046 --- Comment #9 from Thomas Koenig

[Bug target/111889] [14 Regression] 128/256 intrins could not be used with only specifying "no-evex512, avx512vl" in function attribute

2023-10-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111889 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #4

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #17 from CVS Commits --- The releases/gcc-13 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:3ae7f45ea0d9caa54ebd5dc19caf94fa002e7ee2 commit r13-7975-g3ae7f45ea0d9caa54ebd5dc19caf94fa002e7ee2 Author: Kewen Lin Date:

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #16 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:93361f2b0a8344a33147e5290e4d194ef9e5d9e1 commit r12-9937-g93361f2b0a8344a33147e5290e4d194ef9e5d9e1 Author: Kewen Lin Date:

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:f0b38334c57a8e92139c22efa82fe96994bb8eb8 commit r11-11074-gf0b38334c57a8e92139c22efa82fe96994bb8eb8 Author: Kewen Lin Date:

[Bug tree-optimization/111906] ICE: segfault during GIMPLE pass: dom in gsi_prev() testsuite torture/bitint-39.c with -O1 (expensive tests)

2023-10-22 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111906 Rimvydas (RJ) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" since r12-2097-g9f34b780b0461e

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Created attachment 56172 [details] > Testcase that takes ~8second > > For this reduced testcase: > scheduling 2 : 7.66 ( 90%) 0.02 (

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" since r12-2097-g9f34b780b0461e

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 --- Comment #6 from Andrew Pinski --- Created attachment 56172 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56172=edit Testcase that takes ~8second For this reduced testcase: scheduling 2 : 7.66 ( 90%) 0.02 (

[Bug target/111926] RISC-V: Use vsetvl insn replace csrr vlenb insn

2023-10-22 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111926 --- Comment #2 from Kito Cheng --- Forgot to mention, personally I love idea to simplify code gen, I could imagine that's definitely an optimization for specific uarch :)

[Bug target/111926] RISC-V: Use vsetvl insn replace csrr vlenb insn

2023-10-22 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111926 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #1

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" since r12-2097-g9f34b780b0461e

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 --- Comment #5 from Andrew Pinski --- Reducing ...

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" since r12-2097-g9f34b780b0461e

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 Andrew Pinski changed: What|Removed |Added Target Milestone|11.5|12.4

[Bug target/111926] New: RISC-V: Use vsetvl insn replace csrr vlenb insn

2023-10-22 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111926 Bug ID: 111926 Summary: RISC-V: Use vsetvl insn replace csrr vlenb insn Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse" since r12-2097-g9f34b780b0461e

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #26 from Kewen Lin --- (In reply to Richard Biener from comment #25) > (In reply to Kewen Lin from comment #24) > > (In reply to Richard Biener from comment #22) > > > I see the mems properly get their base adjusted: > > > > > >

[Bug target/111772] ICE on gfortran.dg/transpose_conjg_1.f90 in regrename.cc

2023-10-22 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111772 Haochen Jiang changed: What|Removed |Added CC||haochen.jiang at intel dot com ---

[Bug c/111925] New: fail to build qemu when compile with lto

2023-10-22 Thread yancheng.li at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111925 Bug ID: 111925 Summary: fail to build qemu when compile with lto Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/111820] [13/14 Regression] Compiler time hog in the vectorizer with `-O3 -fno-tree-vrp`

2023-10-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111820 --- Comment #12 from Hongtao.liu --- Fixed in GCC14, not sure if we want to backport the patch. If so, the patch needs to be adjusted since GCC13 doesn't support auto_mpz.

[Bug target/111753] [14 Regression] ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*movsf_internal} with -O2 -mavx512bw -fno-tree-ter starting with r14-4499

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111753 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/111784] [14 Regression] aarch64: ldp_stp_{15, 16, 17, 18}.c test failures since r14-4579

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111784 --- Comment #3 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:1908775f7982bd2de36df5d94396eca0865bad9a commit r14-4842-g1908775f7982bd2de36df5d94396eca0865bad9a Author: Kewen Lin Date: Sun Oct

[Bug target/111753] [14 Regression] ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*movsf_internal} with -O2 -mavx512bw -fno-tree-ter starting with r14-4499

2023-10-22 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111753 --- Comment #6 from Haochen Jiang --- Fixed on trunk.

[Bug target/111753] [14 Regression] ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*movsf_internal} with -O2 -mavx512bw -fno-tree-ter starting with r14-4499

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111753 --- Comment #5 from CVS Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:1df490edd48042b07aa780b088148a9118cbcb46 commit r14-4841-g1df490edd48042b07aa780b088148a9118cbcb46 Author: Haochen Jiang Date:

[Bug target/111449] memcmp (p,q,16) == 0 can be optimized better on ppc64 with vector comparison instructions

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111449 --- Comment #1 from CVS Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:f08ca5903c7a02b450b93143467f70b9fd8e0085 commit r14-4835-gf08ca5903c7a02b450b93143467f70b9fd8e0085 Author: Haochen Gui Date: Mon

[Bug tree-optimization/111820] [13/14 Regression] Compiler time hog in the vectorizer with `-O3 -fno-tree-vrp`

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111820 --- Comment #11 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:dbde384bd56f07bfbcae86f81fc74aa92e3786ad commit r14-4834-gdbde384bd56f07bfbcae86f81fc74aa92e3786ad Author: liuhongt Date: Wed

[Bug tree-optimization/111833] [13/14 Regression] GCC: 14: hangs on a simple for loop

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111833 --- Comment #3 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:dbde384bd56f07bfbcae86f81fc74aa92e3786ad commit r14-4834-gdbde384bd56f07bfbcae86f81fc74aa92e3786ad Author: liuhongt Date: Wed Oct

[Bug tree-optimization/111924] Look into using movement_possibility (in tree-ssa-loop-im.cc) for empty_bb_or_one_feeding_into_p for phi-opt

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111924 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-10-23

[Bug tree-optimization/111924] New: Look into using movement_possibility (in tree-ssa-loop-im.cc) for empty_bb_or_one_feeding_into_p for phi-opt

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111924 Bug ID: 111924 Summary: Look into using movement_possibility (in tree-ssa-loop-im.cc) for empty_bb_or_one_feeding_into_p for phi-opt Product: gcc Version: 14.0

[Bug target/111001] SH: ICE during RTL pass: sh_treg_combine2

2023-10-22 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001 --- Comment #9 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #8) > > I built gcc-13 natively with the patch applied with a full bootstrap > including stage2 and stage3. Full build log available in [1]. > > > [1]

[Bug target/111001] SH: ICE during RTL pass: sh_treg_combine2

2023-10-22 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001 --- Comment #8 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #7) > (In reply to John Paul Adrian Glaubitz from comment #5) > > > > I can confirm that this patch fixes the build of e2fsprogs with gcc-13 for > > me. > >

[Bug middle-end/111904] Miscompilation with -O3 -fharden-control-flow-redundancy?

2023-10-22 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904 --- Comment #4 from Bruno Haible --- I've added your fix to gnulib: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=f8ce7e779de156cb6d0fa51dbaef49cd255b7171 Thank you, Alexandre!

[Bug target/111001] SH: ICE during RTL pass: sh_treg_combine2

2023-10-22 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001 --- Comment #7 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #5) > > I can confirm that this patch fixes the build of e2fsprogs with gcc-13 for > me. Great, thanks! Do you have an option to run a compiler bootstrap

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse"

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5

[Bug rtl-optimization/111822] [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions

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

[Bug rtl-optimization/111554] [12/13/14 regression] Timeout with with "-O3 -fno-dse -fno-inline -fno-store-merging -fno-toplevel-reorder -fno-tree-dce -fno-tree-dse"

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111554 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org

[Bug tree-optimization/110852] [14 Regression] ICE: in get_predictor_value, at predict.cc:2695 with -O -fno-tree-fre and __builtin_expect() since r14-2219-geab57b825bcc35

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110852 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org

[Bug middle-end/111904] Miscompilation with -O3 -fharden-control-flow-redundancy?

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111904 Sam James changed: What|Removed |Added CC||bruno at clisp dot org --- Comment #3 from

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-22 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #6 from Stas Sergeev --- (In reply to Andrew Pinski from comment #5) > Nope, lamdba's are not a nested class. But according to this: https://timsong-cpp.github.io/cppwp/n3337/expr.prim.lambda#3 The type of the lambda-expression

[Bug tree-optimization/111917] [11/12/13/14 Regression] ICE in as_a, at is-a.h:255 since GCC-7

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111917 --- Comment #3 from Andrew Pinski --- If someone is worried about uninitialized variables or an executed infinite loop, this also ICEs at -O3: ``` long t; long a() { long b = t, c = t; for (; b < 31; b++) c <<= 1; return c; } long

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #5 from Andrew Pinski --- (In reply to Stas Sergeev from comment #4) > (In reply to Andrew Pinski from comment #3) > > One more note, default argument clause does not apply here as the it is not > > an argument of a method of that

[Bug target/111892] [SH] [13 Regression] internal compiler error: Illegal instruction when building e2fsprogs

2023-10-22 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111892 John Paul Adrian Glaubitz changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/111001] SH: ICE during RTL pass: sh_treg_combine2

2023-10-22 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001 --- Comment #6 from John Paul Adrian Glaubitz --- *** Bug 111892 has been marked as a duplicate of this bug. ***

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-22 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #4 from Stas Sergeev --- (In reply to Andrew Pinski from comment #3) > One more note, default argument clause does not apply here as the it is not > an argument of a method of that class but rather a different context (the > lamdba

[Bug target/111001] SH: ICE during RTL pass: sh_treg_combine2

2023-10-22 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001 --- Comment #5 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #4) > Created attachment 56164 [details] > sh_pr11001_fix.patch > > Can you please try this patch? It should solve the problem, but not sure if > there

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #3 from Andrew Pinski --- One more note, default argument clause does not apply here as the it is not an argument of a method of that class but rather a different context (the lamdba definition context).

[Bug c++/111923] default argument is not treated as a complete-class context of a class

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

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #1 from Andrew Pinski --- clang rejects it for the same reason ... So does MSVC .

[Bug c++/111923] New: default argument is not treated as a complete-class context of a class

2023-10-22 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 Bug ID: 111923 Summary: default argument is not treated as a complete-class context of a class Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[Bug target/111005] SVE produced code for different type sizes (smaller than int) with comparison in a loop can be improved

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

[Bug middle-end/110986] [14 Regression] aarch64 has support for conditional not (and vectorized conditional not ) after r14-3110-g7fb65f10285

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

[Bug middle-end/110986] [14 Regression] aarch64 has support for conditional not (and vectorized conditional not ) after r14-3110-g7fb65f10285

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110986 --- Comment #24 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:bcc5054b36626459ddb04c779f0b201fba6001d1 commit r14-4831-gbcc5054b36626459ddb04c779f0b201fba6001d1 Author: Andrew Pinski Date:

[Bug tree-optimization/111915] [14 Regression] ICE in vect with option `-O2 -fno-tree-vrp -fno-tree-dominator-opts -fno-tree-ccp` since r14-2117-gdd86a5a69cbda4

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111915 Sam James changed: What|Removed |Added Summary|[14 Regression] ICE in vect |[14 Regression] ICE in vect

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 --- Comment #4 from Andrew Pinski --- Full backtrace: ``` t1.cc:8:18: internal compiler error: Segmentation fault 8 | friend auto operator+(const Iterator , int) {} | ^~~~ 0x12dabdf crash_signal

[Bug c++/111890] ICE in build_new_op with friend function declared inside a concept constrainted class inside a template class

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/111890] ICE in build_new_op, friend operator in nested template specialization with constrained return type

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 --- Comment #2 from Andrew Pinski --- Created attachment 56171 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56171=edit Reduced somewhat Still requires the include though.

[Bug objc++/111920] [14 Regression] encode-{8,9,10}.mm internal compiler error: in tsubst_expr, at cp/pt.cc:21533

2023-10-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111920 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug objc++/111920] [14 Regression] encode-{8,9,10}.mm internal compiler error: in tsubst_expr, at cp/pt.cc:21533

2023-10-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111920 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:80ddcb9c8f9b5a387f379e1db39bc6f3680bd52f commit r14-4829-g80ddcb9c8f9b5a387f379e1db39bc6f3680bd52f Author: Patrick Palka Date:

[Bug fortran/30409] [fortran] missed optimization with pure function arguments

2023-10-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30409 --- Comment #8 from anlauf at gcc dot gnu.org --- The suggested optimization needs to take into account that the evaluation of the temporary expression might trap, or that allocatable variables are not allocated, etc. The trap etc. would not

[Bug c++/111890] ICE in build_new_op, friend operator in nested template specialization with constrained return type

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 --- Comment #1 from Andrew Pinski --- Created attachment 56170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56170=edit testcase Next time please attach or put inline the testcase rather than linking to godbolt.

[Bug c++/111841] Lookup context rejected at definition if lookup finds a namespace

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

[Bug target/110027] Misaligned vector store on detect_stack_use_after_return

2023-10-22 Thread gcc at sicherha dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 Christoph Erhardt changed: What|Removed |Added CC||gcc at sicherha dot de --- Comment

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-10-22 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #20 from Martin Uecker --- And what alternative do you think is fundamentally safer than VLAs? VLAs know their bound. Thus, they integrate with _FORTIFY_SOURCE, and UBSan bounds checking. Also UBSan address checking at run-time. At

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

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

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-10-22 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #19 from Aaron Ballman --- (In reply to Andrew Pinski from comment #18) > (In reply to Aaron Ballman from comment #17) > > In the time I opened this request, a new CVE related to VLAs came out: > >

[Bug tree-optimization/111916] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu (the generated code hangs) since r14-4612-g6decda1a35be5764101987c210b5693a0d914e58

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111916 Sam James changed: What|Removed |Added Summary|[14 Regression] wrong code |[14 Regression] wrong code

[Bug middle-end/111921] [11/12/13/14 Regression] ICE with nested function after an error

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

[Bug fortran/30409] [fortran] missed optimization with pure function arguments

2023-10-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30409 --- Comment #7 from kargl at gcc dot gnu.org --- The attached testcase use xmin and xmax uninitialized. After setting xmin = 0 and xmax = 1 and adding z(1) to the print statements to prevent the inner loop from being optimized away, I see the

[Bug ipa/111922] [11/12/13/14 Regression] ICE in cp with -O2 -fno-tree-fre

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

[Bug c/111922] GCC: internal compiler error: in decompose, at wide-int.h:1049

2023-10-22 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111922 --- Comment #1 from wierton <141242068 at smail dot nju.edu.cn> --- Compiler Explorer: https://gcc.godbolt.org/z/EoPGKa9r8 The link above seems broken.

[Bug c/111922] New: GCC: internal compiler error: in decompose, at wide-int.h:1049

2023-10-22 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111922 Bug ID: 111922 Summary: GCC: internal compiler error: in decompose, at wide-int.h:1049 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111917] [11/12/13/14 Regression] ICE in as_a, at is-a.h:255 since GCC-8

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111917 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Target

[Bug tree-optimization/111916] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu (the generated code hangs)

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

[Bug middle-end/111921] [11/12/13/14 Regression] ICE with nested function after an error

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111921 Andrew Pinski changed: What|Removed |Added Keywords||error-recovery, |

[Bug tree-optimization/111916] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu (the generated code hangs)

2023-10-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111916 --- Comment #2 from Sam James --- I'll bisect.

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-10-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #18 from Andrew Pinski --- (In reply to Aaron Ballman from comment #17) > In the time I opened this request, a new CVE related to VLAs came out: > https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2023-4039 Everything is a security

[Bug c++/111919] [14 Regression] ICE: tree check: did not expect class 'type', have 'type' (integer_type) in contains_placeholder_p, at tree.cc:4144 on valid code

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

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-10-22 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #17 from Aaron Ballman --- (In reply to Martin Uecker from comment #16) > I do not think -Wall should warn about GNU extensions when used with > -std=gnu++XX in C++ and I think it is annoying that clang does it now. It > only drives

[Bug objc++/111920] [14 Regression] encode-{8,9,10}.mm internal compiler error: in tsubst_expr, at cp/pt.cc:21533

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

[Bug tree-optimization/111916] [14 Regression] wrong code at -O1 and above on x86_64-linux-gnu (the generated code hangs)

2023-10-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111916 Thomas Koenig changed: What|Removed |Added Summary|wrong code at -O1 and above |[14 Regression] wrong code

[Bug objc++/111920] [14 Regression] encode-{8,9,10}.mm internal compiler error: in tsubst_expr, at cp/pt.cc:21533

2023-10-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111920 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/111918] #pragma GCC diagnostic pop does not restore error status of -Wnarrowing

2023-10-22 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111918 --- Comment #2 from Florian Weimer --- It does not work. I think the problem is the quoted reset code with old_kind. It was introduced in r5-2858 to fix PR59304. It's necessary because global warning options serve a dual purpose: recording

[Bug tree-optimization/111917] [11/12/13/14 Regression] ICE in as_a, at is-a.h:255 since GCC-8

2023-10-22 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111917 Thomas Koenig changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c/111921] New: GCC: 14: internal compiler error: Segmentation fault

2023-10-22 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111921 Bug ID: 111921 Summary: GCC: 14: internal compiler error: Segmentation fault Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug objc++/111920] New: [14 Regression] encode-{8, 9, 10}.mm internal compiler error: in tsubst_expr, at cp/pt.cc:21533

2023-10-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111920 Bug ID: 111920 Summary: [14 Regression] encode-{8,9,10}.mm internal compiler error: in tsubst_expr, at cp/pt.cc:21533 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/111918] #pragma GCC diagnostic pop does not restore permerror status of -Wnarrowing

2023-10-22 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111918 --- Comment #1 from Florian Weimer --- diagnostic_classify_diagnostic overwrites DK_UNSPECIFIED in context->classify_diagnostic[OPT_Wnarrowing] with DK_WARNING here: /* Record the command-line status, so we can reset it back on DK_POP.

[Bug c++/111919] New: [14 Regression] ICE: tree check: did not expect class 'type', have 'type' (integer_type) in contains_placeholder_p, at tree.cc:4144 on valid code

2023-10-22 Thread zsojka at seznam dot cz via Gcc-bugs
a-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231022 (experimental) (GCC)

[Bug target/111892] [SH] [13 Regression] internal compiler error: Illegal instruction when building e2fsprogs

2023-10-22 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111892 --- Comment #6 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #5) > Adrian, can you please give it another go with the patch I've posted in PR > 111001 ? > > https://gcc.gnu.org/bugzilla/attachment.cgi?id=56164 I'll

[Bug c++/111918] New: #pragma GCC diagnostic pop does not restore permerror status of -Wnarrowing

2023-10-22 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111918 Bug ID: 111918 Summary: #pragma GCC diagnostic pop does not restore permerror status of -Wnarrowing Product: gcc Version: 13.2.1 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/111917] New: ICE in as_a, at is-a.h:255 since GCC-8

2023-10-22 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111917 Bug ID: 111917 Summary: ICE in as_a, at is-a.h:255 since GCC-8 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-10-22 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #16 from Martin Uecker --- I do not think -Wall should warn about GNU extensions when used with -std=gnu++XX in C++ and I think it is annoying that clang does it now. It only drives people to use alloca or other alternatives with