public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "edlinger at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/66747] [6 Regression] The commit r225260 broke the builds of the mips-{mti,img}-linux-gnu tool chains.
Date: Fri, 03 Jul 2015 08:21:00 -0000	[thread overview]
Message-ID: <bug-66747-4-pjoHOqaQqM@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-66747-4@http.gcc.gnu.org/bugzilla/>

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

Bernd Edlinger <edlinger at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-03
            Version|5.2.0                       |6.0
   Target Milestone|5.2                         |6.0
            Summary|[5/6 Regression] The commit |[6 Regression] The commit
                   |r225260 broke the builds of |r225260 broke the builds of
                   |the                         |the
                   |mips-{mti,img}-linux-gnu    |mips-{mti,img}-linux-gnu
                   |tool chains.                |tool chains.
     Ever confirmed|0                           |1

--- Comment #1 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
confirmed. but it is a gcc-6 regression only.

With that patch we call mips_initial_elimination_offset
from rtx_addr_can_trap_p_1.  And it falls over insn 103:

(insn 103 58 62 (sequence [
            (call_insn 59 58 61 (parallel [
                        (call (mem:SI (reg/f:SI 25 $25 [orig:235 D.3533 ]
[235]) [0 *_13 S4 A32])
                            (const_int 0 [0]))
                        (clobber (reg:SI 31 $31))
                    ]) ../../../../gcc-6-20150614/libgcc/crtstuff.c:707 645
{call_internal}
                 (expr_list:REG_DEAD (reg/f:SI 25 $25 [orig:235 D.3533 ] [235])
                    (expr_list:REG_CALL_DECL (nil)
                        (nil)))
                (expr_list (use (reg:SI 79 $fakec))
                    (nil)))
            (insn 61 59 62 (set (reg/v/f:SI 16 $16 [orig:234 pD.3516 ] [234])
                    (plus:SI (reg/v/f:SI 16 $16 [orig:234 pD.3516 ] [234])
                        (const_int -4 [0xfffffffffffffffc]))) 13 {*addsi3}
                 (nil))
        ]) ../../../../gcc-6-20150614/libgcc/crtstuff.c:707 -1
     (nil))

unrecognizable, in mips_insn_has_flexible_gp_ref_p for whatever reason.



../../../../gcc-6-20150614/libgcc/crtstuff.c:708:1: internal compiler error: in
get_attr_got, at config/mips/mips.md:685
0xa9505a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc-6-20150614/gcc/rtl-error.c:110
0xa95089 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc-6-20150614/gcc/rtl-error.c:118
0xe1beb5 get_attr_got
        ../../gcc-6-20150614/gcc/config/mips/mips.md:685
0xe1beb5 get_attr_got
        ../../gcc-6-20150614/gcc/config/mips/mips.md:662
0xe07c8a mips_insn_has_flexible_gp_ref_p
        ../../gcc-6-20150614/gcc/config/mips/mips.c:9905
0xe017f9 mips_find_gp_ref
        ../../gcc-6-20150614/gcc/config/mips/mips.c:9836
0xe020ed mips_global_pointer
        ../../gcc-6-20150614/gcc/config/mips/mips.c:9957
0xe020ed mips_compute_frame_info
        ../../gcc-6-20150614/gcc/config/mips/mips.c:10327
0xe0e8d6 mips_initial_elimination_offset(int, int)
        ../../gcc-6-20150614/gcc/config/mips/mips.c:10534
0xa9764d rtx_addr_can_trap_p_1
        ../../gcc-6-20150614/gcc/rtlanal.c:627
0xa97335 rtx_addr_can_trap_p_1
        ../../gcc-6-20150614/gcc/rtlanal.c:697
0xa99f87 may_trap_p_1(rtx_def const*, unsigned int)
        ../../gcc-6-20150614/gcc/rtlanal.c:2836
0xa8d7f7 fill_slots_from_thread
        ../../gcc-6-20150614/gcc/reorg.c:2521
0xa902dd fill_eager_delay_slots
        ../../gcc-6-20150614/gcc/reorg.c:2958
0xa902dd dbr_schedule
        ../../gcc-6-20150614/gcc/reorg.c:3805
0xa902dd rest_of_handle_delay_slots
        ../../gcc-6-20150614/gcc/reorg.c:3944
0xa902dd execute
        ../../gcc-6-20150614/gcc/reorg.c:3975


  parent reply	other threads:[~2015-07-03  8:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-03  1:04 [Bug c/66747] New: " doug.gilmore at imgtec dot com
2015-07-03  8:00 ` [Bug middle-end/66747] [5/6 Regression] " rguenth at gcc dot gnu.org
2015-07-03  8:21 ` edlinger at gcc dot gnu.org [this message]
2015-07-03 10:06 ` [Bug middle-end/66747] [6 " edlinger at gcc dot gnu.org
2015-07-03 11:23 ` bernd.edlinger at hotmail dot de
2015-07-03 20:42 ` doug.gilmore at imgtec dot com
2015-07-04  3:44 ` doug.gilmore at imgtec dot com
2015-07-04  7:50 ` [Bug target/66747] " edlinger at gcc dot gnu.org
2015-07-04 19:02 ` edlinger at gcc dot gnu.org
2015-07-06 20:32 ` doug.gilmore at imgtec dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-66747-4-pjoHOqaQqM@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).