aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
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
1999-03-10* sdbout.c (plain_type_1): Make boolean types work better with sdb.Colin Smith2-0/+5
From-SVN: r25686
1999-03-10jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.Per Bothner1-0/+4
8 * jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %. From-SVN: r25683
1999-03-10jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.Per Bothner1-0/+7
� * jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %. From-SVN: r25682
1999-03-10gcc.texi: Update bug reporting instructions to match current ezmlm list reality.Alexandre Oliva1-8/+9
X * gcc.texi: Update bug reporting instructions to match current ezmlm list reality. From-SVN: r25681
1999-03-10gcc.texi: Update bug reporting instructions to match current ezmlm list reality.Alexandre Oliva1-0/+5
� * gcc.texi: Update bug reporting instructions to match current ezmlm list reality. From-SVN: r25680
1999-03-10lcm.c: New file.Jeffrey A Law3-1/+806
* lcm.c: New file. * Makefile.in (OBJS): Add lcm.o (lcm.o): Add dependencies. From-SVN: r25679
1999-03-10gcse.c (compute_pre_local_properties): Delete.Jeffrey A Law2-74/+5
* gcse.c (compute_pre_local_properties): Delete. (compute_pre_data): Use compute_local_properties instead of compute_pre_local_properties. From-SVN: r25678
1999-03-10gcse.c: More comments, whitespace and similar fixes.Jeffrey A Law2-266/+215
* gcse.c: More comments, whitespace and similar fixes. (dump_cuid_table, maybe_set_rd_gen, dump_cprop_data): Delete. (dump_pre_data, compute_cprop_local_properties): Likewise. (one_classic_gcse_pass): Lose unused argument. All callers changed. (compute_hash_table, compute_expr_hash_table): Likewise. (compute_set_hash_table, one_pre_gcse_pass, mark_call): Likewise. (cprop_insn, cprop, one_cprop_pass): Add new argument ALTER_JUMPS. All callers changed. Only alter jumps if ALTER_JUMPS is nonzero. Lose unused argument. (gcse_main): Always run a cprop pass after finishing global cse. (compute_local_properties): New function. (hash_scan_pat, hash_scan_insn): No longer call maybe_set_rd_gen. (compute_cprop_data): Use compute_local_properties. From-SVN: r25677
1999-03-10gcc.c (print_file_name, [...]): Qualify a char* with the `const' keyword.Kaveh R. Ghazi2-190/+228
* gcc.c (print_file_name, print_prog_name, spec_machine, read_specs, set_spec, lookup_compiler, build_search_list, putenv_from_prefixes, find_a_file, record_temp_file, delete_if_ordinary, handle_braces, do_spec, do_spec_1, find_file, is_directory, validate_switches, used_arg, default_arg, pfatal_with_name, perror_with_name, pfatal_pexecute, fatal, error, notice, add_preprocessor_option, add_assembler_option, add_linker_option, process_command, execute, unused_prefix_warnings, clear_args, fatal_error, lang_specific_driver, user_specs, compiler, link_command_spec, option_map, translate_options, make_temp_file, temp_name, programname, path_prefix, machine_suffix, just_machine_suffix, gcc_exec_prefix, standard_exec_prefix, standard_exec_prefix_1, md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1, standard_startfile_prefix, standard_startfile_prefix_1, standard_startfile_prefix_2, tooldir_base_prefix, tooldir_prefix, multilib_dir, temp_filename, temp_file, command, switchstr, infile, outfiles, input_filename, input_basename, input_suffix, check_live_switch, main): Qualify a char* with the `const' keyword. From-SVN: r25676
1999-03-10s/ /<tab>/gJeff Law1-106/+106
From-SVN: r25675
1999-03-10gcse.c: Update various comments.Jeffrey A Law2-81/+49
* gcse.c: Update various comments. (current_function_calls_longjmp): Delete declaration. From-SVN: r25674
1999-03-10gcse.c (run_jump_opt_after_gcse): New variable.Jeffrey A Law5-13/+144
* gcse.c (run_jump_opt_after_gcse): New variable. (gcse_main): Returns an integer. (hash_scan_set): Record initializations from CONST_DOUBLEs too. (try_replace_reg): Update some comments. (cprop_insn): Allow propagation into some JUMP_INSNs too. * rtl.h (gcse_main): Update prototype. * toplev.c (rest_of_compilation): If gcse_main returns nonzero, then run a jump optimization pass. * jump.c (delete_barrier_successors): Delete nop jumps too. From-SVN: r25673
1999-03-10semantics.c (begin_class_definition): Call build_self_reference.Mark Mitchell2-5/+6
* semantics.c (begin_class_definition): Call build_self_reference. (finish_member_declaration): Set DECL_CONTEXT for TYPE_DECLs. From-SVN: r25672
1999-03-10* search.c (assert_canonical_unmarked): Fix typo in prototype.Mark Mitchell2-2/+4
From-SVN: r25671
1999-03-10sh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic.J"orn Rennecke3-9/+29
* sh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic. Changed caller. * sh.md (subsf3, subsf_i): Use fp_arith_reg_operand. From-SVN: r25670
1999-03-10reload1.c (choose_reload_regs): When inheriting from the frame pointer, ↵J"orn Rennecke2-0/+8
don't clobber it. * reload1.c (choose_reload_regs): When inheriting from the frame pointer, don't clobber it. From-SVN: r25669
1999-03-10search.c (dfs_canonical_queue): New function.Mark Mitchell2-2/+47
* search.c (dfs_canonical_queue): New function. (dfs_assert_unmarked_p): Likewise. (assert_canonical_unmarked): Likewise. (access_in_type): Use it. (accessible_p): Likewise. Walk the whole tree when umarking. From-SVN: r25668
1999-03-10sig.c (build_signature_table_constructor): Use accessible_p instead of ↵Mark Mitchell2-2/+6
compute_access. * sig.c (build_signature_table_constructor): Use accessible_p instead of compute_access. From-SVN: r25667
1999-03-10missing updates to fixinc/fixinc.*Bruce Korb1-0/+9
From-SVN: r25666
1999-03-10Fixed the 'case' orderingBruce Korb1-10/+3
From-SVN: r25665
1999-03-10Patches from superior directoryBruce Korb6-6/+76
From-SVN: r25664
1999-03-09* call.c (add_builtin_candidates): Handle overloaded conversion ops.Jason Merrill2-2/+6
From-SVN: r25663
1999-03-09Daily bump.Jeff Law1-1/+1
From-SVN: r25662