home *** CD-ROM | disk | FTP | other *** search
- Sat Jun 26 11:51:20 1999 Mumit Khan <khan@xraylith.wisc.edu>
-
- * decl.c (start_function): Disable Jason Merrill's change on
- 1999-03-18 to suppress normal linkage heuristics for #pragma
- interface under MULTIPLE_SYMBOL_SPACES.
-
- Index: gcc-2.95.2/gcc/cp/decl.c
- ===================================================================
- RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/cp/decl.c,v
- retrieving revision 1.3
- diff -u -3 -p -r1.3 decl.c
- --- gcc-2.95.2/gcc/cp/decl.c 1999/11/05 06:26:36 1.3
- +++ gcc-2.95.2/gcc/cp/decl.c 1999/11/05 06:34:42
- @@ -13555,6 +13555,9 @@ start_function (declspecs, declarator, a
- DECL_NOT_REALLY_EXTERN (decl1) = 0;
- DECL_INTERFACE_KNOWN (decl1) = 1;
- }
- +#if 0
- + /* FIXME: Don't use this heuristic. Breaks GNU Octave and a few other
- + packages that use #pragma interface/implementation extensively. */
- else if (interface_unknown && interface_only
- && (! DECL_TEMPLATE_INSTANTIATION (decl1)
- || flag_alt_external_templates))
- @@ -13569,6 +13572,7 @@ start_function (declspecs, declarator, a
- DECL_INTERFACE_KNOWN (decl1) = 1;
- DECL_DEFER_OUTPUT (decl1) = 1;
- }
- +#endif /* 0 */
- else
- {
- /* This is a definition, not a reference.
-