gcc.git
25 years agoparse.y (patch_binop): Don't fold if non-constant and emiting class files.
Per Bothner [Tue, 6 Apr 1999 14:27:17 +0000 (07:27 -0700)]
parse.y (patch_binop): Don't fold if non-constant and emiting class files.

h
* parse.y (patch_binop):  Don't fold if non-constant and emiting
class files.

From-SVN: r26214

25 years agocppexp.c (parse_charconst): Initialize c.
Zack Weinberg [Tue, 6 Apr 1999 10:04:10 +0000 (10:04 +0000)]
cppexp.c (parse_charconst): Initialize c.

1999-04-06 12:56 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cppexp.c (parse_charconst): Initialize c.
(cpp_parse_expr): Initialize rprio.
* cppfiles.c (merge_include_chains): Initialize prev.
(finclude) Set fp->line_base to fp->buf before returning.
* cpphash.c (macroexpand): Initialize token.
* cppspec.c (lang_specific_driver): Change suff to
const char *const *.

From-SVN: r26213

25 years agocppinit.c (install_predefs): Delete function.
Zack Weinberg [Tue, 6 Apr 1999 09:54:30 +0000 (09:54 +0000)]
cppinit.c (install_predefs): Delete function.

1999-04-06 12:51 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cppinit.c (install_predefs): Delete function.
(cpp_start_read): Don't call install_predefs.
(cpp_handle_option): Remove case 'u' and all refs to
opts->inhibit_predefs.
(print_help): Don't mention -undef.
(initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
match cccp.
* cpplib.h (struct cpp_options): Remove inhibit_predefs
member.
* cccp.c (predefs): Delete variable.
(main): Remove case 'u' in argument parse loop,
'inhibit_predefs' variable, and the code block that would
process CPP_PREDEFINES.
(initialize_builtins): Don't define __OBJC__, the driver will
do that.
* gcc.c (default_compilers): Remove -undef from all specs that
invoke a C preprocessor.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.

From-SVN: r26212

25 years agoDaily bump.
Jeff Law [Tue, 6 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26211

25 years agodecl.c (lookup_name_current_level): Tweak, and improve documentation.
Mark Mitchell [Mon, 5 Apr 1999 23:09:51 +0000 (23:09 +0000)]
decl.c (lookup_name_current_level): Tweak, and improve documentation.

* decl.c (lookup_name_current_level): Tweak, and improve
documentation.

From-SVN: r26210

25 years agoregress-demangle: New file.
Tom Tromey [Mon, 5 Apr 1999 14:28:59 +0000 (14:28 +0000)]
regress-demangle: New file.

* testsuite/regress-demangle: New file.
* testsuite/demangle-expected: New file.
* Makefile.in (all, check, installcheck, info, install-info,
clean-info, dvi, install, etags, tags, mostlyclean, clean,
distclean, maintainer-clean, realclean): Depend on corresponding
`-subdir' target.
(all-subdir check-subdir installcheck-subdir info-subdir
install-info-subdir clean-info-subdir dvi-subdir
install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
distclean-subdir maintainer-clean-subdir): New target.
* testsuite/Makefile.in: New file.
* configure: Rebuilt.
* configure.in: Create testsuite/Makefile.

From-SVN: r26205

25 years agoMakefile.in (gjavah.o): Depend on $(JAVA_TREE_H).
Kaveh R. Ghazi [Mon, 5 Apr 1999 13:09:45 +0000 (13:09 +0000)]
Makefile.in (gjavah.o): Depend on $(JAVA_TREE_H).

        * Makefile.in (gjavah.o): Depend on $(JAVA_TREE_H).
        * gjavah.c: Include math.h earlier.  Include tree.h/java-tree.h.
        (main_jcf): Don't define.
        (process_file): Don't set `main_jcf'.
        * java-tree.h (main_jcf): Don't declare.
        * jcf-parse.c (main_jcf): Add static definition.
        * lang.c (main_jcf): Don't define.

From-SVN: r26204

25 years agoclass.c (add_method_1): Cast the argument of `bzero' to PTR.
Kaveh R. Ghazi [Mon, 5 Apr 1999 13:04:38 +0000 (13:04 +0000)]
class.c (add_method_1): Cast the argument of `bzero' to PTR.

        * class.c (add_method_1): Cast the argument of `bzero' to PTR.
        * decl.c (copy_lang_decl): Likewise for `bcopy'.
        * jcf-depend.c: Include "config.h", not <config.h>.
        * jcf-parse.c (jcf_figure_file_type): Cast the arguments of
        `bcopy' to PTR.
        * jcf-path.c: Include "config.h", not <config.h>.
        * lex.c: Don't include various system header files.
        (java_init_lex): Cast the argument of `bzero' to PTR
        * parse-scan.y (java_push_parser_context): Likewise.
        * parse.y (java_push_parser_context): Likewise.
        * xref.c: Don't include <stdio.h>.

From-SVN: r26203

25 years agoclass.c (maybe_fixup_vptrs): Remove declaration.
Mark Mitchell [Mon, 5 Apr 1999 12:34:20 +0000 (12:34 +0000)]
class.c (maybe_fixup_vptrs): Remove declaration.

* class.c (maybe_fixup_vptrs): Remove declaration.
(build_class_init_list): Likewise.
* decl.c (pushdecl_class_level): Call check_template_shadow here
...
(push_class_level_binding): ... not here.
* search.c (dfs_push_type_decls): Only avoid
template-self-reference TYPE_DECLs if they are from base classes.

From-SVN: r26202

25 years agoparse.y (struct parser_ctxt *ctxp): Now global.
Alexandre Petit-Bianco [Mon, 5 Apr 1999 12:00:08 +0000 (12:00 +0000)]
parse.y (struct parser_ctxt *ctxp): Now global.

Mon Apr  5 11:24:19 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (struct parser_ctxt *ctxp): Now global.
(declare_local_variables): Use WFL compound value for the
  declaration source line value, when doing cross-referencing.

From-SVN: r26201

25 years ago* Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
Donn Terry [Mon, 5 Apr 1999 11:03:57 +0000 (11:03 +0000)]
* Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.

From-SVN: r26200

25 years ago* Make-lang.in (HOST_CFLAGS): compute dynamically.
Donn Terry [Mon, 5 Apr 1999 11:02:52 +0000 (11:02 +0000)]
* Make-lang.in (HOST_CFLAGS): compute dynamically.

From-SVN: r26199

25 years ago* m68k.md (movdf): Hide GPR sources & destinations from regclass.
Jeffrey A Law [Mon, 5 Apr 1999 10:57:09 +0000 (10:57 +0000)]
* m68k.md (movdf): Hide GPR sources & destinations from regclass.

From-SVN: r26198

25 years agoOops - fixed typo in previous delta
Nick Clifton [Mon, 5 Apr 1999 10:34:51 +0000 (10:34 +0000)]
Oops - fixed typo in previous delta

From-SVN: r26197

25 years agoBump for snapshot
Jeffrey A Law [Mon, 5 Apr 1999 09:54:47 +0000 (03:54 -0600)]
Bump for snapshot

From-SVN: r26195

25 years agoNamed wrong file :)
Bruce Korb [Mon, 5 Apr 1999 06:59:28 +0000 (06:59 +0000)]
Named wrong file :)

