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

Re: [PATCH] PR19917: Calls to weak functions may trap


On Sat, Feb 12, 2005 at 02:40:02PM -0700, Roger Sayle wrote:
> 	* tree-eh.c (tree_could_trap_p): Consider calls to weak functions
> 	to be potentially trapping.

This is ok.

It's the best we can do without a method to say "conditionally
non-trapping", that is "won't trap, but only because it's shadowed
by a test, or another related trap".  At some point we should come
up with a good way to represent this so that we can eliminate a lot
of eh edges in java.


r~


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