aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-11-07 20:54:28 -0500
committerJason Merrill <jason@gcc.gnu.org>1998-11-07 20:54:28 -0500
commitc36ae80ff2e9d7d8a560ad3ffea7806e24b456bc (patch)
tree48c6369a28384d14743146a93ce3893c3f5b14cb /gcc
parent70c130e718cc472e4affb85e70f06d80055d8fd9 (diff)
downloadgcc-c36ae80ff2e9d7d8a560ad3ffea7806e24b456bc.zip
gcc-c36ae80ff2e9d7d8a560ad3ffea7806e24b456bc.tar.gz
gcc-c36ae80ff2e9d7d8a560ad3ffea7806e24b456bc.tar.bz2
pt.c (tsubst_decl): Don't mess with the global value of an un-mangled DECL_ASSEMBLER_NAME.
* pt.c (tsubst_decl): Don't mess with the global value of an un-mangled DECL_ASSEMBLER_NAME. * decl.c (init_decl_processing): Remove CYGWIN conditional since CYGWIN is now able to deal with trapping signals. From-SVN: r23565
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog16
-rw-r--r--gcc/cp/decl.c8
-rw-r--r--gcc/cp/pt.c1
3 files changed, 14 insertions, 11 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 674e243..2f67717 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,13 @@
+1998-11-08 Jason Merrill <jason@yorick.cygnus.com>
+
+ * pt.c (tsubst_decl): Don't mess with the global value of an
+ un-mangled DECL_ASSEMBLER_NAME.
+
+1998-11-03 Christopher Faylor <cgf@cygnus.com>
+
+ * decl.c (init_decl_processing): Remove CYGWIN conditional
+ since CYGWIN is now able to deal with trapping signals.
+
Sat Nov 7 15:48:02 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cp-tree.h: Don't include gansidecl.h.
@@ -159,7 +169,7 @@ Sat Nov 7 15:48:02 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1998-10-28 Zack Weinberg <zack@rabi.phys.columbia.edu>
- * cp/lex.c: Call check_newline from lang_init always. After
+ * lex.c: Call check_newline from lang_init always. After
calling cpp_start_read, set yy_cur and yy_lim to read from the
cpplib token buffer.
@@ -522,9 +532,9 @@ Sat Oct 17 23:27:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1998-10-16 Mark Mitchell <mark@markmitchell.com>
* decl.c (lookup_name_real): Handle template parameters for member
- temlates where said parameters have the same name as the
+ templates where said parameters have the same name as the
surrounding class.
-
+
* decl.c (expand_static_init): Build cleanups before entering the
anonymous function used to do them to avoid access-checking
confusion.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 6ed993e..a547242 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -5600,7 +5600,6 @@ init_decl_processing ()
current_binding_level = NULL_BINDING_LEVEL;
free_binding_level = NULL_BINDING_LEVEL;
-#ifndef __CYGWIN32__
/* Because most segmentation signals can be traced back into user
code, catch them and at least give the user a chance of working
around compiler bugs. */
@@ -5622,13 +5621,6 @@ init_decl_processing ()
#ifdef SIGBUS
signal (SIGBUS, signal_catch);
#endif
-#else /* ndef __CYGWIN32__ */
- /* Cygwin32 cannot handle catching signals other than
- SIGABRT yet. We hope this will cease to be the case soon. */
-#ifdef SIGABRT
- signal (SIGABRT, signal_catch);
-#endif
-#endif /* ndef __CYGWIN32__ */
gcc_obstack_init (&decl_obstack);
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index aa81456..c1a8331 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -5367,6 +5367,7 @@ tsubst_decl (t, args, type, in_decl)
mess up our TREE_CHAIN because it doesn't find a
previous decl. Sigh. */
if (member
+ && ! uses_template_parms (r)
&& (IDENTIFIER_GLOBAL_VALUE (DECL_ASSEMBLER_NAME (r))
== NULL_TREE))
SET_IDENTIFIER_GLOBAL_VALUE (DECL_ASSEMBLER_NAME (r), r);