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

2023-07-27 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101919 --- Comment #6 from Rimvydas (RJ) --- Additional reduced testcase. $ cat bar.F90 subroutine bar() implicit none character(len=80) :: base #ifdef V1 character(len=80),parameter :: f='longname_patterns.xml' integer,parameter :: k =

[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 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 @@

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

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

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

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

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

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