* gcc.patch: Remove, relevant only to long-ago versions of GCC.

This commit is contained in:
Stan Shebs 1995-08-15 01:07:54 +00:00
parent ae71adb82b
commit dd17dde6de
2 changed files with 9 additions and 81 deletions

View File

@ -1,9 +1,9 @@
Mon Aug 14 17:56:36 1995 Stan Shebs <shebs@andros.cygnus.com>
* gcc.patch: Remove, relevant only to long-ago versions of GCC.
Mon Aug 14 13:43:01 1995 Kung Hsu <kung@mexican.cygnus.com>
* blokcframe.c (inside_main_func): Add comments.
* blockframe.c (inside_main_func): Fix a typo in previous change.
* config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
* blockframe.c (inside_main_func): If main func addr range not set,
try to set it now.
@ -37,7 +37,7 @@ Sat Aug 12 15:34:54 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* rs6000-tdep.c (find_toc_address): Report an error if no toc was
found rather than possibly core dumping.
* partial-satb.h: Handle extra field generated by the aix4 compiler
* partial-stab.h: Handle extra field generated by the aix4 compiler
for enumerations.
* stabsread.c (read_enum_type): Likewise.
@ -48,8 +48,8 @@ Sat Aug 12 03:18:04 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Fri Aug 11 13:04:32 1995 Kung Hsu <kung@mexican.cygnus.com>
* symtab.c (list_symbols): if break command set breakpoint on matched
symbol.
* symtab.c (list_symbols): if break command set breakpoint on
matched symbol.
Wed Aug 9 18:59:05 1995 Fred Fish <fnf@cygnus.com>
@ -58,8 +58,8 @@ Wed Aug 9 18:59:05 1995 Fred Fish <fnf@cygnus.com>
Wed Aug 9 14:51:36 1995 Kung Hsu <kung@mexican.cygnus.com>
* xcoffread.x (xcoff_symfile_offset): Revert an unwanted change gets
in accidentally from Aug 1 checkin.
* xcoffread.c (xcoff_symfile_offset): Revert an unwanted change
that got in accidentally with Aug 1 change.
Sat Aug 5 09:07:28 1995 steve chamberlain <sac@slash.cygnus.com>

View File

@ -1,72 +0,0 @@
In the 2.3.2 release of gcc/g++, how the compiler handles resolving
multiple inheritance lattices was reworked to properly discover
ambiguities. We recently found an example which causes this new
algorithm to fail in a very subtle way. For the time being, this
patch will make the compiler use the old algorithm, which works for
the failing case we've found. Note it will revert the compiler's
ability to properly deduce MI ambiguities in many cases (to its state
in 2.2.2 and 2.3.1). This bug will be fixed in the next gcc/g++
release.
Brendan Kehoe (brendan@cygnus.com)
*** cp-search.c.~1~ Thu Feb 18 18:03:24 1993
--- cp-search.c Thu Feb 18 18:03:27 1993
***************
*** 2389,2392 ****
--- 2389,2393 ----
if ((*qfn)(base_binfo))
{
+ #if 0
if (fn == dfs_init_vbase_pointers)
{
***************
*** 2464,2467 ****
--- 2465,2469 ----
saw_first_vbase = save_saw_first_vbase;
} else
+ #endif
dfs_walk (base_binfo, fn, qfn);
}
*************** dfs_init_vbase_pointers (binfo)
*** 2658,2661 ****
--- 2660,2664 ----
return;
+ #if 0
this_vbase_ptr = vbase_decl_ptr_intermediate;
*************** dfs_init_vbase_pointers (binfo)
*** 2662,2668 ****
if (TYPE_POINTER_TO (type) != TREE_TYPE (this_vbase_ptr))
my_friendly_abort (125);
- #if 0
distance = get_base_distance (type, TREE_TYPE (vbase_decl), 0, &path);
if (distance == -2)
{
--- 2665,2672 ----
if (TYPE_POINTER_TO (type) != TREE_TYPE (this_vbase_ptr))
my_friendly_abort (125);
+ #endif
distance = get_base_distance (type, TREE_TYPE (vbase_decl), 0, &path);
+ #if 0
if (distance == -2)
{
*************** dfs_init_vbase_pointers (binfo)
*** 2669,2672 ****
--- 2673,2677 ----
error ("inheritance lattice too complex below");
}
+ #endif
while (path)
{
*************** dfs_init_vbase_pointers (binfo)
*** 2682,2685 ****
--- 2687,2691 ----
this_vbase_ptr = convert_pointer_to (type, vbase_decl_ptr);
+ #if 0
/* This happens when it is ambiguous. */
if (this_vbase_ptr == error_mark_node)