From-SVN: r26194

25 years agoEnsure that the server shell is _NOT_ csh
Bruce Korb [Mon, 5 Apr 1999 06:58:30 +0000 (06:58 +0000)]
Ensure that the server shell is _NOT_ csh

From-SVN: r26193

25 years agoSeparate sed -e flag from its argument
Bruce Korb [Mon, 5 Apr 1999 06:57:09 +0000 (06:57 +0000)]
Separate sed -e flag from its argument

From-SVN: r26192

25 years agosed command formatting and no CSH as server shell
Bruce Korb [Mon, 5 Apr 1999 06:56:23 +0000 (06:56 +0000)]
sed command formatting and no CSH as server shell

From-SVN: r26191

25 years agoBump for snapshot
Jeffrey A Law [Mon, 5 Apr 1999 03:52:34 +0000 (21:52 -0600)]
Bump for snapshot

From-SVN: r26190

25 years agoi386.c (x86_double_with_add): Turn off for Pentium and PPro.
Jeffrey A Law [Mon, 5 Apr 1999 03:52:19 +0000 (03:52 +0000)]
i386.c (x86_double_with_add): Turn off for Pentium and PPro.

* i386.c (x86_double_with_add): Turn off for Pentium and PPro.
(small_shift_operand, output_ashlsi3): New functions.
* i386.h (small_shift_operand, output_ashlsi3): Declare.
* i386.md (ashlsi3): Simplify ahlsi3 patterns.  Remove splitters
that are no longer needed.

From-SVN: r26189

25 years agopt.c (check_template_shadow): Don't treat OVERLOADs as _DECL nodes.
Mark Mitchell [Mon, 5 Apr 1999 01:34:46 +0000 (01:34 +0000)]
pt.c (check_template_shadow): Don't treat OVERLOADs as _DECL nodes.

* pt.c (check_template_shadow): Don't treat OVERLOADs as _DECL
nodes.  Tidy.

From-SVN: r26188

