This is the mail archive of the gcc@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]

Functions that always return



Is there a mechanism where we tell if a CALL_INSN will always return?

I had always assumed that a libcall would always return but looking in
libgcc2.c, I see that udivmoddi4 may generate a divide by zero
exception.  This puzzles me since I see that a libcall to udivmoddi4
has a REG_EH_REGION note with a value of -1 which I thought indicated
that the call could not throw an exception?

Could someone please clarify the situation.

Thanks, Michael.




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