Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patches to fix optimizer bug & C++ exceptions for GCC VAX backend



Cc'ing Matt Thomas who is listed as the vax maintainer; most of the patch should be reviewed by him IMO. If he is no longer active I'd frankly rather deprecate the port rather than invest effort in keeping it running.

Index: gcc/except.c
===================================================================
RCS file: /cvsroot/src/external/gpl3/gcc/dist/gcc/except.c,v
retrieving revision 1.3
diff -u -r1.3 except.c
--- gcc/except.c	23 Mar 2016 15:51:36 -0000	1.3
+++ gcc/except.c	28 Mar 2016 23:24:40 -0000
@@ -2288,7 +2288,8 @@
  #endif
      {
  #ifdef EH_RETURN_HANDLER_RTX
-      emit_move_insn (EH_RETURN_HANDLER_RTX, crtl->eh.ehr_handler);
+      rtx insn = emit_move_insn (EH_RETURN_HANDLER_RTX, crtl->eh.ehr_handler);
+      RTX_FRAME_RELATED_P (insn) = 1;	// XXX FIXME in VAX backend?
  #else
        error ("__builtin_eh_return not supported on this target");
  #endif

This part looks highly suspicious and I think there needs to be further analysis.


Bernd



Home | Main Index | Thread Index | Old Index