public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-12 11:58 ` jakub at gcc dot gnu.org
  2020-03-25 21:05 ` law at redhat dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 11:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.3                         |9.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 9.3.0 has been released, adjusting target milestone.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:58 ` [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875 jakub at gcc dot gnu.org
@ 2020-03-25 21:05 ` law at redhat dot com
  2020-03-26  7:07 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: law at redhat dot com @ 2020-03-25 21:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
                 CC|                            |law at redhat dot com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:58 ` [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875 jakub at gcc dot gnu.org
  2020-03-25 21:05 ` law at redhat dot com
@ 2020-03-26  7:07 ` rguenth at gcc dot gnu.org
  2020-03-26  7:17 ` luoxhu at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-03-26  7:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
This still needs analysis from somebody with SPEC and powerpc knowledge.  I'm
also curious if it still happens to be a problem?  Also it's still not
confirmed
whether GCC 9 is affected or not.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-03-26  7:07 ` rguenth at gcc dot gnu.org
@ 2020-03-26  7:17 ` luoxhu at gcc dot gnu.org
  2020-04-01  8:43 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: luoxhu at gcc dot gnu.org @ 2020-03-26  7:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

luoxhu at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luoxhu at gcc dot gnu.org

--- Comment #8 from luoxhu at gcc dot gnu.org ---
patch sent to: https://gcc.gnu.org/pipermail/gcc-patches/2020-March/542693.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-03-26  7:17 ` luoxhu at gcc dot gnu.org
@ 2020-04-01  8:43 ` rguenth at gcc dot gnu.org
  2020-04-27  1:48 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-01  8:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|WAITING                     |NEW

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-04-01  8:43 ` rguenth at gcc dot gnu.org
@ 2020-04-27  1:48 ` cvs-commit at gcc dot gnu.org
  2020-04-27  6:25 ` [Bug target/91518] [9 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-27  1:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Xiong Hu Luo <luoxhu@gcc.gnu.org>:

https://gcc.gnu.org/g:f6955089db6c3aa63c276704159ffad1ef15d256

commit r10-7981-gf6955089db6c3aa63c276704159ffad1ef15d256
Author: Xionghu Luo <luoxhu@linux.ibm.com>
Date:   Sun Apr 26 20:37:27 2020 -0500

    rs6000: Don't use HARD_FRAME_POINTER_REGNUM if it's not live in
pro_and_epilogue (PR91518)

    This bug is exposed by FRE refactor of r263875.  Comparing the fre
    dump file shows no obvious change of the segment fault function proves
    it to be a target issue.
    frame_pointer_needed is set to true in reload pass setup_can_eliminate,
    but regs_ever_live[31] is false, pro_and_epilogue uses it without live
    check causing CPU2006 465.tonto segment fault of loading from invalid
    addresses due to r31 not saved/restored.  Thus, add
HARD_FRAME_POINTER_REGNUM
    live check with frame_pointer_needed_indeed when generating
pro_and_epilogue
    instructions.

    gcc/ChangeLog

    2020-04-27  Xiong Hu Luo  <luoxhu@linux.ibm.com>

            PR target/91518
            * config/rs6000/rs6000-logue.c (frame_pointer_needed_indeed):
            New variable.
            (rs6000_emit_prologue_components):
            Check with frame_pointer_needed_indeed.
            (rs6000_emit_epilogue_components): Likewise.
            (rs6000_emit_prologue): Likewise.
            (rs6000_emit_epilogue): Set frame_pointer_needed_indeed.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2020-04-27  1:48 ` cvs-commit at gcc dot gnu.org
@ 2020-04-27  6:25 ` rguenth at gcc dot gnu.org
  2020-05-11  1:44 ` cvs-commit at gcc dot gnu.org
  2020-05-12  0:42 ` luoxhu at gcc dot gnu.org
  8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-27  6:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |9.3.0
      Known to work|                            |10.0
            Summary|[9/10 Regression] segfault  |[9 Regression] segfault
                   |when run CPU2006 465.tonto  |when run CPU2006 465.tonto
                   |since r263875               |since r263875

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2020-04-27  6:25 ` [Bug target/91518] [9 " rguenth at gcc dot gnu.org
@ 2020-05-11  1:44 ` cvs-commit at gcc dot gnu.org
  2020-05-12  0:42 ` luoxhu at gcc dot gnu.org
  8 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-11  1:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Xiong Hu Luo
<luoxhu@gcc.gnu.org>:

https://gcc.gnu.org/g:b8da02efe62611a9f173c699a76010de5b916d33

commit r9-8583-gb8da02efe62611a9f173c699a76010de5b916d33
Author: Xionghu Luo <luoxhu@linux.ibm.com>
Date:   Sun May 10 20:27:38 2020 -0500

    rs6000: Don't use HARD_FRAME_POINTER_REGNUM if it's not live in
pro_and_epilogue (PR91518)

    Backport from master.

    This bug is exposed by FRE refactor of r263875.  Comparing the fre
    dump file shows no obvious change of the segment fault function proves
    it to be a target issue.
    frame_pointer_needed is set to true in reload pass setup_can_eliminate,
    but regs_ever_live[31] is false, pro_and_epilogue uses it without live
    check causing CPU2006 465.tonto segment fault of loading from invalid
    addresses due to r31 not saved/restored.  Thus, add
HARD_FRAME_POINTER_REGNUM
    live check with frame_pointer_needed_indeed when generating
pro_and_epilogue
    instructions.

    gcc/ChangeLog

    2020-05-11  Xiong Hu Luo  <luoxhu@linux.ibm.com>

            Backport from master.
            2020-04-27  Xiong Hu Luo  <luoxhu@linux.ibm.com>

            PR target/91518
            * config/rs6000/rs6000.c (frame_pointer_needed_indeed):
            New variable.
            (rs6000_emit_prologue_components):
            Check with frame_pointer_needed_indeed.
            (rs6000_emit_epilogue_components): Likewise.
            (rs6000_emit_prologue): Likewise.
            (rs6000_emit_epilogue): Set frame_pointer_needed_indeed.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/91518] [9 Regression] segfault when run CPU2006 465.tonto since r263875
       [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2020-05-11  1:44 ` cvs-commit at gcc dot gnu.org
@ 2020-05-12  0:42 ` luoxhu at gcc dot gnu.org
  8 siblings, 0 replies; 9+ messages in thread
From: luoxhu at gcc dot gnu.org @ 2020-05-12  0:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518

luoxhu at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #12 from luoxhu at gcc dot gnu.org ---
Also fixed on gcc-9.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-12  0:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-91518-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875 jakub at gcc dot gnu.org
2020-03-25 21:05 ` law at redhat dot com
2020-03-26  7:07 ` rguenth at gcc dot gnu.org
2020-03-26  7:17 ` luoxhu at gcc dot gnu.org
2020-04-01  8:43 ` rguenth at gcc dot gnu.org
2020-04-27  1:48 ` cvs-commit at gcc dot gnu.org
2020-04-27  6:25 ` [Bug target/91518] [9 " rguenth at gcc dot gnu.org
2020-05-11  1:44 ` cvs-commit at gcc dot gnu.org
2020-05-12  0:42 ` luoxhu at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).