[Bug tree-optimization/103182] [12 Regression] Recent change causes code correctness regression

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103182 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/103171] [12 Regression] ICE Segmentation fault since r12-2523-g13586172d0b70c9d

2021-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103171 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #21 from Aldy Hernandez --- Should be fixed. Can someone verify the object size on arm is as expected?

[Bug tree-optimization/103182] [12 Regression] Recent change causes code correctness regression

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103182 --- Comment #1 from Andrew Pinski --- Note I think the testcase that is failing is gcc.dg/torture/pr45967-2.c (as pr45962-2.c does not exist).

[Bug tree-optimization/103182] [12 Regression] Recent change causes code correctness regression

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103182 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug tree-optimization/103182] New: [12 Regression] Recent change causes code correctness regression

2021-11-10 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103182 Bug ID: 103182 Summary: [12 Regression] Recent change causes code correctness regression Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103181] [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103181 Andrew Pinski changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/103181] [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103181 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Last reconfirmed|

[Bug tree-optimization/103181] [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103181 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug tree-optimization/103181] New: [9/10/11/12 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-10 Thread zsojka at seznam dot cz via Gcc-bugs
-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-5136-2020203027-gabc2f01914d-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 2020 (experimental) (GCC)

[Bug target/103151] ICE in extract_insn with __m256h and variable vec insert and -O1 -mavx512fp16 -mxop since r12-3407-g9e2a82e1f9d2c4af

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103151 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c/103180] casting char * to any type did not report the warning message

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103180 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug libstdc++/103166] [12 regression] wrong dependency on getentropy on newlib-based targets

2021-11-10 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103166 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org --

[Bug c/103180] New: casting char * to any type did not report the warning message

2021-11-10 Thread jie.luo--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103180 Bug ID: 103180 Summary: casting char * to any type did not report the warning message Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/103151] ICE in extract_insn with __m256h and variable vec insert and -O1 -mavx512fp16 -mxop since r12-3407-g9e2a82e1f9d2c4af

2021-11-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103151 --- Comment #4 from Hongtao.liu --- Fixed in GCC12.

[Bug target/103151] ICE in extract_insn with __m256h and variable vec insert and -O1 -mavx512fp16 -mxop since r12-3407-g9e2a82e1f9d2c4af

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103151 --- Comment #3 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:e166cada0813f8b382bacb7f01e1d8d235bf3b0f commit r12-5141-ge166cada0813f8b382bacb7f01e1d8d235bf3b0f Author: liuhongt Date: Wed Nov

[Bug c++/58071] Premature instantiation of default argument

2021-11-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58071 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid CC|

[Bug c++/61850] g++ crashes (SEGV) on the following endless template instantiation

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61850 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Known to fail|

[Bug c++/61850] g++ crashes (SEGV) on the following endless template instantiation

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61850 --- Comment #1 from Andrew Pinski --- I don't think this is valid code.

[Bug middle-end/101955] (signed<<

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 navidrahimi changed: What|Removed |Added CC||navidrahimi at microsoft dot com --- Com

[Bug c++/51304] gcc segfaults for large -ftemplate-depth values (if depth is reached)

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

[Bug c++/103177] incorrect error message for ambiguous lookup with a static member function from a private base

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103177 Andrew Pinski changed: What|Removed |Added Summary|incorrect error message for |incorrect error message for

[Bug testsuite/103179] [12 regression] Excess errors in gfortran.dg/do_subscript_3.f90 after r12-5126

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103179 Andrew Pinski changed: What|Removed |Added Component|other |testsuite Keywords|

[Bug tree-optimization/103175] [12 Regression] internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103175 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #

[Bug tree-optimization/103178] [12 regression] several test case ICEs after r12-5113

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103178 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug other/103179] New: [12 regression] Excess errors in gfortran.dg/do_subscript_3.f90 after r12-5126

2021-11-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103179 Bug ID: 103179 Summary: [12 regression] Excess errors in gfortran.dg/do_subscript_3.f90 after r12-5126 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/103178] New: [12 regression] several test case ICEs after r12-5113

2021-11-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103178 Bug ID: 103178 Summary: [12 regression] several test case ICEs after r12-5113 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/54367] [meta-bug] lambda expressions

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 80587, which changed state. Bug 80587 Summary: Incorrect type from outer scope inside lambda under some conditions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80587 What|Removed |Added

