summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-06 15:48:29 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-06 15:48:29 +0000
commit7720c877ff825e03a9e76cae1056500f6b9c2368 (patch)
treed3ec4d03867dc1c946b0b2742d599df1ce8246e1 /gcc
parent9f852f4781a3617daa7d8abfb463259787167ce4 (diff)
downloadgcc-7720c877ff825e03a9e76cae1056500f6b9c2368.tar.gz
* m68k.c: Include tree.h for dwarf2out_cfi_label.
* gcc.c (process_command): Do not take address of function fatal when calling lang_specific_driver. * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling doesn't work with it yet, so set it to 0. * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define. * cse.c (cse_insn): Check for invalid entries when taking references. More assorted pending patches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog17
-rw-r--r--gcc/config/i386/cygwin32.h4
-rw-r--r--gcc/config/i386/x-cygwin322
-rw-r--r--gcc/config/i386/xm-cygwin32.h1
-rw-r--r--gcc/config/m68k/m68k.c1
-rw-r--r--gcc/cse.c5
-rw-r--r--gcc/gcc.c2
7 files changed, 29 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0ba530a3c71..8290e9e286b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,20 @@
+Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
+
+ * m68k.c: Include tree.h for dwarf2out_cfi_label.
+
+ * gcc.c (process_command): Do not take address of function fatal when
+ calling lang_specific_driver.
+
+Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
+
+ * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
+ doesn't work with it yet, so set it to 0.
+ * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
+
+Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
+
+ * cse.c (cse_insn): Check for invalid entries when taking references.
+
Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (invariant_p): Don't test flag_rerun_loop_opt.
diff --git a/gcc/config/i386/cygwin32.h b/gcc/config/i386/cygwin32.h
index 40870930286..864ff95ff5b 100644
--- a/gcc/config/i386/cygwin32.h
+++ b/gcc/config/i386/cygwin32.h
@@ -202,3 +202,7 @@ do { \
#undef ASM_COMMENT_START
#define ASM_COMMENT_START " #"
+
+/* DWARF2 Unwinding doesn't work with exception handling yet. */
+#define DWARF2_UNWIND_INFO 0
+
diff --git a/gcc/config/i386/x-cygwin32 b/gcc/config/i386/x-cygwin32
index 5e796a0e916..d284b3e7e41 100644
--- a/gcc/config/i386/x-cygwin32
+++ b/gcc/config/i386/x-cygwin32
@@ -1,4 +1,2 @@
# Don't run fixproto
STMP_FIXPROTO =
-# Don't need collect2
-USE_COLLECT2 =
diff --git a/gcc/config/i386/xm-cygwin32.h b/gcc/config/i386/xm-cygwin32.h
index aa71f4461af..745ab58f8fe 100644
--- a/gcc/config/i386/xm-cygwin32.h
+++ b/gcc/config/i386/xm-cygwin32.h
@@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */
#define NO_STAB_H
#define EXECUTABLE_SUFFIX ".exe"
+#define NO_SYS_SIGLIST 1
/* Even though we support "/", allow "\" since everybody tests both. */
#define DIR_SEPARATOR '\\'
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index c332065685e..605369f46d2 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
/* Some output-actions in m68k.md need these. */
#include "config.h"
#include <stdio.h>
+#include "tree.h"
#include "rtl.h"
#include "regs.h"
#include "hard-reg-set.h"
diff --git a/gcc/cse.c b/gcc/cse.c
index 1f5504ae04b..593d075b689 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7463,6 +7463,11 @@ cse_insn (insn, in_libcall_block)
merge_equiv_classes (src_elt, classp);
classp = src_elt->first_same_value;
+ /* Ignore invalid entries. */
+ while (classp
+ && GET_CODE (classp->exp) != REG
+ && ! exp_equiv_p (classp->exp, classp->exp, 1, 0))
+ classp = classp->next_same_value;
}
}
}
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 7f1cd00448d..77372870edb 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2513,7 +2513,7 @@ process_command (argc, argv)
#ifdef LANG_SPECIFIC_DRIVER
/* Do language-specific adjustment/addition of flags. */
- lang_specific_driver (&fatal, &argc, &argv);
+ lang_specific_driver (fatal, &argc, &argv);
#endif
/* Scan argv twice. Here, the first time, just count how many switches