aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-01-24gcc-dg.exp (skip_test_and_clear_xfail): Remove.Janis Johnson2-25/+27
* lib/gcc-dg.exp (skip_test_and_clear_xfail): Remove. (dg-require-weak, dg-require-visibility, dg-require-alias, dg-require-dg-sections, dg-require-profiling, dg-require-iconv, dg-require-effective-target, dg-skip-if): Remove call to skip_test_and_clear_xfail. (dg-test): Clear xfail data. From-SVN: r94167
2005-01-24re PR target/17751 (Undefined .LCTOC0 symbol)Jakub Jelinek4-8/+39
PR target/17751 * config/rs6000/rs6000.c (rs6000_file_start): Create toc section for AIX ABI or ELF -fPIC. (rs6000_emit_load_toc_table): Don't create toc_section here. (rs6000_xcoff_file_start): Nor here. * gcc.dg/ppc64-toc.c: New test. From-SVN: r94166
2005-01-24??? The first checkin was ignored?Joern Rennecke1-0/+7
* sh.c (ra.h): Don't #include. (hard_regs_intersect_p): New function, resurrected from ra.c. N.B this is Copyright 2002/2003 * sh.c: Fix 1996 Copyright. From-SVN: r94164
2005-01-24sh.c (ra.h): Don't #include.Joern Rennecke1-2/+17
* sh.c (ra.h): Don't #include. (hard_regs_intersect_p): New function, resurrected from ra.c. N.B this is Copyright 2002/2003 * sh.c: Fix 1996 Copyright. From-SVN: r94163
2005-01-24re PR java/19295 (Incorrect bytecode produced for bitwise AND)Roger Sayle2-9/+24
PR java/19295 * jcf-write.c (generate_bytecode_insns): Conversions between integer types of the same precision shouldn't generate widening or narrowing conversion bytecodes. * testsuite/libjava.compile/PR19295.java: New test case. From-SVN: r94162
2005-01-24regrename.c (note_sets): Handle subregs.Richard Henderson2-0/+8
* regrename.c (note_sets): Handle subregs. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r94157
2005-01-24re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)Joseph Myers2-10/+15
PR bootstrap/18058 * genconditions.c (write_header, write_conditions): Elide file if not GCC >= 3.0.1. From-SVN: r94155
2005-01-24c-opts.c, [...]: Update copyright.Kazu Hirata8-7/+13
* c-opts.c, expmed.c, gengtype.c, tree-complex.c, config/arm/iwmmxt.md, config/avr/avr.c, config/s390/s390.h: Update copyright. From-SVN: r94154
2005-01-24builtins.c (get_pointer_alignment, [...]): Use POINTER_TYPE_P instead ↵Jakub Jelinek4-13/+43
TREE_CODE checking against POINTER_TYPE. * builtins.c (get_pointer_alignment, gimplify_va_arg_expr, expand_builtin_printf, expand_builtin_fprintf, expand_builtin_sprintf): Use POINTER_TYPE_P instead TREE_CODE checking against POINTER_TYPE. (validate_arglist): Handle POINTER_TYPE code by checking POINTER_TYPE_P. * g++.dg/tree-ssa/empty-1.C: New test. From-SVN: r94147
2005-01-24rtlanal.c (non_rtx_starting_operands, [...]): New.Paolo Bonzini4-36/+109
2005-01-24 Paolo Bonzini <bonzini@gnu.org> * rtlanal.c (non_rtx_starting_operands, for_each_rtx_1, init_rtlanal): New. (for_each_rtx): Call for_each_rtx_1. * rtl.h (init_rtlanal): Declare. * toplev.c (backend_init): Call init_rtlanal. From-SVN: r94146
2005-01-24re PR middle-end/19551 (pure (complex types) function call removed as dead ↵Jakub Jelinek5-4/+159
(LAPACK routine claic1.f bug)) * flow.c (propagate_one_insn): Formatting. PR middle-end/19551 * flow.c (libcall_dead_p): Be more conservative if unsure. If there are any instructions between insn and call, see if they are all dead before saying the libcall is dead. * gcc.c-torture/execute/20050121-1.c: New test. * gcc.dg/20050121-2.c: New test. From-SVN: r94145
2005-01-24i386.md (*extendsfdf2_sse): Use "nonimmediate_operand" operand constraint ↵Uros Bizjak2-1/+6
for operand 0. * config/i386/i386.md (*extendsfdf2_sse): Use "nonimmediate_operand" operand constraint for operand 0. From-SVN: r94144
2005-01-23re PR middle-end/19486 (flags_complex_divide_method=1 doesn't work)Richard Henderson2-2/+8
PR 19486 * tree-complex.c (expand_complex_div_wide): Set EDGE_FALLTHRU on edges leading to join block. From-SVN: r94140
2005-01-24expmed.c (expand_mult_highpart): Make static.Roger Sayle3-17/+29
* expmed.c (expand_mult_highpart): Make static. Change type of constant multiplier argument from unsigned HOST_WIDE_INT to rtx. (expand_divmod): Updates calls to expand_mult_highpart by using gen_int_mode to pass a CONST_INT rtx. * rtl.h (expand_mult_highpart): Remove prototype. From-SVN: r94139
2005-01-24Daily bump.GCC Administrator1-1/+1
From-SVN: r94137
2005-01-23re PR fortran/17941 (gfortran: parser chokes on complex literal constant)Paul Brook7-173/+135
2004-01-23 Paul Brook <paul@codesourcery.com> Steven G. Kargl <kargls@comcast.net> PR fortran/17941 * arith.c (gfc_convert_real): Remove sign handling. * primary.c (match_digits): Allow whitespace after initial sign. (match_real_const): Handle signs here. Allow whitespace after initial sign. Remove dead code. (match_const_complex_part): Remove. (match_complex_part): Use match_{real,integer}_const. (match_complex_constant): Cross-promote integer types. testsuite/ * gfortran.dg/real_const_1.f: New test. * gfortran.dg/real_const_2.f90: New test. * gfortran.dg/complex_int_1.f90: New test. From-SVN: r94127
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 Myers3-2/+18
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-23re PR fortran/19294 (intrinsic_transpose.f90 runtime crash)James A. Morrison2-20/+27
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-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 Koenig2-0/+19
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 Administrator1-1/+1
From-SVN: r94093
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 Koenig2-0/+16
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