[Bug rtl-optimization/110237] gcc.dg/torture/pr58955-2.c is miscompiled by RTL scheduling after reload

2023-06-26 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110237 --- Comment #19 from rguenther at suse dot de --- On Mon, 26 Jun 2023, amonakov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110237 > > --- Comment #18 from Alexander Monakov --- > (In reply to rguent...@suse.de fr

[Bug ada/110398] internal error on call with parameter of predicated subtype

2023-06-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
/gcc/native> gcc/gnat1 -quiet example.adb +===GNAT BUG DETECTED==+ | 14.0.0 20230626 (experimental) [master r14-2083-g068eba260fa] (x86_64-suse-linux) | | Assert_Failure sem.adb:650 | | Error detected

[Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

2023-06-26 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334 --- Comment #12 from rguenther at suse dot de --- On Mon, 26 Jun 2023, hubicka at ucw dot cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334 > > --- Comment #11 from Jan Hubicka --- > Hi, > what about this. It should make at leas

[Bug tree-optimization/110414] [14 Regression] Dead Code Elimination Regression since r14-1127-g9e2017ae6ac

2023-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110414 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Blocks|

[Bug tree-optimization/110413] [14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r14-1880-g827e208fa64

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

[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

2023-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735 --- Comment #21 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:a90f558bbb87c0b5d2b1e07d55bd585b2285cf3d commit r14-2114-ga90f558bbb87c0b5d2b1e07d55bd585b2285cf3d Author: liuhongt Date: Mon Jun

[Bug rtl-optimization/110215] RA fails to allocate register when loop invariant lives across calls and eh

2023-06-26 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110215 --- Comment #6 from Hongyu Wang --- Thanks for the fix, now for the attached test, main loop will not have any load. There is a remaining issue that the loop epilogue still contains load from stack and constant pool .L9: movslq %edx,

[Bug analyzer/110426] New: Missing buffer overflow warning with function pointer that has the alloc_size attribute

2023-06-26 Thread alexhenrie24 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110426 Bug ID: 110426 Summary: Missing buffer overflow warning with function pointer that has the alloc_size attribute Product: gcc Version: 13.1.1 Status: UNCONFIRMED

[Bug rtl-optimization/92151] Spurious register copying

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92151 --- Comment #4 from Andrew Pinski --- (In reply to Alexander Monakov from comment #3) > > Here's a manually reduced variant that exhibits a similar issue at -O1: > > void foo(int num, int c) { > asm("# %0" : "+r"(num)); > while (--c) >

[Bug target/110264] internal compiler error: riscv_vector::vector_insn_info::get_avl_reg_rtx

2023-06-26 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110264 Kito Cheng changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/98619] aarch64: ICE (verify_flow_info failed) with asm goto with output and same block and two labels

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98619 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug middle-end/103979] asm goto is not considered volatile with output operands

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/110420] [12/13/14 Regression] internal compiler error: in gimple_redirect_edge_and_branch due to simple_dce_from_worklist removing `asm goto`

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110420 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug target/110264] internal compiler error: riscv_vector::vector_insn_info::get_avl_reg_rtx

2023-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110264 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Pan Li : https://gcc.gnu.org/g:2f3eedccaff8b6c65869ed50a7733138740325ff commit r13-7482-g2f3eedccaff8b6c65869ed50a7733138740325ff Author: Juzhe-Zhong Date: F

[Bug c/110425] Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)

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

[Bug c/110425] Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110425 --- Comment #2 from Andrew Pinski --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index c01cd3fe90c..53a1b12f88a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -13731,7 +13731,7 @@ an extension. @xref{Variable Length},

[Bug c/110425] Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)

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

[Bug c/110425] New: Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?)

2023-06-26 Thread hv at crypt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110425 Bug ID: 110425 Summary: Docbug: missing name for builtin function (__builtin_alloca_with_align_and_max?) Product: gcc Version: 13.1.0 Status: UNCONFIRMED Sever

[Bug ada/110398] Program_Error sem_eval.adb:4635 explicit raise

