Commit Graph

23275 Commits

Author SHA1 Message Date
John Wehle
cfe2d2e7f5 jump.c (delete_prior_computation): New function, broken out of delete_computation.
* jump.c (delete_prior_computation): New function, broken
	out of delete_computation.  Check for side effects with
	side_effects_p instead of FIND_REG_INC_NOTE.  Handle
	multi-word hard registers.
	(delete_computation): Use it.  Check for side effects with
	side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
	missing REG_DEAD note for a register which is both set and
	used by an insn.

From-SVN: r28558
1999-08-06 20:55:42 +00:00
Alexandre Oliva
3fabe028e0 dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86.
* dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86.  Removed
-gdwarf.
* dwarf1.C: Removed -gdwarf.

From-SVN: r28557
1999-08-06 20:55:13 +00:00
Alexandre Oliva
f05f680ac0 pt.c (tsubst): Use build_index_type to build in-template array index type.
* pt.c (tsubst): Use build_index_type to build in-template array
index type.  Fixes g++.oliva/dwarf1.C.
* decl.c (grokdeclarator): Likewise, just for consistency, as it
doesn't seem to trigger the bug without it.

From-SVN: r28556
1999-08-06 20:44:44 +00:00
Tom Tromey
7339705d94 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Look for sched_yield in -lrt.

From-SVN: r28554
1999-08-06 20:36:46 +00:00
Jason Merrill
76554ea3ab * typeck2.c (add_exception_specifier): Use complete_type.
From-SVN: r28552
1999-08-06 15:01:13 -04:00
Mark Mitchell
8402fd4f4c tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly.
* tree.c (cp_build_qualified_type_real): Handle
	pointer-to-member-function types correctly.

From-SVN: r28551
1999-08-06 18:25:40 +00:00
Mark Mitchell
2adeacc9b5 error.c (dump_expr): Handle EXACT_DIV_EXPR.
* error.c (dump_expr): Handle EXACT_DIV_EXPR.
	(dump_binary_op): Bulletproof.
	* lex.c (init_parse): Set opname_tab[EXACT_DIV_EXPR].
	* tree.c (search_tree): Don't enumerate all the nodes of classes
	`1', `2', and `<'; handle them generically.  Don't be sorry about
	"unrecognized tree codes"; just abort.
	(no_linkage_check): Don't do linkage checks for templates.

	* tree.c (cp_build_qualified_type_real): Handle
	pointer-to-member-function types correctly.