[Bug c++/80587] Incorrect type from outer scope inside lambda under some conditions

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80587 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #20 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:e82c382971664d6fd138cc36020db4b1a91885c6 commit r12-5138-ge82c382971664d6fd138cc36020db4b1a91885c6 Author: Aldy Hernandez Date:

[Bug target/103170] [12 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%s'

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

[Bug target/103170] [12 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%s'

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103170 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c744ae0897957def0cd798399ef8ed6dc0d23811 commit r12-5137-gc744ae0897957def0cd798399ef8ed6dc0d23811 Author: Andrew Pinski Date: We

[Bug libgcc/103004] [12 regression] r12-4416 breaks backtrace on PPC64 Big-endian

2021-11-10 Thread rzinsly at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103004 --- Comment #4 from Raphael M Zinsly --- On a system with an old toolchain I'm seeing (In reply to Jakub Jelinek from comment #3) > I think the warning should be fixed with following, just need to test it: > > --- libgcc/config/rs6000/linux-unw

[Bug tree-optimization/92879] [10/11 Regression] incorrect warning of __builtin_memset offset is out of the bounds on zero-size allocation and initialization

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92879 --- Comment #12 from Martin Sebor --- The test fails everywhere. It regressed with r12-5107 (see pr102690). The solution was to xfail it (to your point in pr101674).

[Bug tree-optimization/103175] [12 Regression] internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103175 --- Comment #2 from Jonathan Wakely --- FAIL: 18_support/nested_exception/rethrow_if_nested.cc (test for excess errors) FAIL: 20_util/variant/exception_safety.cc (test for excess errors) FAIL: 20_util/variant/run.cc (test for excess errors) FAIL

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

2021-11-10 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99036 --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #5) > Another try with a case that is probably/hopefully related. > The following example with a module and submodule in different files > is valid for e.g. -s

[Bug fortran/101919] Inconsistent -Wstringop-overread warning with -flto

2021-11-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101919 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #4) > This fixes comment#2: but "regresses" on gfortran.dg/transfer_intrinsic_1.f90 due to an additional MIN_EXPR. I haven't found the spot yet that needs to be

[Bug tree-optimization/92879] [10/11 Regression] incorrect warning of __builtin_memset offset is out of the bounds on zero-size allocation and initialization

2021-11-10 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92879 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org ---

[Bug fortran/101919] Inconsistent -Wstringop-overread warning with -flto

2021-11-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101919 --- Comment #4 from anlauf at gcc dot gnu.org --- This fixes comment#2: diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c index e7aec3845d3..f7e2a0dba57 100644 --- a/gcc/fortran/trans-expr.c +++ b/gcc/fortran/trans-expr.c @@ -8102

[Bug tree-optimization/96779] Failure to optimize comparison of negative version of self

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 --- Comment #5 from navidrahimi --- And this is the behavior of different compilers for this optimization: https://compiler-explorer.com/z/ahdEzxxTv

[Bug tree-optimization/96779] Failure to optimize comparison of negative version of self

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 navidrahimi changed: What|Removed |Added CC||navidrahimi at microsoft dot com --- Comm

[Bug fortran/103137] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8181 since r12-4967-gbcf3728abe848888

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103137 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:abc2f01914d6c4703de26c402fb579a9a2d0dba4 commit r12-5136-gabc2f01914d6c4703de26c402fb579a9a2d0dba4 Author: Harald Anlauf Date: W

[Bug fortran/103138] [12 Regression] ICE in gfc_simplify_cshift, at fortran/simplify.c:2139 since r12-4967-gbcf3728abe848888

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103138 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:abc2f01914d6c4703de26c402fb579a9a2d0dba4 commit r12-5136-gabc2f01914d6c4703de26c402fb579a9a2d0dba4 Author: Harald Anlauf Date: W

[Bug c++/103177] incorrect error message for ambiguous lookup

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103177 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 --- Comment #7 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:b83705b477858ba683b99fa61ff9ff83bc5be265 commit r12-5135-gb83705b477858ba683b99fa61ff9ff83bc5be265 Author: H.J. Lu Date: Wed Nov 10 11

[Bug tree-optimization/103173] strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation]

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org St

[Bug c++/103177] New: incorrect error message for ambiguous lookup

2021-11-10 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103177 Bug ID: 103177 Summary: incorrect error message for ambiguous lookup Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/103176] -foptimize-strlen causes stringop-overflow warning

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103176 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/103176] -foptimize-strlen causes stringop-overflow warning

