This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/18665] [3.4/4.0 Regression] -ftrapv borks up simple integer arithmetic


------- Additional Comments From steven at gcc dot gnu dot org  2004-11-28 00:34 -------
Here's the difference between what gcc 3.3.3 produces and what 
gcc 4.0.0 manages to make of it (first 3.3.3, second 4.0.0): 
 
16,18c16,20 
<       movl    -8(%rbp), %esi 
<       movl    -4(%rbp), %edi 
<       call    __subvsi3 
--- 
>       movl    -4(%rbp), %eax 
>       movslq  %eax,%rdi 
>       movl    -8(%rbp), %eax 
>       movslq  %eax,%rsi 
>       call    __subvdi3 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18665


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]