* [Bug debug/94285] [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d
2020-03-23 14:38 [Bug debug/94285] New: [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d marxin at gcc dot gnu.org
@ 2020-03-23 14:38 ` marxin at gcc dot gnu.org
2020-03-23 15:22 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-23 14:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94285
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-03-23
Priority|P3 |P2
CC| |ebotcazou at gcc dot gnu.org
Ever confirmed|0 |1
Known to work| |9.2.0
Status|UNCONFIRMED |NEW
Known to fail| |10.0, 9.3.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/94285] [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d
2020-03-23 14:38 [Bug debug/94285] New: [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d marxin at gcc dot gnu.org
2020-03-23 14:38 ` [Bug debug/94285] " marxin at gcc dot gnu.org
@ 2020-03-23 15:22 ` rguenth at gcc dot gnu.org
2020-03-23 18:01 ` [Bug debug/94285] [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) since r10-1654 jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-03-23 15:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94285
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |9.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/94285] [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) since r10-1654
2020-03-23 14:38 [Bug debug/94285] New: [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d marxin at gcc dot gnu.org
2020-03-23 14:38 ` [Bug debug/94285] " marxin at gcc dot gnu.org
2020-03-23 15:22 ` rguenth at gcc dot gnu.org
@ 2020-03-23 18:01 ` jakub at gcc dot gnu.org
2020-03-24 8:37 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-23 18:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94285
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 48097
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48097&action=edit
gcc10-pr94285.patch
Untested fix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/94285] [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) since r10-1654
2020-03-23 14:38 [Bug debug/94285] New: [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2020-03-23 18:01 ` [Bug debug/94285] [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) since r10-1654 jakub at gcc dot gnu.org
@ 2020-03-24 8:37 ` cvs-commit at gcc dot gnu.org
2020-03-24 8:38 ` [Bug debug/94285] [9 " jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-24 8:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94285
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:565ab7efbdc68cca5a2a81d872015f33359048b4
commit r10-7351-g565ab7efbdc68cca5a2a81d872015f33359048b4
Author: Jakub Jelinek <jakub@redhat.com>
Date: Tue Mar 24 09:36:32 2020 +0100
loop-manip: Avoid -fcompare-debug issues in create_iv [PR94285]
The following testcase FAILs with -fcompare-debug. The problem is that
create_iv behaves differently when inserting after into an empty bb (in
that
case sets location to goto_locus), or when inserting before gsi_end_p (i.e.
at the end of bb; in that case it will not set location, otherwise it will
set it to the location of next stmt).
This isn't -fcompare-debug friendly, because if inserting after and the
bb contains only debug stmts, then the location will not be set with -g
and will be with -g0, or when inserting before, the location might either
be set from the following debug stmt rather than some non-debug stmt after
that, or might not be set with -g0 if it is to be inserted at the end of
bb,
while with -g would be set to location of debug stmt.
2020-03-24 Jakub Jelinek <jakub@redhat.com>
PR debug/94285
* tree-ssa-loop-manip.c (create_iv): If after, set stmt location to
e->goto_locus even if gsi_bb (*incr_pos) contains only debug stmts.
If not after and at *incr_pos is a debug stmt, set stmt location to
location of next non-debug stmt after it if any.
* gfortran.dg/pr94285.f90: New test.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/94285] [9 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) since r10-1654
2020-03-23 14:38 [Bug debug/94285] New: [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2020-03-24 8:37 ` cvs-commit at gcc dot gnu.org
@ 2020-03-24 8:38 ` jakub at gcc dot gnu.org
2021-06-01 8:17 ` rguenth at gcc dot gnu.org
2022-05-27 8:49 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-24 8:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94285
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[9/10 Regression] gfortran: |[9 Regression] gfortran:
|error: |error:
|gcc/testsuite/gfortran.dg/a |gcc/testsuite/gfortran.dg/a
|rray_constructor_40.f90: |rray_constructor_40.f90:
|‘-fcompare-debug’ failure |‘-fcompare-debug’ failure
|(length) since r10-1654 |(length) since r10-1654
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/94285] [9 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) since r10-1654
2020-03-23 14:38 [Bug debug/94285] New: [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d marxin at gcc dot gnu.org
` (4 preceding siblings ...)
2020-03-24 8:38 ` [Bug debug/94285] [9 " jakub at gcc dot gnu.org
@ 2021-06-01 8:17 ` rguenth at gcc dot gnu.org
2022-05-27 8:49 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94285
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/94285] [9 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) since r10-1654
2020-03-23 14:38 [Bug debug/94285] New: [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d marxin at gcc dot gnu.org
` (5 preceding siblings ...)
2021-06-01 8:17 ` rguenth at gcc dot gnu.org
@ 2022-05-27 8:49 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 8:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94285
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Target Milestone|9.5 |10.0
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in GCC 10.
^ permalink raw reply [flat|nested] 8+ messages in thread