Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Briggs.pa
Mon, 18 Sep 1989 05:10
g++ 1.36.0- (approx date Sept 2nd)
Author: Briggs.pa
Date: Mon, 18 Sep 1989 05:10
Date: Mon, 18 Sep 1989 05:10
32 lines
1272 bytes
1272 bytes
In gcc 1.35.98, the code generated by genextract for insn-extract.c aborts
on illegal insns with a call to abort().
In gcc 1.35.99 this has been replaced by a call to
fatal_insn_not_found(insn), a function which is now provided in gcc's
toplev.c
If you attempt to build a g++ based on gcc-1.35.99 (using the genextract
from that release) cc1plus fails to load because the function
fatal_insn_not_found is not provided by the g++ toplev.c.
I believe diffs for an appropriate patch to g++'s toplev.c would be:
*** toplev.c.orig Thu Sep 7 09:29:29 1989
--- toplev.c Sun Sep 17 22:58:13 1989
***************
*** 475,480 ****
--- 475,488 ----
error (s, v);
exit (34);
}
+ void
+ fatal_insn_not_found (insn)
+ rtx insn;
+ {
+ error ("The followin insn was not recognizable:" , 0);
+ debug_rtx (insn);
+ abort ();
+ }
static int need_error_newline;
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads