From c36ae80ff2e9d7d8a560ad3ffea7806e24b456bc Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 7 Nov 1998 20:54:28 -0500 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 16 +++++++++++++--- gcc/cp/decl.c | 8 -------- gcc/cp/pt.c | 1 + 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 674e243f452..2f677172cb3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +1998-11-08 Jason Merrill + + * pt.c (tsubst_decl): Don't mess with the global value of an + un-mangled DECL_ASSEMBLER_NAME. + +1998-11-03 Christopher Faylor + + * 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 * cp-tree.h: Don't include gansidecl.h. @@ -159,7 +169,7 @@ Sat Nov 7 15:48:02 1998 Kaveh R. Ghazi 1998-10-28 Zack Weinberg - * 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 1998-10-16 Mark Mitchell * 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 6ed993e790c..a54724205c0 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 aa814566129..c1a8331e5e4 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); -- 2.30.2