2021-11-10 Thread josiah_vanderzee at mediacombb dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103176 Josiah VanderZee changed: What|Removed |Added URL||https://github.com/minetest

[Bug target/103170] [12 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%s'

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103170 --- Comment #4 from Andrew Pinski --- Created attachment 51761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51761&action=edit Patch which I will be committing Patch which I will be committing once I finish testing it.

[Bug tree-optimization/103176] New: -foptimize-strlen causes stringop-overflow warning

2021-11-10 Thread josiah_vanderzee at mediacombb dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103176 Bug ID: 103176 Summary: -foptimize-strlen causes stringop-overflow warning Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:7c8a416da86c175bcb5fa7b49abf3cf343bc068f commit r12-5134-g7c8a416da86c175bcb5fa7b49abf3cf343bc068f Author: Martin Sebor Date: We

[Bug fortran/103174] ICE in gfc_match_varspec, at fortran/primary.c:2154

2021-11-10 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103174 --- Comment #1 from G. Steinmetz --- spartan : module m interface module function f() class(*), allocatable :: f end end interface end submodule(m) m2 contains module function f() class(*), allocatable :: f

[Bug tree-optimization/103175] [12 Regression] internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103175 Jonathan Wakely changed: What|Removed |Added Summary|internal compiler error: in |[12 Regression] internal

[Bug middle-end/101674] gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite

2021-11-10 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101674 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org --

[Bug tree-optimization/103175] New: internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103175 Bug ID: 103175 Summary: internal compiler error: in handle_call_arg, at tree-ssa-structalias.c:4139 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ic

[Bug fortran/103174] New: ICE in gfc_match_varspec, at fortran/primary.c:2154

2021-11-10 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103174 Bug ID: 103174 Summary: ICE in gfc_match_varspec, at fortran/primary.c:2154 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/103170] [12 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%s'

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103170 --- Comment #3 from Andrew Pinski --- The problem was caused by r12-4828 which added that alternative.

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

2021-11-10 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99036 --- Comment #5 from G. Steinmetz --- Another try with a case that is probably/hopefully related. The following example with a module and submodule in different files is valid for e.g. -std=f2008, but invalid for -std=f2003 or -std=f95 : $ cat

[Bug target/103170] [12 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%s'

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103170 Andrew Pinski changed: What|Removed |Added Summary|ICE: output_operand:|[12 Regression] ICE:

[Bug tree-optimization/93150] (A&N) == CST1 &( ((A&M)==CST2) | ((A&O)==CST3) ) is not simplified

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93150 navidrahimi changed: What|Removed |Added CC||navidrahimi at microsoft dot com --- Comm

[Bug fortran/98203] [11/12 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d

2021-11-10 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203 --- Comment #6 from G. Steinmetz --- This variant started between 20210808 (error) and 20210822 (ICE) : $ cat z2.f90 program p integer :: i, j !$omp parallel masked taskloop simd collapse(2) do j = 1, 4 do i = 1, 4, 2 end d

[Bug fortran/95710] ICE in gfc_type_is_extensible, at fortran/resolve.c:8848

2021-11-10 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95710 --- Comment #3 from G. Steinmetz --- A few more related test files : $ cat zz1.f90 module m interface module subroutine s end end interface end submodule(m) m2 contains subroutine s class(*), allocatable :: x c

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 --- Comment #9 from Martin Sebor --- Aaah, never mind. The test depends on the unspecified order of argument evaluation. Doh!

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 --- Comment #8 from Aldy Hernandez --- https://en.cppreference.com/w/cpp/language/eval_order

[Bug target/103170] ICE: output_operand: incompatible floating point / vector register operand for '%s'

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103170 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 --- Comment #7 from Martin Sebor --- I bet you can't see the failures because they depend on fixes in a patch that hasn't been committed yet: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583735.html But I wonder if there actually i

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-10 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org ---

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 --- Comment #8 from Segher Boessenkool --- Note that the -mcpu= in use can be set by compiler defaults as well (which can be set at build time, --with-cpu=), or commonly in RUNTESTFLAGS (to test a bunch of different -mcpu= settings at the same t

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 --- Comment #7 from Segher Boessenkool --- (In reply to Martin Liška from comment #4) > Shouldn't the function check_effective_target_has_arch_pwr7 pass > -mcpu=native? No. It checks if the effective target (set by options elsewhere!) is power

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-10 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment #8

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 --- Comment #6 from Aldy Hernandez --- (In reply to Martin Sebor from comment #5) > Great! With the strlen conversion to ranger > (g:6b8b959675a3e14cfdd2145bd62e4260eb193765) the test now fails on x86_64 as > well: I didn't see any regressions

[Bug tree-optimization/102232] Missed arithmetic fold

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 --- Comment #7 from navidrahimi --- The new version of the patch I attached to this bug has been approved by Richard Biener in this thread [1]. 1) https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583935.html

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 Martin Sebor changed: What|Removed |Added Component|tree-optimization |testsuite --- Comment #5 from Martin Seb

[Bug tree-optimization/102232] Missed arithmetic fold

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 --- Comment #6 from navidrahimi --- Created attachment 51760 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51760&action=edit [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

[Bug tree-optimization/102232] Missed arithmetic fold

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 navidrahimi changed: What|Removed |Added Attachment #51752|0 |1 is obsolete|

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #13 from Florin Iucha --- (In reply to Jonathan Wakely from comment #11) > I'm going to get the standard clarified instead (and then cppreference will > probably follow suit). That will be great!

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #12 from Florin Iucha --- (In reply to Jonathan Wakely from comment #9) > (In reply to Florin Iucha from comment #2) > > It indicates that it reports errors via exceptions. > > Yes, but that doesn't mean 0 is a valid return value. T

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #11 from Jonathan Wakely --- I'm going to get the standard clarified instead (and then cppreference will probably follow suit).

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #10 from Florin Iucha --- (In reply to Jonathan Wakely from comment #8) > > There are uses for the memory_resources pattern, outside of its current > > application in the standard library - for example allocating ranges in a > > file

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #9 from Jonathan Wakely --- (In reply to Florin Iucha from comment #2) > It indicates that it reports errors via exceptions. Yes, but that doesn't mean 0 is a valid return value. The non-nothrow forms of operator new also use except

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #8 from Jonathan Wakely --- (In reply to Florin Iucha from comment #7) > There are uses for the memory_resources pattern, outside of its current > application in the standard library - for example allocating ranges in a > file, or in

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 --- Comment #6 from Aldy Hernandez --- (In reply to Martin Liška from comment #5) > Fixed on master with r12-4790-g4b3a325f07acebf4. Wadayaknow...I fixed it and didn't even know it :) Thanks.

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Martin Liška --- F

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/103173] New: strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation]

2021-11-10 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173 Bug ID: 103173 Summary: strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation] Product: gcc Version:

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 Martin Liška changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/99911] C++20 adl issue

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

