This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

(C++) update to MULTIPLE_SYMBOL_SPACES


I forgot to change this case when NO_LINKAGE_HEURISTICS was renamed to
MULTIPLE_SYMBOL_SPACES.

1998-12-04  Jason Merrill  <jason@yorick.cygnus.com>

	* lex.c (handle_cp_pragma): Disable #pragma interface/implementation
	if MULTIPLE_SYMBOL_SPACES.

Index: lex.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/lex.c,v
retrieving revision 1.88
diff -c -p -r1.88 lex.c
*** lex.c	1998/11/25 04:06:42	1.88
--- lex.c	1998/12/05 05:37:46
*************** handle_cp_pragma (pname)
*** 4853,4859 ****
        if (token != END_OF_LINE)
  	warning ("garbage after `#pragma interface' ignored");
  
! #ifndef NO_LINKAGE_HEURISTICS
        write_virtuals = 3;
  
        if (impl_file_chain == 0)
--- 4853,4859 ----
        if (token != END_OF_LINE)
  	warning ("garbage after `#pragma interface' ignored");
  
! #ifndef MULTIPLE_SYMBOL_SPACES
        write_virtuals = 3;
  
        if (impl_file_chain == 0)
*************** handle_cp_pragma (pname)
*** 4880,4886 ****
        interface_unknown = 0;
        TREE_INT_CST_LOW (fileinfo) = interface_only;
        TREE_INT_CST_HIGH (fileinfo) = interface_unknown;
! #endif /* NO_LINKAGE_HEURISTICS */
  
        return 1;
      }
--- 4880,4886 ----
        interface_unknown = 0;
        TREE_INT_CST_LOW (fileinfo) = interface_only;
        TREE_INT_CST_HIGH (fileinfo) = interface_unknown;
! #endif /* MULTIPLE_SYMBOL_SPACES */
  
        return 1;
      }
*************** handle_cp_pragma (pname)
*** 4906,4912 ****
        if (token != END_OF_LINE)
  	warning ("garbage after `#pragma implementation' ignored");
  
! #ifndef NO_LINKAGE_HEURISTICS
        if (write_virtuals == 3)
  	{
  	  struct impl_files *ifiles = impl_file_chain;
--- 4906,4912 ----
        if (token != END_OF_LINE)
  	warning ("garbage after `#pragma implementation' ignored");
  
! #ifndef MULTIPLE_SYMBOL_SPACES
        if (write_virtuals == 3)
  	{
  	  struct impl_files *ifiles = impl_file_chain;
*************** handle_cp_pragma (pname)
*** 4951,4957 ****
  #endif
        TREE_INT_CST_LOW (fileinfo) = interface_only;
        TREE_INT_CST_HIGH (fileinfo) = interface_unknown;
! #endif /* NO_LINKAGE_HEURISTICS */
  
        return 1;
      }
--- 4951,4957 ----
  #endif
        TREE_INT_CST_LOW (fileinfo) = interface_only;
        TREE_INT_CST_HIGH (fileinfo) = interface_unknown;
! #endif /* MULTIPLE_SYMBOL_SPACES */
  
        return 1;
      }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]