aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-17natVMMethod.cc (getModifiers): Check for native classes and mark methods as ↵Kyle Galloway2-1/+13
native appropriately. 2007-05-17 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native classes and mark methods as native appropriately. From-SVN: r124807
2007-05-17VMFrame.java (<init>): Add parameter for "this" pointer.Kyle Galloway5-5/+26
2007-05-17 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this" pointer. * gnu/classpath/jdwp/VMFrame.h: Regenerated. * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new VMFrame constructor. From-SVN: r124806
2007-05-17* g++.dg/cpp/_Pragma1.C: Skip on fido-*-* and m68k-*-*.Kazu Hirata2-1/+5
From-SVN: r124805
2007-05-17interrupt_thread-1.c, [...]: New.Kazu Hirata3-0/+73
* gcc.target/m68k/interrupt_thread-1.c, gcc.target/m68k/interrupt_thread-2.c, gcc.target/m68k/interrupt_thread-3.c: New. * gcc.target/m68k/m68k.exp: Accept fido. From-SVN: r124804
2007-05-17c_locale.h: Do not include <libintl.h>.Paolo Carlini4-7/+15
2007-05-17 Paolo Carlini <pcarlini@suse.de> * config/locale/gnu/c_locale.h: Do not include <libintl.h>. * config/locale/gnu/messages_members.h: Do it here. * config/locale/gnu/c_locale.h: Do not include <cstdio>, use the builtins. * config/locale/generic/c_locale.h: Likewise. From-SVN: r124803
2007-05-17acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add -g to compile flags, ↵Benjamin Kosnik3-8/+14
move code to test to global scope. 2007-05-17 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add -g to compile flags, move code to test to global scope. * configure: Regenerate. From-SVN: r124802
2007-05-17re PR rtl-optimization/31691 (optimized code taking the wrong branch)Eric Botcazou4-5/+56
PR rtl-optimization/31691 * combine.c (simplify_set): Build a new src pattern instead of substituting its operands in the COMPARE case. From-SVN: r124797
2007-05-17re PR fortran/31919 ([4.1/4.2 only] min/max do not check array conformance)Daniel Franke6-50/+98
gcc/fortran: 2007-05-15 Daniel Franke <franke.daniel@gmail.com> PR fortran/31919 PR fortran/31929 PR fortran/31930 * intrinsic.c (check_specific): Check elemental intrinsics for rank and shape. (add_functions): Fixed dummy argument names of BESJN and BESYN. Fixed elemental status of MCLOCK and MCLOCK8. * check.c (check_rest): Added check for array conformance. (gfc_check_merge): Removed check for array conformance. (gfc_check_besn): Removed check for scalarity. * intrinsic.texi (CSHIFT, EOSHIFT): Fixed typos. (BESJN, BESYN): Clarified documentation. gcc/testsuite: 2007-05-17 Daniel Franke <franke.daniel@gmail.com> PR fortran/31919 * gfortran.dg/min_max_conformance.f90: New test. From-SVN: r124794
2007-05-17typedefs.cc: Fix dg bits.Benjamin Kosnik3-4/+10
2007-05-17 Benjamin Kosnik <bkoz@redhat.com> * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Fix dg bits. * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same. From-SVN: r124793
2007-05-17stl_algobase.h (mismatch): Move...Paolo Carlini3-66/+71
2007-05-17 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (mismatch): Move... * include/bits/stl_algo.h: ... here. From-SVN: r124792
2007-05-17cmath: Guard special math with __GXX_EXPERIMENTAL_CXX0X__.Benjamin Kosnik3-28/+38
2007-05-17 Benjamin Kosnik <bkoz@redhat.com> * include/tr1/cmath: Guard special math with __GXX_EXPERIMENTAL_CXX0X__. * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: Remove xfail. From-SVN: r124791
2007-05-17locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid unnecessary casts, ↵Paolo Carlini2-16/+18
do widenings just in time. 2007-05-17 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid unnecessary casts, do widenings just in time. From-SVN: r124790
2007-05-17gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation.Tobias Burnus2-1/+10
2007-05-17 Tobias Burnus <burnus@net-b.de> * gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation. From-SVN: r124788
2007-05-17re PR fortran/31917 ([4.1 only] GFORTRAN_CONVERT_UNIT is ignored)Tobias Burnus2-2/+19
2007-05-14 Tobias Burnus <burnus@net-b.de> PR fortran/31917 * runtime/environ.c (mark_range): Fix setting default convert unit. From-SVN: r124787
2007-05-17tree-vrp.c (finalize_jump_threads): Do not care about dominance info.Zdenek Dvorak17-296/+660
* tree-vrp.c (finalize_jump_threads): Do not care about dominance info. (execute_vrp): Preserve loops through jump threading. * tree-ssa-threadupdate.c (thread_single_edge, dbds_continue_enumeration_p, determine_bb_domination_status, thread_through_loop_header): New functions. (create_edge_and_update_destination_phis, create_edge_and_update_destination_phis): Set loops for the new blocks. (prune_undesirable_thread_requests): Removed. (redirect_edges): Do not pretend that redirect_edge_and_branch can create new blocks. (thread_block): Do not call prune_undesirable_thread_requests. Update loops. (mark_threaded_blocks): Select edges to thread here. (thread_through_all_blocks): Take may_peel_loop_headers argument. Thread edges through loop headers independently. * cfgloopmanip.c (create_preheader, mfb_keep_just): Export. * tree-pass.h (TODO_mark_first_instance): New. (first_pass_instance): Declare. * cfghooks.c (duplicate_block): Put the block to the original loop if copy is not specified. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Preserve loops through jump threading. Pass may_peel_loop_headers to thread_through_all_blocks according to first_pass_instance. * cfgloop.h (create_preheader): Declare. * tree-flow.h (thread_through_all_blocks): Declaration changed. * basic-block.h (mfb_keep_just, mfb_kj_edge): Declare. * passes.c (first_pass_instance): New variable. (next_pass_1): Set TODO_mark_first_instance. (execute_todo): Set first_pass_instance. * gcc.dg/tree-ssa/ssa-dom-thread-2.c: New test. * gcc.dg/vect/vect-102.c, gcc.dg/vect/vect-103.c, gcc.dg/vect/vect-104.c: Use more complex construction to prevent vectorizing. * gcc.dg/tree-ssa/pr21559.c: Update outcome. From-SVN: r124786
2007-05-17* Remove svn:executable property.Uros Bizjak2-0/+0
From-SVN: r124785
2007-05-17re PR tree-optimization/24659 (Conversions are not vectorized)Uros Bizjak22-150/+791
PR tree-optimization/24659 * optabs.h (enum optab_index): Add OTI_vec_unpacks_float_hi, OTI_vec_unpacks_float_lo, OTI_vec_unpacku_float_hi, OTI_vec_unpacku_float_lo, OTI_vec_pack_sfix_trunc and OTI_vec_pack_ufix_trunc. (vec_unpacks_float_hi_optab): Define new macro. (vec_unpacks_float_lo_optab): Ditto. (vec_unpacku_float_hi_optab): Ditto. (vec_unpacku_float_lo_optab): Ditto. (vec_pack_sfix_trunc_optab): Ditto. (vec_pack_ufix_trunc_optab): Ditto. * genopinit.c (optabs): Implement vec_unpack[s|u]_[hi|lo]_optab and vec_pack_[s|u]fix_trunc_optab using vec_unpack[s|u]_[hi\lo]_* and vec_pack_[u|s]fix_trunc_* patterns * tree-vectorizer.c (supportable_widening_operation): Handle FLOAT_EXPR and CONVERT_EXPR. Update comment. (supportable_narrowing_operation): New function. * tree-vectorizer.h (supportable_narrowing_operation): Prototype. * tree-vect-transform.c (vectorizable_conversion): Handle (nunits_in == nunits_out / 2) and (nunits_out == nunits_in / 2) cases. (vect_gen_widened_results_half): Move before vectorizable_conversion. (vectorizable_type_demotion): Call supportable_narrowing_operation() to check for target support. * optabs.c (optab_for_tree_code) Return vec_unpack[s|u]_float_hi_optab for VEC_UNPACK_FLOAT_HI_EXPR, vec_unpack[s|u]_float_lo_optab for VEC_UNPACK_FLOAT_LO_EXPR and vec_pack_[u|s]fix_trunc_optab for VEC_PACK_FIX_TRUNC_EXPR. (expand_binop): Special case mode of the result for vec_pack_[u|s]fix_trunc_optab. (init_optabs): Initialize vec_unpack[s|u]_[hi|lo]_optab and vec_pack_[u|s]fix_trunc_optab. * tree.def (VEC_UNPACK_FLOAT_HI_EXPR, VEC_UNPACK_FLOAT_LO_EXPR, VEC_PACK_FIX_TRUNC_EXPR): New tree codes. * tree-pretty-print.c (dump_generic_node): Handle VEC_UNPACK_FLOAT_HI_EXPR, VEC_UNPACK_FLOAT_LO_EXPR and VEC_PACK_FIX_TRUNC_EXPR. (op_prio): Ditto. * expr.c (expand_expr_real_1): Ditto. * tree-inline.c (estimate_num_insns_1): Ditto. * tree-vect-generic.c (expand_vector_operations_1): Ditto. * config/i386/sse.md (vec_unpacks_float_hi_v8hi): New expander. (vec_unpacks_float_lo_v8hi): Ditto. (vec_unpacku_float_hi_v8hi): Ditto. (vec_unpacku_float_lo_v8hi): Ditto. (vec_unpacks_float_hi_v4si): Ditto. (vec_unpacks_float_lo_v4si): Ditto. (vec_pack_sfix_trunc_v2df): Ditto. * doc/c-tree.texi (Expression trees) [VEC_UNPACK_FLOAT_HI_EXPR]: Document. [VEC_UNPACK_FLOAT_LO_EXPR]: Ditto. [VEC_PACK_FIX_TRUNC_EXPR]: Ditto. * doc/md.texi (Standard Names) [vec_pack_sfix_trunc]: Document. [vec_pack_ufix_trunc]: Ditto. [vec_unpacks_float_hi]: Ditto. [vec_unpacks_float_lo]: Ditto. [vec_unpacku_float_hi]: Ditto. [vec_unpacku_float_lo]: Ditto. testsuite/ChangeLog: PR tree-optimization/24659 * gcc.dg/vect/vect-floatint-conversion-2.c: New test. * gcc.dg/vect/vect-intfloat-conversion-1.c: Require vect_float, not vect_int target. * gcc.dg/vect/vect-intfloat-conversion-2.c: Require vect_float, not vect_int target. Loop is vectorized for vect_intfloat_cvt targets. * gcc.dg/vect/vect-intfloat-conversion-3.c: New test. * gcc.dg/vect/vect-intfloat-conversion-4a.c: New test. * gcc.dg/vect/vect-intfloat-conversion-4b.c: New test. From-SVN: r124784
2007-05-17java-stack.h (_Jv_FrameInfo): Remove union definition.David Daney5-10/+19
* include/java-stack.h (_Jv_FrameInfo): Remove union definition. (_Jv_StackFrame): Remove commented out code. (_Jv_UnwindState): Remove superfluous 'typedef'. * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet compiler warnings. * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc (getCollectionUsage): Don't declare unused parameter n. (getMemoryManagerNames): Same. * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous 'typedef'. From-SVN: r124783
2007-05-17Daily bump.GCC Administrator1-1/+1
From-SVN: r124781
2007-05-16java-interp.h (breakpoint_at): Declare.Keith Seitz1-0/+3
* include/java-interp.h (breakpoint_at): Declare. * interpret.cc (breakpoint_at): New function. * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list): New member. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Initialize _event_list. (handle_single_step): If there is a breakpoint at the location at which we are stopping, do not send the notification. Instead add the event to a list of events that occur at this location. (jdwpBreakpointCB): If the event list is not empty, send whatever events are in it and the breakpoint event in a single notification. Mark parameter jni_env as MAYBE_UNUSED. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerated. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. From-SVN: r124778
2007-05-16java-interp.h (breakpoint_at): Declare.Keith Seitz6-5/+71
* include/java-interp.h (breakpoint_at): Declare. * interpret.cc (breakpoint_at): New function. * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list): New member. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Initialize _event_list. (handle_single_step): If there is a breakpoint at the location at which we are stopping, do not send the notification. Instead add the event to a list of events that occur at this location. (jdwpBreakpointCB): If the event list is not empty, send whatever events are in it and the breakpoint event in a single notification. Mark parameter jni_env as MAYBE_UNUSED. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerated. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. From-SVN: r124777
2007-05-16Add two files missing from my previous commit.Uros Bizjak2-0/+62
From-SVN: r124776
2007-05-16README: Update for new files.Uros Bizjak24-8/+768
* soft-fp/README: Update for new files. * soft-fp/floattisf.c: New file. * soft-fp/floattidf.c: New file. * soft-fp/floattitf.c: New file. * soft-fp/floatuntisf.c: New file. * soft-fp/floatuntidf.c: New file. * soft-fp/floatuntitf.c: New file. * soft-fp/fixsfti.c: New file. * soft-fp/fixdfti.c: New file. * soft-fp/fixtfti.c: New file. * soft-fp/fixunssfti.c: New file. * soft-fp/fixunsdfti.c: New file. * soft-fp/fixunstfti.c: New file. * soft-fp/extendxftf.c: New file. * soft-fp/trunctfxf.c: New file. * libgcc-std.ver (__extendxftf2): Added to GCC_4.3.0 section. (__trunctfxf2): Ditto. * config/i386/libgcc-x86_64-glibc.ver (__addtf3, __divtf3, __eqtf2, __extenddftf2, __extendsftf2, __fixtfdi, __fixtfsi, __fixtfti, __fixunstfdi, __fixunstfsi, __fixunstfti, __floatditf, __floatsitf, __floattitf, __floatunditf, __floatunsitf, __floatuntitf, __getf2, __letf2, __multf3, __negtf2, __subtf3, __trunctfdf2, __trunctfsf2, __unordtf2): Exclude and add to GCC_4.3.0 section for x86_64 targets. * config/i386/t-fprules-softfp64: New file. * config/i386/sfp-machine.h: New file. * config.gcc (x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/t-fprules-softfp64 and soft-fp/t-softfp to tmake_file. (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu): Ditto for --enable-targets=all. * config/i386/t-linux64 (softfp_wrap_start): New. (softfp_wrap_end): New. * config/i386/i386.c (ix86_scalar_mode_supported): TFmode is supported for TARGET_64BIT. testsuite/ChangeLog: * gcc.dg/torture/fp-int-convert-float128.c: Do not xfail for i?86-*-* and x86_64-*-* targets. * gcc.dg/torture/fp-int-convert-float128-timode.c: Ditto. From-SVN: r124775
2007-05-16[multiple changes]Benjamin Kosnik1-2/+2
2007-05-16 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections. * configure: Regenerate. * testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove _GLIBCXX_USE_WCHAR_T guards as superfluous. * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add _GLIBCXX_USE_WCHAR_T guards. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same. * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Add. * testsuite/21_strings/char_traits/typedefs/char/1.cc: Move... * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: ...here. * testsuite/21_strings/char_traits/typedefs: Remove. * testsuite/21_strings/char_traits/typedefs/char: Remove. 2007-05-16 Benjamin Kosnik <bkoz@redhat.com> * docs/html/abi.html: Update for gcc-4.1.2 and gcc-4.2.0. From-SVN: r124774
2007-05-16acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test ↵Benjamin Kosnik1-1/+1
code compiled with -ffunction-sections -fdata-sections. 2007-05-11 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections. * configure: Regenerate. * testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove _GLIBCXX_USE_WCHAR_T guards as superfluous. * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add _GLIBCXX_USE_WCHAR_T guards. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same. * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Add. * testsuite/21_strings/char_traits/typedefs/char/1.cc: Move... * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: ...here. * testsuite/21_strings/char_traits/typedefs: Remove. * testsuite/21_strings/char_traits/typedefs/char: Remove. From-SVN: r124773
2007-05-16acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test ↵Benjamin Kosnik10-12/+91
code compiled with -ffunction-sections -fdata-sections. 2007-05-11 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections. * configure: Regenerate. * testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove _GLIBCXX_USE_WCHAR_T guards as surpufulous. * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add _GLIBCXX_USE_WCHAR_T guards. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same. * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Add. * testsuite/21_strings/char_traits/typedefs/char/1.cc: Move... * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: ...here. * testsuite/21_strings/char_traits/typedefs: Remove. * testsuite/21_strings/char_traits/typedefs/char: Remove. From-SVN: r124772
2007-05-16c-common.c (c_common_signed_or_unsigned_type): Emulate ↵Rafael Avila de Espindola2-0/+38
c_common_unsigned_type behavior. 2007-05-16 Rafael Avila de Espindola <espindola@google.com> * c-common.c (c_common_signed_or_unsigned_type): Emulate c_common_unsigned_type behavior. From-SVN: r124771
2007-05-16abi.html: Update for gcc-4.1.2 and gcc-4.2.0.Benjamin Kosnik2-6/+19
2007-05-11 Benjamin Kosnik <bkoz@redhat.com> * docs/html/abi.html: Update for gcc-4.1.2 and gcc-4.2.0. From-SVN: r124766
2007-05-16i386.c (legitimize_tls_address): Mark __tls_get_addr calls as pure.Paolo Bonzini2-0/+7
2007-05-16 Paolo Bonzini <bonzini@gnu.org> * config/i386/i386.c (legitimize_tls_address): Mark __tls_get_addr calls as pure. From-SVN: r124765
2007-05-16Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags.Paolo Bonzini4-184/+443
2007-05-16 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags. * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS): Remove CFLAGS/LIBCFLAGS. (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+]. * Makefile.in: Regenerate. From-SVN: r124764
2007-05-16rs6000.c (rs6000_emit_prologue): Move altivec register saving after stack push.Eric Christopher2-115/+132
2007-05-16 Eric Christopher <echristo@apple.com> * config/rs6000/rs6000.c (rs6000_emit_prologue): Move altivec register saving after stack push. Set sp_offset whenever we push. (rs6000_emit_epilogue): Move altivec register restore before stack push. From-SVN: r124763
2007-05-16configure.ac: Allow sysroots to be relocated under $prefix as well as ↵Richard Sandiford3-13/+25
$exec_prefix. gcc/ * configure.ac: Allow sysroots to be relocated under $prefix as well as $exec_prefix. * configure: Regenerate. From-SVN: r124762
2007-05-16HTMLEditorKit.class: RegenerateDavid Daney3-6/+5
* classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same. From-SVN: r124761
2007-05-16revert: configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix).Richard Sandiford4-35/+90
gcc/ Revert: 2007-05-12 Richard Sandiford <richard@codesourcery.com> * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). (gcc_tooldir): Likewise. * configure: Regenerate. * Makefile.in (libsubdir_to_prefix): New variable, based on the old configure.ac gcc_tooldir setting. (prefix_to_exec_prefix): New variable. (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. From-SVN: r124760
2007-05-16[multiple changes]Paul Thomas8-7/+831
2007-05-16 Brooks Moses <brooks.moses@codesourcery.com> PR fortran/18769 PR fortran/30881 PR fortran/31194 PR fortran/31216 PR fortran/31427 * target-memory.c: New file. * target-memory.h: New file. * simplify.c: Add #include "target-memory.h". (gfc_simplify_transfer): Implement constant- folding for TRANSFER intrinsic. * Make-lang.in: Add dependencies on new target-memory.* files. 2007-05-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/18769 PR fortran/30881 PR fortran/31194 PR fortran/31216 PR fortran/31427 * transfer_simplify_1.f90: New test. * transfer_simplify_2.f90: New test. From-SVN: r124759
2007-05-16unf_io_convert_3.f90: Fix dg directive.Dominique d'Humieres2-15/+19
2007-05-15 Dominique d'Humieres <dominiq@lps.ens.fr> * gfortran.dg/unf_io_convert_3.f90: Fix dg directive. Fix previous changelog to show subdirectory. From-SVN: r124758
2007-05-15MAINTAINERS: Update e-mail address.Diego Novillo2-2/+6
* MAINTAINERS: Update e-mail address. From-SVN: r124757
2007-05-16re PR fortran/31922 ([4.2 only] Accessing uninitialized variable for print ↵Jerry DeLisle2-0/+8
*, trim(blank_string)) 2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31922 * intrinsics/string_intrinsics.c (string_trim): Set result to null if string length is zero. From-SVN: r124754
2007-05-16Daily bump.GCC Administrator1-1/+1
From-SVN: r124752
2007-05-15trans-types.c (gfc_type_for_size): Handle signed TImode.Paul Brook2-0/+11
2007-05-15 Paul Brook <paul@codesourcery.com> * trans-types.c (gfc_type_for_size): Handle signed TImode. From-SVN: r124748
2007-05-15interpret.cc (STOREA): Rewrite using temporary variable to avoid ↵Keith Seitz2-44/+77
double-macro expansion side-effects. * interpret.cc (STOREA): Rewrite using temporary variable to avoid double-macro expansion side-effects. (STOREI): Likewise. (STOREF): Likewise. (STOREL)[SIZEOF_VOID_P == 8]: Likewise. (STORED)[SIZEOF_VOID_P == 8]: Likewise. (STOREL)[SIZEOF_VOID_P != 8]: Likewise. (STORED)[SIZEOF_VOID_P != 8]: Likewise. (POKEI): Likewise. From-SVN: r124746
2007-05-15add self to MAINTAINERS: waaRevital Eres2-0/+5
From-SVN: r124742
2007-05-15re PR libfortran/31915 (Failure with unf_io_convert_3.f90)Tobias Burnus2-9/+18
2007-05-15 Tobias Burnus <burnus@net-b.de> PR libfortran/31915 * io/transfer.c (unformatted_read): Use proper size for real(10). (unformatted_write): Ditto. From-SVN: r124741
2007-05-15Daily bump.GCC Administrator1-1/+1
From-SVN: r124736
2007-05-1517_hyperg/check_nan.cc: Add -mieee for sh.Kaz Kojima2-0/+6
* testsuite/tr1/5_numerical_facilities/special_functions/ 17_hyperg/check_nan.cc: Add -mieee for sh. From-SVN: r124733
2007-05-14c-typeck.c (build_binary_op): Return early for error.Janis Johnson4-2/+26
gcc/ * c-typeck.c (build_binary_op): Return early for error. gcc/testsuite/ * gcc.dg/dfp/usual-arith-conv-bad.c: New test. From-SVN: r124732
2007-05-14expr.c (cpp_classify_number): Warn about dfp constant for -pedantic.Janis Johnson4-0/+14
libcpp/ * expr.c (cpp_classify_number): Warn about dfp constant for -pedantic. gcc/testsuite/ * gcc.dg/fltconst-pedantic-dfp.c: New test. From-SVN: r124731
2007-05-14re PR c/31924 (gcc accepts invalid suffixes for decimal float constants)Janis Johnson4-8/+35
libcpp/ PR c/31924 * expr.c (interpret_float_suffix): Check for invalid suffix. gcc/testsuite/ PR c/31924 * gcc.dg/fltconst-1.c: New test. From-SVN: r124730
2007-05-14func-mixed.c: Replace invalid constant suffixes.Janis Johnson3-20/+25
* gcc.dg/dfp/func-mixed.c: Replace invalid constant suffixes. * gcc.dg/dfp/operator-assignment.c: Ditto. From-SVN: r124729
2007-05-14tree-ssa-loop-niter.c (record_estimate): Use GGC_NEW to allocate struct ↵Zdenek Dvorak12-67/+133
nb_iter_bound. * tree-ssa-loop-niter.c (record_estimate): Use GGC_NEW to allocate struct nb_iter_bound. (free_numbers_of_iterations_estimates_loop): Use ggc_free. * gengtype.c (open_base_files): Add cfhloop.h to the list of includes. * cfgloopmanip.c (place_new_loop): Vector larray is gc-allocated. * tree-scalar-evolution.c: Include gt-tree-scalar-evolution.h. (struct scev_info_str, scalar_evolution_info): Add GTY markers. (new_scev_info_str): Use GGC_NEW to allocate struct scev_info_str. (del_scev_info): Use ggc_free. (scev_initialize): Allocate scalar_evolution_info in gc memory. * loop-init.c: Include ggc.h. (loop_optimizer_init): Use GGC_CNEW to allocate struct loops. (loop_optimizer_finalize): Use ggc_free. * tree-ssa-loop.c (pass_tree_unswitch, pass_vectorize, pass_linear_transfom, pass_empty_loop, pass_complete_unroll, pass_iv_optimize): Add TODO_ggc_collect. * function.h (struct function): Remove skip marker from x_current_loops. * cfgloop.c: Include ggc.h. (flow_loops_free, flow_loop_free): Free the loop descriptions in gc memory. (establish_preds): Vector superloops is gc allocated. (alloc_loop): Allocate loop using GGC_CNEW. Allocate head of loop->exits list. (flow_loops_find): Vector larray is gc allocated. (loop_exit_free): Use ggc_free. (rescan_loop_exit): Use GGC_NEW to allocate struct loop_exit. Reflect that head of exits list is now not a part of struct loop. (record_loop_exits): Allocate exits table in gc memory. (get_loop_exit_edges, verify_loop_structure, single_exit): Reflect that head of exits list is now not a part of struct loop. * cfgloop.h (struct lpt_decision, struct nb_iter_bound, struct loop_exit): Add GTY marker. (struct loop): Add GTY marker. Make superloops vector gc allocated. Add skip marker to aux field. Make head of exits list a separate object. (struct loops): Add GTY marker. Make larray vector gc allocated. Add param marker to exits table. (get_loops): Type changed. * Makefile.in (tree-scalar-evolution.o): Add gt-tree-scalar-evolution.h dependency. (cfgloop.o, loop-init.o): Add ggc.h dependency. (GTFILES): Add cfgloop.h and tree-scalar-evolution.c. * basic-block.h (struct basic_block_def): Remove skip marker from loop_father field. From-SVN: r124727