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
This commit is contained in:
Jason Merrill 1998-11-07 20:54:28 -05:00
parent 70c130e718
commit c36ae80ff2
3 changed files with 14 additions and 11 deletions

View File

@ -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.

View File

@ -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);

View File

@ -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);