aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-01-23* cfganal.c: Fix a reference to Harvey's paper.Kazu Hirata2-1/+3
From-SVN: r94126
2005-01-23* flow.c (regset_bytes, regset_size): Remove.Kazu Hirata2-6/+4
From-SVN: r94125
2005-01-23re PR rtl-optimization/19464 (gcse causes poor register allocation)Steven Bosscher2-0/+7
PR rtl-optimization/19464 * tree-optimize.c (init_tree_optimization_passes): Add one more copyrename pass just before out-of-ssa. From-SVN: r94124
2005-01-23re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)Joseph Myers7-7/+38
config: * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do anything for non-GCC compilers. libcpp: * configure: Regenerate. gcc: PR bootstrap/18058 * recog.c (recog_memoized): Don't define if GENERATOR_FILE. * ggc-none.c (ggc_free): Define. From-SVN: r94123
2005-01-23* gcse.c (null_pointer_info): Remove.Kazu Hirata2-14/+2
From-SVN: r94122
2005-01-23cgraph.c (cgraph_varpool_n_nodes): Remove.Kazu Hirata3-5/+4
* cgraph.c (cgraph_varpool_n_nodes): Remove. (cgraph_varpool_node): Don't access cgraph_varpool_n_nodes. * cgraph.h: Remove the corresponding declaration. From-SVN: r94121
2005-01-23c-common.c (explicit_flag_signed_bitfields, [...]): Remove.Kazu Hirata4-14/+6
* c-common.c (explicit_flag_signed_bitfields, lang_statement_code_p, lang_expand_function_end): Remove. * c-common.h: Remove the corresponding declarations. * c-opts.c (c_common_handle_option): Remove all write access to explicit_flag_signed_bitfields. From-SVN: r94120
2005-01-23cse.c (max_reg, [...]): Remove.Kazu Hirata2-13/+5
* cse.c (max_reg, max_insn_uid): Remove. (cse_main): Don't access max_reg or max_insn_uid. From-SVN: r94119
2005-01-23Update Copyright.Paul Brook1-1/+1
From-SVN: r94118
2005-01-23re PR fortran/19294 (intrinsic_transpose.f90 runtime crash)James A. Morrison11-64/+339
2005-01-23 James A. Morrison <phython@gcc.gnu.org> Paul Brook <paul@codesourcery.com> PR fortran/19294 * iresolve.c (gfc_resolve_transpose): Resolve to transpose_c4 or transpose_c8 for complex types. libgfortran/ * Makefile.am: Add transpose_c4.c and transpose_c8.c. * intrinsics/cshift0.c: Use separate optimized loops for complex types. * m4/transpose.m4: Include type letter in function name. * Makefile.in: Regenerate. * generated/transpose_*.c: Regenerate. Co-Authored-By: Paul Brook <paul@codesourcery.com> From-SVN: r94116
2005-01-23combine.c (simplify_logical): Only simplify logical expressions of the form ↵Roger Sayle2-6/+15
ior(and(x,y),z) by the inverse... * combine.c (simplify_logical): Only simplify logical expressions of the form ior(and(x,y),z) by the inverse distributive law if the result is cheaper than the original. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r94114
2005-01-23* typeck.c: Fix a comment typo.Kazu Hirata2-2/+6
From-SVN: r94113
2005-01-23alias.c, [...]: Fix comment typos.Kazu Hirata27-41/+55
* alias.c, c-common.h, c-incpath.c, c-incpath.h, expr.c, fold-const.c, gimplify.c, params.h, tree-data-ref.c, tree-if-conv.c, tree-nested.c, tree-outof-ssa.c, tree-ssa-dom.c, tree-vectorizer.c, tree.def, config/darwin.c, config/freebsd-spec.h, config/arm/arm.h, config/h8300/h8300.md, config/i386/i386.md, config/i386/predicates.md, config/i386/sse.md, config/ia64/ia64.c, config/ip2k/ip2k.c, config/s390/s390.c, config/vax/vax.md: Fix comment typos. Follow spelling conventions. From-SVN: r94112
2005-01-23data.c, [...]: Fix comment typos.Kazu Hirata13-30/+37
* data.c, dependency.c, f95-lang.c, io.c, trans-array.c, trans-decl.c, trans-expr.c, trans-intrinsic.c, trans-io.c, trans-stmt.c, trans-types.c, trans.h: Fix comment typos. Follow spelling conventions. From-SVN: r94111
2005-01-23re PR libfortran/19313 (inquire(pad=) not implemented)Bud Davis4-0/+46
2005-01-22 Bud Davis <bdavis9659@comcast.net> PR fortran/19313 * trans-io.c (gfc_trans_inquire): Added code to support pad. PR fortran/19313 * gfortan.dg/inquire_6.f90: New test. From-SVN: r94110
2005-01-23gengtype.c (walk_type): Produce `not equal to' compares for loop tests, ↵Steven Bosscher2-2/+7
instead of `less than'. * gengtype.c (walk_type): Produce `not equal to' compares for loop tests, instead of `less than'. From-SVN: r94109
2005-01-23* MAINTAINERS (Write After Approval): Add Michael Matz.Kazu Hirata2-0/+3
From-SVN: r94108
2005-01-23type_traits (aligned_storage): Use __aligned__ instead of aligned.Paolo Carlini2-7/+12
2005-01-23 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits (aligned_storage): Use __aligned__ instead of aligned. From-SVN: r94107
2005-01-23re PR libstdc++/19343 (New warnings in libstdc++-v3 since 2004-01-05)Paolo Carlini2-15/+21
2005-01-23 Paolo Carlini <pcarlini@suse.de> Andreas Jaeger <aj@suse.de> PR libstdc++/19343 * include/bits/functexcept.h: Mark the helpers as 'noreturn'. Co-Authored-By: Andreas Jaeger <aj@suse.de> From-SVN: r94106
2005-01-23* MAINTAINERS: Remove obsolete entries.Kazu Hirata2-3/+4
From-SVN: r94105
2005-01-23function.c (assign_parm_setup_block): When creating a new stack slot for a ↵Richard Sandiford2-1/+9
parameter... * function.c (assign_parm_setup_block): When creating a new stack slot for a parameter, get its alignment from the parameter's DECL_ALIGN rather than the type's TYPE_ALIGN. Make sure that the parameter is at least word aligned. From-SVN: r94104
2005-01-23re PR target/19378 (ICE during bootstrap compiling __fixdfdi)Roger Sayle2-12/+16
PR middle-end/19378 * config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite. From-SVN: r94102
2005-01-23re PR libfortran/19451 (Read after a write with a read only file)Thomas Koenig4-0/+28
2005-01-22 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/19451 * io/transfer.c (finalize_transfer): Don't do anything if there is an error condition. * open_readonly_1.f90: New test. From-SVN: r94101
2005-01-23Daily bump.GCC Administrator2-2/+2
From-SVN: r94093
2005-01-22re PR libfortran/19052 (unit 0 not preconnected to standard error)David Edelsohn7-5/+59
PR libgfortran/19052 * libgfortran.h (options_t): Add stderr_unit. * io/io.h (error_stream): Declare. * io/open.c (new_unit): Do not terminate abnormally if opening file preconnected to stdin, stdout, or stderr. * io/unit.c (init_units): Initialize stderr_unit. * io/unix.c (error_stream): New function. * runtime/environ.c (GFORTRAN_STDERR_UNIT): New environment variable. From-SVN: r94090
2005-01-22re PR target/19506 (PovRay produces wrong pictures with -mfpmath=sse ↵Richard Henderson3-7/+58
-ffast-math.) PR target/19506 * config/i386/i386.md (movsfcc_1_sse_max): Use nonimmediate_operand in both compare operands. (movdfcc_1_sse_max): Likewise. (movsfcc_1_sse): Likewise. Add earlyclobber for scratch. (movdfcc_1_sse): Likewise. * config/i386/i386.c (ix86_split_sse_movcc): Emit copies into the scratch register as needed. From-SVN: r94087
2005-01-22* config/i386/i386.md (smaxsf3): Fix mnemonic typo.Richard Henderson2-1/+3
From-SVN: r94086
2005-01-22* config/i386/i386.c (ix86_prepare_fp_compare_args): Fix is_sse test.Richard Henderson2-1/+5
From-SVN: r94085
2005-01-22genopinit.c (optabs): Use smin/smax for floating point too.Richard Henderson1-0/+16
* genopinit.c (optabs): Use smin/smax for floating point too. * doc/md.texi: Update to match. Clarify that floating point results are undefined for +0/-0 and NaN. * doc/rtl.texi: Likewise. * rtl.def (SMIN, SMAX): Likewise * tree.def (MIN_EXPR, MAX_EXPR): Likewise. * config/alpha/alpha.md (smaxdf3, smindf3, smaxsf3, sminsf3): Add leading 's' to the name. * config/ia64/ia64.md (smaxsf3, sminsf3, smaxdf3, smindf3, smaxxf3, sminxf3): Likewise. * config/rs6000/rs6000.md (smaxdf3, smindf3, smaxsf3, sminsf3): Likewise. From-SVN: r94084
2005-01-22genopinit.c (optabs): Use smin/smax for floating point too.Richard Henderson8-33/+36
* genopinit.c (optabs): Use smin/smax for floating point too. * doc/md.texi: Update to match. Clarify that floating point results are undefined for +0/-0 and NaN. * doc/rtl.texi: Likewise. * rtl.def (SMIN, SMAX): Likewise * tree.def (MIN_EXPR, MAX_EXPR): Likewise. * config/alpha/alpha.md (smaxdf3, smindf3, smaxsf3, sminsf3): Add leading 's' to the name. * config/ia64/ia64.md (smaxsf3, sminsf3, smaxdf3, smindf3, smaxxf3, sminxf3): Likewise. * config/rs6000/rs6000.md (smaxdf3, smindf3, smaxsf3, sminsf3): Likewise. From-SVN: r94083
2005-01-22intrinsic.c (make_alias): Add standard argument.Steven G. Kargl2-10/+20
2005-01-22 Steven G. Kargl <kargls@comcast.net> * intrinsic.c (make_alias): Add standard argument. (add_functions): Update make_alias calls. From-SVN: r94082
2005-01-22arm.md: Use "Uy" constraint for wcgr load/stores.Paul Brook2-2/+6
2005-01-22 Paul Brook <paul@codesourcery.com> * config/arm/arm.md: Use "Uy" constraint for wcgr load/stores. [[Split portion of a mixed commit.]] From-SVN: r94080.2
2005-01-22s390.c (struct processor_costs): New fields dlgr, dlr, dr, dsgfr, dsgr.Mark Dettinger2-10/+78
2005-01-21 Mark Dettinger <dettinge@de.ibm.com> * config/s390/s390.c (struct processor_costs): New fields dlgr, dlr, dr, dsgfr, dsgr. (z900_cost, z990_cost): Values for new fields. (s390_rtx_costs): New cases MEM und COMPARE in switch statement. Modified handling of SIGN_EXTEND, ZERO_EXTEND, DIV, MOD, UDIV, UMOD. From-SVN: r94079
2005-01-22s390.md ("doloop_si64"): Reload input value directly into the register being ↵Ulrich Weigand2-11/+15
decremented. * config/s390/s390.md ("doloop_si64"): Reload input value directly into the register being decremented. ("doloop_si31", "doloop_di"): Likewise. ("*doloop_si_long"): Adapt pattern. From-SVN: r94078
2005-01-22s390.h (HARD_REGNO_NREGS): Fix computation for access registers.Ulrich Weigand2-2/+8
* config/s390/s390.h (HARD_REGNO_NREGS): Fix computation for access registers. (CLASS_MAX_NREGS): Likewise. From-SVN: r94077
2005-01-22re PR libfortran/18982 (open(status="new") does not generate an error if the ↵Thomas Koenig4-30/+70
file exists) 2005-01-22 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/18982 * io/unix.c (regular_file): No need to change flags->action if an error occurs. Document this. No need to call stat() for STATUS_OLD, open() will fail anyway. For ACTION_UNSPECIFIED, try open for read-write, then for read-only if open fails with EACCES, then for write-only if that fails with EACCES again. * io/unix.c (open_external): Document changed behavior of regular_file. testsuite/ * gfortran.dg/open_new.f90: New file. From-SVN: r94076
2005-01-22tree-ssa.texi (Statement Operands): Add example for new must-def macro.Daniel Berlin2-3/+32
2005-01-21 Daniel Berlin <dberlin@dberlin.org> * doc/tree-ssa.texi (Statement Operands): Add example for new must-def macro. Note deprecation of old operands interface. From-SVN: r94075
2005-01-22* trans-expr.c (gfc_conv_function_call): Remove bogus TODO.Paul Brook2-1/+5
From-SVN: r94074
2005-01-22gfortran.h (gfc_check_access): Add prototype.Paul Brook7-25/+58
2005-01-22 Paul Brook <paul@codesourcery.com> * gfortran.h (gfc_check_access): Add prototype. * match.c (gfc_match_namelist): Remove TODO. * module.c (check_access): Rename ... (gfc_check_access): ... to this. Boolify. Update callers. * resolve.c (resolve_symbol): Check for private objects in public namelists. testsuite/ * namelist_1.f90: New test. From-SVN: r94073
2005-01-22re PR tree-optimization/19484 (function pointer propagation fails for ↵Richard Sandiford5-1/+72
noreturn functions) PR tree-optimization/19484 * tree-cfg.c (remove_fallthru_edge): New function. (cleanup_control_flow): Remove fallthru edges from calls that are now known not to return. From-SVN: r94070
2005-01-22re PR tree-optimization/19038 (tree-ssa causing loops to have more than one BB)Daniel Berlin2-0/+14
2005-01-20 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/19038 * tree-ssa-dom.c (cprop_operand): Don't replace loop invaeriant copies with loop variant ones. From-SVN: r94069
2005-01-22* java-except.h, java-tree.h: Remove unused prototypes.Kazu Hirata3-7/+4
From-SVN: r94068
2005-01-22tree-cfg.c (remove_forwarder_block_with_phi): Look at the first label to see ↵Kazu Hirata2-11/+9
if it is a nonlocal label. * tree-cfg.c (remove_forwarder_block_with_phi): Look at the first label to see if it is a nonlocal label. From-SVN: r94067
2005-01-22primary.c (gfc_match_rvalue): Only apply implicit type if variable does not ↵Paul Brook5-27/+83
have an explicit type. 2005-01-22 Paul Brook <paul@codesourcery.com> * primary.c (gfc_match_rvalue): Only apply implicit type if variable does not have an explicit type. (gfc_match_variable): Resolve implicit derived types in all cases. Resolve contained function types from their own namespace, not the parent. * resolve.c (resolve_contained_fntype): Remove duplicate sym->result checking. Resolve from the contained namespace, not the parent. testsuite/ * gfortran.dg/implicit_2.f90: New test. From-SVN: r94066
2005-01-22re PR fortran/19194 (Missing RECL parameter in OPEN statement)Tobias Schlüter4-58/+56
gcc/fortran/ PR fortran/19194 * trans-io.c (ADD_STRING): Use gfc_charlen_type_node for string length parameters. (gfc_build_io_library_fndecls): 'rec' and 'recl_in' are not pointer fields. libgfortran/ PR fortran/19194 * io/io.h (st_parameter): Use 'GFC_INTEGER_4' instead of 'int', use CHARACTER macro for definition of string valued paramters. Also fix years in recent ChangeLog entries. From-SVN: r94065
2005-01-22cfganal.c, [...]: Update copyright.Kazu Hirata13-14/+24
* cfganal.c, real.h, reorg.c, timevar.def, tree-ssa-ccp.c, config/alpha/alpha-protos.h, config/alpha/alpha.h, config/alpha/alpha.md, config/alpha/predicates.md, config/sparc/freebsd.h, config/sparc/netbsd-elf.h, config/sparc/sol2.h: Update copyright. From-SVN: r94064
2005-01-22re PR libfortran/19314 (inquire(position=) segfaults at runtime)Bud Davis6-6/+74
2004-01-22 Bud Davis <bdavis9659@comcast.net> PR fortran/19314 * io/inquire.c(inquire_via_unit): implement POSITION=. * io/transfer.c(next_record): update position for INQUIRE. * io/rewind.c(st_rewind): update position for INQUIRE. * gfortran.dg/inquire_5.f90: New test. From-SVN: r94060
2005-01-21re PR target/19491 (va_start incorrect, Number of floating point and integer ↵David Edelsohn2-2/+11
registers counted incorrectly) 2005-01-20 David Edelsohn <edelsohn@gnu.org> Andrew Pinski <pinskia@physics.uc.edu> PR target/19491 * config/rs6000/rs6000.c (rs6000_va_start): Saturate n_gpr at maximum number of GPRs. Saturate n_fpr at maximum number of FPRs. Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu> From-SVN: r94059
2005-01-22rtems.h: Update copyright.Ralf Corsepius2-1/+5
2005-01-22 Ralf Corsepius <ralf.corsepius@rtems.org> * config/rs6000/rtems.h: Update copyright. From-SVN: r94057
2005-01-22re PR target/19548 (RTEMS CPP specs not merged from 3.2/3.2 branches)Ralf Corsepius2-0/+24
2005-01-22 Ralf Corsepius <ralf.corsepius@rtems.org> PR target/19548 * config/rs6000/rtems.h: Resurrect cpp_os_rtems_spec from gcc < 3.4. (CPP_OS_RTEMS_SPEC): New (From gcc-3.3's config/rs6000/sys4.h). (SUBSUBTARGET_EXTRA_SPECS): Use CPP_OS_RTEMS_SPEC. From-SVN: r94056