[Bug target/34001] Incorrect x86 fastcall behavior

2007-11-27 Thread hjl at gcc dot gnu dot org
--- Comment #8 from hjl at gcc dot gnu dot org 2007-11-28 01:20 --- Subject: Bug 34001 Author: hjl Date: Wed Nov 28 01:20:34 2007 New Revision: 130488 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130488 Log: 2007-11-27 H.J. Lu [EMAIL PROTECTED] Joey Ye [EMAIL

[Bug target/34001] Incorrect x86 fastcall behavior

2007-11-27 Thread hjl at lucon dot org
--- Comment #9 from hjl at lucon dot org 2007-11-28 01:25 --- Fixed in gcc 4.3. -- hjl at lucon dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/34001] Incorrect x86 fastcall behavior

2007-11-26 Thread hjl at lucon dot org
--- Comment #6 from hjl at lucon dot org 2007-11-26 23:19 --- We have changed fastcall behavior from gcc 3.4 to 4.1. For --- #define FASTCALL __attribute((fastcall)) double FASTCALL f_dii( double p1d, int p2i, int p3i ){ return p1d + (double)p2 i + (double)p3i; } inttest_x;

[Bug target/34001] Incorrect x86 fastcall behavior

2007-11-26 Thread hjl at lucon dot org
--- Comment #7 from hjl at lucon dot org 2007-11-27 02:36 --- (In reply to comment #6) We have changed fastcall behavior from gcc 3.4 to 4.1. For --- #define FASTCALL __attribute((fastcall)) double FASTCALL f_dii( double p1d, int p2i, int p3i ){ return p1d + (double)p2 i +

[Bug target/34001] Incorrect x86 fastcall behavior

2007-11-15 Thread hjl at lucon dot org
--- Comment #5 from hjl at lucon dot org 2007-11-16 04:52 --- The correct patch is at http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00885.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34001

[Bug target/34001] Incorrect x86 fastcall behavior

2007-11-11 Thread hjl at lucon dot org
--- Comment #4 from hjl at lucon dot org 2007-11-12 03:27 --- From info gcc, `fastcall' On the Intel 386, the `fastcall' attribute causes the compiler to pass the first argument (if of integral type) in the register ECX ^^^