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 ada/23519] Dividing fixed point number by zero returns zero.


------- Additional Comments From dje at gcc dot gnu dot org  2005-08-31 16:18 -------
On PowerPC, one needs to emit arithmetic instructions using the mnemonic with 
the "o" suffix to test for overflow (including divide by zero).  The GCC 
language and/or front-end would need to inform the backend that this is 
required.  Currently GCC cannot represent that overflow test or divide by zero 
test is required, e.g., with a different RTL code.

-- 


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


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