Commit Graph

34155 Commits

Author SHA1 Message Date
Per Bothner
daaaf29f2a parse.h (JDEP_SOLV): Removed.
* parse.h (JDEP_SOLV):  Removed.
	* parse.y (incomplete_class_list):  Removed.
	(register_incomplete_type):  Use JDEP_TO_RESOLVE instead of JDEP_SOLV.

	* parse.y (obtain_incomplete_type): Removed.  It doesn't work if
	resolve_class changes the name of an array type that is on the list
	and then someone else looks for the modified name.  Also, seems liable
	to break when compiling multiple source files at once.  So the simplest
	is to just remove incomplete_class_list - it is only a minor
	space win and it is not even clear it saves time.

	* parse.y (resolve_class):  Remove unneeded promote_type.

From-SVN: r40584
2001-03-17 12:25:10 -08:00
Richard Henderson
464186fb60 integrate.h (struct inline_remap): Add local_return_label.
* integrate.h (struct inline_remap): Add local_return_label.
        * integrate.c (expand_inline_function): Initialize it and emit
        it after copy_insn_notes.
        (copy_insn_list): Don't store local_return_label here.
        (copy_insn_notes): New function split out from copy_insn_list.

From-SVN: r40581
2001-03-17 10:37:25 -08:00
Richard Henderson
e72dd89c98 * g++.old-deja/g++.other/eh4.C: Add expected error text.
From-SVN: r40579
2001-03-17 10:29:55 -08:00
Richard Henderson
acc187f507 dwarf2out.c (lookup_filename): Emit .file if the assembler is generating .debug_line.
* dwarf2out.c (lookup_filename): Emit .file if the assembler
        is generating .debug_line.
        (dwarf2out_init): Add main_input_filename to the file table first.
        * configure.in (as_dwarf2_debug_line): Test with file number 1
        instead of file number 0.

From-SVN: r40578
2001-03-17 10:18:12 -08:00
Richard Kenner
f1c6ba8bd1 combine.c (undobuf): Remove field previous_undos; all refs deleted.
* combine.c (undobuf): Remove field previous_undos; all refs deleted.
	(gen_rtx_combine): Deleted; all references changed as appropriate.
	(gen_unary): Deleted; all refs changed to call simplify_gen_unary.

From-SVN: r40577
2001-03-17 12:00:23 -05:00
Richard Kenner
6732576cfa * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
From-SVN: r40576
2001-03-17 11:52:05 -05:00
GCC Administrator
c6997b28dc Daily bump.
From-SVN: r40575
2001-03-17 08:16:40 +00:00
Zack Weinberg
ed9acf08d2 Update my email address
From-SVN: r40573
2001-03-17 06:56:18 +00:00
David Billinghurst
3b92de0680 * config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused variable.
From-SVN: r40572
2001-03-17 04:59:14 +00:00
Jim Wilson
0c35f90252 Fix glibc dl-sysdeps.c abort from Jes Sorensen.
* config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
	then set it to LOC_REG (79) instead of aborting.

From-SVN: r40569
2001-03-16 18:56:23 -08:00
Tom Tromey
de5e27beba Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (TESTS_ENVIRONMENT): New macro.

From-SVN: r40568
2001-03-17 01:01:29 +00:00
Phil Edwards
cf440c3ce3 gccbug.in: Remove high priority.
2001-03-16  Phil Edwards  <pme@sources.redhat.com>

	* gccbug.in:  Remove high priority.

From-SVN: r40566
2001-03-17 00:32:56 +00:00
Richard Henderson
e48cd2905f aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od output with a space instead of deleting it.
* aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
        output with a space instead of deleting it.
        * configure: Regenerate.

From-SVN: r40565
2001-03-16 15:57:46 -08:00
Tom Tromey
d19c968978 libjava.exp (libjava_arguments): Rewrote computation of LD_LIBRARY_PATH.
* lib/libjava.exp (libjava_arguments): Rewrote computation of
	LD_LIBRARY_PATH.  Add gcc build directory if it contains
	libgcc_s.so.

