aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-01-24target-supports.exp (current_target_name): New.Janis Johnson2-13/+76
* lib/target-supports.exp (current_target_name): New. (check_effective_target_ilp32, check_effective_target_lp64): Cache the result to use as long as the current target, with multilib flags, remains the same. From-SVN: r94168
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-24Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.Jakub Jelinek3-2/+14
* Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs. (libgij_la_LDFLAGS): Add. * Makefile.in: Rebuilt. From-SVN: r94165
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 Sayle4-9/+45
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-24type_traits: Implement is_signed and is_unsigned.Paolo Carlini6-0/+226
2005-01-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implement is_signed and is_unsigned. * testsuite/tr1/4_metaprogramming/type_properties/ is_signed/is_signed.cc: New. * testsuite/tr1/4_metaprogramming/type_properties/ is_signed/typedefs.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ is_unsigned/is_unsigned.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ is_unsigned/typedefs.cc: Likewise. From-SVN: r94160
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 Administrator2-2/+2
From-SVN: r94137
2005-01-24lwg-active.html, [...]: Import Revision 34.Paolo Carlini3-1286/+2102
2005-01-23 Paolo Carlini <pcarlini@suse.de> * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34. From-SVN: r94131
2005-01-239827.cc: New.Paolo Carlini75-105/+5762
2005-01-23 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New. * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise. * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/flush/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/4402.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/6.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/9555-oa.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ wchar_t/exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ wchar_t/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ wchar_t/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ wchar_t/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ wchar_t/6.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ wchar_t/9555-oc.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/9318-out.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/9424-out.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/ wchar_t/9555-oo.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ error_failbit.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/wchar_t/ 2346-fstream.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/wchar_t/ 2346-sstream.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise. * testsuite/data/wostream_inserter_char-1.tst: Likewise. * testsuite/data/wostream_inserter_char-1.txt: Likewise. * testsuite/data/wostream_inserter_other-1.tst: Likewise. * testsuite/data/wostream_inserter_other-2.tst: Likewise. * testsuite/data/wostream_seeks-1.tst: Likewise. * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks. * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ char/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ char/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ char/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ char/4402.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ char/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/ char/6.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/ char/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ 2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ 5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ error_failbit.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise. From-SVN: r94129
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 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