[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #15 from ubizjak at gmail dot com 2010-08-06 19:33 --- This one started to fail on mainline recently. f: .frame $30,0,$26,0 .prologue 0 lda $1,18($16) ldq_u $0,18($16) extbl $0,$1,$0 ret $31,($26),1 .end f The testcase passed with r161055 [1] and failed with r161806 [2]. In between is Richi's mem-ref2 merge... [1] http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg02114.html [2] http://gcc.gnu.org/ml/gcc-testresults/2010-07/msg00417.html -- ubizjak at gmail dot com changed: What|Removed |Added CC||rguenth at gcc dot gnu dot ||org Status|RESOLVED|REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-08-06 19:45 --- Can you instead open a new bug please? Thx. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED Summary|[4.6 Regression] generates |[4.0/4.1 regression] |code that produces unaligned|generates code that produces |access exceptions |unaligned access exceptions Target Milestone|4.6.0 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #17 from ubizjak at gmail dot com 2010-08-06 20:00 --- (In reply to comment #16) Can you instead open a new bug please? Thx. Sure. PR45212. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #11 from rth at gcc dot gnu dot org 2005-11-02 18:20 --- Subject: Bug 24178 Author: rth Date: Wed Nov 2 18:20:07 2005 New Revision: 106388 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=106388 Log: PR target/24178 * config/alpha/alpha.c (get_aligned_mem): Honor alignment given by MEM_ALIGN. Added: trunk/gcc/testsuite/gcc.target/alpha/pr24178.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/alpha/alpha.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #12 from tsv at solvo dot ru 2005-11-02 22:26 --- (In reply to comment #11) Subject: Bug 24178 Author: rth Date: Wed Nov 2 18:20:07 2005 New Revision: 106388 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=106388 Log: PR target/24178 * config/alpha/alpha.c (get_aligned_mem): Honor alignment given by MEM_ALIGN. Added: trunk/gcc/testsuite/gcc.target/alpha/pr24178.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/alpha/alpha.c Thank you Richard. It does generates a better code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #13 from rth at gcc dot gnu dot org 2005-11-03 00:33 --- Subject: Bug 24178 Author: rth Date: Thu Nov 3 00:33:09 2005 New Revision: 106417 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=106417 Log: PR target/24178 * config/alpha/alpha.c (get_aligned_mem): Honor alignment given by MEM_ALIGN. Added: branches/gcc-4_0-branch/gcc/testsuite/gcc.target/alpha/pr24178.c - copied unchanged from r106416, trunk/gcc/testsuite/gcc.target/alpha/pr24178.c Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/config/alpha/alpha.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #14 from rth at gcc dot gnu dot org 2005-11-03 00:34 --- Fixed. -- rth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|4.1.0 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
-- rth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|-00-00 00:00:00 |2005-11-02 07:13:35 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
--- Comment #10 from rth at gcc dot gnu dot org 2005-11-02 07:43 --- Created an attachment (id=10112) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10112action=view) proposed patch The root problem is that get_aligned_mem and aligned_memory_operand didn't match up. Adding a bit of code to get_aligned_mem to handle MEM_ALIGN as well appears to cure the problem. I've not yet tested this beyond Falk's trivial testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Priority|P2 |P5 Target Milestone|4.2.0 |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178
[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|middle-end |target GCC build triplet|alpha-*-linux-gnu | GCC host triplet|alpha-*-linux-gnu | Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178