2023-06-26 Thread aj at ianozi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110398 --- Comment #3 from aj at ianozi dot com --- Sorry about that. Here's the results on my Macbook (Darwin macbook 21.6.0 Darwin Kernel Version 21.6.0: Thu Mar 9 20:12:18 PST 2023; root:xnu-8020.240.18.700.8~1/RELEASE_ARM64_T8110 arm64): ``` gcc -

[Bug ada/110398] Program_Error sem_eval.adb:4635 explicit raise

2023-06-26 Thread aj at ianozi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110398 --- Comment #2 from aj at ianozi dot com --- Created attachment 55403 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55403&action=edit files for bug

[Bug lto/110424] New: Bogus ODR warning for FMV member function with -flto

2023-06-26 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110424 Bug ID: 110424 Summary: Bogus ODR warning for FMV member function with -flto Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug rtl-optimization/110423] Redundant constants not getting eliminated on RISCV.

2023-06-26 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110423 --- Comment #1 from Vineet Gupta --- Created attachment 55402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55402&action=edit test case (but needs reverting upstream 6508d5e5a1a)

[Bug rtl-optimization/110423] New: Redundant constants not gettign eliminated on RISCV.

2023-06-26 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110423 Bug ID: 110423 Summary: Redundant constants not gettign eliminated on RISCV. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug middle-end/103979] asm goto is not considered volatile with output operands

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/110420] [12/13/14 Regression] internal compiler error: in gimple_redirect_edge_and_branch due to simple_dce_from_worklist removing `asm goto`

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110420 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/98619] aarch64: ICE (verify_flow_info failed) with asm goto with output and same block and two labels

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98619 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/110422] New: asm goto vs SRA

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110422 Bug ID: 110422 Summary: asm goto vs SRA Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Compo

[Bug tree-optimization/110420] [12/13/14 Regression] internal compiler error: in gimple_redirect_edge_and_branch due to simple_dce_from_worklist removing `asm goto`

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110420 --- Comment #4 from Andrew Pinski --- Created attachment 55401 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55401&action=edit Patch So this is another `asm goto` not being considered as volatile. Anyways that fixes that issue.

[Bug middle-end/103979] asm goto is not considered volatile with output operands

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979 --- Comment #6 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #3) > struct S { char a[64]; }; > > int > foo (void) > { > struct S s, t; > asm goto ("" : "=g" (s) : : : l); > t = s; > asm goto ("" : "=g" (s) : : : l); >

[Bug middle-end/103979] asm goto is not considered volatile with output operands

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #3) > I think we shouldn't just follow blindly the docs, but see what e.g. Linux > kernel as heavy user of asm goto with outputs (and I think mostly without > volatile

[Bug tree-optimization/110420] [12/13/14 Regression] internal compiler error: in gimple_redirect_edge_and_branch due to simple_dce_from_worklist removing `asm goto`

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110420 Andrew Pinski changed: What|Removed |Added Summary|[12/13/14 Regression] |[12/13/14 Regression]

[Bug fortran/110421] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.cc:1548

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

[Bug tree-optimization/110420] [12/13/14 Regression] internal compiler error: in gimple_redirect_edge_and_branch, at tree-cfg.cc:6262

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110420 Andrew Pinski changed: What|Removed |Added Known to work||11.1.0, 11.4.0 Known to fail|

[Bug fortran/110421] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.cc:1548

2023-06-26 Thread gronki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110421 --- Comment #1 from Dominik Gronkiewicz --- Actually the minimal example can be cut down even further, to not introduce confusion: program main implicit none type :: typ1 end type type, extends(typ1) :: typ1a end type

[Bug tree-optimization/110420] [14 Regression] internal compiler error: in gimple_redirect_edge_and_branch, at tree-cfg.cc:6262

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110420 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Summary|internal compil

[Bug fortran/110421] New: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.cc:1548

2023-06-26 Thread gronki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110421 Bug ID: 110421 Summary: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.cc:1548 Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severit

[Bug tree-optimization/110420] New: internal compiler error: in gimple_redirect_edge_and_branch, at tree-cfg.cc:6262

2023-06-26 Thread jbglaw--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110420 Bug ID: 110420 Summary: internal compiler error: in gimple_redirect_edge_and_branch, at tree-cfg.cc:6262 Product: gcc Version: 14.0 Status: UNCONFIRMED Severit

[Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32

2023-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678 --- Comment #7 from Jonathan Wakely --- The change to libstdc++-v3/src/c++17/fast_float/fast_float.h should be done upstream: https://github.com/fastfloat/fast_float

[Bug tree-optimization/110410] [14 Regression] Different results between -O0 and -O2

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410 --- Comment #6 from Andrew Pinski --- (In reply to Jw Zeng from comment #3) > (In reply to Richard Biener from comment #2) > > phi-opt again? > > Link to the Compiler Explorer:https://godbolt.org/z/EeEqMGnWo > > I reduced the code again, I hop

[Bug other/110419] New: [14 regression] new test case gfortran.dg/value_9.f90 in r14-2050-gd130ae8499e0c6 fails

2023-06-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110419 Bug ID: 110419 Summary: [14 regression] new test case gfortran.dg/value_9.f90 in r14-2050-gd130ae8499e0c6 fails Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/110406] d: Wrong code-gen returning POD structs by value

2023-06-26 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110406 --- Comment #10 from ibuclaw at gcc dot gnu.org --- Looking at an ICE in stage2 D compiler for i686-darwin17, I realized that it's another facet of this issue. // aggregate.d import dsymbol; extern (C++) class AggregateDeclaration : ScopeDsymbol

[Bug c++/110409] ICE on explicit instantiation of undefined template

2023-06-26 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110409 --- Comment #2 from Steven Xia --- Noted, thanks!

[Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32

2023-06-26 Thread zac.walker at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678 --- Comment #6 from Zac Walker --- I have been rebasing regularly to keep all my changes on top of the commit log. You can use github's compare url to combine my changes into a single diff (based on commit hash). For example: https://github.com

[Bug c++/110416] Error initializing of const union variable with a mutable field

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110416 --- Comment #3 from Andrew Pinski --- [dcl.init.general]/8 (specifically 8.2) is what makes the union case valid. Though I wonder what mutable field means in an union if not the whole union is not mutable ...

[Bug rtl-optimization/110418] New: ICE on valid code at -O2 and -O3 with -fselective-scheduling2: Segmentation fault

2023-06-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110418 Bug ID: 110418 Summary: ICE on valid code at -O2 and -O3 with -fselective-scheduling2: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Sev

[Bug c++/110416] Error initializing of const union variable with a mutable field

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110416 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|Error initializi

[Bug c++/110416] Error initializing of const aggregate variable with a mutable field

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110416 Andrew Pinski changed: What|Removed |Added Summary|Error initializing of const |Error initializing of const

[Bug c++/110409] ICE on explicit instantiation of undefined template

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

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-26 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #15 from Mikael Morin --- (In reply to anlauf from comment #14)> > Let's hope that somebody with access to such a system can run the testcase > manually and append the output to this PR. I have asked for an account on the compile f

[Bug middle-end/110377] Early VRP and IPA-PROP should work out value ranges from __builtin_unreachable

2023-06-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110377 --- Comment #4 from Andrew Macleod --- If I were to guess, I'd guess that its using the default query which simply picks up global ranges from the global_range_query. If enable_range() was called at the start, and disable_ranger() at the end of

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #70 from Jakub Jelinek --- For right shifts, I wonder if we shouldn't emit inline (perhaps with exception of -Os) something like: __attribute__((noipa)) void ashiftrt575 (unsigned long *p, unsigned long *q, int n) { int prec = 575;

[Bug tree-optimization/110412] [14 Regression] GCN 'gcc.dg/vect/pr65494.c' ICE, 'error: invalid types in nop conversion'

2023-06-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110412 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/110371] [14 Regression] gfortran ICE "verify_gimple failed" in gfortran.dg/vect/pr51058-2.f90 since r14-2007

2023-06-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110371 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comm

[Bug rtl-optimization/110237] gcc.dg/torture/pr58955-2.c is miscompiled by RTL scheduling after reload

