Commit Graph

24475 Commits

Author SHA1 Message Date
Jeffrey A Law
104140890a fold-const.c (fold): Handle more simplifications allowed by IEEE.
* fold-const.c (fold): Handle more simplifications allowed by IEEE.

Co-Authored-By: Sylvian Pion <Sylvain.Pion@sophia.inria.fr>

From-SVN: r29994
1999-10-14 19:40:28 -06:00
Richard Henderson
db7eb3e895 sparc.md (*): Use {nonimmediate,register}_operand as appropriate instead of general_operand...
* sparc.md (*): Use {nonimmediate,register}_operand as appropriate
        instead of general_operand in a SET_DEST.  Use const_double_operand
        instead of an explicit test against CONST_DOUBLE.
        (movsf_const_lo): Add missing register mode.
        (goto_handler_and_restore): Add auxiliary test for Pmode.
        (flush): Adjust to use address_operand.
        (return_sf_no_fpu): Add missing output constraint.

From-SVN: r29993
1999-10-14 17:34:45 -07:00
Richard Henderson
2d1086d8b7 rs6000.md (call_value_indirect_aix32): Use wildcard match_operand for call return value.
* rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
        for call return value.
        (call_value_indirect_aix64, call_value_indirect_nt): Likewise.

From-SVN: r29992
1999-10-14 17:29:24 -07:00
Jason Merrill
43a8f6d501 toplev.c (main): Only warn about options for other languages.
* toplev.c (main): Only warn about options for other languages.
	* collect2.c (main): Pass -w to sub-gcc.

From-SVN: r29991
1999-10-14 20:05:52 -04:00
Richard Henderson
ff66631340 flow.c (propagate_block): Use free_EXPR_LIST_list instead of zapping mem_set_list.
* flow.c (propagate_block): Use free_EXPR_LIST_list instead of
        zapping mem_set_list.
        (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
        (mark_set_1, mark_used_regs): Likewise.

From-SVN: r29990
1999-10-14 16:31:25 -07:00
Richard Henderson
d1abb9254b flow.c (propagate_block): Add call-clobbered registers to significant too.
* flow.c (propagate_block): Add call-clobbered registers to
        significant too.

From-SVN: r29989
1999-10-14 16:28:50 -07:00
Jason Merrill
f88b51fc39 typo
From-SVN: r29988
1999-10-14 18:35:27 -04:00
Jason Merrill
5dff71ed6d * toplev.c (main): Don't complain about options for other languages.
From-SVN: r29987
1999-10-14 18:22:32 -04:00
Richard Earnshaw
be929cff4c Add myself to list with general write privs.
From-SVN: r29986
1999-10-14 21:46:16 +00:00
Tom Tromey
8f4265869d * jvspec.c (jvgenmain_spec): Use %umain', not just %u'.
From-SVN: r29985
1999-10-14 20:55:21 +00:00
Richard Henderson
e99b93ff07 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
From-SVN: r29984
1999-10-14 10:52:48 -07:00
Richard Henderson
61da3d7039 Remove cvs conflict markers.
From-SVN: r29983
1999-10-14 10:44:07 -07:00
Brendan Kehoe
c1361791ef memcheck.exp: Make sure a remote host is equipped with driver.h and driver.o so it can...
* execute/memcheck/memcheck.exp: Make sure a remote
	host is equipped with driver.h and driver.o so it can actually
	compile and run the tests.

From-SVN: r29982
1999-10-14 13:39:30 -04:00
Kaveh R. Ghazi
1ebadc609b jcf-dump.c (print_constant, [...]): Don't call a variadic function with a non-literal format string.
* jcf-dump.c (print_constant, disassemble_method): Don't call a
	variadic function with a non-literal format string.

	* parse-scan.y (report_main_declaration): Likewise.

	* parse.h (ERROR_CAST_NEEDED_TO_INTEGRAL): Likewise.

	* parse.y (read_import_dir, patch_assignment, patch_binop,
	patch_array_ref): Likewise.

	* typeck.c (build_java_array_type): Likewise.

	* verify.c (verify_jvm_instructions): Likewise.

From-SVN: r29981
1999-10-14 17:13:57 +00:00
Gerald Pfeifer
fe50c0eb3b invoke.texi: Label -Wbad-function-cast...
* invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
	-Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
	options. Also add a new item "C-only Warning Options" to the
	option summary.

From-SVN: r29980
1999-10-14 16:41:27 +00:00
Gavin Romig-Koch
a4ebb0e69f libgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple calls.
* libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
	from multiple calls.

From-SVN: r29979
1999-10-14 13:38:01 +00:00
Richard Henderson
69404d6fff i386.md (call value patterns): Move to the end of the file.
* i386.md (call value patterns): Move to the end of the file.
        (prologue_set_got, prologue_get_pc): Use register_operand for op 0.

From-SVN: r29978
1999-10-14 04:59:00 -07:00
Mark Elbrecht
65be5cf051 configure.in (djgpp configuration): Define extra_objects..
* configure.in (djgpp configuration): Define extra_objects..
        * configure: Rebuilt.
        * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
        (DTORS_SECTION_ASM_OP): Define.
        (INIT_SECTION_ASM_OP): Define.
        (FINI_SECTION_ASM_OP): Define.
        (DATA_SECTION_ASM_OP): Define.
        (TEXT_SECTION_ASM_OP): Define.
        (EH_FRAME_SECTION_ASM_OP): Define.
        (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
        (STARTFILE_SPEC): Add crtbegin.o.
        (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
        to here from LINK_COMMAND_SPEC.
        (DO_GLOBAL_CTORS_BODY): Define.
        (CRTSTUFF_USE_FINI_SECTION): Define
        (HAS_INIT_SECTION): Delete.

From-SVN: r29977
1999-10-14 05:40:25 -06:00
Richard Henderson
0c273d1123 * pa.h (PREDICATE_CODES): New.
From-SVN: r29976
1999-10-14 05:21:14 -06:00
Andreas Schwab
d81c9768f4 * Makefile.in (all.cross): Depend on xcpp$(exeext).
From-SVN: r29975
1999-10-14 05:11:59 -06:00
Richard Henderson
476a33f414 genrecog.c (validate_pattern): Condense the destination non-lvalue message.
* genrecog.c (validate_pattern): Condense the destination
        non-lvalue message.

From-SVN: r29974
1999-10-14 04:01:59 -07:00
Andrew Haley
e7bba992a9 class.c (finish_struct_1): Force alignment of non-bitfields to BITS_PER_UNIT.
1999-10-13  Andrew Haley  <aph@cygnus.com>

	* class.c (finish_struct_1): Force alignment of non-bitfields to
	BITS_PER_UNIT.

From-SVN: r29973
1999-10-14 10:49:23 +00:00
Richard Henderson
c76aab113e i386.h (SPECIAL_MODE_PREDICATES): New.
* i386.h (SPECIAL_MODE_PREDICATES): New.
        * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
        (movqi_1, movdi_1, movdi_2, some splits): Likewise.
        (addsi_lea_3): Add missing mode for op 3.
        (prologue_set_got, prologue_get_pc): Add missing modes.
        (*) Add missing output reload constraints.

From-SVN: r29972
1999-10-14 03:34:05 -07:00
Richard Henderson
d41395a53c alpha.md (call-1): Supply missing mode for operator.
* alpha.md (call-1): Supply missing mode for operator.
        (*): Add missing output reload constraints.  Remove constraints
        from define_splits.

From-SVN: r29971
1999-10-14 03:27:50 -07:00
Stephane Carrez
b7fd6635f6 * gcc.c-torture/execute/991014-1.c: New test.
From-SVN: r29970
1999-10-14 04:23:10 -06:00
Stephane Carrez
9180cca3e1 stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size...
* stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
        check for member bit-size overflow and use var_size if it occurs.
        (layout_record): Use bitsize_int() to define the type size in bits.
        Likewise for computation and assignment to DECL_FIELD_BITPOS.
        (layout_decl): Likewise when assigning to DECL_SIZE.

From-SVN: r29969
1999-10-14 04:21:27 -06:00
Richard Henderson
25238622ec genrecog.c (validate_pattern): Typo last change.
* genrecog.c (validate_pattern): Typo last change.  Verify
        that output operands have output reloads.

From-SVN: r29968
1999-10-14 02:58:41 -07:00
Richard Henderson
8fe0ca0c07 genrecog.c (special_mode_pred_table): New.
* genrecog.c (special_mode_pred_table): New.
        (NUM_SPECIAL_MODE_PREDS): New.
        (find_operand): New.
        (validate_pattern): New argument `insn'.  Warn for assignment to
        any predicate accepting non-lvalues.  Conditionaly warn for
        match_operand without a mode.  Try much harder to match source
        and destination modes on a set.
        * tm.texi (SPECIAL_MODE_PREDICATES): Document.

From-SVN: r29967
1999-10-14 02:37:31 -07:00
Jeffrey A Law
03e0a65f6e * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
From-SVN: r29966
1999-10-14 02:54:16 -06:00
Marc Espie
0918eca064 combine.c (simplify_logical): Recognize xor pattern that encodes rotation.
* combine.c (simplify_logical): Recognize xor pattern that encodes
        rotation.

From-SVN: r29965
1999-10-14 02:18:30 -06:00
Jeff Law
866623d4d1 acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and HAVE_TIMEZONE in acconfig.h.
* libU77/acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and
        HAVE_TIMEZONE in acconfig.h.
        * libU77/config.hin: Rebuilt.

From-SVN: r29964
1999-10-14 02:05:09 -06:00
Jeff Law
a9e78efc35 Daily bump.
From-SVN: r29963
1999-10-14 01:45:07 -06:00
Franz Sirl
5ee95df611 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (expand_block_move): Use INTVAL, not XINT to access
        alignment.

From-SVN: r29962
1999-10-13 23:24:21 -07:00
Richard Henderson
8342b46746 * ggc-page.c (MAP_FAILED): Provide default.
From-SVN: r29961
1999-10-13 21:47:48 -07:00
Richard Henderson
6871dd65ab sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
* sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
        * sparc.h (PREDICATE_CODES): Update.

From-SVN: r29960
1999-10-13 21:42:57 -07:00
Richard Henderson
f711a22be3 alpha.c (some_ni_operand): New.
* alpha.c (some_ni_operand): New.
        * alpha-protos.h: Declare it.
        * alpha.h (PREDICATE_CODES): Update.
        * alpha.md (sXaddq reload insns): Use some_ni_operand
        for SET_DEST instead of some_operand.

From-SVN: r29959
1999-10-13 21:20:55 -07:00
Richard Henderson
4dc320a596 genrecog.c (maybe_both_true_2): Don't compare modes of two DT_pred tests.
* genrecog.c (maybe_both_true_2): Don't compare modes of
        two DT_pred tests.
        (process_tree): Elide peephole2_insns.  Invoke simplify_tests
        after find_afterward.
        (debug_decision_1): Dump next and afterward codes.

Co-Authored-By: Jim Wilson <wilson@cygnus.com>

From-SVN: r29958
1999-10-13 21:07:03 -07:00
Richard Henderson
bcdaba58ff rtl.c (dump_and_abort): Remove.
* rtl.c (dump_and_abort): Remove.
        (fatal_with_file_and_line): New.
        (fatal_expected_char): New.
        (read_rtx_lineno, read_rtx_filename): New.
        (read_skip_spaces): Track line number.
        (read_name): Use fatal_with_file_and_line.
        (read_rtx): Use fatal_expected_char.  Track line number.
        * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.

        * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
        if it isn't a CODE_LABEL.

        * genattr.c (main): Set read_rtx_filename.
        * genattrtab.c (main): Likewise.
        * gencodes.c (main): Likewise.
        * genconfig.c (main): Likewise.
        * genemit.c (main): Likewise.
        * genextract.c (main): Likewise.
        * genflags.c (main): Likewise.
        * genopinit.c (main): Likewise.
        * genoutput.c (main): Likewise.
        * genpeep.c (main): Likewise.

        * genrecog.c (decision_test.u.insn): Add `lineno'.
        (pattern_lineno, error_count): New variables.
        (message_with_line): New.
        (add_to_sequence): Break out checking code to ...
        (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
        (merge_insn): Use message_with_line.
        (make_insn_sequence): Use validate_pattern.  Record insn lineno.
        (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.

From-SVN: r29957
1999-10-13 20:43:49 -07:00
J"orn Rennecke
a59f86402f gcc toplevel:
* expr.c (store_constructor): Clear union if constructor is empty.
cp:
	* typeck2.c (process_init_constructor): Handle empty constructors.
testsuite:
	* g++.old-deja/g++.other/union2.C: New test.

From-SVN: r29956
1999-10-14 03:18:10 +01:00
Jeff Law
5cf531a862 Fix thinko in last change.
From-SVN: r29955
1999-10-13 17:19:33 -06:00
Jason Merrill
16bb3387a0 decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
* decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.

	* pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
	array error.

From-SVN: r29954
1999-10-13 18:40:42 -04:00
Jim Wilson
56e4a0eb5f Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF sources.
Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF
sources.
	* config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
	Add !endian checks.  Change %{...} to %(...).

From-SVN: r29953
1999-10-13 15:23:51 -07:00
Richard Henderson
7abd4e0091 i386.md (*addsi3_cc): Renamed from addcsi3.
* i386.md (*addsi3_cc): Renamed from addcsi3.
        (*addsi3_carry): Renamed from addxsi3.
        (*subsi3_cc): Renamed from subcsi3.
        (*subsi3_carry): Renamed from subxsi3.
        (*xorqi_cc_1): Renamed from xorcqi_1.
        (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
        * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.

From-SVN: r29952
1999-10-13 13:33:42 -07:00
Richard Henderson
a13c82d439 Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
* Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
        (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.

From-SVN: r29951
1999-10-13 13:12:08 -07:00
Brendan Kehoe
9c07e4790f regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we climb up the chain of insns.
* regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
	climb up the chain of insns.

From-SVN: r29949
1999-10-13 13:28:29 -04:00
Richard Henderson
e8f9b13a30 genrecog.c (write_subroutine): Careful for null trees.
* genrecog.c (write_subroutine): Careful for null trees.
        (process_tree): Don't elide empty functions.

From-SVN: r29948
1999-10-13 10:22:40 -07:00
Richard Henderson
5c371bd09c Simplified GC interface and other goodies.
From-SVN: r29947
1999-10-13 10:20:53 -07:00
Richard Henderson
005537dfed Simplified GC interface and other goodies.
From-SVN: r29946
1999-10-13 10:09:18 -07:00
Mark Mitchell
1f1479dc91 decl.c (make_rtl_for_local_static): Don't create register RTL for addressable constants.
* decl.c (make_rtl_for_local_static): Don't create register RTL
	for addressable constants.

From-SVN: r29945
1999-10-13 16:13:25 +00:00
Alexandre Petit-Bianco
ce74b7d6e8 (Fixing malformed ChangeLog entries...)
From-SVN: r29944
1999-10-13 08:16:12 -07:00