[Bug c++/103057] [11/12 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 Martin Liška changed: What|Removed |Added Summary|[11/12 Regression] Internal |[11/12 Regression] Internal

[Bug c++/103057] [11/12 Regression] Internal compiler error: Error reporting routines re-entered

2021-11-10 Thread plasmahh at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 --- Comment #5 from Dennis Lubert --- Created attachment 51759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51759&action=edit cvise generated compling testcase This one is pretty big but compiles with -w but ICEs without it. Differently

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #7 from Florin Iucha --- That is most unfortunate because it will force us to duplicate the library used for resource management. Not only that, but if I were to implement the pmr::memory_resource interface in terms of the other libr

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-10 Thread willschm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 Will Schmidt changed: What|Removed |Added CC||segher at gcc dot gnu.org,

[Bug fortran/103172] ICE in gfc_check_init_expr, at fortran/expr.c:3014

2021-11-10 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103172 --- Comment #2 from Wileam Yonatan Phan --- Comment on attachment 51758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51758 Source code for minimal reproducer >function assumed_rank_crash ( arr ) result( res ) > implicit none > > ! Arg

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/96727] ICE with character length specified using specification function on assumed-rank array

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96727 Martin Liška changed: What|Removed |Added CC||wileamyp at outlook dot com --- Comment #

[Bug fortran/103172] ICE in gfc_check_init_expr, at fortran/expr.c:3014

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103172 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/103172] New: ICE in gfc_check_init_expr, at fortran/expr.c:3014

2021-11-10 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103172 Bug ID: 103172 Summary: ICE in gfc_check_init_expr, at fortran/expr.c:3014 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/71740] [9/10 Regression] ICE when defining a pointer to the `memcpy()` function with namespace scope using `auto` targeting i686

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71740 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Keywo

[Bug c++/101680] [9/10 Regression] spurious error: use of ‘this’ in a constant expression

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101680 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

  1   2   >