public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "kkojima at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67573] [SH] wrong code generated for libstdc++-v3/src/c++11/cxx11-shim_facets.cc at -mlra Date: Tue, 15 Sep 2015 11:28:00 -0000 [thread overview] Message-ID: <bug-67573-4-FCmFKNuGRe@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-67573-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67573 --- Comment #2 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- It seems that LRA allocates r7 for the scratch reg at (define_insn_and_split "call_value_pcrel" [(set (match_operand 0 "" "=rf") (call (mem:SI (match_operand:SI 1 "symbol_ref_operand" "")) (match_operand 2 "" ""))) (use (reg:SI FPSCR_MODES_REG)) (use (reg:SI PIC_REG)) (clobber (reg:SI PR_REG)) (use (match_scratch:SI 3 "=r"))] in the problematic case and the insn (call_insn 208 207 209 22 (parallel [ (set (reg:SI 0 r0) (call (mem:SI (symbol_ref:SI ("_ZNKSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE4copyEPwjj") [flags 0x41] <function_decl 0xb72c0280 copy>) [0 copy S4 A32]) (const_int 0 [0]))) (use (reg:SI 154 fpscr0)) (use (reg:SI 12 r12)) (clobber (reg:SI 146 pr)) (clobber (reg:SI 7 r7 [357])) ]) fa.cc:484 322 {call_value_pcrel} (expr_list:REG_EH_REGION (const_int 4 [0x4]) (expr_list:REG_CALL_DECL (symbol_ref:SI ("_ZNKSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE4copyEPwjj") [flags 0x41] <function_decl 0xb72c0280 copy>) (nil))) (expr_list:SI (use (reg:SI 4 r4)) (expr_list:SI (use (reg:SI 5 r5)) (expr_list:SI (use (reg:SI 6 r6)) (expr_list:SI (use (reg:SI 7 r7)) (nil)))))) made the following passes confused.
next prev parent reply other threads:[~2015-09-15 11:28 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-14 13:00 [Bug target/67573] New: " kkojima at gcc dot gnu.org 2015-09-14 13:09 ` [Bug target/67573] " kkojima at gcc dot gnu.org 2015-09-15 11:28 ` kkojima at gcc dot gnu.org [this message] 2015-09-15 14:13 ` kkojima at gcc dot gnu.org 2015-09-15 23:14 ` olegendo at gcc dot gnu.org 2015-09-17 0:13 ` kkojima at gcc dot gnu.org 2015-09-17 0:24 ` kkojima at gcc dot gnu.org 2015-09-17 14:28 ` olegendo at gcc dot gnu.org 2015-09-19 12:52 ` kkojima at gcc dot gnu.org 2015-09-20 23:54 ` kkojima at gcc dot gnu.org
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-67573-4-FCmFKNuGRe@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: linkBe 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).