Commit Graph

31899 Commits

Author SHA1 Message Date
Richard Henderson
2e18bbae80 dwarf2out.c (file_table, [...]): Remove.
* dwarf2out.c (file_table, file_table_allocated): Remove.
        (file_table_allocated): Remove.
        (struct file_table): New.
        (decl_file_table, line_file_table): New.
        (print_dwarf_line_table): Use them.
        (size_of_line_prolog): Likewise.
        (output_line_info): Likewise.
        (add_src_coords_attributes): Likewise.
        (gen_subprogram_die): Likewise.
        (gen_variable_die): Likewise.
        (dwarf2out_add_library_unit_info): Likewise.
        (dwarf2out_line): Likewise.
        (lookup_filename): Take a struct file_table argument.
        (init_file_table): New.
        (dwarf2out_init): Use it.

From-SVN: r37746
2000-11-25 16:12:42 -08:00
Joseph Myers
9399bad37b method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name.
cp:
	* method.c (build_mangled_C9x_name): Rename to
	build_mangled_C99_name.  Change C9X references in comments to
	refer to C99.

testsuite:
	* gcc.c-torture/execute/memcheck/driver.c,
	gcc.c-torture/execute/memcheck/driver.h, gcc.dg/cpp/if-3.c: Change
	C9X references to refer to C99.

From-SVN: r37745
2000-11-25 19:50:51 +00:00
Joseph Myers
163686bd6d * invoke.texi: Update sequence points references.
From-SVN: r37744
2000-11-25 19:40:19 +00:00
Joseph Myers
7ee9826b89 acinclude.m4: Change C9X references to refer to C99.
* acinclude.m4: Change C9X references to refer to C99.
	* aclocal.m4, configure: Regenerate.
	* config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
	testsuite/22_locale/codecvt_wchar_t_char.cc,
	include/bits/stl_config.h, include/c/bits/std_cwchar.h,
	libmath/mathconf.h: Change C9X references to refer to C99.

From-SVN: r37743
2000-11-25 19:36:53 +00:00
Neil Booth
a32f2771a5 c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.c: Remove USE_CPPLIB conditional inclusions.
        * c-common.h: Similarly.
        * c-decl.c: Similarly.
        * c-lang.c: Similarly.
        * c-lex.c: Similarly.
        * c-parse.in: Similarly.
        * c-pragma.c: Similarly.
        * c-pragma.h: Similarly.
        * gcc.c: Similarly.
        * toplev.c: Similarly.
        * cp/cp-tree.h: Similarly.
        * cp/decl2.c: Similarly.
        * cp/lang-specs.h: Similarly.
        * cp/lex.c: Similarly.
        * cp/lex.h: Similarly.
        * cp/spew.c: Similarly.
        * java/lang-options.h: Similarly.
        * objc/lang-specs.h: Similarly.
        * objc/objc-act.c: Similarly.

        * configure.in: Remove configure option.
        * config.in: Regenerate.
        * configure: Regenerate.

From-SVN: r37742
2000-11-25 19:28:44 +00:00
Richard Henderson
3e8aa6e31c haifa-sched.c (sched_analyze_1, [...]): Revert 2000-11-22 change.
* haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
        Revert 2000-11-22 change.

From-SVN: r37741
2000-11-25 10:54:33 -08:00
Bernd Schmidt
59a9e22e8e Allow combinations involving the flag register
From-SVN: r37740
2000-11-25 18:04:51 +00:00
Philipp Thomas
2be36552c6 configure.in (ALL_LINGUAS): Remove en_GB and add sv.
gcc:
2000-11-25  Philipp Thomas  <pthomas@suse.de>
	* configure.in (ALL_LINGUAS): Remove en_GB and add sv.
	* configure: Rebuilt.

po:
2000-11-25  Philipp Thomas  <pthomas@suse.de>
	* sv.po: New swedish translation file.
	* en_GB.po: Removed.