From-SVN: r28550
1999-08-06 18:20:27 +00:00
Jeffrey A Law
e7eacc8e27 elf.h (TEXT_SPACE_P, [...]): Delete.
* elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
        (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
        (ASM_FILE_START): Import _mcount with the right type.
        (ASM_DECLARE_FUNCTION_NAME): Define.
        (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
        * pa.c (output_function_prologue): Always emit the function's label
        here.
        * pa.h (TEXT_SPACE_P): Define.
        (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
        (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
        * som.h (TEXT_SPACE_P): Delete.
        (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
        (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.

From-SVN: r28549
1999-08-06 11:08:29 -06:00
Mojo Jojo
3a6bdebaa0 Locale.java (CHINESE, [...]): New locales.
1999-08-06  Mojo Jojo <mojojojo@pacbell.net>

	* java/util/Locale.java, CHINESE, ENGLISH, FRENCH, GERMAN,
	ITALIAN, JAPANESE, KOREAN, CANADA_FRENCH, GERMANY, ITALY, KOREA,
	SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE, PRC, TAIWAN, CHINA): New
	locales.
	(toString): Print correctly when `country' is empty.

From-SVN: r28548
1999-08-06 08:38:50 +00:00
Jeff Law
2dbd129523 Daily bump.
From-SVN: r28547
1999-08-06 01:45:09 -06:00
Jim Wilson
7c4a6db023 Allow PARALLEL return value for complex type represented as a CONCAT.
* expr.c (emit_group_load): Allow src to be a CONCAT.

From-SVN: r28546
1999-08-05 19:30:39 -07:00
Jason Merrill
9d29e7afe1 decl.c (pushdecl): Only give an error for shadowing a parm from *this* function.
* decl.c (pushdecl): Only give an error for shadowing a parm
	from *this* function.

From-SVN: r28545
1999-08-05 20:07:50 -04:00
Joern Rennecke
75b36a2cc0 Fix typo.
From-SVN: r28544
1999-08-05 22:51:30 +01:00
Alexandre Oliva
8a07ed3363 * g++.old-deja/g++.other/local3.C: Removed XFAIL.
From-SVN: r28543
1999-08-05 21:38:39 +00:00
Alexandre Oliva
ecd7226f3b new1.C, [...]: Removed XFAIL.
* new1.C, template8.C: Removed XFAIL.
* template3.C: Re-introduced XFAIL.  :-(

From-SVN: r28542
1999-08-05 21:32:21 +00:00
J"orn Rennecke
b28f69a0a0 lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
* config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
	(___mulsi3): Use '!' comment character.

From-SVN: r28541
1999-08-05 22:29:00 +01:00
Alexandre Oliva
cdad18a543 Missing doubled @s in e-mail address
From-SVN: r28539
1999-08-05 21:02:47 +00:00
Bernd Schmidt
6b9c6f4fe0 Warning fix
From-SVN: r28538
1999-08-05 12:43:04 +00:00
Jeffrey A Law
7fc2d503b7 * typeck2.c: Update URLs and mail addresses.
From-SVN: r28537
1999-08-05 03:20:18 -06:00
Jeffrey A Law
5b281b2133 g77spec.c: Update URLS and mail addresses.
* g77spec.c: Update URLS and mail addresses.
        * root.texi: Update URLS and mail addresses.

From-SVN: r28536
1999-08-05 03:18:29 -06:00
Jeffrey A Law
82fb18dd27 gcc.c: Update URLs and mail addresses.
* gcc.c: Update URLs and mail addresses.
        * gcc.texi: Likewise.

From-SVN: r28535
1999-08-05 03:16:27 -06:00
Loren J. Rittle
4adfda4eee Makefile.in (MARLINK, MSHLINK): Handle library version number components with more than one numeric digit.
* Makefile.in (MARLINK, MSHLINK): Handle library version
        number components with more than one numeric digit.

From-SVN: r28531
1999-08-05 02:01:12 -06:00
Jeff Law
f1365db76c Daily bump.
From-SVN: r28529
1999-08-05 01:45:09 -06:00
Daniel Jacobowitz
8f1b829ed2 rs6000.c (current_file_function_operand): Return zero for weak functions.
* rs6000.c (current_file_function_operand): Return zero for
        weak functions.
        (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
        weak symbols.
        * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
        for weak symbols.

From-SVN: r28527
1999-08-05 01:17:35 -06:00
Geoff Keating
906fb125a1 rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic...
* rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
        allocate space in the stack frame for the PIC register.

From-SVN: r28525
1999-08-05 00:59:54 -06:00
Jeffrey A Law
14fe6c707f m68k.md (xordi3, anddi3): These patterns are not available on the coldfire.
* m68k.md (xordi3, anddi3): These patterns are not available on
        the coldfire.

From-SVN: r28524
1999-08-05 00:22:16 -06:00
Mark Mitchell
d7afe8ec44 real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
* real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
        (PUT_REAL): Likewise.

From-SVN: r28521
1999-08-04 23:41:34 -06:00
Per Bothner
67a6001825 configure.in: Also do AC_SUBST for DIVIDESPEC.
1999-08-04  Per Bothner <per@bothner.com>

	* configure.in:  Also do AC_SUBST for DIVIDESPEC.

From-SVN: r28520
1999-08-05 05:21:44 +00:00
Jeffrey A Law
7ea3788d06 * gcc.c-torture/execute/970312-1.c: Delete duplicate test.
From-SVN: r28519
1999-08-04 21:34:54 -06:00
Jeffrey A Law
c91fba509b t-a29kbare: Fix some comments.
* a29k/t-a29kbare: Fix some comments.
	(LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
	(FPBIT, DPBIT): Define.
	* a29k/t-vx29k: Likewise.
	* arc/t-arc: Likewise.
	* arm/t-arm-elf: Likewise.
	* arm/t-bare: Likewise.
	* arm/t-pe: Likewise.
	* arm/t-pe-thumb: Likewise.
	* arm/t-semi: Likewise.
	* arm/t-thumb: Likewise.
	* arm/t-thumb-elf: Likewise.
	* arm/t-thumb-linux: Likewise.
	* h8300/t-h8300: Likewise.
	* i960/t-i960: Likewise.
	* i960/t-vxworks960: Likewise.
	* m32r/t-m32r: Likewise.
	* mips/t-ecoff: Likewise.
	* mips/t-elf: Likewise.
	* mips/t-r3900: Likewise.
	* pa/t-pro: Likewise.
	* rs6000/t-aix43: Likewise.
	* rs6000/t-beos: Likewise.
	* rs6000/t-newas: Likewise.
	* rs6000/t-ppccomm: Likewise.
	* rs6000/t-rs6000: Likewise.
	* rs6000/t-winnt: Likewise.
	* rs6000/t-xnewas: Likewise.
	* rs6000/t-xrs6000: Likewise.
	* sh/t-sh: Likewise.
	* sparc/t-elf: Likewise.
	* sparc/t-sparcbare: Likewise.
	* sparc/t-sparclite: Likewise.
	* sparc/t-splet: Likewise.
	* v850/t-v850: Likewise.
	* mn10200/t-mn10200: Fix comments.
	* mn10300/t-mn10300: Likewise.

From-SVN: r28518
1999-08-04 21:27:49 -06:00
J"orn Rennecke
edd6ede777 final.c (shorten_branches): Don't add an alignment for loops that have no label inside.
* final.c (shorten_branches): Don't add an alignment for loops
	that have no label inside.

From-SVN: r28517
1999-08-04 23:13:14 +01:00
Tom Tromey
45fa5f9f14 Removed extra ';;'
From-SVN: r28516
1999-08-04 20:57:53 +00:00
Kaveh R. Ghazi
cbbfcb3b23 Warning fixes:
* builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
	prototypes in macro HAVE_cmpstrsi.

	* cpplib.c (cpp_get_token): Remove unused label `op3'.

	* emit-rtl.c (operand_subword): Remove unused variable
	`bits_per_word'.

	* rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.

	* tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.

From-SVN: r28514
1999-08-04 20:47:45 +00:00
Jason Merrill
e88e3c0bf6 regen
From-SVN: r28513
1999-08-04 16:43:02 -04:00
Zack Weinberg
5d83f44baa cpphash.c (macroexpand): Delete leading whitespace when arg is concatenated before.
Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>

	* cpphash.c (macroexpand): Delete leading whitespace when arg
	is concatenated before.
	(unsafe_chars): Correct test for whether + and - can extend a
	token.

	* cppinit.c (cpp_start_read): Do dependencies for
	-include/-imacros files also.

	* cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
	tokenizing non-directive lines.
	(cpp_expand_to_buffer): Temporarily disable no-output mode.
	* cppmain.c: In no-output mode, just call cpp_scan_buffer for
	the input file.

From-SVN: r28512
1999-08-04 20:39:33 +00:00
Jason Merrill
2a94e396c6 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
From-SVN: r28511
1999-08-04 16:32:26 -04:00
Tom Tromey
d42058b1a7 * configure.in: Added missing `;;'. From Anthony Green.
From-SVN: r28510
1999-08-04 20:25:54 +00:00
Jason Merrill
03c4e79139 regen
From-SVN: r28509
1999-08-04 15:57:59 -04:00
Jason Merrill
1d80422324 * c-parse.in: Add END_OF_LINE token.
From-SVN: r28508
1999-08-04 15:57:26 -04:00
Jason Merrill
fbb186135d c-lex.c: Sync with C++ frontend.
* c-lex.c: Sync with C++ frontend.
	(linemode): New variable.
	(parse_float): imag, conversion_errno, and type are output only.
	(yylex): Adjust.  Move initial '.' case into main switch.
	Use linemode.
	(handle_generic_pragma): Just deal with tokens.
	(readescape): Use ISXDIGIT and ISGRAPH.
	* c-parse.in: Add END_OF_LINE token.

	* c-lex.c (lang_init): Generalize.
	(nextchar): Remove.  Replace uses with UNGETC.
	(skip_white_space): Handle linemode here.  Optimize for cpplib.
	(skip_white_space_on_line): Remove.
	(extend_token_buffer_to): New fn.
	(extend_token_buffer): Use it.
	(read_line_number, check_newline): Just deal with tokens.
	(token_getch, token_put_back): New fns.
	(yylex): Use them.  More cpplib optimizations.  Simplify.

	* c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
	(consume_string): Make this smart about USE_CPPLIB.
	(check_newline): Rewrite to be intelligent about USE_CPPLIB.
	(yylex): Rewrite to be intelligent about USE_CPPLIB.
	Also, clean up cases where we redundantly set token_buffer[0].
	(read_line_number): New fn.
	(ignore_escape_flag): New variable.

From-SVN: r28507
1999-08-04 15:55:31 -04:00
Tom Tromey
825b4dde6b Updated THANKS
From-SVN: r28506
1999-08-04 19:55:25 +00:00
Rainer Orth
276836f0fd configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.

From-SVN: r28503
1999-08-04 19:51:34 +00:00
Jeffrey A Law
6c0c402240 pa.md (divsi3, [...]): Clobber a new dummy operand.
* pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
        dummy operand.  Allocate a new pseudo for the dummy operand.
        (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.

From-SVN: r28502
1999-08-04 13:27:02 -06:00
Jeffrey A Law
0aefc57b5d * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
From-SVN: r28501
1999-08-04 13:13:09 -06:00
Tom Tromey
430e7edf8f configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Removed --enable-java-gc option and JAVAGC subst.

From-SVN: r28500
1999-08-04 18:28:22 +00:00
Richard Earnshaw
949d79eb1d arm.c (typedef minipool_node): Renamed from pool_node.
* arm.c (typedef minipool_node): Renamed from pool_node.
(minipool_vector, minipool_size, minipool_vector_label): Similarly.
(add_minipool_constant): New function.
(dump_minipool): New function.
(find_barrier): Remove special case for getting the insn size of
an insn that references the constant pool.
(minipool_fixup): New structure.
(push_minipool_barrier): New function.
(push_minipool_fix): New function.
(note_invalid_constants): New function.
(add_pool_constant, dump_table, fixit, broken_move): Delete.
(arm_reorg): Rewrite code to fix up the constant pool into a
series of mini-pools embedded in the insn stream.
(arm_output_epilogue): New function, made mainly from the body
of output_func_epilogue.
(output_func_epilogue): Move insn generation part of epilogue code
to arm_output_epilogue.
* arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
* arm.md (pool_range): New attribute.
(zero_extendqidi2): Add attribute pool_range.
(zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
(epilogue): New expand.
(epilogue_insn): New insn.  Call arm_output_epilogue.

* arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
* arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.

From-SVN: r28499
1999-08-04 13:40:10 +00:00
Kaveh R. Ghazi
49f48c719e Warning fixes:
* Makefile.in (lang.o): Depend on $(RTL_H) $(EXPR_H).

        * expr.c (java_stack_pop, java_array_data_offset,
        build_java_throw_out_of_bounds_exception, case_identity,
        build_java_check_indexed_type): Add static prototypes.
        (linenumber_table, expand_invoke, expand_java_field_op,
        build_primtype_type_ref, expand_byte_code): Constify a char*.

        * java-tree.h (build_primtype_type_ref, linenumber_table):
        Constify a char*.
        (java_lang_expand_expr): Add prototype.

        * lang.c: Include rtl.h and expr.h.  Remove extern prototype for
        `java_lang_expand_expr'.

        * lex.c (java_lex_error): Constify a char*.
        (java_get_unicode, java_read_char, java_allocate_new_line,
        java_unget_unicode, java_sneak_unicode): Prototype.

        * parse-scan.y (current_class, package_name, method_declarator,
        report_class_declaration, yyerror): Constify a char*.

        * parse.h (java_report_errors): Prototype.
        (yyerror): Constify a char*.

        * parse.y (classitf_redefinition_error, check_modifiers,
        parse_jdk1_1_error, lookup_package_type,
        lookup_package_type_and_set_next, get_printable_method_name,
        purify_type_name): Constify a char*.
        (build_super_invocation, maybe_generate_finit,
        verify_constructor_super, parser_add_interface,
        add_superinterfaces, jdep_resolve_class, note_possible_classname,
        java_complete_expand_methods, java_expand_finals,
        cut_identifier_in_qualified, java_stabilize_reference,
        do_unary_numeric_promotion, operator_string, do_merge_string_cste,
        merge_string_cste): Prototype.
        (single_type_import_declaration, yyerror,
        variable_redefinition_error, build_array_from_name,
        build_unresolved_array_type, check_class_interface_creation,
        resolve_class, complete_class_report_errors,
        note_possible_classname, read_import_dir,
        find_in_imports_on_demand, resolve_package, fix_constructors,
        check_deprecation, lookup_method_invoke,
        maybe_build_primttype_type_ref, array_constructor_check_entry):
        Constify a char*.
        (java_complete_expand_methods, java_expand_finals): Make static.
        (convert_narrow): Remove static prototype.

From-SVN: r28498
1999-08-04 13:30:51 +00:00
Richard Earnshaw
cc3dea85a8 recog.c (preproces_constraints): Zero recog_op_alt before processing the constraints.
* recog.c (preproces_constraints): Zero recog_op_alt before
processing the constraints.

From-SVN: r28497
1999-08-04 13:11:20 +00:00
Jason Merrill
f0ce07b87a * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
From-SVN: r28496
1999-08-04 07:27:20 -04:00
Nathan Sidwell
fb2000b293 * g++.old-deja/g++.eh/spec6.C: Add more tests. Remove XFAILS.
From-SVN: r28495
1999-08-04 09:09:21 +00:00