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]
Other format: [Raw text]

Persistent IA64 (and others?) exception failure


The gcc back end still occasionally optimizes away saving of the return
address at function calls that are known not to return, e.g. because they
always raise an exception.  This was first pointed out a long time ago
(http://gcc.gnu.org/ml/gcc/2001-11/msg00960.html).  Richard Henderson
suggested a better approach
(http://gcc.gnu.org/ml/gcc/2001-11/msg01290.html).  But at least as of a
couple of days ago, this was still broken in 3.1.

I believe this affects both C++ and Java.  I'm not sure whether it affects
platforms other than Itanium.

Is someone working on this?  I have been getting good results with the
original patch (http://gcc.gnu.org/ml/gcc/2001-11/msg00960.html) on Itanium
and X86 Linux.  (I doubt it has any effect on X86.)  Is that patch correct?
If so, can I check it into 3.1 until we get something better?

Hans


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