Commit Graph

21738 Commits

Author SHA1 Message Date
Zack Weinberg
099a9dd0c6 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
1999-04-06 10:04:10 +00:00
Zack Weinberg
507df93940 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
1999-04-06 09:54:30 +00:00
Jeff Law
0793b35eaa Daily bump.
From-SVN: r26211
1999-04-05 18:45:02 -06:00
Mark Mitchell
a7d2d407f9 decl.c (lookup_name_current_level): Tweak, and improve documentation.
* decl.c (lookup_name_current_level): Tweak, and improve
	documentation.

From-SVN: r26210
1999-04-05 23:09:51 +00:00
Tom Tromey
7c72138aa2 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
1999-04-05 14:28:59 +00:00
Kaveh R. Ghazi
4f65832d5c 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
1999-04-05 13:09:45 +00:00
Kaveh R. Ghazi
4504ead1db 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
1999-04-05 13:04:38 +00:00
Mark Mitchell
908c4e8316 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
1999-04-05 12:34:20 +00:00
Alexandre Petit-Bianco
d4370213f6 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
1999-04-05 05:00:08 -07:00
Donn Terry
7325ab47d1 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
From-SVN: r26200
1999-04-05 05:03:57 -06:00
Donn Terry
f664c40644 * Make-lang.in (HOST_CFLAGS): compute dynamically.
From-SVN: r26199
1999-04-05 05:02:52 -06:00
Jeffrey A Law
9f22acc4e4 * m68k.md (movdf): Hide GPR sources & destinations from regclass.
From-SVN: r26198
1999-04-05 04:57:09 -06:00
Nick Clifton
9aa7ea1805 Oops - fixed typo in previous delta
From-SVN: r26197
1999-04-05 10:34:51 +00:00
Jeffrey A Law
a566f0041f Bump for snapshot
From-SVN: r26195
1999-04-05 03:54:47 -06:00
Bruce Korb
ee8c4259f5 Named wrong file :)
From-SVN: r26194
1999-04-05 06:59:28 +00:00
Bruce Korb
2458e8235b Ensure that the server shell is _NOT_ csh
From-SVN: r26193
1999-04-05 06:58:30 +00:00
Bruce Korb
383316ed62 Separate sed -e flag from its argument
From-SVN: r26192
1999-04-05 06:57:09 +00:00
Bruce Korb
ac95d436b6 sed command formatting and no CSH as server shell
From-SVN: r26191
1999-04-05 06:56:23 +00:00
Jeffrey A Law
788d09baae Bump for snapshot
From-SVN: r26190
1999-04-04 21:52:34 -06:00
Jeffrey A Law
0a726ef13b 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
1999-04-04 21:52:19 -06:00
Mark Mitchell
b5d9b9ab00 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
1999-04-04 21:34:46 -04:00
Jeff Law
2a97a80018 Daily bump.
From-SVN: r26182
1999-04-04 18:45:02 -06:00
Craig Burley
702edf1d71 fix bugs exposed by --enable-checking
From-SVN: r26181
1999-04-04 19:16:21 -04:00
Jeffrey A Law
f114df2032 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
1999-04-03 20:06:17 -07:00
Jeffrey A Law
db488e9ede * gcc.c-torture/execute/990404-1.c: New test.
From-SVN: r26170
1999-04-03 20:03:27 -07:00
Jeffrey A Law
478df796df Bump for snapshot
From-SVN: r26168
1999-04-03 18:15:41 -07:00
Jeff Law
59354f47bd Daily bump.
From-SVN: r26167
1999-04-03 17:45:02 -07:00
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