public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/64366] New: Segmentation fault in remove_pseudos
@ 2014-12-20  1:04 kkojima at gcc dot gnu.org
  2015-03-11 18:30 ` [Bug rtl-optimization/64366] " vmakarov at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kkojima at gcc dot gnu.org @ 2014-12-20  1:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64366
           Summary: Segmentation fault in remove_pseudos
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ra
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kkojima at gcc dot gnu.org
                CC: olegendo at gcc dot gnu.org, vmakarov at gcc dot gnu.org
            Target: sh*-*-*

Created attachment 34303
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34303&action=edit
a test case

The test case got a segfault in remove_pseudos on sh-unkonwn-elf compilers
built against trunk revision 218951 with '-O2 -m4 -ml -mlra'.
It fails also with '-O1 -mlra', though the bug looks a bit fragile.


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

* [Bug rtl-optimization/64366] Segmentation fault in remove_pseudos
  2014-12-20  1:04 [Bug rtl-optimization/64366] New: Segmentation fault in remove_pseudos kkojima at gcc dot gnu.org
@ 2015-03-11 18:30 ` vmakarov at gcc dot gnu.org
  2015-03-20 18:04 ` vmakarov at gcc dot gnu.org
  2015-03-21  6:03 ` kkojima at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2015-03-11 18:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
I've reproduced the bug.  As the bug is in LRA inheritance, it will take some
time to fix it.  I hope to make a patch on next week.


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

* [Bug rtl-optimization/64366] Segmentation fault in remove_pseudos
  2014-12-20  1:04 [Bug rtl-optimization/64366] New: Segmentation fault in remove_pseudos kkojima at gcc dot gnu.org
  2015-03-11 18:30 ` [Bug rtl-optimization/64366] " vmakarov at gcc dot gnu.org
@ 2015-03-20 18:04 ` vmakarov at gcc dot gnu.org
  2015-03-21  6:03 ` kkojima at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2015-03-20 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Fri Mar 20 17:43:48 2015
New Revision: 221541

URL: https://gcc.gnu.org/viewcvs?rev=221541&root=gcc&view=rev
Log:
2015-03-20  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/64366
    * lra.c (lra_update_insn_regno_info): Consider regs in
    CALL_INSN_FUNCTION_USAGE memory.

2015-03-20  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/64366
    * gcc.target/sh/pr64366.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/sh/pr64366.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/64366] Segmentation fault in remove_pseudos
  2014-12-20  1:04 [Bug rtl-optimization/64366] New: Segmentation fault in remove_pseudos kkojima at gcc dot gnu.org
  2015-03-11 18:30 ` [Bug rtl-optimization/64366] " vmakarov at gcc dot gnu.org
  2015-03-20 18:04 ` vmakarov at gcc dot gnu.org
@ 2015-03-21  6:03 ` kkojima at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: kkojima at gcc dot gnu.org @ 2015-03-21  6:03 UTC (permalink / raw)
  To: gcc-bugs

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

Kazumoto Kojima <kkojima at gcc dot gnu.org> changed:

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

--- Comment #4 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
Thanks for fixing this!  I'd like to close this PR.


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

end of thread, other threads:[~2015-03-21  0:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-20  1:04 [Bug rtl-optimization/64366] New: Segmentation fault in remove_pseudos kkojima at gcc dot gnu.org
2015-03-11 18:30 ` [Bug rtl-optimization/64366] " vmakarov at gcc dot gnu.org
2015-03-20 18:04 ` vmakarov at gcc dot gnu.org
2015-03-21  6:03 ` kkojima 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).