25 years agoDaily bump.
Jeff Law [Mon, 5 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26182

25 years agofix bugs exposed by --enable-checking
Craig Burley [Sun, 4 Apr 1999 23:16:21 +0000 (23:16 +0000)]
fix bugs exposed by --enable-checking

From-SVN: r26181

25 years agostmt.c (expand_loop_end): When copying the loop exit test, do not walk into a nested...
Jeffrey A Law [Sun, 4 Apr 1999 03:06:17 +0000 (03:06 +0000)]
stmt.c (expand_loop_end): When copying the loop exit test, do not walk into a nested loop.

        * stmt.c (expand_loop_end): When copying the loop exit test,
        do not walk into a nested loop.

From-SVN: r26171

25 years ago* gcc.c-torture/execute/990404-1.c: New test.
Jeffrey A Law [Sun, 4 Apr 1999 03:03:27 +0000 (03:03 +0000)]
* gcc.c-torture/execute/990404-1.c: New test.

From-SVN: r26170

25 years agoBump for snapshot
Jeffrey A Law [Sun, 4 Apr 1999 01:15:41 +0000 (18:15 -0700)]
Bump for snapshot

From-SVN: r26168

25 years agoDaily bump.
Jeff Law [Sun, 4 Apr 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r26167

25 years agohackshell.tpl: Skip links to directories, to avoid removing them.
Jeffrey A Law [Sat, 3 Apr 1999 23:36:22 +0000 (23:36 +0000)]
hackshell.tpl: Skip links to directories, to avoid removing them.

        * fixinc/hackshell.tpl: Skip links to directories, to avoid
        removing them.
        * fixinc/inclhack.tpl: Likewise.
        * fixinc/fixinc.sh, fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.

From-SVN: r26166

25 years agors6000.md (addsi3, [...]): Use no_new_pseudos.
David Edelsohn [Sat, 3 Apr 1999 22:45:55 +0000 (22:45 +0000)]
rs6000.md (addsi3, [...]): Use no_new_pseudos.

        * rs6000.md (addsi3, iorsi3, xorsi3, adddi3, iordi3, xordi3,
        movsi_got, movsi, movsf): Use no_new_pseudos.
        * rs6000.c (rs6000_got_register): Likewise.
        (offsettable_mem_opereand): Use || not |.

From-SVN: r26165

25 years agoUpdate BUGS, NEWS derived files
Craig Burley [Sat, 3 Apr 1999 21:12:24 +0000 (16:12 -0500)]
Update BUGS, NEWS derived files

From-SVN: r26164

25 years agoacconfig.h (ENABLE_CHECKING): Remove redundant #undef.
Jeffrey A Law [Sat, 3 Apr 1999 21:10:23 +0000 (21:10 +0000)]
acconfig.h (ENABLE_CHECKING): Remove redundant #undef.

        * acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
        * config.in: Rebuilt.

From-SVN: r26163

25 years agoClean up -fset-g77-defaults and -fversion docs
Craig Burley [Sat, 3 Apr 1999 21:03:32 +0000 (21:03 +0000)]
Clean up -fset-g77-defaults and -fversion docs

From-SVN: r26162

25 years agoMake -fno-emulate-complex the default
Craig Burley [Sat, 3 Apr 1999 20:34:35 +0000 (20:34 +0000)]
Make -fno-emulate-complex the default

From-SVN: r26161

25 years ago* gcc.texi: Add info on regmove pass
Toshiyasu Morita [Sat, 3 Apr 1999 15:29:41 +0000 (15:29 +0000)]
* gcc.texi: Add info on regmove pass

From-SVN: r26160

25 years agoregmove.c (fixup_match_1): Consistently evaluate HAVE_POST_INCREMENT and HAVE_POST_DE...
Toshiyasu Morita [Sat, 3 Apr 1999 15:27:53 +0000 (15:27 +0000)]
regmove.c (fixup_match_1): Consistently evaluate HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.

        * regmove.c (fixup_match_1): Consistently evaluate
        HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.

From-SVN: r26159

25 years agoconfigure.in (DEFAULT_LINKER, [...]): Use grep instead of test and sed to check wheth...
Alexandre Oliva [Sat, 3 Apr 1999 14:52:07 +0000 (14:52 +0000)]
configure.in (DEFAULT_LINKER, [...]): Use grep instead of test and sed to check whether they're GNU programs.

* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER): Use grep
instead of test and sed to check whether they're GNU programs.
* configure: Rebuilt.

From-SVN: r26158

25 years agoMakefile.in (install-headers-tar, [...]): avoid problems with CDPATH Reported by...
Alexandre Oliva [Sat, 3 Apr 1999 13:01:48 +0000 (13:01 +0000)]
Makefile.in (install-headers-tar, [...]): avoid problems with CDPATH Reported by Ralf Canis <canis@bigfoot.com>

* Makefile.in (install-headers-tar, install-headers-cpio): avoid
problems with CDPATH
Reported by Ralf Canis <canis@bigfoot.com>

From-SVN: r26157

25 years ago* fixinc.x86-linux-gnu: Deleted.
Jeffrey A Law [Sat, 3 Apr 1999 12:51:38 +0000 (12:51 +0000)]
* fixinc.x86-linux-gnu: Deleted.

From-SVN: r26156

25 years agoinclhack.tpl: insert spaces between `sed -e' and '...' Reported by Kaveh R.
Alexandre Oliva [Sat, 3 Apr 1999 12:19:19 +0000 (12:19 +0000)]
inclhack.tpl: insert spaces between `sed -e' and '...' Reported by Kaveh R.

* inclhack.tpl: insert spaces between `sed -e' and '...'
Reported by Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fixinc/fixincl.sh, fixinc/fixincl.x, fixinc/inclhack.sh: regen

From-SVN: r26155

25 years agoPer Jason's instructions, add myself (Mark Mitchell) as a co-maintainer
Mark Mitchell [Sat, 3 Apr 1999 12:16:18 +0000 (12:16 +0000)]
Per Jason's instructions, add myself (Mark Mitchell) as a co-maintainer
of the C++ front-end.

From-SVN: r26154

25 years agofix typo in tree.def
Craig Burley [Sat, 3 Apr 1999 11:58:12 +0000 (11:58 +0000)]
fix typo in tree.def

From-SVN: r26153

25 years agocpp-if1.c: Adjust regexps to accommodate cccp.
Zack Weinberg [Sat, 3 Apr 1999 07:40:32 +0000 (07:40 +0000)]
cpp-if1.c: Adjust regexps to accommodate cccp.

1999-04-03 10:35 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* gcc.dg/cpp-if1.c: Adjust regexps to accommodate cccp.
* gcc.dg/cpp-if3.c: Don't use -pedantic.
* gcc.misc-tests/m-un-2.c: Adjust regexps for new format of
missing initializer warnings.

From-SVN: r26150

25 years agoclass.c (maybe_fixup_vptrs, [...]): Lose.
Jason Merrill [Sat, 3 Apr 1999 01:23:24 +0000 (01:23 +0000)]
class.c (maybe_fixup_vptrs, [...]): Lose.

* class.c (maybe_fixup_vptrs, build_class_init_list): Lose.
(finish_struct_1): Don't call build_class_init_list.

From-SVN: r26147

25 years agoDaily bump.
Jeff Law [Sat, 3 Apr 1999 00:46:04 +0000 (17:46 -0700)]
Daily bump.

From-SVN: r26146

25 years agoi386.md (floatsisf2, [...]): Rewrite using a splitter.
John Wehle [Fri, 2 Apr 1999 21:58:42 +0000 (21:58 +0000)]
i386.md (floatsisf2, [...]): Rewrite using a splitter.

* i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
floatsixf2, floatdixf2): Rewrite using a splitter.

From-SVN: r26145

25 years agoprint large constants in hex not dec.
Nick Clifton [Fri, 2 Apr 1999 17:37:22 +0000 (17:37 +0000)]
print large constants in hex not dec.

From-SVN: r26142

25 years agoDisplay constants as both decimal and hex values
Nick Clifton [Fri, 2 Apr 1999 17:25:41 +0000 (17:25 +0000)]
Display constants as both decimal and hex values

From-SVN: r26141

25 years agoi386.h: Document all TARGET_SWITCHES or add explicit null initializer.
Zack Weinberg [Fri, 2 Apr 1999 17:20:12 +0000 (17:20 +0000)]
i386.h: Document all TARGET_SWITCHES or add explicit null initializer.

1999-04-02 20:16 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* config/i386/i386.h: Document all TARGET_SWITCHES or add
explicit null initializer.
* config/i386/cygwin.h: Document all SUBTARGET_SWITCHES.
* config/i386/dgux.h: Likewise.
* config/i386/osf1elf.h: Likewise.
* config/i386/win32.h: Likewise.
* config/i386/osfrose.h: Likewise.  Drop obsolete -mno-ident option.

From-SVN: r26140

25 years ago* regmove.c (fixup_match_1): Remove now useless if (0).
Toshiyasu Morita [Fri, 2 Apr 1999 16:58:20 +0000 (16:58 +0000)]
* regmove.c (fixup_match_1): Remove now useless if (0).

From-SVN: r26139

25 years agotm.texi (USE_LOAD_POST_DECREMENT, [...]): Document.
Michael Hayes [Fri, 2 Apr 1999 15:39:55 +0000 (15:39 +0000)]
tm.texi (USE_LOAD_POST_DECREMENT, [...]): Document.

* tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT): Document.
(USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Fix documentation.
* rtl.h (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT,
USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Provide default
definition.
* expr.c: (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Delete default
definition.

From-SVN: r26134

25 years agotinfo.h (__class_type_info): Fix illegal declaration.
Mark Mitchell [Fri, 2 Apr 1999 15:36:57 +0000 (15:36 +0000)]
tinfo.h (__class_type_info): Fix illegal declaration.

1999-04-02  Mark Mitchell  <mark@codesourcery.com>
* tinfo.h (__class_type_info): Fix illegal declaration.
* cp-tree.def (TEMPLATE_ID_EXPR): Update comment.
* cp-tree.h (INHERITED_VALUE_BINDING_P): New macro.
(IDENTIFIER_CLASS_VALUE): Improve documentation.
(is_properly_derived_from): Declare.
(invalidate_class_lookup_cache): Likewise.
(maybe_maybe_note_name_used_in_class): Likewise.
(note_name_declared_in_class): Likewise.
(push_using_decl): Remove duplicate declaration.
(id_in_current_class): Remove declaration.
(push_class_binding): Change prototype.
(clear_identitifer_class_values): Declare.
* call.c (is_properly_derived_from): Make it global.
(build_new_function_call): Be careful about updating candidates.
(build_new_method_call): Handle COMPONENT_REFs.  Don't crash when
asked to make illegal calls.
* class.c: Include splay-tree.h.
(class_stack_node): Add names_used slot.
(check_member_decl_is_same_in_complete_scope): Remove.
(add_method): Fix comment.  Push the declaration into class
scope.
(finish_struct_1): When popping the class, pop the bindings too.
Remove check for data member/function member conflict.
(finish_struct): Remove calls to
check_member_decl_is_same_in_complete_scope.  Change calls to
popclass.
(pushclass): Clear names_used in the class stack entry.
Use invalidate_class_lookup_cache to remove cached entries, rather
than magic values with popclass.  Clear IDENTIFIER_CLASS_VALUE
before entering a new class.  Remove dead code.  Don't mess with
current_function_decl when pushing declarations.
(invalidate_class_lookup_cache): New function, split out from ...
(popclass): Here.  Clean up names_used on our way out.
(instantiate_type): Adjust.
(build_self_reference): Don't push the declaration here.
(maybe_note_name_used_in_class): New function.
(note_name_declared_in_class): Likewise.
* decl.c (add_binding): Change prototype.
(find_class_binding_level): New function.
(innermost_nonclass_level): Likewise.
(current_binding_level): Update documentation.
(inner_binding_level): Remove.  Replace with current_binding_level
throughout.
(push_binding_level): Remove special handling of
class_binding_level.
(pop_binding_level): Likewise.  Use find_class_binding_level.
(suspend_binding_level): Likewise.
(global_bindings_p): Use innermost_nonclass_level.
(toplevel_bindings_p): Likewise.
(namespace_bindings_p): Likewise.
(pseudo_global_level_p): Likewise.
(push_binding): Clear INHERITED_VALUE_BINDING_P.
(add_binding): Check for illegal multiple declarations.  Return a
value indicating whether or not the new binding was legal.
(push_local_binding): Skip over class binding levels.  Check
return value from add_binding.
(push_class_binding): Set INHERITED_VALUE_BINDING_P.  Call
note_name_declared_in_class.
(pushlevel_class): Remove "fake out the rest of the compiler"
code.
(poplevel_class): Reset IDENTIFIER_CLASS_VALUEs.
(clear_identifier_class_values): New function.
(pop_from_top_level): Use it.
(pop_everything): Tweak.
(maybe_process_template_type_declaration): Don't push the
declaration for the template here.
(pushtag): Don't push tag declarations into class scope here.
(pushdecl): Apply DeMorgan's law for readability.
(pushdecl_class_level): Remove special-case code for
TYPE_BEING_DEFINED.  Handle OVERLOADs and anonymous unions.
(push_class_level_bindng): Deal with inherited bindings.
(lookup_name_real): Remove special-case code for
TYPE_BEING_DEFINED, and some implicit typename magic.
(grokdeclarator): Handle COMPONENT_REF for a template function.
(build_enumerator): Don't call pushdecl_class_level here.
(id_in_current_class): Remove.
* decl2.c (grokfield): Don't call pushdecl_class_level or
check_template_shadow.
* errfn.c (cp_file_of): Don't declare.
(cp_line_of): Likewise.
* error.c (dump_decl): Handle an OVERLOAD.
(cp_file_of): Likewise.
(cp_line_of): Likewise.
* init.c (build_member_call): Handle a COMPONENT_REF.
* lex.c (do_identifier): Call maybe_note_name_used_in_class, not
pushdecl_class_level.
* method.c (hack_identifier): Build COMPONENT_REFs for references
to member templates as well as member functions.  Remove dead
code.
* parse.y (left_curly): Remove.
(nonnested_type): Call maybe_note_name_used_in_class, not
pushdecl_class_level.
* parse.c: Regenerated.
(nested_name_specifier_1): Likewise.
* pt.c (check_explicit_specialization): Adjust, for robustness.
(check_template_shadow): Handle OVERLOADs.
(build_template_decl): Set DECL_CONSTRUCTOR_P on the
TEMPLATE_DECL, if appropriate.
* search.c (envelope_add_decl): Remove.
(dfs_pushdecls): Likewise.
(dfs_compress_decls): Likewise.
(dfs_push_decls): New function.
(dfs_push_type_decls): Likewise.
(setup_class_bindings): Likewise.
(template_self_reference_p): Likewise.
(lookup_field_r): Use it.
(looup_member): Remove old comment.  Deal with ambiguity.
(push_class_decls): Use dfs_push_decls and dfs_push_type_decls,
and remove envelope processing.
* semantics.c (begin_class_definition): Let pushclass push
declarations for base classes.
(finish_member_declaration): Push declarations into class scope.
* typeck.c (build_component_ref): Just put an OVERLOAD into the
COMPONENT_REF, not a TREE_LIST of an OVERLOAD.
(build_x_function_call): Deal with OVERLOAD.  Handle template-ids.
* Makefile.in (class.o): Depend on splay-tree.h.

From-SVN: r26133

25 years agosplay-tree.h (splay_tree_compare_pointers): Declare.
Mark Mitchell [Fri, 2 Apr 1999 15:18:06 +0000 (15:18 +0000)]
splay-tree.h (splay_tree_compare_pointers): Declare.

1999-04-02  Mark Mitchell  <mark@codesourcery.com>
* splay-tree.h (splay_tree_compare_pointers): Declare.
1999-04-02  Mark Mitchell  <mark@codesourcery.com>
* splay-tree.h (splay_tree_compare_pointers): Define.

From-SVN: r26132

25 years ago* fixinc/*: Delete obsolete files.
Jeffrey A Law [Fri, 2 Apr 1999 15:13:30 +0000 (15:13 +0000)]
* fixinc/*: Delete obsolete files.

From-SVN: r26131

25 years agofixinc.dgux, [...]: Deleted.
Jeffrey A Law [Fri, 2 Apr 1999 15:08:57 +0000 (15:08 +0000)]
fixinc.dgux, [...]: Deleted.

        * fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
        * fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.

From-SVN: r26130

25 years agoconfigure.in: Set and substitute quoted_cc_set_by_configure.
Donn Terry [Fri, 2 Apr 1999 14:56:49 +0000 (14:56 +0000)]
configure.in: Set and substitute quoted_cc_set_by_configure.

        * configure.in: Set and substitute quoted_cc_set_by_configure.
        * configure: Rebuilt.
        * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.

From-SVN: r26129

25 years ago* Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC).
Jeffrey A Law [Fri, 2 Apr 1999 14:56:11 +0000 (14:56 +0000)]
* Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC).

From-SVN: r26128

25 years agocygwin.h (CPP_SPEC): Use mingw_include_path instead of a hardcoded path for -mno...
Stan Cox [Fri, 2 Apr 1999 14:30:18 +0000 (14:30 +0000)]
cygwin.h (CPP_SPEC): Use mingw_include_path instead of a hardcoded path for -mno-cygwin.

* config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead
of a hardcoded path for -mno-cygwin.
(mingw_include_path): New.

From-SVN: r26127

25 years agoconfigure (gxx_include_dir): Removed.
H.J. Lu [Fri, 2 Apr 1999 14:17:49 +0000 (14:17 +0000)]
configure (gxx_include_dir): Removed.

* configure (gxx_include_dir): Removed.
* configure.in (gxx_include_dir): Handle it.
* Makefile.in: Likewise.
* libio/configure.in (gxx_include_dir): Handle it.
* libio/Makefile.in: Likewise.
* libstdc++/configure.in (gxx_include_dir): Handle it.
* libstdc++/Makefile.in: Likewise.

From-SVN: r26126

25 years agopdp11.c: Include "recog.h".
Joseph Myers [Fri, 2 Apr 1999 13:46:46 +0000 (06:46 -0700)]
pdp11.c: Include "recog.h".

        * pdp11.c: Include "recog.h".
        (output_functip', `notice_update_cc_on_set', `output_ascii',
        `output_function_epilogue', `output_function_prologue',
        `print_operand_address', `register_move_cost',
        `simple_memory_operand'.
        (HARD_REGNO_MODE_OK): Parenthesise `REGNO' arg.
        (REGNO_REG_CLASS): Likewise.
        * pdp11.md: Add explicit `int' to `static count' (in two places).
        (addhi3): Add explicit braces to avoid ambiguous else.
        (addqi3): Likewise.
        (ashlhi3): Likewise.

From-SVN: r26125

25 years agoinvoke.texi: Add documentation for additional supported MIPS CPU types...
Jerry James [Fri, 2 Apr 1999 11:31:37 +0000 (11:31 +0000)]
invoke.texi: Add documentation for additional supported MIPS CPU types...

* gcc/invoke.texi: Add documentation for additional supported
MIPS CPU types, options -mips16 and -mentry, and ABI and ISA
defaults.

From-SVN: r26124

25 years agoi386.md: Delete floating point compare...
John Wehle [Fri, 2 Apr 1999 11:18:47 +0000 (11:18 +0000)]
i386.md: Delete floating point compare...

* i386.md: Delete floating point compare, add, subtract,
multiply, and divide patterns which allowed integer
operands.
* i386.c (output_386_binary_op): Delete unused code.
(output_float_compare): Likewise.

From-SVN: r26123

25 years agoFixed regex for finding C++ headers
Bruce Korb [Fri, 2 Apr 1999 11:04:37 +0000 (11:04 +0000)]
Fixed regex for finding C++ headers

From-SVN: r26122

25 years agoi386.md (movsf+1, [...]): Update constraints so that SECONDARY_MEMORY_RELOAD is used.
John Wehle [Fri, 2 Apr 1999 11:01:25 +0000 (11:01 +0000)]
i386.md (movsf+1, [...]): Update constraints so that SECONDARY_MEMORY_RELOAD is used.

        * i386.md (movsf+1, movdf+1, movxf+1): Update constraints
        so that SECONDARY_MEMORY_RELOAD is used.  Remove dead code.

From-SVN: r26121

25 years agoComplete the change to the 'fixinc.tmp' file
Bruce Korb [Fri, 2 Apr 1999 10:58:54 +0000 (10:58 +0000)]
Complete the change to the 'fixinc.tmp' file

From-SVN: r26120

25 years agointerix fixincludes
Bruce Korb [Fri, 2 Apr 1999 10:54:23 +0000 (10:54 +0000)]
interix fixincludes

From-SVN: r26119

25 years agoUNTESTED support for interix
Bruce Korb [Fri, 2 Apr 1999 10:50:42 +0000 (10:50 +0000)]
UNTESTED support for interix

From-SVN: r26118

25 years agoFix whitespace error.
Jeff Law [Fri, 2 Apr 1999 10:50:41 +0000 (03:50 -0700)]
Fix whitespace error.

From-SVN: r26117

25 years agoi386.c (print_operand_address, case REG): Do not use ESI addressing mode for the K6.
Jan Hubicka [Fri, 2 Apr 1999 10:44:02 +0000 (12:44 +0200)]
i386.c (print_operand_address, case REG): Do not use ESI addressing mode for the K6.

        * i386.c (print_operand_address, case REG): Do not use ESI addressing
        mode for the K6.
        * i386.c (print_operand_address, case MULT): Use more efficient
        encoding (mult (reg) (const_int 2)).

From-SVN: r26116

25 years agoUpdate NEWS derived file
Craig Burley [Fri, 2 Apr 1999 10:37:40 +0000 (05:37 -0500)]
Update NEWS derived file

From-SVN: r26115

25 years agoThe -malign-double option now works
Craig Burley [Fri, 2 Apr 1999 10:37:16 +0000 (10:37 +0000)]
The -malign-double option now works

From-SVN: r26114

25 years agogive URL for my web page
Craig Burley [Fri, 2 Apr 1999 09:53:53 +0000 (09:53 +0000)]
give URL for my web page

From-SVN: r26113

25 years agoAdopt to standard requirements.
Martin v. Löwis [Fri, 2 Apr 1999 04:40:06 +0000 (04:40 +0000)]
Adopt to standard requirements.

From-SVN: r26112

25 years agoDaily bump.
Jeff Law [Fri, 2 Apr 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r26111

25 years agoMove over patch from Bernd Schmidt from GC branch:
Richard Henderson [Thu, 1 Apr 1999 17:06:09 +0000 (09:06 -0800)]
Move over patch from Bernd Schmidt from GC branch:

        * emit-rtl.c (gen_rtx_CONST_DOUBLE): New function.
        (gen_rtx): Call it.  Tidy cases.
        * rtl.h (gen_rtx_CONST_DOUBLE): Prototype it.
        * gengenrtl.c: Add commentary.
        (special_rtx): Also match CONST_DOUBLE.
        (gencode): Emit call to memset instead of bzero.

From-SVN: r26110

25 years agoc4x.md (ashlhi3, [...]): Force operand 1 into a register if shift count not constant.
Michael Hayes [Thu, 1 Apr 1999 17:02:51 +0000 (17:02 +0000)]
c4x.md (ashlhi3, [...]): Force operand 1 into a register if shift count not constant.

* config/c4x/c4x.md (ashlhi3, lshrhi3, ashrhi3): Force operand 1
into a register if shift count not constant.
(ashlhi3_reg, lshrhi3_reg, ashrhi3_reg): Ensure that operand 1
is a register.

From-SVN: r26109

25 years agoc4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED is non-zero.
Michael Hayes [Thu, 1 Apr 1999 16:40:38 +0000 (16:40 +0000)]
c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED is non-zero.

* config/c4x/c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED
is non-zero.
(movstrqi_small, movstrqi_large, *cmpstrqi): Add + modifier to address
  register constraints.
(*movhi_clobber+1): Modify splitter pattern to handle destination
register that is used in the source address.
(*xorhi3_clobber): Replace AND with XOR in call to legitimize_operands.

From-SVN: r26108

25 years ago* config/c4x/c4x.h: Added more comments.
Michael Hayes [Thu, 1 Apr 1999 16:16:53 +0000 (16:16 +0000)]
* config/c4x/c4x.h: Added more comments.

From-SVN: r26107

25 years agoc4x.c (c4x_emit_move_sequence): Force invalid QImode constants into memory if...
Michael Hayes [Thu, 1 Apr 1999 16:02:07 +0000 (16:02 +0000)]
c4x.c (c4x_emit_move_sequence): Force invalid QImode constants into memory if...

* config/c4x/c4x.c (c4x_emit_move_sequence): Force invalid QImode
constants into memory if we get called directly from gen_move_insn
rather than emit_move_insn.
(c4x_legitimize_address): Fix up LABEL_REF addresses.

From-SVN: r26106

25 years agocvt.c (convert_pointer_to_real): Use same_type_p.
Nathan Sidwell [Thu, 1 Apr 1999 12:23:07 +0000 (12:23 +0000)]
cvt.c (convert_pointer_to_real): Use same_type_p.

        * cvt.c (convert_pointer_to_real): Use same_type_p.
* typeck.c (comp_target_types): Use same_type_p.

From-SVN: r26105

25 years agoFix irix6 libstdc++ v3 build failure with complex types.
Jim Wilson [Thu, 1 Apr 1999 12:05:24 +0000 (12:05 +0000)]
Fix irix6 libstdc++ v3 build failure with complex types.

* expr.c (store_field): When check direct_store, assume all complex
modes can be directly stored.

From-SVN: r26104

25 years agomissing comment from yesterday + new shell script
Bruce Korb [Thu, 1 Apr 1999 08:22:39 +0000 (08:22 +0000)]
missing comment from yesterday + new shell script

From-SVN: r26103

25 years agoShell script to create the generated files
Bruce Korb [Thu, 1 Apr 1999 08:18:52 +0000 (08:18 +0000)]
Shell script to create the generated files
from the templates and definitions.

From-SVN: r26102

25 years agoMakefile.in (cppmain$(exeext)): Depend on intl.o.
Manfred Hollstein [Thu, 1 Apr 1999 08:05:46 +0000 (08:05 +0000)]
Makefile.in (cppmain$(exeext)): Depend on intl.o.

h
* Makefile.in (cppmain$(exeext)): Depend on intl.o.  Link in intl.o.

From-SVN: r26101

25 years agoMakefile.in (cppmain$(exeext)): Depend on intl.o.
Manfred Hollstein [Thu, 1 Apr 1999 08:05:43 +0000 (08:05 +0000)]
Makefile.in (cppmain$(exeext)): Depend on intl.o.


* Makefile.in (cppmain$(exeext)): Depend on intl.o.  Link in intl.o.

From-SVN: r26100

25 years agoi386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT signed integer...
H.J. Lu [Thu, 1 Apr 1999 03:01:19 +0000 (03:01 +0000)]
i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT signed integer comparisons.

        * i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
        signed integer comparisons.

From-SVN: r26099

25 years agoi386.c (output_int_conditional_move): Use "enum rtx_code" for code type.
H.J. Lu [Thu, 1 Apr 1999 02:56:31 +0000 (02:56 +0000)]
i386.c (output_int_conditional_move): Use "enum rtx_code" for code type.

        * i386.c (output_int_conditional_move): Use "enum rtx_code" for code
        type.

From-SVN: r26098

25 years agoi386.c (notice_update_cc): No need to check the INT mode for conditional moves since...
H.J. Lu [Thu, 1 Apr 1999 02:53:54 +0000 (02:53 +0000)]
i386.c (notice_update_cc): No need to check the INT mode for conditional moves since FLOAT conditional...

        * i386.c (notice_update_cc): No need to check the INT mode for
        conditional moves since FLOAT conditional moves don't affect cc0.

From-SVN: r26097

25 years agoinclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger string to only match on hpux11.
Jeffrey A Law [Thu, 1 Apr 1999 01:19:07 +0000 (01:19 +0000)]
inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger string to only match on hpux11.

        * fixinc/inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger
        string to only match on hpux11.
        * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.

From-SVN: r26096

25 years agoDaily bump.
Jeff Law [Thu, 1 Apr 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r26095

25 years agohackshell.tpl: Complete transition to fixinc.tmp.
Alexandre Oliva [Thu, 1 Apr 1999 00:25:26 +0000 (00:25 +0000)]
hackshell.tpl: Complete transition to fixinc.tmp.

        * fixinc/hackshell.tpl: Complete transition to fixinc.tmp.
        * fixinc/inclhack.sh: Rebuilt.

From-SVN: r26094

25 years agoinclhack.def: Fix typos in c_asm.h fix.
Alexandre Oliva [Thu, 1 Apr 1999 00:15:14 +0000 (00:15 +0000)]
inclhack.def: Fix typos in c_asm.h fix.

        * fixinc/inclhack.def: Fix typos in c_asm.h fix.
        * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.

From-SVN: r26093

25 years agosemantics.c (begin_inline_definitions, [...]): Rename from finish_default_args and...
Jason Merrill [Wed, 31 Mar 1999 18:59:19 +0000 (18:59 +0000)]
semantics.c (begin_inline_definitions, [...]): Rename from finish_default_args and begin_inline_definitions...

* semantics.c (begin_inline_definitions,
finish_inline_definitions): Rename from finish_default_args and
begin_inline_definitions, respectively, to something that isn't a
total lie.  :)
* parse.y (structsp): Adjust.
* tree.c (hash_tree_cons): Remove obsolete via_* parms.
(list_hash_lookup): Likewise.
(hash_tree_chain): Adjust.
* pt.c (tsubst): Adjust.
(tsubst_arg_types): Use plain hash_tree_cons.
* cp-tree.h (hash_tree_cons_simple): Lose.
* parse.y (declmods, nonempty_cv_qualifiers): Use hash_tree_cons.

From-SVN: r26092

25 years agotoplev.c (rest_of_compilation): Allow dbr_schedule to write to the dump file too.
Jeffrey A Law [Wed, 31 Mar 1999 16:26:36 +0000 (16:26 +0000)]
toplev.c (rest_of_compilation): Allow dbr_schedule to write to the dump file too.

        * toplev.c (rest_of_compilation): Allow dbr_schedule to write to
        the dump file too.

From-SVN: r26091

25 years agoflow.c (find_basic_blocks): New argument `do_cleanup'.
Richard Henderson [Wed, 31 Mar 1999 12:41:03 +0000 (04:41 -0800)]
flow.c (find_basic_blocks): New argument `do_cleanup'.

        * flow.c (find_basic_blocks): New argument `do_cleanup'.
        Conditionally call delete_unreachable_blocks.
        (free_basic_block_vars): Zero ENTRY/EXIT data.
        (allocate_for_life_analysis): Kill.  Split into...
        (allocate_bb_life_data, allocate_reg_life_data): ... new functions.
        (life_analysis_1): Update.
        * gcse.c (gcse_main): Update find_basic_blocks call.
        * toplev.c (rest_of_compilation): Likewise.
        * stupid.c (stupid_life_analysis): Update life data calls.
        * rtl.h, output.h: Update prototypes.

From-SVN: r26090

25 years agoupdates, cleanups and reworking of fixinc
Bruce Korb [Wed, 31 Mar 1999 12:13:32 +0000 (12:13 +0000)]
updates, cleanups and reworking of fixinc

From-SVN: r26089

25 years agoregenerated
Bruce Korb [Wed, 31 Mar 1999 12:05:26 +0000 (12:05 +0000)]
regenerated

From-SVN: r26088

25 years agoadded spaces to ensure correct shell syntax.
Bruce Korb [Wed, 31 Mar 1999 12:02:19 +0000 (12:02 +0000)]
added spaces to ensure correct shell syntax.

Added test to ensure '//' comments were not deleted inside strings
Added the missing c_asm.h fix

From-SVN: r26087

25 years agoReworked method for traversing sym-linked directory hierarchies
Bruce Korb [Wed, 31 Mar 1999 11:51:29 +0000 (11:51 +0000)]
Reworked method for traversing sym-linked directory hierarchies

From-SVN: r26086

25 years agogjavah.c (print_field_info): Allow constants of other types.
Tom Tromey [Wed, 31 Mar 1999 11:46:42 +0000 (11:46 +0000)]
gjavah.c (print_field_info): Allow constants of other types.

* gjavah.c (print_field_info): Allow constants of other types.
(print_include): Generate include when new name is proper prefix
of already printed name.
(add_namelet): Likewise.
(cxx_keyword_subst): New function.
(print_method_info): Use it.
(print_field_name): New function.
(get_field_name): New function.
(print_field_info): Use get_field_name and print_field_name.

From-SVN: r26085