From-SVN: r37739
2000-11-25 17:50:02 +00:00
Jakub Jelinek
4df1190a74 sparc.md (muldi3_v8plus): Remove H constraint.
* config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
	Handle CONST_INT as second argument.
	* config/sparc/sparc.c (set_extends): Remove first argument.
	Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
	MOV.
	(sparc_check_64): Abort if first argument is not REG.
	If it is DImode REG, look at the lower register of the register
	pair.

	* config/sparc/sparc.c (load_pic_register, restore_regs,
	output_return, sparc_v8plus_shift, sparc_function_profiler,
	sparc_function_block_profiler, sparc_block_profiler): Fix output
	formatting.

	* gcc.dg/ultrasp3.c: New test.

From-SVN: r37738
2000-11-25 18:38:58 +01:00
Neil Booth
4fe0a76c67 * gcc.dg/cpp/include2.c: Make test locale independent.
From-SVN: r37737
2000-11-25 15:39:37 +00:00
Benjamin Kosnik
85fe381069 Makefile.am (INCLUDES): Remove unconditional use of _GNU_SOURCE and _ISOC99_SOURCE macros.
2000-11-25  Benjamin Kosnik  <bkoz@redhat.com>
            Richard Earnshaw  <rearnsha@arm.com>

	* src/Makefile.am (INCLUDES): Remove unconditional use of
	_GNU_SOURCE and _ISOC99_SOURCE macros.
	* src/Makefile.in: Regenerate.

Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>

From-SVN: r37736
2000-11-25 09:11:15 +00:00
Jeff Law
f7da5f3d46 Daily bump.
From-SVN: r37735
2000-11-25 01:45:08 -07:00
Alexandre Oliva
ae010e4332 sh.h (TARGET_NONE): New.
* config/sh/sh.h (TARGET_NONE): New.
(TARGET_SWITCHES): For all variant-selecting switch, use
TARGET_NONE to reset all other variant-selecting switch.  Added
empty strings to avoid warnings.
(TARGET_DEFAULT): Set to SH1_BIT.

From-SVN: r37734
2000-11-25 06:35:09 +00:00
Alexandre Oliva
8618466f58 Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h.
* Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
insn-codes.h.

From-SVN: r37733
2000-11-25 06:24:05 +00:00
Alexandre Oliva
5db5a888d1 sh.md (sibcalli, [...]): New insns.
* gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
(sibcall_pcrel): New insn_and_split.
(sibcall, sibcall_value, sibcall_epilogue): New expands.

From-SVN: r37732
2000-11-25 04:57:39 +00:00
Alexandre Oliva
6915629f81 sh.md (GOTaddr2picreg, [...]): Don't set current_function_uses_pic_offset_table.
* config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
symPLT_label2reg, call, call_value): Don't set
current_function_uses_pic_offset_table.
* config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
takes it into account.
(FINALIZE_PIC): Delete, useless.
(LEGITIMATE_CONSTANT_P): Delete, unused.
* config/sh/sh.c (sh_expand_prologue): Don't use
current_function_uses_pic_offset_table.  Don't special-case
PIC_OFFSET_TABLE_REGNUM.  Initialize it if it's ever live and
PIC is enabled.
(sh_expand_epilogue, initial_elimination_offset): Don't
special case PIC_OFFSET_TABLE_REGNUM.

