Commit Graph

21711 Commits

Author SHA1 Message Date
Jeffrey A Law
20cc423f21 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
1999-04-03 16:36:22 -07:00
David Edelsohn
677a966854 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
1999-04-03 17:45:55 -05:00
Craig Burley
d343abd2e8 Update BUGS, NEWS derived files
From-SVN: r26164
1999-04-03 16:12:24 -05:00
Jeffrey A Law
264b1a9c8b acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
* acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
        * config.in: Rebuilt.

From-SVN: r26163
1999-04-03 14:10:23 -07:00
Craig Burley
d1c32ce14e Clean up -fset-g77-defaults and -fversion docs
From-SVN: r26162
1999-04-03 16:03:32 -05:00
Craig Burley
d8955e1744 Make -fno-emulate-complex the default
From-SVN: r26161
1999-04-03 15:34:35 -05:00
Toshiyasu Morita
0ea78edbd7 * gcc.texi: Add info on regmove pass
From-SVN: r26160
1999-04-03 08:29:41 -07:00
Toshiyasu Morita
1ed9faeecb 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
1999-04-03 08:27:53 -07:00
Alexandre Oliva
e154a394de 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
1999-04-03 14:52:07 +00:00
Alexandre Oliva
965c3f43f9 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
1999-04-03 13:01:48 +00:00
Jeffrey A Law
ebc7e094e1 * fixinc.x86-linux-gnu: Deleted.
From-SVN: r26156
1999-04-03 05:51:38 -07:00
Alexandre Oliva
706e665aee 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
1999-04-03 12:19:19 +00:00
Mark Mitchell
3fccc06735 Per Jason's instructions, add myself (Mark Mitchell) as a co-maintainer
of the C++ front-end.

From-SVN: r26154
1999-04-03 12:16:18 +00:00
Craig Burley
d9c2af5b98 fix typo in tree.def
From-SVN: r26153
1999-04-03 06:58:12 -05:00
Zack Weinberg
24dc09a7fe 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
1999-04-03 07:40:32 +00:00
Jason Merrill
e01a4a17e5 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
1999-04-02 20:23:24 -05:00
Jeff Law
54d4c16730 Daily bump.
From-SVN: r26146
1999-04-02 17:46:04 -07:00
John Wehle
bc725565df i386.md (floatsisf2, [...]): Rewrite using a splitter.
* i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
	floatsixf2, floatdixf2): Rewrite using a splitter.

From-SVN: r26145
1999-04-02 21:58:42 +00:00
Nick Clifton
4bc74ece1e print large constants in hex not dec.
From-SVN: r26142
1999-04-02 17:37:22 +00:00
Nick Clifton
7b028dbadf Display constants as both decimal and hex values
From-SVN: r26141
1999-04-02 17:25:41 +00:00
Zack Weinberg
1cc6c9bd40 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
1999-04-02 17:20:12 +00:00
Toshiyasu Morita
cb084004de * regmove.c (fixup_match_1): Remove now useless if (0).
From-SVN: r26139
1999-04-02 09:58:20 -07:00
Michael Hayes
6e01bd94f8 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
1999-04-02 15:39:55 +00:00
Mark Mitchell
8f0327178b 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
1999-04-02 15:36:57 +00:00
Mark Mitchell
ae7f727035 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
1999-04-02 15:18:06 +00:00
Jeffrey A Law
2fa6b2d2ad * fixinc/*: Delete obsolete files.
From-SVN: r26131
1999-04-02 08:13:30 -07:00
Jeffrey A Law
4f71d8e4e7 fixinc.dgux, [...]: Deleted.
* fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
        * fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.

From-SVN: r26130
1999-04-02 08:08:57 -07:00
Donn Terry
5aa82acea4 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
1999-04-02 07:56:49 -07:00
Jeffrey A Law
f6087261f4 * Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC).
From-SVN: r26128
1999-04-02 07:56:11 -07:00
Stan Cox
ffb6cec051 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
1999-04-02 14:30:18 +00:00
H.J. Lu
88101ab976 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
1999-04-02 07:17:49 -07:00
Joseph Myers
09b893bba7 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
1999-04-02 06:46:46 -07:00
Jerry James
8b9243df27 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
1999-04-02 11:31:37 +00:00
John Wehle
87aa52463b 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
1999-04-02 11:18:47 +00:00
Bruce Korb
ea5c0a506f Fixed regex for finding C++ headers
From-SVN: r26122
1999-04-02 11:04:37 +00:00
John Wehle
9f567f56b1 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
1999-04-02 04:01:25 -07:00
Bruce Korb
c095d84a8d Complete the change to the 'fixinc.tmp' file
From-SVN: r26120
1999-04-02 10:58:54 +00:00
Bruce Korb
a734e0bf3b interix fixincludes
From-SVN: r26119
1999-04-02 10:54:23 +00:00
Bruce Korb
e05cb56a29 UNTESTED support for interix
From-SVN: r26118
1999-04-02 10:50:42 +00:00
Jeff Law
91e3ded8bd Fix whitespace error.
From-SVN: r26117
1999-04-02 03:50:41 -07:00
Jan Hubicka
69a8af4360 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
1999-04-02 03:44:02 -07:00
Craig Burley
57b1ca433d Update NEWS derived file
From-SVN: r26115
1999-04-02 05:37:40 -05:00
Craig Burley
7cceca3288 The -malign-double option now works
From-SVN: r26114
1999-04-02 05:37:16 -05:00
Craig Burley
68b14c7178 give URL for my web page
From-SVN: r26113
1999-04-02 04:53:53 -05:00
Martin v. Löwis
ca704688be Adopt to standard requirements.
From-SVN: r26112
1999-04-02 04:40:06 +00:00
Jeff Law
302a3fa615 Daily bump.
From-SVN: r26111
1999-04-01 17:45:04 -07:00
Richard Henderson
0133b7d92c 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
1999-04-01 09:06:09 -08:00
Michael Hayes
4b97aaeb34 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
1999-04-01 17:02:51 +00:00
Michael Hayes
8de858c039 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
1999-04-01 16:40:38 +00:00
Michael Hayes
4adf744bb4 * config/c4x/c4x.h: Added more comments.
From-SVN: r26107
1999-04-01 16:16:53 +00:00