public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "aldot at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53735] New: thumb1 spill failure with -Os Date: Wed, 20 Jun 2012 18:56:00 -0000 [thread overview] Message-ID: <bug-53735-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53735 Bug #: 53735 Summary: thumb1 spill failure with -Os Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Keywords: assemble-failure, ice-on-valid-code Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: aldot@gcc.gnu.org CC: ramana@gcc.gnu.org, rearnsha@gcc.gnu.org Target: arm-eabi Created attachment 27667 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27667 original source fork() fails to assemble with -mthumb -Os, works with -O2 instead of -Os. arm-oe-linux-uclibceabi-gcc -S fork.i -o fork.s -mthumb -Os ;# -g -march=armv5te -mthumb-interwork -mtune=arm926ej-s -msoft-float -mlittle-endian -feliminate-unused-debug-types -fno-tree-loop-optimize -fno-tree-dominator-opts fork.i: In function 'fork': fork.i:8762:1: error: unable to find a register to spill in class 'LO_REGS' fork.i:8762:1: error: this is the insn: (insn 99 97 100 17 (set (reg/v:SI 4 r4 [ _v1 ]) (plus:SI (reg/f:SI 147 [ D.8653 ]) (const_int -1064 [0xfffffffffffffbd8]))) fork.i:8727 5 {*thumb1_addsi3} (nil)) fork.i:8762: confused by earlier errors, bailing out Attached fork.i is the original, fork-reduced.i is a slightly reduced variant. Above my original flags commented out for reference.
next reply other threads:[~2012-06-20 18:56 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-06-20 18:56 aldot at gcc dot gnu.org [this message] 2012-06-20 18:58 ` [Bug target/53735] " aldot at gcc dot gnu.org 2012-07-17 9:34 ` ramana at gcc dot gnu.org 2012-07-24 9:04 ` zhuolin.liu at arm dot com 2012-07-26 7:51 ` zhenqiang.chen at linaro dot org 2013-08-05 21:34 ` rearnsha 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-53735-4@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).