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 c/27116] [4.2 Regression] Incorrect integer division (wrong sign).



------- Comment #5 from vincent at vinc17 dot org  2006-04-11 15:46 -------
(In reply to comment #4)
> I mean the middle-end probably does some "interesting" foldings of -2147483647L
> - 1L as the result -080000000 has the overflow flag set.

The bug also occurs with: (long) -2147483648LL.


-- 


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


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