diff options
author | Andrew Macleod <amacleod@gcc.gnu.org> | 1998-02-10 12:31:01 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 1998-02-10 12:31:01 +0000 |
commit | 727e39c7ffae766b3a74d9203f951b43c8d53aed (patch) | |
tree | c8c740cebee3db08db2369e8521fb620a92f90bb | |
parent | 3afaa6e8c508e95dcb65bbde5a2c9ce142dbf519 (diff) | |
download | gcc-727e39c7ffae766b3a74d9203f951b43c8d53aed.zip gcc-727e39c7ffae766b3a74d9203f951b43c8d53aed.tar.gz gcc-727e39c7ffae766b3a74d9203f951b43c8d53aed.tar.bz2 |
Add squangling support. (First cut at improved Name mangling)
From-SVN: r17828
-rw-r--r-- | gcc/cp/ChangeLog | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6446d6a..9bfe994 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,33 @@ +Tue Feb 10 15:30:55 EST 1998 Andrew MacLeod <amacleod@torpedo.to.cygnus.com> + + * decl2.c (lang_f_options): Add -fsquangle to option processing list. + + * cp-tree.h (flag_do_squangling): Add declaration. + + * lang-options.h: Add -fsquangle and -fno-squangle. + + * method.c: Add macros and static variables for squangling. + (build_overload_name): Rename to build_mangled_name, add logic for B + compression, and split into process_modifiers and process_overload_item. + (process_modifiers): New function, to handle constant, reference, + and pointer types. + (process_overload_item): New function, handles issue of type codes. + (build_overload_name): New function, start squangling and call + build_mangled_name. + (ALLOCATE_TYPEVEC, DEALLOCATE_TYPEVEC): Remove macro and expand inline. + (start_squangling): New function to initialize squangling structs. + (end_squangling): New function to destroy squangling structs. + (nrepeats): Rename variable to Nrepeats. + (issue_nrepeats): New function for issuing 'n' type repeats. + (check_ktype): New function to check for type K name compression. + (build_overload_nested_name): Add a check for K name compression. + (build_qualified_name): Add a check for K name compression and don't + use DECL_ASSEMBLER_NAME when squangling is on. + (check_btype): New function, checks for B type compression. + (build_static_name, build_decl_overload_real): Initiate squangling. + (build_typename_overload, build_overload_with_type): Initiate + squangling + Sun Feb 8 23:47:38 1998 scott snyder <sss@d0linux01.fnal.gov> * method.c (make_thunk): Avoid name buffer overflow. |