aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
1999-03-14cse.c (check_fold_consts): New static function.Kaveh R. Ghazi5-27/+116
* cse.c (check_fold_consts): New static function. (cfc_args): New struct. (simplify_relational_operation): Use them in call to `do_float_handler'. * toplev.c (do_float_handler): New function to wrap calls to setjmp/set_float_handler. * toplev.h (do_float_handler): Add extern prototype. * tree.c (build_real_from_int_cst_1): New static function. (brfic_args): New struct. (build_real_from_int_cst): Use them in call to `do_float_handler'. From-SVN: r25768
1999-03-14New test, for spurious "variable may be clobbered by `longjmp' or `vfork'"Zack Weinberg1-0/+36
warnings. From-SVN: r25765
1999-03-13decl.c (duplicate_decls): Use same_type_p.Jason Merrill3-111/+97
* decl.c (duplicate_decls): Use same_type_p. * method.c (try_old_backref): Renamed from flush_repeats. Use same_type_p. Don't try to handle repeats. Return success. (is_back_referenceable_type): Return 0 if TYPE_FOR_JAVA. Support calls from old-style code, too. (check_ktype): Use same_type_p. (check_btype): Use same_type_p. Don't pull out TYPE_MAIN_VARIANT. (build_qualified_name): Simplify logic. (build_mangled_name_for_type_with_Gcode): Remove call to type_canonical_variant. (process_overload_item): Strip typedefs and quals at the top. (build_mangled_name): Likewise. Remove support for old-style repeats, which have been disabled since 2.7.2. Don't mess with TREE_USED. (build_decl_overload_real): Don't mess with TREE_USED. From-SVN: r25758
1999-03-13Bump for snapshotJeffrey A Law2-1/+5
From-SVN: r25756
1999-03-13Daily bump.Jeff Law1-1/+1
From-SVN: r25755
1999-03-13lex.c (java_read_char): UNGET invalid non-initial utf8 character.Per Bothner1-0/+5
� * lex.c (java_read_char): UNGET invalid non-initial utf8 character. * lex.h (UNGETC): Change misleading macro. From-SVN: r25754
1999-03-13lex.c (java_read_char): UNGET invalid non-initial utf8 character.Per Bothner2-3/+14
h * lex.c (java_read_char): UNGET invalid non-initial utf8 character. * lex.h (UNGETC): Change misleading macro. From-SVN: r25753
1999-03-13* haifa-sched.c (sched_analyze_1): Only clear reg_last_uses on a SET.Richard Henderson2-2/+6
From-SVN: r25752
1999-03-13More g77 testsCraig Burley3-0/+19
From-SVN: r25751
1999-03-13Update NEWS derived fileCraig Burley1-26/+32
From-SVN: r25747
1999-03-13Fix INTEGER*8 conversion bugsCraig Burley6-1/+116
From-SVN: r25746
1999-03-13New g77 testsCraig Burley3-0/+45
From-SVN: r25745
1999-03-13Update BUGS, INSTALL, NEWS derived filesCraig Burley3-2692/+142
From-SVN: r25744
1999-03-13Improve g77 doc infrastructureCraig Burley11-1040/+819
From-SVN: r25743
1999-03-13arm.c (arm_split_constant): Don't try to force a constant to memory after ↵Richard Earnshaw2-2/+23
arm_reorg has run. * arm.c (arm_split_constant): Don't try to force a constant to memory after arm_reorg has run. (after_arm_reorg): New static variable. (arm_reorg): Set it. (output_func_epilogue): Clear it. From-SVN: r25742
1999-03-12error.c (cp_printers): Add 'F' escape character.Nathan Sidwell3-50/+113
* error.c (cp_printers): Add 'F' escape character. (dump_type_real): Remove TREE_LIST (fnargs) printing. Functionality moved to dump_parameters. (dump_type_suffix): Use dump_parameters and dump_exception_spec. (dump_function_decl): Extend meaning of V parameter. Use dump_parameters and dump_exception_spec. (dump_parameters): New static function. (dump_exception_spec): New static function. (fndecl_as_string): Change argument semantics. Use dump_function_decl directly. * sig.c (build_signature_table_constructor): Use cp_error. From-SVN: r25741
1999-03-13semantics.c (finish_switch_cond): Handle error cases gracefully.Martin v. Löwis5-1/+30
* semantics.c (finish_switch_cond): Handle error cases gracefully. Detected by g++.law/enum5.C * typeck.c (build_modify_expr): Check for errors after resolving offsets. Detected by g++.brendan/static1.C * decl.c (complete_array_type): Ignore initial_value if it is an error. Detected by g++.benjamin/17930.C * typeck2.c (process_init_constructor): Return error if one argument is in error. Detected by g++.benjamin/13478.C From-SVN: r25740
1999-03-12Daily bump.Jeff Law1-1/+1
From-SVN: r25739
1999-03-12New test case.Martin v. Löwis1-0/+9
From-SVN: r25738
1999-03-12decl.c (select_decl): Allow class templates when we need types.Martin v. Löwis3-3/+8
* decl.c (select_decl): Allow class templates when we need types. * decl2.c (ambiguous_decl): Likewise. From-SVN: r25737
1999-03-12Patch from David Edelsohn. Use AIX float.h file.David Edelsohn3-91/+110
* configure.in ({rs6000,powerpc}-ibm-aix*): Set float_format to none. * configure: Rebuilt. From-SVN: r25734
1999-03-12parse.y (java_stabilize_reference): Return NODE when patching a COMPOUND_EXPR.Alexandre Petit-Bianco5-300/+417
1999-03-12 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (java_stabilize_reference): Return NODE when patching a COMPOUND_EXPR. (java_complete_lhs): Put parenthesis around truth values. 1999-03-12 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (layout_class_method): Don't make rtl for interface methods. * parse.h (GET_TYPE_NAME): New macro. * parse.y (if_then_statement:): Fixed indentation. (if_then_else_statement:): Likewise. (for_statement:): Fixed spacing. (try_statement:): Fixed indentation. (create_interface): Don't force interfaces to be abstract. (method_header): Abstract methods are OK in interfaces. (declare_local_variables): Fixed typo in comment. (java_complete_expand_method): Fixed indentation. (resolve_qualified_expression_name): Use GET_TYPE_NAME to report non accessible fields. (java_stabilize_reference): New function. (java_complete_lhs): Fixed indentation. Use java_stabilize_reference in compound assignement. Insert the cast. If not processing `+' fix string constants before processing binop. From-SVN: r25733
1999-03-12lex.c (do_identifier): Correct call to enforce_access.Mark Mitchell4-5/+13
* lex.c (do_identifier): Correct call to enforce_access. * search.c (accessible_p): Tweak comment. * decl2.c (validate_nonmember_using_decl): Issue sensible error-messages on bogus qualifiers. From-SVN: r25732
1999-03-12Warning fixes:Kaveh R. Ghazi11-90/+47
* constants.c (find_class_or_string_constant): Cast variable `j' to a `jword' when comparing against one. * expr.c (java_lang_expand_expr): Remove unused variables `has_finally_p' and `op0'. * gjavah.c (print_field_info): Cast a value to jint when comparing against one. Likewise for a jlong. (add_namelet): Likewise cast a `sizeof' to an int when comparing against a signed quantity. * jcf-dump.c (print_signature_type): Remove unused variable `digit'. (print_signature): Don't needlessly dereference variable `str' * jcf-reader.c (get_attribute): Mark variables `max_stack' and `max_locals' with ATTRIBUTE_UNUSED. (jcf_parse_class): Likewise for variable `index'. * parse.h (reverse_jdep_list): Remove static prototype. * parse.y (build_jump_to_finally): Remove prototype and definition. (reverse_jdep_list): Add static prototype. * typeck.c (convert_ieee_real_to_integer): Remove unused variables `assignment' and `expr_decl'. * verify.c (verify_jvm_instructions): Remove unused label `bad_ldc'. From-SVN: r25731
1999-03-12Minor testsuite fixes for targets with 16-bit ints and targets without I/O.Jim Wilson4-4/+27
* execute/970312-1.c, execute/980605-1.c (f): Change printf to sprintf. * execute/bf-sign-2.c (struct X): Add u15 field. (main): Add check for u15. Conditionalize u31 check depending on whether ints are <32 bits or >=32 bits. From-SVN: r25730
1999-03-12unroll.c (loop_iterations): Don't return a final value for EQ comparison loops.J"orn Rennecke2-0/+11
* unroll.c (loop_iterations): Don't return a final value for EQ comparison loops. From-SVN: r25729
1999-03-12Patch to fix reload abort while compiling hpux-x-m68k-aout gdb.Jim Wilson2-1/+13
* reload1.c (calculate_needs_all_insns): When ignore equivalence setting insn, clear need_elim, need_reload, and need_operand_change. From-SVN: r25728
1999-03-12Missing from fixincl-branch mergeBruce Korb2-1/+3
From-SVN: r25727
1999-03-12jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes...Andrew Haley2-1/+6
1999-03-12 Andrew Haley <aph@cygnus.com> * jcf-path.c (add_entry): alloca len+2 rather than len+1 bytes; we'll need a directory separator and a null character. From-SVN: r25726
1999-03-12Missing merges from fixincl-branchBruce Korb9-32/+37
From-SVN: r25725
1999-03-12New test case.Martin v. Löwis1-0/+12
From-SVN: r25724
1999-03-12Problem fixed in g++.Martin v. Löwis1-1/+1
From-SVN: r25723
1999-03-11Daily bump.Jeff Law1-1/+1
From-SVN: r25715
1999-03-11expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than ↵Jeffrey A Law2-0/+7
MAX_INTEGER_COMPUTATION_MODE. * expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than MAX_INTEGER_COMPUTATION_MODE. From-SVN: r25714
1999-03-11Tests for various kinds of spurious uninit variable warning.Zack Weinberg1-0/+33
` Tests for various kinds of spurious uninit variable warning. All are derived from cpplib; see comments in the files. From-SVN: r25711
1999-03-11Tests for various kinds of spurious uninit variable warning.Zack Weinberg2-0/+102
l Tests for various kinds of spurious uninit variable warning. All are derived from cpplib; see comments in the files. From-SVN: r25710
1999-03-11*** empty log message ***Zack Weinberg1-0/+30
From-SVN: r25709
1999-03-11Add AUTOMATIC to list of unsupported extensionsCraig Burley2-1/+30
From-SVN: r25706
1999-03-11* alpha.md (ev5_e0): Conflict loads and stores.Richard Henderson2-2/+9
From-SVN: r25705
1999-03-11alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.Richard Henderson2-5/+12
* alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs. (MODES_TIEABLE_P): Update. From-SVN: r25704
1999-03-11machmode.h (smallest_mode_for_size): Prototype.Richard Henderson3-3/+12
* machmode.h (smallest_mode_for_size): Prototype. * stor-layout.c (smallest_mode_for_size): Remove static. From-SVN: r25703
1999-03-11loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion ↵J"orn Rennecke2-3/+41
if we don't know the lifetime. * loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion if we don't know the lifetime. From-SVN: r25702
1999-03-11reload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even ↵J"orn Rennecke2-3/+9
if it sets DST. * reload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even if it sets DST. From-SVN: r25701
1999-03-11dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.Jason Merrill2-26/+75
* dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset. (print_die, size_of_die, value_format, output_die): Adjust. * dwarf2out.c (TEXT_SECTION_LAABEL, DEBUG_LINE_SECTION_LABEL, DEBUG_INFO_SECTION_LABEL, ABBREV_SECTION_LABEL, text_section_laabel, debug_line_section_label, debug_info_section_label, abbrev_section_label): New. (output_compilation_unit_header): Emit label associated with section instead of section name itself. (out_pubnames, output_aranges, output_line_info, dwarf2out_finish): Likewise. (dwarf2out_init): Build internal label names for sections from static labels. From-SVN: r25700
1999-03-11* sh.md (mulsi3): End mul.l sequence with a no-op move.J"orn Rennecke2-1/+8
From-SVN: r25699
1999-03-11activate fixinc/mkfixinc.shBruce Korb1-336/+227
From-SVN: r25698
1999-03-11Activating fast-fixincludesBruce Korb3-170/+68
From-SVN: r25697
1999-03-10cppfiles.c (INO_T_EQ): Handle UWIN.Mumit Khan12-214/+478
* cppfiles.c (INO_T_EQ): Handle UWIN. * c-common.c (decl_attributes): Flag unrecognized attribute functions as warnings instead of as errors. Support for i386-pc-uwin. * i386/uwin.h: New file. * i386/xm-uwin.h: New file. * i386/t-uwin: New file. * i386/uwin.asm: New file. * configure.in (i[3456]86-*-uwin*): Define. Add Workaround for vfork bug when hosted on uwin. * configure: Regenerate. * cccp.c (INO_T_EQ): Undefine. UWIN has inodes. (absolute_filename): UWIN uses POSIX pathnames only. * libgcc2.c (getpagesize): Do not define for UWIN. (mprotect): Likewise. * protoize.c (dirent.h): Conditionally include. (fputc): Prototype only if it's not a macro. From-SVN: r25696
1999-03-10Daily bump.Jeff Law1-1/+1
From-SVN: r25695
1999-03-10* configure.in: Remove init_priority stuff.Jason Merrill3-278/+220
From-SVN: r25692