Commit Graph

34244 Commits

Author SHA1 Message Date
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
John Wehle 42edbfa125 * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
From-SVN: r40503
2001-03-15 16:33:02 +00:00
John Wehle 43fabf7d74 i960.h (i960_maxbitalignment, [...]): Declare.
* i960.h (i960_maxbitalignment,
	i960_last_maxbitalignment): Declare.
	* i960.c (i960_maxbitalignment,
	i960_last_maxbitalignment): Make global.
	(process_pragma): Delete.
	(i960_pr_align, i960_pr_noalign): Move from here ...
	* i960-c.c: ... to this new file.
	* t-960bare (i960-c.o): New rule.
	* t-vxworks960 (i960-c.o): Likewise.
	* config.gcc (i960-*-*): Define c_target_objs and
	cxx_target_objs.

From-SVN: r40502
2001-03-15 16:29:10 +00:00
Bernd Schmidt a4f4333ade Fix hashing of REG/MEM values.
From-SVN: r40499
2001-03-15 12:59:26 +00:00
Bernd Schmidt e4027dab42 Fix scheduling abort; stop bits must have selector in range 1..3.
From-SVN: r40497
2001-03-15 11:02:20 +00:00
Mark Mitchell d1d617880c * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
From-SVN: r40495
2001-03-15 09:58:59 +00:00
Gabriel Dos Reis 15f13f01ed * include/bits/basic_string.tcc (operator+): Fix thinko.
From-SVN: r40493
2001-03-15 08:46:23 +00:00
Joseph Myers 285b923177 update_web_docs: Use /usr/local/bin/texi2html rather than gccadmin's local copy.
* update_web_docs: Use /usr/local/bin/texi2html rather than
	gccadmin's local copy.

From-SVN: r40489
2001-03-15 08:16:32 +00:00
GCC Administrator 6940319403 Daily bump.
From-SVN: r40488
2001-03-15 08:16:09 +00:00
Gabriel Dos Reis d064d75a33 Correct semantics restrictions checking in throw-expression.
cp/
	Correct semantics restrictions checking in throw-expression.
	* except.c (is_admissible_throw_operand): New function.
	(build_throw): Use it.

testsuite/
	* g++.old-deja/g++.other/eh4.C: New test.

From-SVN: r40487
2001-03-15 07:59:53 +00:00
Neil Booth ba133c968c cpp.texi: Update documentation for -include and -imacros.
* cpp.texi: Update documentation for -include and -imacros.
	* cppfiles.c (struct include_file): Remove "defined" memeber.
	(find_or_create_entry): Make a copy of the file name, and
	simplify it.
	(open_file): Update to ensure we use the simplified filename.
	(stack_include_file): Don't set search_from.
	(cpp_included): Don't simplify the path name here.
	(find_include_file): New prototype.  Call search_from to
	get the start of the "" include chain.  Don't simplify the
	filenames here.
	(_cpp_execute_include): New prototype.  Move diagnostics to
	do_include_common.  Update.
	(_cpp_pop_file_buffer): Don't set defined.
	(search_from): New prototype.  Use the preprocessor's cwd
	for files included from the command line.
	(read_name_map): Don't simplify the pathname here.
	* cpphash.h (enum include_type): New.
	(struct buffer): Delete search from.  New search_cached.
	(_cpp_execute_include): Update prototype.
	* cppinit.c (do_includes): Use _cpp_execute_include.
	* cpplib.c (do_include_common): New function.
	(do_include, do_include_next, do_import): Use it.

From-SVN: r40486
2001-03-15 07:57:13 +00:00
Mark Mitchell a3eab6194f decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__ and its ilk.
* decl.c (cp_make_fnname_decl): Set DECL_IGNORED_P on __FUNCTION__
	and its ilk.

From-SVN: r40485
2001-03-15 03:37:14 +00:00