From-SVN: r37731
2000-11-25 04:42:27 +00:00
Alexandre Oliva
2d01e44576 sh-protos.h (symbol_ref_operand): Declare.
* config/sh/sh-protos.h (symbol_ref_operand): Declare.
* config/sh/sh.md (UNSPEC_CALLER): New constant.
(calli_pcrel, call_valuei_pcrel): Use PIC_REG.
(call_pcrel, call_value_pcrel): New insn_and_splits.
(call, call_value): Use them.
(call_site): New expand.
(sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
Output call_site label.
(PREDICATE_CODES): Added symbol_ref_operand.
* config/sh/sh.c (symbol_ref_operand): Define.
* emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
to CALL_INSNs in the split sequence.

From-SVN: r37730
2000-11-25 04:32:45 +00:00
Alexandre Oliva
9eca082e50 * gcc.c-torture/compile/20001123-2.c: New.
From-SVN: r37729
2000-11-25 04:27:59 +00:00
Kriang Lerdsuwanakij
3a163b1a99 * g++.old-dega/g++.pt/ttp62.C: Call abort() on failure.
From-SVN: r37728
2000-11-25 02:40:00 +00:00
Nick Clifton
c3edd394bb Use target specific, language specific object files feature to allow build
v850 pragma support into gcc and gxx.

From-SVN: r37727
2000-11-25 00:43:32 +00:00
Nick Clifton
aac69a49c9 Add support for target specific, language specific object files.
From-SVN: r37726
2000-11-25 00:33:04 +00:00
Nick Clifton
0a534f40cc Add xscale-elf and xscale-coff targets.
Add xscale-elf and xscale-coff targets.  (Only supported in binutils at the
moment).

From-SVN: r37725
2000-11-25 00:28:09 +00:00
Richard Kenner
7257bbc671 * gcc.c (process_command): Use F_OK, not R_OK.
From-SVN: r37724
2000-11-24 18:57:31 -05:00
Benjamin Kosnik
35a63b9486 codecvt_wchar_t_char.cc (main): Add _GLIBCPP_USE_WCHAR_T guards.
2000-11-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
	_GLIBCPP_USE_WCHAR_T guards.

	* configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
	is, so that checks for existence of generated files actually work.
	* configure: Regenerate.

From-SVN: r37723
2000-11-24 23:48:45 +00:00
Arno J. Klaassen
c3ff75c421 * flow.c (print_rtl_and_abort): Remove ANSIism.
From-SVN: r37722
2000-11-24 15:45:08 -08:00
Alexandre Oliva
104ee20b72 sh.h (GENERAL_REGISTER_P, [...]): New macros.
* config/sh/sh.h (GENERAL_REGISTER_P,
GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros.  Use them
all over.
(SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
* config/sh/sh.c: Use new macros.
* config/sh/sh.md: Likewise.

From-SVN: r37721
2000-11-24 22:06:31 +00:00
Alexandre Oliva
5d00b10a56 sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in DImode.
* config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
instead of just MACH_REG in DImode.  Always refer to FPSCR_REG
in PSImode.

From-SVN: r37720
2000-11-24 21:54:19 +00:00
Anthony Green
00e930367b libjava.exp (bytecompile_file): Change default from javac to gcj -C.
Fri Nov 24 11:25:20 2000  Anthony Green  <green@redhat.com>

	* lib/libjava.exp (bytecompile_file): Change default from javac to
 	gcj -C.
	(libjava_arguments): Fix classpath.

	* libjava.compile/PR129_B.no-link: New file.

From-SVN: r37719
2000-11-24 21:38:16 +00:00
Tom Tromey
ad86a903a2 prims.cc (_Jv_NewObjectArray): Use palcement new to create array.
* prims.cc (_Jv_NewObjectArray): Use palcement new to create
	array.
	(_Jv_NewPrimArray): Likewise.
	Include <new>.
	* gcj/array.h (__JArray): `length' field now const.  Added
	constructor.
	(class JArray): Added constructor.

From-SVN: r37718
2000-11-24 21:02:36 +00:00
Tom Tromey
81d87b4e64 * libjava.compile/PR375.java: New file. For PR gcj/375.
From-SVN: r37717
2000-11-24 20:54:56 +00:00
Tom Tromey
b5a50b6457 * libjava.compile/PR374.java: New file. For PR gcj/374.
From-SVN: r37716
2000-11-24 20:54:44 +00:00
Denis Chertykov
33f7735588 avr.c (out_tsthi,out_tstsi): Test simplification bug fixed.
* config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
	fixed.
	(machine_dependent_reorg): Wrong optimization based on
	NOTICE_UPDATE_CC removed.

From-SVN: r37715
2000-11-24 23:02:40 +03:00
J"orn Rennecke
692dc9c635 jump.c (delete_computation): Re-instate deletion of feeding insn.
* jump.c (delete_computation): Re-instate deletion of feeding insn.
	(delete_insn): Look for REG_LABEL notes.
	(redirect_tablejump): Delete feeding insns.

From-SVN: r37714
2000-11-24 19:51:09 +00:00
Bernd Schmidt
90d10fb9c6 Make operand numbers contiguous in four patterns.
From-SVN: r37713
2000-11-24 17:51:51 +00:00
Bernd Schmidt
7cf5c9e1a0 Fix crash in fold_range_test
From-SVN: r37712
2000-11-24 17:45:04 +00:00
Bernd Schmidt
ff6534ad16 Fix code that substitutes reloadreg into SET_DEST of previous insn.
From-SVN: r37711
2000-11-24 17:40:09 +00:00
Bernd Schmidt
176f9a7b1c Treat ready list as a (for now, semi-)abstract datatype. Lose max_priority.
From-SVN: r37710
2000-11-24 17:36:47 +00:00
Bernd Schmidt
222de5be45 New testcase
From-SVN: r37709
2000-11-24 17:11:10 +00:00
Anthony Green
1510057a32 jcf-parse.c (init_jcf_parse): Register current_file_list root.
* jcf-parse.c (init_jcf_parse): Register current_file_list root.
        Move current_file_list out of yyparse and make it static.

        * expr.c: Declare quick_stack and tree_list_free_list as static
        (init_expr_processing): Register quick_stack and
        tree_list_free_list roots.

From-SVN: r37708
2000-11-24 15:29:39 +00:00
Bernd Schmidt
52a84e4270 Fix bug in previous change.
From-SVN: r37707
2000-11-24 14:22:01 +00:00
Bernd Schmidt
235cfbc40f Overhaul sequence point warnings (again)
From-SVN: r37706
2000-11-24 11:49:46 +00:00
Richard Sandiford
58ecb5e2cd Avoid a bit of copy propagation when there's a REG_EQUIV note
From-SVN: r37705
2000-11-24 11:36:27 +00:00
Bernd Schmidt
c34102419d Avoid hard register combinations
From-SVN: r37704
2000-11-24 11:28:51 +00:00
Nathan Sidwell
2f401cc807 c-parse.in (unary_expr): Move VA_ARG from here ...
* c-parse.in (unary_expr): Move VA_ARG from here ...
        (primary): ... to here.
cp:
        * parse.y (unary_expr): Move VA_ARG from here ...
        (primary): ... to here.

testsuite:
        * g++.old-deja/g++.other/vaarg4.C: New test.
        * gcc.c-torture/compile/20001123-1.c: New test.

From-SVN: r37703
2000-11-24 10:30:46 +00:00
Nathan Sidwell
3d7e9ba41e semantics.c (finish_id_expr): If type is error_mark, return error_mark.
cp:
	* semantics.c (finish_id_expr): If type is error_mark, return
	error_mark.
testsuite:
	* g++.other/crash24.C: Adjust and remove XFAIL.
	* g++.other/crash37.C: New test.

From-SVN: r37702
2000-11-24 09:56:27 +00:00
Jeff Law
f4f6bd8d30 Daily bump.
From-SVN: r37701
2000-11-24 01:45:08 -07:00
Graham Stott
963a2a84a4 expr.c (store_constructor): If a field is non addressable and the target is a MEM use MEM_ALIAS_SET...
* expr.c (store_constructor): If a field is non addressable and
	the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.

From-SVN: r37700
2000-11-23 20:15:36 +00:00
Bernd Schmidt
f9b697bfa1 Try to dump some information before aborting.
From-SVN: r37699
2000-11-23 18:19:18 +00:00
Nathan Sidwell
ab09753510 pt.c (lookup_template_class): Simplify loop exit constructs.
cp:
	* pt.c (lookup_template_class): Simplify loop exit constructs.
	Cope when there is no partial instantiation of a template
	template member.
testsuite:
	* g++.old-deja/g++.pt/instantiate9.C: New test.

From-SVN: r37698
2000-11-23 15:19:36 +00:00
Alexandre Oliva
8d4af2d7a9 Use UNSPEC_MOVA in newly-introduced mova_const
From-SVN: r37697
2000-11-23 13:24:28 +00:00