From-SVN: r40564
2001-03-16 20:54:45 +00:00
Zack Weinberg
2d6eb5bf63 aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which handles the gory details of converting an object file...
* aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
	handles the gory details of converting an object file into
	something that's safe to grep.
	(gcc_AC_C_COMPILE_BIGENDIAN): Rename to
	gcc_AC_C_COMPILE_ENDIAN.  Use gcc_AC_EXAMINE_OBJECT.  Put
	newlines at either end of the string we're looking for.
	Make 'checking ...' message less stilted.
	(gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT.  Handle
	ARM in-memory layout and its hypothetical converse.  Don't
	define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
	HOST_WORDS_BIG_ENDIAN.

	* configure.in: Adjust for renamed macro.  Move
	gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
	* configure, config.in: Regenerate.

From-SVN: r40562
2001-03-16 20:09:36 +00:00
Laurynas Biveinis
d577781c36 Makefile.in: Set SHELL.
* fixinc/Makefile.in: Set SHELL.

        * fixinc/fixincl.c (fix_with_system): Quote file names before
        passing them to shell.

        * Makefile.in: Use fix-header$(build_exeext) instead
        of fix-header.

From-SVN: r40561
2001-03-16 19:38:32 +00:00
Richard Henderson
da6af203a9 dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
* dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
        (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
        (dw2_asm_output_delta_uleb128): Likewise.
        (dw2_asm_output_delta_sleb128): Similarly.
        (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.

From-SVN: r40560
2001-03-16 11:33:54 -08:00
Richard Henderson
981975b62d dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
* dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
        (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
        (size_of_line_prolog): Remove.
        (output_line_info): Compute prologue size via label difference.
        (lookup_filename): Return "unspecified" for <internal> and <built-in>.

        * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
        assembler error when redefining file numbers.
        * config.in, configure: Rebuild.

From-SVN: r40559
2001-03-16 11:31:19 -08:00
Laurynas Biveinis
69e2303718 Makefile.in (DO_X): Use double quotes for quoting "RANLIB=$${RANLIB}".
* Makefile.in (DO_X): Use double quotes for quoting
       "RANLIB=$${RANLIB}".

From-SVN: r40557
2001-03-16 18:34:03 +00:00
Michael Meissner
3a6ee9f4e6 Fix some MIPS warnings
From-SVN: r40556
2001-03-16 18:10:12 +00:00
Jan Hubicka
fa9f36a17b i386.c (ix86_expand_fp_movcc): Do not attempt to construct SSE based conditional moves on LTGT/UNEQ conditions...
* i386.c (ix86_expand_fp_movcc): Do not attempt to construct
	SSE based conditional moves on LTGT/UNEQ conditions;
	Canonicalize EQ to NE.
	* i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
	(sse_mov?fcc_ne): New.

	* i386-protos.h (sign_extended_value, zero_extended_value): Declare.

From-SVN: r40554
2001-03-16 13:51:49 +00:00
Alexandre Oliva
fd969c7c33 sh.c (sh_expand_prologue): Insns that set up the PIC register may be dead.
* config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
register may be dead.

From-SVN: r40550
2001-03-16 12:34:13 +00:00
Brad Lucier
91c251fdff * Makefile.in (hash.o): Depend on CONFIG_H.
From-SVN: r40549
2001-03-16 08:33:03 +00:00
GCC Administrator
9b5cc1dae4 Daily bump.
From-SVN: r40548
2001-03-16 08:18:21 +00:00
Alexandre Oliva
e52ba67a25 gen-num-limits.cc (signal_adapter): Overloaded to match signal_func with an unspecified argument list.
* src/gen-num-limits.cc (signal_adapter): Overloaded to match
signal_func with an unspecified argument list.

From-SVN: r40546
2001-03-16 06:58:58 +00:00
Mark Mitchell
110c3568a2 * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
From-SVN: r40544
2001-03-16 06:34:17 +00:00
Per Bothner
b16e8f08b4 java-tree.h (BLOCK_IS_IMPLICIT): New flag.
* java-tree.h (BLOCK_IS_IMPLICIT):  New flag.
	* parse.h (BLOCK_EXPR_ORIGIN):  Removed macro.
	* parse.y (declare_local_variables, maybe_absorb_scoping_blocks):
	Use BLOCK_IS_IMPLICIT rather than BLOCK_EXPR_ORIGIN.

From-SVN: r40542
2001-03-15 22:30:28 -08:00
Per Bothner
3a2e5926e6 jcf-parse.c (yyparse): Set/reset input_filename for source file.
* jcf-parse.c (yyparse):  Set/reset input_filename for source file.
	* parse.y (java_expand_classes):  Likewise.

From-SVN: r40541
2001-03-15 22:12:53 -08:00
Per Bothner
47a50de993 parse.y (expand_start_java_method): Was only called once and had a misleading name...
* parse.y (expand_start_java_method):  Was only called once and had a
	misleading name, so inline in caller java_complete_expand_method.
	(enter_a_block):  Likewise inline in enter_block and remove.

From-SVN: r40540
2001-03-15 21:57:30 -08:00
Per Bothner
4763d38ff8 Remove junk from when gcc/java was created (by copying from C/C++).
* decl.c (keep_next_level_flag, keep_next_if_subblocks):  Remove.
	(struct binding_level):  Remove fields keep, keep_if_subblocks,
	more_cleanups_ok, have_cleanups (which have never been used).
	(pushlevel, poplevel):  Remove related useless code.

From-SVN: r40539
2001-03-15 21:31:52 -08:00
Richard Henderson
7426e9a218 ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
        (ASM_OUTPUT_DWARF_PCREL): New.
        * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.

From-SVN: r40537
2001-03-15 21:21:42 -08:00
Alexandre Oliva
11bca3093b * cppfiles.c (stack_include_file): Use MAX of sysp.
From-SVN: r40536
2001-03-16 05:19:46 +00:00
Per Bothner
69ca5554fd class.c (make_class_data): The class_dtable_decl (i.e.
* class.c (make_class_data):  The class_dtable_decl (i.e. the
	vtable for Class) should be external, except when compiling Class.

From-SVN: r40534
2001-03-15 20:44:09 -08:00
Steve Ellcey
7e5b99080a Steve Ellcey's ia64-hpux port.
* config.gcc (ia64*-*-hpux*): New case.
        * config/ia64/hpux.h: New file for HP-UX support.
        * config/ia64/t-hpux: New file for HP-UX support.

From-SVN: r40531
2001-03-15 20:39:20 -08:00
Per Bothner
7d32abcdd2 jvspec.c (lang_specific_driver): Fix -C handling.
* jvspec.c (lang_specific_driver):  Fix -C handling.
	Check -save-temps to see if temp @FILE should be deleted.
	Follow-up to/fix for February 16 patch.

From-SVN: r40530
2001-03-15 20:32:05 -08:00
Per Bothner
19f8e04bff verify.c (verify_jvm_instructions): Better error msgs for dup.
* verify.c (verify_jvm_instructions):  Better error msgs for dup.
	(type_stack_dup):  Remove no-longer neded error check.

From-SVN: r40529
2001-03-15 20:16:54 -08:00
Bruce Korb
3b3a1054d9 inclhack.def (irix_stdio_va_list): New.
* fixinc/inclhack.def (irix_stdio_va_list): New.
* fixinc/fixincl.x: Rebuilt.

From-SVN: r40527
2001-03-16 03:28:28 +00:00
Richard Henderson
b923ac06c3 Fix patch merge error.
From-SVN: r40525
2001-03-15 17:25:35 -08:00
Richard Henderson
8e7fa2c825 dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET if provided by the target.
* dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
        if provided by the target.
        (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
        (dw2_asm_output_addr): New.
        * dwarf2asm.h (dw2_asm_output_addr): Declare.
        * dwarf2out.c (output_cfi): Use it for program addresses.
        (output_call_frame_info, output_die): Likewise.
        (output_aranges, output_line_info): Likewise.

From-SVN: r40524
2001-03-15 17:14:47 -08:00
Bruce Korb
798bdf70ee more rigorous SIGCHLD guarding
From-SVN: r40522
2001-03-16 00:58:40 +00:00
Benjamin Kosnik
243baa2871 tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>

	* tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.

From-SVN: r40520
2001-03-15 22:49:46 +00:00
Bryce McKinlay
551bf03cd7 mangle.c (mangle_record_type): Rename 'from_pointer' argument to 'for_pointer'.
* mangle.c (mangle_record_type): Rename 'from_pointer' argument
	to 'for_pointer'. If this type is for a pointer (argument) mangling,
	don't surround the element with 'N..E' if the type name is
	unqualified.

From-SVN: r40519
2001-03-15 22:06:12 +00:00
Michael Meissner
6e8afa9980 fix typo
From-SVN: r40517
2001-03-15 21:41:13 +00:00
Geoffrey Keating
92784908c1 memcheck.exp: Don't try to run these tests on AIX.
2001-03-15  Geoff Keating  <geoff@redhat.com>

	* gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these
	tests on AIX.

From-SVN: r40515
2001-03-15 15:55:32 -05:00
Mark Mitchell
d975d8c3d5 sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
* sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
	(sdbout_parms): Likewise.

From-SVN: r40514
2001-03-15 20:48:48 +00:00
Michael Meissner
f8a0ba8c2f Silence warning
From-SVN: r40512
2001-03-15 20:24:59 +00:00
Michael Meissner
8860ddab5d Silence warning
From-SVN: r40511
2001-03-15 20:14:33 +00:00
Jeffrey A Law
b216e516b8 reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not "widen" a destination that is already wider than a word.
* reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
        "widen" a destination that is already wider than a word.  Also do
        not widen if LOAD_EXTEND_OP is NIL for the given mode.

From-SVN: r40510
2001-03-15 12:55:43 -07:00
Bernd Schmidt
bb2cf916da Use only nonvarying rtxs as known values
From-SVN: r40505
2001-03-15 17:36:43 +00:00
Bernd Schmidt
e06736f44e Remove debugging aids
From-SVN: r40504
2001-03-15 17:02:42 +00:00