public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tyokota at k2 dot dion dot ne dot jp" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/28232] New: wrong movua.l instruction combine for sh4a Date: Mon, 03 Jul 2006 11:59:00 -0000 [thread overview] Message-ID: <bug-28232-12830@http.gcc.gnu.org/bugzilla/> (raw) union unaligned { void *ptr; } __attribute__((__packed__)); void *foo(union unaligned *p) { return (p->ptr); } -------------------- sh-elf-gcc -V4.1.1 -S -O2 -m4a test2.c combine optimize change movua.l to mov.l instruction. .file "test2.c" .text .text .align 1 .align 5 .global _foo .type _foo, @function _foo: mov.l @r4,r0 mov.l r14,@-r15 mov r15,r14 mov r14,r15 mov.l @r15+,r14 rts nop .size _foo, .-_foo .ident "GCC: (GNU) 4.1.1" -- Summary: wrong movua.l instruction combine for sh4a Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tyokota at k2 dot dion dot ne dot jp GCC target triplet: sh-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28232
next reply other threads:[~2006-07-03 11:59 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-07-03 11:59 tyokota at k2 dot dion dot ne dot jp [this message] 2006-07-03 22:49 ` [Bug target/28232] Wrong aligned load is generated with -m4a on sh-* kkojima at gcc dot gnu dot org 2006-07-06 22:35 ` patchapp at dberlin dot org 2006-07-10 23:02 ` kkojima at gcc dot gnu dot org 2006-10-23 0:14 ` kkojima at gcc dot gnu dot org 2006-10-23 0:28 ` kkojima at gcc dot gnu dot 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-28232-12830@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).