CONST_CALL_P questions
John Wehle
john@feith.com
Thu Aug 5 21:16:00 GMT 1999
1) What's an example declaration and usage of a const call function?
I've been trying unsuccessfully to produce a sample which shows
up in a RTL dump.
2) If the INSN has CONST_CALL_P set then does that mean the call
has no possible side effects (not even in the parameters passed
to the call)? For example the parameters don't have PRE_DEC register
notes, volatile memory references, etc. and that the function doesn't
write to memory, modify global registers, reference volatile memory,
etc.
The documentation (a.k.a. the source :-) wasn't completely clear to me
on these issues.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------
More information about the Gcc
mailing list