2023-06-26 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110237 --- Comment #18 from Alexander Monakov --- (In reply to rguent...@suse.de from comment #17) > Yes, we do the same to loads. I hope that's not a common technique > though but I have to admit the vectorizer itself assesses whether it's > safe to

[Bug target/108678] Windows on ARM64 platform target aarch64-w64-mingw32

2023-06-26 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108678 --- Comment #5 from Brecht Sanders --- Thanks Zac, how can I see what you actually changed? Is there a particular GCC version I can diff https://github.com/ZacWalk/gcc-woarm64 against?

[Bug ipa/110334] [13/14 Regresssion] unused functions not eliminated before LTO streaming

2023-06-26 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334 --- Comment #11 from Jan Hubicka --- Hi, what about this. It should make at least quite basic inlining to happen to always_inline. I do not think many critical always_inlines have indirect calls in them. The test for lto is quite bad and I can

[Bug c++/110417] New: [modules] Segfault compiling iostream as header unit on FreeBSD

2023-06-26 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110417 Bug ID: 110417 Summary: [modules] Segfault compiling iostream as header unit on FreeBSD Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/110415] (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result

2023-06-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415 kargl at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-06-26 Status

[Bug c++/110416] New: Error initializing of const union variable with a mutable field

2023-06-26 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110416 Bug ID: 110416 Summary: Error initializing of const union variable with a mutable field Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/110377] Early VRP and IPA-PROP should work out value ranges from __builtin_unreachable

2023-06-26 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110377 --- Comment #3 from Jan Hubicka --- IPA code takes value ranges from jump functions that are computed by ipa-prop::ipa_compute_jump_functions_for_edge which seems to do: if (TREE_CODE (arg) == SSA_NAME && param_type

[Bug libstdc++/110239] [14 regression] std/format/functions/format.cc fails after r14-1648-g628ba410b9265d

2023-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110239 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/110404] Feature request: add a new option which is like -ftrivial-auto-var-init=zero but zero-initialize instead of zero-fill

2023-06-26 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110404 --- Comment #2 from Giuseppe D'Angelo --- (In reply to Richard Biener from comment #1) > But your testcase is invoking undefined behavior when inspecting 'ptr'? > That doesn't change with -ftrivial-auto-var-init=zero, so getting a trap is > goo

[Bug libstdc++/110239] [14 regression] std/format/functions/format.cc fails after r14-1648-g628ba410b9265d

2023-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110239 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3bb9f9329c378934541ae4cff9977b7487e97cf0 commit r14-2105-g3bb9f9329c378934541ae4cff9977b7487e97cf0 Author: Jonathan Wakely Date:

[Bug middle-end/109849] suboptimal code for vector walking loop

2023-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #17 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:c2ebccc97190a978a44e341516b488f02a78c598 commit r14-2101-gc2ebccc97190a978a44e341516b488f02a78c598 Author: Jan Hubicka Date: Mon

[Bug target/110411] ICE on simple memcpy test case when allowing generation of vector pair load/store insns

2023-06-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110411 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jeevitha at gcc dot gnu.org

[Bug tree-optimization/110412] [14 Regression] GCN 'gcc.dg/vect/pr65494.c' ICE, 'error: invalid types in nop conversion'

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

[Bug tree-optimization/110410] [14 Regression] Different results between -O0 and -O2

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410 Andrew Pinski changed: What|Removed |Added Depends on||110252 Status|UNCONFIRMED

[Bug tree-optimization/110410] [14 Regression] Different results between -O0 and -O2

2023-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410 --- Comment #4 from Andrew Pinski --- Yes phiopt again: _7 = _3 >> _6; iftmp.7_27 = (unsigned int) _7; _13 = _7 > 0; _12 = (unsigned int) _13; _11 = _12 | iftmp.7_27;

[Bug fortran/110415] New: (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result

2023-06-26 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415 Bug ID: 110415 Summary: (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result Product: gcc Version: 13.1.

[Bug ada/110398] Program_Error sem_eval.adb:4635 explicit raise

2023-06-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110398 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug ada/110336] Ada doesn't build with coverage enabled on Arm

2023-06-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110336 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/110414] New: [14 Regression] Dead Code Elimination Regression since r14-1127-g9e2017ae6ac

2023-06-26 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110414 Bug ID: 110414 Summary: [14 Regression] Dead Code Elimination Regression since r14-1127-g9e2017ae6ac Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug target/110411] ICE on simple memcpy test case when allowing generation of vector pair load/store insns

2023-06-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110411 Peter Bergner changed: What|Removed |Added Known to fail||11.0, 12.0, 13.0, 14.0 --- Comment #2 f

[Bug tree-optimization/110413] New: [14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r14-1880-g827e208fa64

2023-06-26 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110413 Bug ID: 110413 Summary: [14 Regression] Missed Dead Code Elimination when using __builtin_unreachable since r14-1880-g827e208fa64 Product: gcc Version: 14.0

[Bug target/110411] ICE on simple memcpy test case when allowing generation of vector pair load/store insns

2023-06-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110411 Peter Bergner changed: What|Removed |Added Keywords||ice-on-valid-code CC|

[Bug target/110412] New: [14 Regression] GCN 'gcc.dg/vect/pr65494.c' ICE, 'error: invalid types in nop conversion'

2023-06-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110412 Bug ID: 110412 Summary: [14 Regression] GCN 'gcc.dg/vect/pr65494.c' ICE, 'error: invalid types in nop conversion' Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/110411] New: ICE on simple memcpy test case when allowing generation of vector pair load/store insns

2023-06-26 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110411 Bug ID: 110411 Summary: ICE on simple memcpy test case when allowing generation of vector pair load/store insns Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/110377] Early VRP and IPA-PROP should work out value ranges from __builtin_unreachable

2023-06-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110377 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/110251] [13/14 Regression] Hang at -O3 on x86_64-linux-gnu

2023-06-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110251 --- Comment #7 from Andrew Macleod --- (In reply to Andrew Macleod from comment #6) > bah. > > Ranger hang is resolved with: > > commit 4dfeb1cd8dfca234186216d891ec8f46235c3a14 > Date: Thu Jun 22 10:00:12 2023 -0400 > > Avoid redundan

[Bug tree-optimization/110251] [13/14 Regression] Hang at -O3 on x86_64-linux-gnu

2023-06-26 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110251 --- Comment #6 from Andrew Macleod --- bah. Ranger hang is resolved with: commit 4dfeb1cd8dfca234186216d891ec8f46235c3a14 Date: Thu Jun 22 10:00:12 2023 -0400 Avoid redundant GORI calcualtions.

[Bug c++/110403] dependent function constexpr inside vector_size __attribute__ does not compile

2023-06-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110403 Patrick Palka changed: What|Removed |Added Keywords||rejects-valid See Also|

[Bug other/110239] [14 regression] std/format/functions/format.cc fails after r14-1648-g628ba410b9265d

2023-06-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110239 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > ==55393==ERROR: AddressSanitizer: global-buffer-overflow on address > 0x004c9324 at pc 0x00432970 bp 0x7ffe2c7fcf80 sp 0x7ffe2c7fcf78 > READ of size

[Bug target/109780] [12/13/14 Regression] csmith: runtime crash with -O2 -march=znver1

2023-06-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #14 from Xi Ruoyao --- Any clue about how to fix this?

[Bug tree-optimization/105816] SLP vectorize permutes from different groups

2023-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105816 --- Comment #1 from Richard Biener --- For example for void __attribute__((noipa)) test_lo (short * __restrict dst, short *src1, short *src2, int n) { for (int i = 0; i < n; ++i) { dst[0] = src1[0]; dst[1] = src1[1]; dst

[Bug tree-optimization/110410] [14 Regression] Different results between -O0 and -O2

2023-06-26 Thread jwzeng at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410 --- Comment #3 from Jw Zeng --- (In reply to Richard Biener from comment #2) > phi-opt again? Link to the Compiler Explorer:https://godbolt.org/z/EeEqMGnWo I reduced the code again, I hope it helps. The reduced code is as follows: #include

