aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-04-30bb-reorder.c, [...]: Fix comment typos.Kazu Hirata37-54/+69
* bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c, cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c, reg-stack.c, varasm.c, config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c, config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c, config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c, config/ia64/itanium2.md, config/ip2k/ip2k.c, config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md, config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix comment typos. From-SVN: r81345
2004-04-30class.c, [...]: Fix comment typos.Kazu Hirata7-6/+11
* class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix comment typos. From-SVN: r81344
2004-04-3020040331-1.c: Don't use too wide a bit-field on 16-bit targets.Kazu Hirata2-0/+13
* gcc.c-torture/execute/20040331-1.c: Don't use too wide a bit-field on 16-bit targets. From-SVN: r81343
2004-04-3020040409-2.c: Fix constants used on 16-bit targets.Kazu Hirata2-8/+13
* gcc.c-torture/execute/20040409-2.c: Fix constants used on 16-bit targets. From-SVN: r81342
2004-04-30builtins.c (java_builtins): Add acos, asin, ceil and floor.Roger Sayle2-0/+17
* builtins.c (java_builtins): Add acos, asin, ceil and floor. (initialize_builtins): Likewise, define acos, asin, ceil and floor. * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, ceil and floor. From-SVN: r81341
2004-04-30Fit typo in previous patchPaul Brook2-2/+2
Fit typo in previous patch * config.gcc: Default ep9312 to hard-float. From-SVN: r81338
2004-04-30rs6000-power2-1.c: Change to compile only.Andrew Pinski3-2/+7
2004-04-30 Andrew Pinski <pinskia@physics.uc.edu> * rs6000-power2-1.c: Change to compile only. * rs6000-power2-2.c: Likewise. From-SVN: r81337
2004-04-30configure.gcc: Default ep9312 to hard-float.Paul Brook5-319/+172
* configure.gcc: Default ep9312 to hard-float. * config/arm/arm-cores.def: Add ARCH field. * config/arm/arm.c (FL_FOR_ARCH*): Define. (arm_arch_cirrus): New variable. (all_cores): Set and use arch. (all_architectures): Ditto. (arm_arch_name): New variable. (arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT. Set and use arm_arch_cirrus. * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines. (enum processor_type): Update ARM_CORE define. (enum target_cpus): Add. Replaces TARGET_CPU_* defines. (CPP_SPEC): Remove %(cpp_cpu_arch). (CPP_ARCH_DEFAULT_SPEC): Remove. (CPP_CPU_ARCH_SPEC): Remove. (EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC. (FPUTYPE_DEFAULT): Don't define here. From-SVN: r81336
2004-04-30expr.c (store_constructor): SIZE operand is now in bits...Richard Kenner2-25/+42
* expr.c (store_constructor): SIZE operand is now in bits; CLEARED less than zero now means emitted CLOBBER already. (store_constructor_field, expand_expr_real): Reflect above changes. From-SVN: r81335
2004-04-30flow.c (propagate_one_insn): Call mark_set_regs for stack pointer updates too.J"orn Rennecke2-6/+17
* flow.c (propagate_one_insn): Call mark_set_regs for stack pointer updates too. From-SVN: r81334
2004-04-30* arm.c (arm_needs_doubleword_align): Use mode alignment.Paul Brook2-11/+12
From-SVN: r81332
2004-04-30altivec.h [...] (vec_subsubs): Rename to vec_sububs.Paolo Bonzini2-18/+14
2004-04-30 Paolo Bonzini <bonzini@gnu.org> * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to vec_sububs. [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without duplicates. From-SVN: r81331
2004-04-30i386.md (atansf2, [...]): Move near atan2?f3 expanders.Uros Bizjak2-39/+44
2004-04-30 Uros Bizjak <uros@kss-loka.si> * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near atan2?f3 expanders. From-SVN: r81326
2004-04-29Patch from Nick Clifton.Nick Clifton4-2/+11
Bug 14093 * config/sh/sh-protos.h (sh_promote_prototypes): Declare. * config/sh/sh.c (sh_promote_prototypes): Remove declaration. Delete static from definition. * config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call. From-SVN: r81325
2004-04-30reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, ↵Uros Bizjak2-20/+19
UNSPEC_F2XM1>: abort() if src1 dies. 2004-04-30 Uros Bizjak <uros@kss-loka.si> * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies. <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same. <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same. From-SVN: r81324
2004-04-29Patch from Richard Guenther.Richard Guenther6-1/+34
* commom.opt (Wfatal-errors): Add it. * diagnostic.c (flag_fatal_errors): Define it. (diagnostic_action_after_output): Check for flag_fatal_errors. * flags.h (flag_fatal_errors): Declare it. * opts.c (common_handle_option): Add OPT_Wfatal_errors. * doc/invoke.texi (Warning Options): Document -Wfatal-errors. From-SVN: r81323
2004-04-30gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which ↵Josef Zlomek2-2/+6
have kill flag set. * gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill flag set. From-SVN: r81322
2004-04-30configure.ac (--with-as): Abort if user-supplied assembler cannot be executed.Ben Elliston3-131/+82
* configure.ac (--with-as): Abort if user-supplied assembler cannot be executed. (--with-ld): Likewise for the linker. * configure: Regenerate. From-SVN: r81316
2004-04-30Daily bump.GCC Administrator1-1/+1
From-SVN: r81313
2004-04-29convert.c (convert_to_integer): Ensure `long_integer_type_node' isn't NULL ↵Kaveh R. Ghazi2-1/+7
before using it. * convert.c (convert_to_integer): Ensure `long_integer_type_node' isn't NULL before using it. From-SVN: r81305
2004-04-29rs6000-power2-1.c: Change the options to be more correct.Andrew Pinski3-5/+11
2004-04-29 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/rs6000-power2-1.c: Change the options to be more correct. * gcc.dg/rs6000-power2-2.c: Change the options to be more correct. Change the asm registers to be in form of frN instead of fN. From-SVN: r81303
2004-04-29re PR target/15189 (wrong filling of delay slot with -march=mips1 -G0 ↵Richard Sandiford2-6/+9
-mno-split-addresses -mno-explicit-relocs) PR target/15189 * config/mips/mips.md (load_df_low): Use default length. (load_df_high, store_df_high): Likewise. From-SVN: r81301
2004-04-29mips.md, [...]: Fix comment typos.Kazu Hirata4-3/+8
* config/mips/mips.md, config/mips/sb1.md, config/rs6000/rs6000.c: Fix comment typos. From-SVN: r81296
2004-04-29builtins.c, [...]: Fix comment typos.Kazu Hirata6-12/+17
* builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c: Fix comment typos. From-SVN: r81291
2004-04-29gcc.c (DELETE_IF_ORDINARY): New macro default definition.Douglas B Rupp4-5/+42
* gcc.c (DELETE_IF_ORDINARY): New macro default definition. (delete_if_ordinary): Use above macro. * config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition. Update copyright. * doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro. * libiberty/mkstemps.c (mkstemps) [VMS]: Remove special open option. Update copyright. From-SVN: r81290
2004-04-29[multiple changes]Arnaud Charlet12-87/+118
2004-04-29 Ed Schonberg <schonberg@gnat.com> * checks.adb (Enable_Range_Check): If the prefix of an index component is an access to an unconstrained array, perform check unconditionally. 2004-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * decl.c (gnat_to_gnu_field): Also call make_packable_type if Component_Clause. 2004-04-29 Olivier Hainque <hainque@act-europe.fr> * init.c (__gnat_install_handler, __gnat_error_handler): Remove alternate stack setting. There was no support for the tasking cases and the changes eventually caused a number of side-effect failures in the non-tasking case too. 2004-04-29 Eric Botcazou <ebotcazou@act-europe.fr> lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or -gnats is passed. 2004-04-29 Vincent Celier <celier@gnat.com> * make.adb (Gnatmake): Increase max size of argument array for gnatbind for the potential addition of -F. If there are Stand-Alone Library projects, invoke gnatbind with -F to be sure that elaboration flags will be checked. * switch-c.adb: Correct call to Scan_Pos for -gnateI 2004-04-29 Thomas Quinot <quinot@act-europe.fr> * sem_warn.adb (Check_References): Move '<access-variable> may be null' warning out of under Warn_On_No_Value_Assigned. 2004-04-29 Ed Falis <falis@gnat.com> * gnat_ugn.texi: Fixed texi error 2004-04-29 Robert Dewar <dewar@gnat.com> * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove abstract operations if they come from predefined files. * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be Dynamic, not RM). * s-addope.adb: Correct obvious error in mod function From-SVN: r81289
2004-04-29c-decl.c (get_parm_info): Use the correct tag keywords when warning about ↵Richard Earnshaw2-2/+7
type declarations in prototypes. * c-decl.c (get_parm_info): Use the correct tag keywords when warning about type declarations in prototypes. From-SVN: r81287
2004-04-29* config.gcc: Pull list of cores from arm-cores.def.Paul Brook2-32/+29
From-SVN: r81285
2004-04-29Complete last checkin:Paolo Bonzini1-199/+225
2004-04-29 Paolo Bonzini <bonzini@gnu.org> Complete last checkin: * combine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation. Do not use SELECT_CC_MODE when a comparison already has a MODE_CC mode. From-SVN: r81283
2004-04-29combine.c (combine_simplify_rtx): Adjust call to use ↵Paolo Bonzini6-421/+407
simplify_relational_operation. 2004-04-29 Paolo Bonzini <bonzini@gnu.org> * combine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation. Do not use SELECT_CC_MODE when a comparison already has a MODE_CC mode. (simplify_set): simplify_relational_operation may now return another relational expression. * cse.c (fold_rtx): simplify_relational_operation now takes of computing the comparison mode. * dojump.c (compare_from_rtx): Use simplify_relational_operation, remove dead code. (do_compare_rtx_and_jump): Likewise. * integrate.c (subst_constants): simplify_relational_operation may now return another relational expression. * simplify-rtx.c (simplify_gen_relational): Move most code to the new simplify_relational_operation and simplify_relational_operation_1 functions. (simplify_relational_operation): Rewritten. (simplify_relational_operation_1): New function. (simplify_ternary_operation): simplify_relational_operation may now return another relational expression. (simplify_rtx): Remove unnecessary temp variable. From-SVN: r81282
2004-04-29reg-stack.c (swap_to_top): New function.Uros Bizjak3-108/+213
2004-04-23 Uros Bizjak <uros@kss-loka.si> * reg-stack.c (swap_to_top): New function. (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use\ swap_to_top(). (subst_stack_regs_pat): UNSPEC_FSCALE: Remove. (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and UNSPEC_FSCALE_EXP. * config/i386/i386.md (UNSPEC_FSCALE): Remove. (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern. (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent x87's fscale insn. (*fscalexf4: Define new insn pattern to implement x87 fscale insn. (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate patterns. From-SVN: r81278
2004-04-28re PR gcov-profile/14944 ([3.4 only] ICE when gcc reads *.gcda file of ↵Serge Belyshev3-3/+9
different version) Patch from Serge Belyshev. PR 14944 * coverage.c (read_counts_file): Fix usage of warning () call. * pretty-print.c (pp_base_format_text): Fix typo in the comment. From-SVN: r81276
2004-04-29invoke.texi (Objective-C Dialect Options): Don't prefix options with "-" in ↵Ben Elliston2-10/+17
the option index. * doc/invoke.texi (Objective-C Dialect Options): Don't prefix options with "-" in the option index. (SPARC Options): Likewise. (M32R/D Options): Likewise. From-SVN: r81272
2004-04-29Fix typo.Kaveh Ghazi1-1/+1
From-SVN: r81270
2004-04-29convert.c (convert_to_integer): Convert (long)round -> lround, etc.Kaveh R. Ghazi4-0/+134
* convert.c (convert_to_integer): Convert (long)round -> lround, etc. testsuite: * gcc.dg/torture/builtin-convert-2.c: New test. From-SVN: r81269
2004-04-29Daily bump.GCC Administrator1-1/+1
From-SVN: r81266
2004-04-28rs6000.c (registers_ok_for_quad_peep): Return false if we do not have fp ↵Andrew Pinski7-18/+110
register. 2004-04-28 Andrew Pinski <pinskia@physics.uc.edu> * config/rs6000/rs6000.c (registers_ok_for_quad_peep): Return false if we do not have fp register. (addrs_ok_for_quad_peep): Rename to ... (mems_ok_for_quad_peep): this. Add check for volatile memory. * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep): Rename to ... (mems_ok_for_quad_peep): this. * config/rs6000/rs6000.md: Change peephole's for lfq/stq to peephole2's. (lfq_power2): New instruction. (stfq_power2): Likewise. 2004-04-28 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/rs6000-power2-1.c: New test. * gcc.dg/rs6000-power2-2.c: New test. From-SVN: r81262
2004-04-28Makefile.in: Add target macro definitions for s390*-linux*.Ulrich Weigand4-0/+344
* Makefile.in: Add target macro definitions for s390*-linux*. * system-linux-s390.ads: New file. * system-linux-s390x.ads: New file. From-SVN: r81261
2004-04-28re PR c/15004 ([unit-at-a-time] no warning for unused paramater in static ↵Jan Hubicka7-12/+53
function) * gcc.dg/unused-6.c: New test. PR c/15004 * function.c (do_warn_unused_parameter): Break out form ... (expand_function_end): ... here; warn only when not using cgraphunit. * function.h (do_warn_unused_parameter): Declare. * cgraphunit.c: Include function.h. (cgraph_finalize_function): Do unused parameter warning. * Makefile.in (cgraphunit.o): Depend on function.h From-SVN: r81260
2004-04-28Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition calling ↵Joseph Myers2-4/+8
install-info on $(DESTDIR)$(infodir)/dir already being... * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition calling install-info on $(DESTDIR)$(infodir)/dir already being present. From-SVN: r81256
2004-04-28* dwarf2out.c (mem_loc_descriptor): Handle shifts.Paul Brook2-3/+24
From-SVN: r81252
2004-04-28* gnat_ugn.texi: Correct argument to @setfilename.Joseph Myers2-1/+11
From-SVN: r81251
2004-04-28a-exexpr.adb (Unwind_Word): New data type.Ulrich Weigand3-3/+13
* a-exexpr.adb (Unwind_Word): New data type. (Unwind_Exception): Use it as type of Private1 and Private2. * raise.c (db_action_for): Fix debug printf. From-SVN: r81250
2004-04-28gcse.c (find_moveable_store): Do not accept store insns with REG_EH_REGION note.Ulrich Weigand2-0/+10
* gcse.c (find_moveable_store): Do not accept store insns with REG_EH_REGION note. From-SVN: r81249
2004-04-28calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.Paul Brook4-5/+11
* calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. * function.c (assign_temp): Ditto. * system.h (PROMOTE_FOR_CALL_ONLY): Poison. From-SVN: r81247
2004-04-28* config/arm/lib1funcs.asm: Recognize armv5tej and armv6.Paul Brook2-6/+19
From-SVN: r81246
2004-04-28Makefile.in: Add target pairs for powerpc darwin* tasking support.Arnaud Charlet5-3/+1150
* Makefile.in: Add target pairs for powerpc darwin* tasking support. * a-intnam-darwin.ads, s-osinte-darwin.adb, s-osinte-darwin.ads, system-darwin-ppc.ads: New files. From-SVN: r81245
2004-04-28var-tracking.c (variable_different_p): Add a parameter ↵Josef Zlomek2-8/+28
compare_current_location... * var-tracking.c (variable_different_p): Add a parameter compare_current_location, compare current location of variable parts if it is true. (dataflow_set_different_1): Pass compare_current_location == false. (dataflow_set_different_2): Pass compare_current_location == false. (emit_notes_for_differences_1): Pass compare_current_location == true. From-SVN: r81242
2004-04-28s390.md ("casesi"): Mark jump table access as non-trapping and unchanging.Ulrich Weigand2-0/+7
* config/s390/s390.md ("casesi"): Mark jump table access as non-trapping and unchanging. From-SVN: r81240
2004-04-28Daily bump.GCC Administrator1-1/+1
From-SVN: r81237