Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Surendar Chandra
Tue, 04 Aug 1992 20:38
GCC Version 2.1 on DG Aviion, a 88100 based machine
Author: Surendar Chandra
Date: Tue, 04 Aug 1992 20:38
Date: Tue, 04 Aug 1992 20:38
18 lines
1312 bytes
1312 bytes
I've been trying to make gcc compile code for divisions, without generating
traps to 503. I use the option '-muse-div-instruction -mno-check-zero-division'
and it seems to work if the operands involved in the operation are variables.
However, if the operation is done for constants, it generates this trap to
503 and ignores my options. Looking at the code in m88k.md, it looks like
it does not process TARGET_CHECK_ZERO_DIV or TARGET_USE_DIV if op2 is
const0_rtx. Why was this done like this? Is this part of some optimization?
Thanks for any help
surendar
--
=======================================================================
Surendar Chandra Office:(508) 831-5118(msg)
Home: 152, West St, #4 Off: 145, Fuller Labs, Home :(508) 754-5691
Worcester, MA 01609 Worcester Polytech. Inst.
Worcester, MA 01609
Internet: surendar@{maxine,wpi}.wpi.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads