aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-10-14jcf-dump.c (print_constant, [...]): Don't call a variadic function with a ↵Kaveh R. Ghazi9-79/+138
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-14invoke.texi: Label -Wbad-function-cast...Gerald Pfeifer2-9/+24
* 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-14libgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple ↵Gavin Romig-Koch2-1/+13
calls. * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple calls. From-SVN: r29979
1999-10-14i386.md (call value patterns): Move to the end of the file.Richard Henderson2-53/+62
* 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-14configure.in (djgpp configuration): Define extra_objects..Mark Elbrecht4-231/+289
* 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* pa.h (PREDICATE_CODES): New.Richard Henderson2-0/+39
From-SVN: r29976
1999-10-14* Makefile.in (all.cross): Depend on xcpp$(exeext).Andreas Schwab2-2/+6
From-SVN: r29975
1999-10-14genrecog.c (validate_pattern): Condense the destination non-lvalue message.Richard Henderson2-4/+7
* genrecog.c (validate_pattern): Condense the destination non-lvalue message. From-SVN: r29974
1999-10-14class.c (finish_struct_1): Force alignment of non-bitfields to BITS_PER_UNIT.Andrew Haley2-0/+13
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-14i386.h (SPECIAL_MODE_PREDICATES): New.Richard Henderson3-25/+38
* 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-14alpha.md (call-1): Supply missing mode for operator.Richard Henderson2-28/+34
* 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* gcc.c-torture/execute/991014-1.c: New test.Stephane Carrez2-0/+54
From-SVN: r29970
1999-10-14stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size...Stephane Carrez2-10/+23
* 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-14genrecog.c (validate_pattern): Typo last change.Richard Henderson2-1/+19
* genrecog.c (validate_pattern): Typo last change. Verify that output operands have output reloads. From-SVN: r29968
1999-10-14genrecog.c (special_mode_pred_table): New.Richard Henderson3-57/+235
* 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* fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.Jeffrey A Law2-1/+11
From-SVN: r29966
1999-10-14combine.c (simplify_logical): Recognize xor pattern that encodes rotation.Marc Espie2-0/+20
* combine.c (simplify_logical): Recognize xor pattern that encodes rotation. From-SVN: r29965
1999-10-14acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and HAVE_TIMEZONE in acconfig.h.Jeff Law3-3/+17
* libU77/acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and HAVE_TIMEZONE in acconfig.h. * libU77/config.hin: Rebuilt. From-SVN: r29964
1999-10-14Daily bump.Jeff Law5-5/+5
From-SVN: r29963
1999-10-13Franz Sirl <Franz.Sirl-kernel@lauterbach.com>Franz Sirl2-1/+11
* rs6000.c (expand_block_move): Use INTVAL, not XINT to access alignment. From-SVN: r29962
1999-10-13* ggc-page.c (MAP_FAILED): Provide default.Richard Henderson2-0/+8
From-SVN: r29961
1999-10-13sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.Richard Henderson3-5/+11
* sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE. * sparc.h (PREDICATE_CODES): Update. From-SVN: r29960
1999-10-13alpha.c (some_ni_operand): New.Richard Henderson5-4/+30
* 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-13genrecog.c (maybe_both_true_2): Don't compare modes of two DT_pred tests.Richard Henderson2-9/+29
* 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-13rtl.c (dump_and_abort): Remove.Richard Henderson15-100/+343
* 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-14gcc toplevel:J"orn Rennecke6-2/+59
* 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-13Fix thinko in last change.Jeff Law1-1/+0
From-SVN: r29955
1999-10-13decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.Jason Merrill3-1/+10
* 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-13Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF ↵Jim Wilson2-4/+11
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-13i386.md (*addsi3_cc): Renamed from addcsi3.Richard Henderson3-7/+17
* 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-13Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.Richard Henderson2-5/+10
* 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-13regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we climb up the ↵Brendan Kehoe2-1/+9
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-13genrecog.c (write_subroutine): Careful for null trees.Richard Henderson2-11/+19
* genrecog.c (write_subroutine): Careful for null trees. (process_tree): Don't elide empty functions. From-SVN: r29948
1999-10-13Simplified GC interface and other goodies.Richard Henderson1-0/+76
From-SVN: r29947
1999-10-13Simplified GC interface and other goodies.Richard Henderson11-994/+706
From-SVN: r29946
1999-10-13decl.c (make_rtl_for_local_static): Don't create register RTL for ↵Mark Mitchell4-0/+22
addressable constants. * decl.c (make_rtl_for_local_static): Don't create register RTL for addressable constants. From-SVN: r29945
1999-10-13(Fixing malformed ChangeLog entries...)Alexandre Petit-Bianco1-2/+2
From-SVN: r29944
1999-10-13vaarg2.C: New test.Nathan Sidwell3-0/+94
* g++.old-deja/g++.other/vaarg2.C: New test. * g++.old-deja/g++.other/vaarg3.C: New test. From-SVN: r29943
1999-10-13cp-tree.h (build_x_va_arg): Prototype new function.Nathan Sidwell6-1/+59
* cp-tree.h (build_x_va_arg): Prototype new function. * call.c (build_x_va_arg): Define it. * parse.y (unary_expr): Call build_x_va_arg. * cp-tree.h (convert_type_from_ellipsis): Prototype new function. * call.c (convert_type_from_ellipsis): Define it. * decl.c (init_decl_processing): Set lang_type_promotes_to. * tree.c (lvalue_p_1): Accept VA_ARG_EXPR with aggregates. From-SVN: r29942
1999-10-13configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines, float_format ↵Carol LePage3-4/+28
and thread_file definitions. * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines, float_format and thread_file definitions. * configure: Rebuilt. From-SVN: r29940
1999-10-13Daily bump.Jeff Law5-5/+5
From-SVN: r29939
1999-10-13* extend.texi (Function Names): Document types of function names.Niels Möller2-6/+43
From-SVN: r29938
1999-10-13basename.c (DIR_SEPARATOR): New macro.Mumit Khan2-5/+42
* basename.c (DIR_SEPARATOR): New macro. (DIR_SEPARATOR_2): Likewise. (HAVE_DOS_BASED_FILESYSTEM): Likewise. (IS_DIR_SEPARATOR): Likewise. (main): Handle MSDOS style pathname. From-SVN: r29937
1999-10-13reload_out[i]->rld[i].out.Jeff Law1-1/+1
From-SVN: r29936
1999-10-13reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an ↵Bernd Schmidt2-1/+11
earlyclobbered output conflict with RELOAD_INPUT... * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an earlyclobbered output conflict with RELOAD_INPUT reloads. From-SVN: r29935
1999-10-13I get blanket writeJason Merrill1-0/+1
From-SVN: r29934
1999-10-12(RELOCATION_VALUE_1): Fixed integer value from 0 to 1.Alexandre Petit-Bianco2-1/+5
Tue Oct 12 22:28:10 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * (RELOCATION_VALUE_1): Fixed integer value from 0 to 1. From-SVN: r29933
1999-10-12jcf-write.c: (RELOCATION_VALUE_0): New macro.Alexandre Petit-Bianco2-18/+53
Tue Sep 14 16:24:19 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-write.c: (RELOCATION_VALUE_0): New macro. (RELOCATION_VALUE_1): Likewise. (emit_iinc, emit_reloc, push_constant1, push_constant2, push_in_const, push_long_const): Prototyped. (push_constant1): Argument `index' is of type HOST_WIDE_INT. (push_constant2): Likewise. (push_int_const): Cast find_constant1's integer arguments to `jword'. (find_constant_wide): Cast find_constant2's integer arguments to `jword'. (find_constant_index): Cast find_constant2's and find_constant2's integer arguments to `jword'. (emit_pop): Argument `value' is of type HOST_WIDE_INT. (emit_switch_reloc): Use RELOCATION_VALUE_0. (emit_if): Use RELOCATION_VALUE_1. (emit_goto): Likewise. (emit_jsr): Likewise. (generate_bytecode_insns): Use RELOCATION_VALUE_0. Cast second argument to push_long_const to HOST_WIDE_INT. (This is a forgotten patch.) From-SVN: r29932
1999-10-13configure: Rebuilt.Tom Tromey4-226/+220
* configure: Rebuilt. * configure.in: Fixed test for --disable-java-net. From-SVN: r29931
1999-10-12* sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.J"orn Rennecke2-1/+7
From-SVN: r29930