summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * g++spec.c (lang_specific_driver): An -Xlinker or -Wl, optiongeoffk2004-08-062-1/+15
| | | | | | | means that libstdc++ is needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85620 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-08-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85618 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-loop-manip.c: New file.rakdver2004-08-056-1/+373
| | | | | | | | | | | | | * Makefile.in (tree-ssa-loop-manip.o): Add. * tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa): Declare. * tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa form. (tree_ssa_loop_done): Verify loop closed ssa form. * tree-ssa-loop-im.c (move_computations): Update loop closed ssa form. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85613 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common,danglin2004-08-057-51/+153
| | | | | | | | | | | | | | | | | | | | pa_asm_output_aligned_local): New functions. * pa-protos.h: Add prototypes for pa_asm_output_aligned_bss, pa_asm_output_aligned_common and pa_asm_output_aligned_local. * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. * pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro. (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. * pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro. (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. * som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global common data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85611 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>chastain2004-08-052-1/+13
| | | | | | | | | | | | PR bootstrap/14893 * Make-lang.in (java.install-man): Install from either build tree or source tree, whichever has the file first. (See the PR for more information and the approval from Alexandre Oliva. This fix has been in gcc-3_4-branch for about four months). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85610 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-05 Andrew Pinski <apinski@apple.com>pinskia2004-08-052-1/+8
| | | | | | | | * objc/objc-act.c (build_objc_string_object): Mark the address expression as constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85609 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/sh4a-fprun.c: Fix dg-do typo.dje2004-08-052-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85605 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operanddje2004-08-052-6/+27
| | | | | | | | and mask64_operand thinkos. Handle ZERO_EXTRACT. Handle SIGN_EXTEND / ZERO_EXTEND of MEM. Handle rlwinm patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85604 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/linux.h, config/i386/linux.h, config/sparc/linux.h:jsm282004-08-054-97/+15
| | | | | | | | Remove definitions conditioned on USE_GNULIBC_1 or conditioned out, and associated obsolete comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85600 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.h (force_fit_type): Return a tree, take three flags.nathan2004-08-0510-152/+197
| | | | | | | | | | | | | | | | | | | | | * fold-const.c (force_fit_type): Set TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW here. (int_const_binop, const_binop): Adjust. (size_int_type): Do sign extension here. (fold_convert_const, optimize_bit_field_compare, decode_field_reference, all_ones_mask_p, fold_div_compare, fold, fold_negate_const, fold_abs_const, fold_not_const): Adjust. * tree.c (size_in_bytes, int_fits_type_p): Adjust. * cp/cvt.c (cp_convert_to_pointer): Adjust force_fit_type call. * java/jcf-parse.c (get_constant): Adjust force_fit_type call. * java/lex.h (SET_LVAL_NODE_TYPE): Remove. * java/lex.c (java_perform_atof): Use SET_LVAL_NODE directly. (do_java_lex): Likewise. Adjust force_fit_type call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85599 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/16864rakdver2004-08-052-1/+17
| | | | | | | | * tree-tailcall.c (eliminate_tail_call): Do not create phi nodes for ssa names without default_def. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85597 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (ix86_expand_prologue): If the function uses arsandifo2004-08-054-1/+48
| | | | | | | frame pointer, restore eax with an ebp-relative address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85595 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-04 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-08-056-0/+18
| | | | | | | | | | | * gcc.dg/20020118-1.c: Declare abort. * gcc.dg/altivec_check.h: Likewise. * gcc.dg/iftrap-2.c: Likewise. * gcc.dg/pragma-darwin.c: Likewise. * gcc.dg/rs6000-ldouble-1.c: Declare abort and exit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85594 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-04 Geoffrey Keating <geoffk@apple.com>geoffk2004-08-0532-266/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 14516 * c-common.c (c_expand_decl): Don't special-case static VAR_DECLs. * c-common.h (make_rtl_for_local_static): Delete. * c-decl.c (shadow_tag_warned): Clean up comment. (finish_decl): Clean up spacing. Use set_user_assembler_name when appropriate. Don't pass asmspec to rest_of_decl_compilation. * c-semantics.c (make_rtl_for_local_static): Delete. * expr.c (init_block_move_fn): Use set_user_assembler_name. (init_block_clear_fn): Likewise. * passes.c (rest_of_decl_compilation): Remove asmspec parameter, expect it to be in DECL_ASSEMBLER_NAME. Update callers in many files. * toplev.h (rest_of_decl_compilation): Remove asmspec parameter. * tree.h (make_decl_rtl): Remove second parameter. (set_user_assembler_name): New. * varasm.c (set_user_assembler_name): New. (make_decl_rtl): Remove second parameter. Update callers in many files. Index: cp/ChangeLog 2004-08-04 Geoffrey Keating <geoffk@apple.com> * decl.c (make_rtl_for_nonlocal_decl): Set DECL_ASSEMBLER_NAME rather than passing it as a parameter to rest_of_decl_compilation. * decl2.c (grokfield): Use set_user_assembler_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85593 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/ext/altivec_check.h: Declare exit as extern "C".geoffk2004-08-052-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85592 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.nemet2004-08-0512-459/+469
| | | | | | | | | | | | | | | | | | | (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update to LynxOS 4.0. * gthr-lynx.h: New file. * config/lynx-ng.h: Remove file. * config/lynx.h: Update to LynxOS 4.0. * config/t-lynx: New file. * config/i386/lynx-ng.h: Remove file. * config/i386/lynx.h: Update to LynxOS 4.0. * config/rs6000/lynxbase.h: Remove file. * config/rs6000/lynx.h: Update to LynxOS 4.0. * config/rs6000/t-lynx: New file. * doc/install.texi (Options specification): Remove reference to LynxOS from systems where --with-gnu-as makes a difference. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85591 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ andjsm282004-08-0511-77/+80
| | | | | | | | | | | | | | | | | | | __UINTMAX_TYPE__. * c-cppbuiltin.c (builtin_define_stdint_macros): New. Define __INTMAX_MAX__. (c_cpp_builtins): Call it. * doc/cpp.texi: Update. testsuite: * gcc.c-torture/execute/builtins/abs-2.c, gcc.c-torture/execute/builtins/abs-3.c, gcc.c-torture/execute/builtins/lib/abs.c, gcc.dg/format/format.h, gcc.dg/torture/builtin-attr-1.c: Use predefined macros for intmax_t, uintmax_t and their limits. * gcc.dg/intmax_t-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85588 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-08-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85585 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zerodje2004-08-042-4/+11
| | | | | | | cost. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85582 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/tc1/dr147.C: Add reference to PR.giovannibajo2004-08-042-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85581 138bc75d-0d04-0410-961f-82ee72b054a4
* * basic-block.h (profile_staus): New global variable.hubicka2004-08-0410-34/+105
| | | | | | | | | | | | | | | | | * cfg.c (profile_status): Declare. (check_bb_profile): Break out from ....; use profile_status (dump_flow_info): ... here. * cfgbuild.c (find_basic_blocks): Set profile_status. * cfgexpand.c (tree_expand_cfg): Likewise. * predict.c (estimate_probability): Likewise. * profile.c (branch_prob): Likewise. * tree-cfg.c (build_tree_cfg): Likewise. (dump_function_to_file): Use check_bb_profile. * tree-pretty-print (dump_bb_header): Likewise. * tree-profile.c (do_tree_profiling): Cleanup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85579 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (RTL_BASE_H, RTL_H): Correct.zack2004-08-048-94/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o. (genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o. (read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o) (genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o) (genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o) (genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H). (ggc-none.o, errors.o): Move rule to generators section; correct dependencies. (min-insn-modes.o): Move rule to generators section; remove unnecessary explicit command; correct dependencies. (print-rtl.o, print-rtl1.o): Correct dependencies. ($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule. (mostlyclean): Update. * errors.c: Include bconfig.h not config.h. Correct comment. * gengtype.c, genpreds.c: Don't define NO_GENRTL_H. * ggc-none.c: Include bconfig.h; not config.h or tm.h. * print-rtl.c: Don't include tm_p.h. * rtl.h: Move forward-decl of struct function down where it's needed. Include genrtl.h #ifndef GENERATOR_FILE, not #ifndef NO_GENRTL_H. Remove unnecessary #ifdef BUFSIZ statements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85574 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.law2004-08-047-71/+134
| | | | | | | | | | | | | | | | | | | | | * tree-flow.h (rewrite_ssa_into_ssa): Declaration changed. * tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to manipulate the duplicated ssa names. * tree-ssanames.c (ssa_names_to_rewrite): New variable. (marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite, unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force): New functions. (release_ssa_name): Do not release ssa names that may have multiple definitions. * tree.h (release_ssa_name_force, mark_for_rewrite, unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p, marked_ssa_names): Declare. * tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove. (duplicate_blocks): Remove call to mark_defs_for_rewrite. Update call to rewrite_ssa_into_ssa. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85572 138bc75d-0d04-0410-961f-82ee72b054a4
* * defaults.h (TARGET_DECLSPEC): New macro.mmitchel2004-08-0412-37/+61
| | | | | | | | | | | | | | | | | | | | | | | | * c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC. * config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support. * config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define. * config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove __declspec support. (TARGET_DECLSPEC): Define. * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove __declspec support. * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove __declspec support. (TARGET_DECLSPEC): Define. * config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove __declspec support. * config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec support. * doc/tm.texi (TARGET_DECLSPEC): Document. * doc/extend.texi: Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85571 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing ChangeLog entrymmitchel2004-08-041-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85570 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/mips-args-[23].c: Declare abort() and exit().rsandifo2004-08-045-0/+17
| | | | | | | * gcc.dg/torture/mips-hilo-[12].c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85567 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.pbrook2004-08-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85564 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (complete_array_type): Don't gratuitously copynathan2004-08-042-3/+5
| | | | | | | maxindex. Its type is always set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85562 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/pbrook2004-08-0412-32/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define. (TARGET_CXX): Use it. * target.h (struct gcc_target): Add cdtor_returns_this. * config/arm/arm.c (arm_cxx_cdtor_returns_this): New function. (TARGET_CXX_CDTOR_RETURNS_THIS): Define. * doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS. gcc/cp/ * Make-lang.in (cp/semantics.o, cp/optimize.o): Depend on TARGET_H. * cp-tree.h (struct language_function): Rename x_dtor_label to x_cdtor_label. (dtor_label): Rename ... (cdtor_label): ... to this. * decl.c (begin_constructor_body): Remove. (check_special_function_return_type): Maybe change the return type. (grokdeclarator): Pass the class type. (start_preparsed_function): Constructors may need a return label. (finish_constructor_body, finish_destructor_body): Set the return value. (begin_function_body): Don't call begin_constructor_body. (finish_function): Don't warn for constructors or destructors. (implicitly_declare_fn): Maybe change the return type. * optimize.c: Include target.h. (maybe_clone_body): Remap the function result. * semantics.c: Include target.h. (finish_return_stmt): Maybe jump to return label for constructors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85561 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Takenathan2004-08-042-24/+42
| | | | | | | | low/high pair. Do range checking directly. (interpret_integer): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85559 138bc75d-0d04-0410-961f-82ee72b054a4
* config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.nickc2004-08-043-1/+19
| | | | | | | doc/invoke.texi: Document this new switch and also the -mrenesas switch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85557 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfglayout.c (insn_locators_initialize): Update the currentnathan2004-08-042-31/+41
| | | | | | | location before initializing a location. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85554 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-04 Roger Sayle <roger@eyesopen.com>aph2004-08-042-18/+29
| | | | | | | | | | | | Andrew Haley <aph@redhat.com> * typeck.c (convert_ieee_real_to_integer): Call fold on the range checking trees as they're being built. (convert): Call convert_ieee_real_to_integer if we're converting a constant, even if we're writing a class file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85553 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct PR numberszack2004-08-041-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85547 138bc75d-0d04-0410-961f-82ee72b054a4
* * dbxout.c (dbxout_function_decl): Always call dbxout_function_end.zack2004-08-042-6/+18
| | | | | | | | | (dbxout_function_end): Return after emitting the "Lscope" symbol under the same conditions that this function formerly wasn't called. Add explanatory comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85546 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 14680zack2004-08-042-2/+9
| | | | | | | | * c-decl.c (record_builtin_type): Call debug_hooks->type_decl on the new decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85545 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 13596zack2004-08-042-34/+76
| | | | | | | | | | | | * dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New functions, broken out of dbxout_block. (dbxout_block): The block at depth 0 should get LBRAC/RBRAC stabs too, if it contains symbols. Use the begin_label and the Lscope label (emitted by dbxout_function_end) for the range of this block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85544 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (build_vtable): Do not set DECL_VISIBILITY here.mmitchel2004-08-0411-160/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (check_field_decls): Or here. (check_methods): Or here. (initialize_array): Don't mess with DECL_CONTEXT. * cp-tree.h (start_decl): Adjust prototype. (determine_visibility): New function. * decl.c (duplicate_decls): Remove checks for hidden "operator new". (build_library_fn_1): Give all library functions default visibility. (start_decl): Add pop_scope_p parameter. Tidy. (cp_finish_decl): Do not pop scopes here. Call determine_visibility for variable definitions. (start_preparsed_function): Call determine_visibility. * decl2.c (determine_visibility): New function. * method.c (use_thunk): Fix formatting. * parser.c (cp_parser_condition): Adjust calls to start_decl. (cp_parser_init_declarator): Likewise. * pt.c (instantiate_decl): Always call pop_nested_class. * rtti.c (get_tinfo_decl): Do not set DECL_VISIBILITY. (tinfo_base_init): Likewise. * g++.dg/ext/visibility/assign1.C: New test. * g++.dg/ext/visibility/new1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85543 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/compat/struct-layout-1.exp: Fix error message typo.dje2004-08-042-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85538 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi: Update autoconf version requirements.neroden2004-08-042-3/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85536 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-08-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85534 138bc75d-0d04-0410-961f-82ee72b054a4
* * defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.zack2004-08-036-29/+18
| | | | | | | | | | | * recog.c (general_operand, immediate_operand, nonmemory_operand) (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P. * regclass.c (record_reg_classes): Likewise. * reload.c (find_reloads): Likewise. * reload1.c (reload): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85512 138bc75d-0d04-0410-961f-82ee72b054a4
* * gensupport.c (init_md_reader_args_cb): Renamed fromzack2004-08-0316-88/+65
| | | | | | | | | | | | | | | | | | | | init_md_reader_args. Add third option, callback function for parsing program-specific options. Add diagnosis of incorrect number of input files. (init_md_reader): Fold into init_md_reader_args_cb. (init_md_reader_args): Now a thin wrapper around init_md_reader_args_cb. * gensupport.h: Update prototypes. * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c * genrecog.c: No need to diagnose lack of an input file; init_md_reader_args will handle it. * genconditions.c: Likewise, and use init_md_reader_args. * genconstants.c: Likewise, and no need to call read_md_rtx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85511 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (implicitly_declare): Diagnose incompatible implicitjsm282004-08-035-0/+48
| | | | | | | | | | | | declarations. testsuite: * gcc.dg/redecl-5.c: New test. * gcc.dg/format/attr-6.c: Expect warning for implicit declaration of scanf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85509 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/darwin-c.c: Don't search in "/Local/Library/Frameworks"mrs2004-08-033-3/+8
| | | | | | | | for frameworks. * doc/invoke.texi (Darwin Options): Update to reflect above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85507 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/16790sayle2004-08-034-3/+55
| | | | | | | | | | * fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local truncations, not just global truncations. * gcc.c-torture/execute/pr16790-1.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85506 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/symbian1.c: New test.mmitchel2004-08-033-0/+26
| | | | | | | * gcc.dg/symbian2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85505 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-03 Andrew Pinski <apinski@apple.com>pinskia2004-08-032-2/+7
| | | | | | | | PR bootstrap/16865 * loop-iv.c (simplify_using_assignment): Initialize lhs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85504 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for MPFR as well as GMP.pbrook2004-08-032-5/+21
| | | | | | | | * configure: Regenerate. * gcc/doc/install.texi: Document MPFR requirement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85503 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove spurious conflict markerneroden2004-08-031-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85499 138bc75d-0d04-0410-961f-82ee72b054a4