[Bug tree-optimization/110381] [11/12/13 Regression] double counting for sum of structs of floating point types

2023-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 Richard Biener changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression]

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:53d6f57c1b20c6da52aefce737fb7d5263686ba3 commit r14-2095-g53d6f57c1b20c6da52aefce737fb7d5263686ba3 Author: Richard Biener Date:

[Bug tree-optimization/110410] [14 Regression] Different results between -O0 and -O2

2023-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, wrong-code Target M

[Bug c++/110380] [feature request] "-pg-constexpr=coverage-output" emit coverage metrics for constexpr code evaluated at compile time

2023-06-26 Thread anthony.ajw at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110380 Anthony Williams changed: What|Removed |Added CC||anthony.ajw at gmail dot com --- Com

[Bug rtl-optimization/110237] gcc.dg/torture/pr58955-2.c is miscompiled by RTL scheduling after reload

2023-06-26 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110237 --- Comment #17 from rguenther at suse dot de --- On Mon, 26 Jun 2023, amonakov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110237 > > --- Comment #16 from Alexander Monakov --- > (In reply to rguent...@suse.de fr

[Bug tree-optimization/110392] [13 Regression] ICE at -O3 with "-O3 -Wall -fno-tree-vrp -fno-tree-dominator-opts -fno-tree-copy-prop -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop": in find_var_cmp_co

2023-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110392 Richard Biener changed: What|Removed |Added Summary|[13/14 Regression] ICE at |[13 Regression] ICE at -O3

[Bug tree-optimization/110392] [13/14 Regression] ICE at -O3 with "-O3 -Wall -fno-tree-vrp -fno-tree-dominator-opts -fno-tree-copy-prop -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop": in find_var_cmp

2023-06-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110392 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ab6eac20f00761695c69b555f6b0a026bc25770d commit r14-2089-gab6eac20f00761695c69b555f6b0a026bc25770d Author: Richard Biener Date:

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Commen

[Bug c++/110380] [feature request] "-pg-constexpr=coverage-output" emit coverage metrics for constexpr code evaluated at compile time

2023-06-26 Thread gasper.azman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110380 --- Comment #4 from Gašper Ažman --- John McFarlane noted that pre-initializing coverage datastructures with the results of the constexpr-evaluated traces would also be a possible direction. It does mean the linker needs to then correctly merge

[Bug c++/110380] [feature request] "-pg-constexpr=coverage-output" emit coverage metrics for constexpr code evaluated at compile time

2023-06-26 Thread hanicka at hanicka dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110380 Hana Dusíková changed: What|Removed |Added CC||hanicka at hanicka dot net --- Comment

[Bug tree-optimization/110371] [14 Regression] gfortran ICE "verify_gimple failed" in gfortran.dg/vect/pr51058-2.f90 since r14-2007

2023-06-26 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110371 Thiago Jung Bauermann changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/110410] [14 Regression] Different results between -O0 and -O2

2023-06-26 Thread jwzeng at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410 --- Comment #1 from Jw Zeng --- Link to the Compiler Explorer: https://godbolt.org/z/d5v5scnP4

[Bug tree-optimization/110381] [11/12/13/14 Regression] double counting for sum of structs of floating point types

2023-06-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #8 from Richard Biener --- OK, so we transform the in-order FOLD_LEFT_REDUCTION as # sum_22 = PHI # vectp_foos.7_25 = PHI ... vect_foo_c_8.9_21 = MEM [(double *)vectp_foos.7_25]; vectp_foos.7_20 = vectp_foos.7_25 + 16;

[Bug tree-optimization/110410] New: [14 Regression] Different results between -O0 and -O2

2023-06-26 Thread jwzeng at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110410 Bug ID: 110410 Summary: [14 Regression] Different results between -O0 and -O2 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug target/110406] d: Wrong code-gen returning POD structs by value

2023-06-26 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110406 --- Comment #9 from ibuclaw at gcc dot gnu.org --- (In reply to ibuclaw from comment #8) > So long as C and D agree with each other when it comes to POD types, it > almost doesn't matter to me weather the back-end is following the wrong ABI. Or w

  1   2   >