[Bug target/41015] [4.4/4.5 Regression] SH: miscompilation for sh4-linux

2009-08-11 Thread kkojima at gcc dot gnu dot org
--- Comment #6 from kkojima at gcc dot gnu dot org 2009-08-11 22:37 --- Subject: Bug 41015 Author: kkojima Date: Tue Aug 11 22:36:56 2009 New Revision: 150667 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150667 Log: Backport from mainline: 2009-08-10 SUGIOKA

[Bug target/41015] [4.4/4.5 Regression] SH: miscompilation for sh4-linux

2009-08-11 Thread kkojima at gcc dot gnu dot org
--- Comment #7 from kkojima at gcc dot gnu dot org 2009-08-11 22:38 --- Fixed. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/41015] [4.4/4.5 Regression] SH: miscompilation for sh4-linux

2009-08-10 Thread kkojima at gcc dot gnu dot org
--- Comment #5 from kkojima at gcc dot gnu dot org 2009-08-10 20:57 --- Subject: Bug 41015 Author: kkojima Date: Mon Aug 10 20:57:35 2009 New Revision: 150635 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150635 Log: PR target/41015 * longlong.h [__sh__]

[Bug target/41015] [4.4/4.5 Regression] SH: miscompilation for sh4-linux

2009-08-09 Thread kkojima at gcc dot gnu dot org
--- Comment #2 from kkojima at gcc dot gnu dot org 2009-08-09 22:44 --- I've confirmed that 4.5 has the same problem and 4.3 doesn't. In this code, tst r9,r9 is moved to wrong place as if t bit is not clobbered in __udiv_qrnnd_16. I guessed that missing t bit constraint in

[Bug target/41015] [4.4/4.5 Regression] SH: miscompilation for sh4-linux

2009-08-09 Thread sugioka at itonet dot co dot jp
--- Comment #3 from sugioka at itonet dot co dot jp 2009-08-10 04:47 --- I found that there is a copy of longlong.h in glibc/stdlib. After fixing it, it worked. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41015

[Bug target/41015] [4.4/4.5 Regression] SH: miscompilation for sh4-linux

2009-08-09 Thread kkojima at gcc dot gnu dot org
--- Comment #4 from kkojima at gcc dot gnu dot org 2009-08-10 05:08 --- Ah, I see. Could you please send that patch to libc list? I'll fix gcc/longlong.h on gcc trunk and 4.4 branch after the usual tests. -- kkojima at gcc dot gnu dot org changed: What|Removed