1. 27 Jan, 2007 6 commits
    • re PR fortran/30407 ([4.1 only] Elemental functions in WHERE assignments wrongly rejected) · a00b8d1a
      2007-01-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30407
      	* trans-expr.c (gfc_conv_operator_assign): New function.
      	* trans.h : Add prototype for gfc_conv_operator_assign.
      	* trans-stmt.c (gfc_trans_where_assign): Add a gfc_symbol for
      	a potential operator assignment subroutine.  If it is non-NULL
      	call gfc_conv_operator_assign instead of the first assignment.
      	( gfc_trans_where_2): In the case of an operator assignment,
      	extract the argument expressions from the code for the
      	subroutine call and pass the symbol to gfc_trans_where_assign.
      	resolve.c (resolve_where, gfc_resolve_where_code_in_forall,
      	gfc_resolve_forall_body): Resolve the subroutine call for
      	operator assignments.
      
      2007-01-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30407
      	* gfortran.dg/where_operator_assign_1.f90: New test.
      	* gfortran.dg/where_operator_assign_2.f90: New test.
      	* gfortran.dg/where_operator_assign_3.f90: New test.
      
      From-SVN: r121235
      Paul Thomas committed
    • * gnu/classpath/jdwp/natVMVirtualMachine.cc · ea624428
              (getAllClassMethods): Move error handling to ...
              (throw_jvmti_error): ... here.
              (jdwpClassPrepareCB): New function.
              (jdwpThreadEndCB): New function.
              (jdwpThreadStartCB): New function.
              (jdwpVMDeathCB): New function.
              (jdwpVMInitCB): Define and enable callbacks for
              ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
      
      From-SVN: r121233
      Keith Seitz committed
    • tracer.c (rest_of_handle_tracer): We already cleaned up the CFG in tracer() so… · 9eab6785
      tracer.c (rest_of_handle_tracer): We already cleaned up the CFG in tracer() so don't do it here again.
      
      	* tracer.c (rest_of_handle_tracer): We already cleaned
      	up the CFG in tracer() so don't do it here again.
      	* cfgcleanup.c (rest_of_handle_jump2): Don't repeat
      	cleanup_cfg here, either.  And don't call renumber_insns.
      
      	* cfgrtl.c (rtl_verify_flow_info_1): Don't verify that BB_END
      	and BB_HEAD are in the insn stream here.  Instead make sure
      	that BB_INSN is valid on all insns.  Also, do check here that
      	there are no pending branch predictions...
      	(rtl_verify_flow_info): ...instead of doing it here.  Checks
      	for BB_END and BB_HEAD moved from rtl_verify_flow_info_1 to
      	here.
      
      From-SVN: r121231
      Steven Bosscher committed
    • Add 'PR fortran/30278' to my previous commit. · 90e7f69d
      From-SVN: r121229
      Steven G. Kargl committed
    • i386.c (ix86_swap_binary_operands_p): New helper function to simplify/factorize… · ffa1b3c6
      i386.c (ix86_swap_binary_operands_p): New helper function to simplify/factorize operand order canonicalization.
      
      
      	* config/i386/i386.c (ix86_swap_binary_operands_p): New helper
      	function to simplify/factorize operand order canonicalization.
      	(ix86_fixup_binary_operands): Reorganize using the above function.
      	(ix86_binary_operator_ok): Likewise.
      
      From-SVN: r121227
      Roger Sayle committed
    • Daily bump. · 18763871
      From-SVN: r121225
      GCC Administrator committed
  2. 26 Jan, 2007 17 commits
  3. 25 Jan, 2007 17 commits
    • re PR fortran/30437 (-Wno-all is rejected (even when fortran is not included)) · 4428e682
      2007-01-25  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR fortran/30437
      fortran/
      	* lang.opt (Wall): Remove RejectNegative.
      	* options.c (gfc_handle_option): Wall can be disabled.
      	(set_Wall): Add a parameter for disabling Wall.
      testsuite/	
      	* gcc.dg/Wall.c: New.
      	* gcc.dg/Wno-all.c: New.
      	* gfortran.dg/Wall.f90: New.
      	* gfortran.dg/Wno-all.f90: New.
      
      From-SVN: r121186
      Manuel López-Ibáñez committed
    • jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare. · 161a649c
              * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
              * gnu/classpath/jdwp/natVMVirtualMachine.cc
              (_Jv_GetJDWP_JVMTIEnv): New function.
              * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
              (getSignature): Implement.
              (getModifiers): Implement.
      
      From-SVN: r121185
      Keith Seitz committed
    • re PR target/25127 (internal compiler error: in rs6000_emit_prologue, at… · 22fa69da
      re PR target/25127 (internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000.c:14039)
      
      2007-01-24  Geoffrey Keating  <geoffk@apple.com>
      
      	PR 25127
      	* config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin,
      	save Altivec registers in an eh_return function.
      	(compute_vrsave_mask): Likewise.
      	(rs6000_stack_info): Correct AIX/Darwin stack alignment computation
      	for saving Altivec registers.
      	(rs6000_emit_prologue): Don't allocate stack twice in
      	eh_return function.  Correct expected value of altivec_save_offset
      	when using save_world.  Describe save of R0 to stack when using
      	save_world.  Describe stack pointer adjustment when using
      	save_world.  Remove duplicated eh_return parameter register saving.
      	Update sp_offset variable after save_world.
      	* config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove
      	darwin-world.asm.
      	(LIB2FUNCS_EXTRA): Add darwin-world.asm.
      	* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64
      	implies Altivec.
      
      Index: gcc/testsuite/ChangeLog
      2007-01-24  Geoffrey Keating  <geoffk@apple.com>
      
      	* gcc.target/powerpc/darwin-ehreturn-1.c: New.
      	* g++.dg/eh/simd-2.C: Also run on Darwin.
      	* g++.dg/eh/simd-3.C: New.
      	* g++.dg/eh/simd-4.C: New.
      
      From-SVN: r121184
      Geoffrey Keating committed
    • configure, [...]: Rebuilt. · 9fe94447
      2007-01-25  Andrew Haley  <aph@redhat.com>
      
      	* configure, Makefile.in, include/config.h.in: Rebuilt.
      	* Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
      	* configure.ac: Don't check for libmagic.
      	* java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
      	p_magic_close, p_magic_buffer): New globals.
      	(init): Look up 'magic' functions.
      	(guessContentTypeFromBuffer): Updated.
      
      From-SVN: r121183
      Andrew Haley committed
    • re PR target/30272 (Build failure under SGI Irix (GFortran)) · a942e89f
      2007-01-25  Daniel Franke <franke.daniel@gmail.com>
      
              PR target/30272
              * inclhack.def(broken_cabs): Also remove definition of cabsl.
              * fixincl.x: Regenerate.
              * tests/base/math.h: Update.
      
      From-SVN: r121182
      Daniel Franke committed
    • * config.gcc (ia64*-*-hpux*): Make posix threads the default. · 79e8b6c0
      From-SVN: r121180
      Steve Ellcey committed
    • jvmti.cc (_Jv_JVMTI_GetMethodName): New function. · ff393407
              * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
              (_Jv_JVMTI_Interface): Define GetMethodName.
              * testsuite/libjava.jvmti/getmethodname.java: New file.
              * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
              * testsuite/libjava.jvmti/getmethodname.out: New file.
      
      From-SVN: r121179
      Keith Seitz committed
    • re PR target/30182 (FAIL: gcc.dg/pr28796-2.c (test for excess errors)) · 7d522000
      	PR other/30182
      	* config/pa/pa.c (pa_init_builtins): Set asm names for finite routines.
      	* config/ia64/ia64.c (ia64_init_builtins):  Ditto.
      
      From-SVN: r121178
      Steve Ellcey committed
    • decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of TREE_CONSTANT_OVERFLOW. · cd259a98
      
      	* decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of
      	TREE_CONSTANT_OVERFLOW.
      	(allocatable_size_p, annotate_value): Likewise.
      	* trans.c (gnat_to_gnu): Likewise.
      	* utils.c (unchecked_convert): Likewise.
      	* utils2.c (build_simple_component_ref): Likewise.
      
      From-SVN: r121177
      Roger Sayle committed
    • configure.ac: Add --enable-version-specific-runtime-libs. · d6efbf5a
      	* configure.ac: Add --enable-version-specific-runtime-libs.
      	Correct $slibdir default.
      	* configure: Regenerated.
      
      From-SVN: r121176
      Daniel Jacobowitz committed
    • libjava.exp (exec_gij): Change [ to { in if statement. · fd1830eb
      2007-01-25  Kyle Galloway  <kgallowa@redhat.com>
      
      	* testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in 
      	if statement.
      
      From-SVN: r121174
      Kyle Galloway committed
    • Kyle Galloway 2007-01-25 <kgallowa@redhat.com> · 4ca40ac0
          * ChangeLog: Add ChangeLog entry that didn't apply.
      
      From-SVN: r121173
      Kyle Galloway committed
    • jvmti-interp.exp: New file. · 05296a28
      2007-01-25  Kyle Galloway  <kgallowa@redhat.com>
      
          * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
          * libjava/testsuite/libjava.jvmti/interp: New folder.
          * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
      
      From-SVN: r121172
      Kyle Galloway committed
    • streambuf_iterator.h (istreambuf_iterator<>::equal): Simplify. · 6bfcbf0d
      2007-01-25  Nathan Myers  <ncm@cantrip.org>
      
      	* include/bits/streambuf_iterator.h (istreambuf_iterator<>::equal):
      	Simplify.
      
      From-SVN: r121170
      Nathan Myers committed
    • invoke.texi (-Wcoverage-mismatch): Document. · 16c1c158
      2007-01-25  Richard Guenther  <rguenther@suse.de>
      
      	* doc/invoke.texi (-Wcoverage-mismatch): Document.
      	* common.opt (-Wcoverage-mismatch): New warning option.
      	* coverage.c (get_coverage_counts): Ignore coverage mismatch
      	if -Wcoverage-mismatch is given.
      
      	* gcc.dg/tree-prof/tree-prof.exp: Define _PROFILE_GENERATE
      	and _PROFILE_USE.
      	* gcc.dg/tree-prof/wcoverage-mismatch.c: New testcase.
      
      From-SVN: r121169
      Richard Guenther committed
    • ipa-1.c: Update scan tree dump. · 04a91788
      2007-01-25  Razya Ladelsky  <razya@il.ibm.com>
      
              * gcc.dg/ipa/ipa-1.c: Update scan tree dump.
              * gcc.dg/ipa/ipa-2.c: Update scan tree dump.
              * gcc.dg/ipa/ipa-3.c: Update scan tree dump.
              * gcc.dg/ipa/ipa-4.c: Update scan tree dump.
              * gcc.dg/ipa/ipa-5.c: Update scan tree dump.
              * gcc.dg/ipa/ipa-6.c: Update scan tree dump.
              * gcc.dg/ipa/ipa-7.c: New testcase.
      
      From-SVN: r121168
      Razya Ladelsky committed
    • ipa-cp.c (ipcp_insert_stage, [...]): Support for SSA. · b9c369e6
      2007-01-25  Razya Ladelsky  <razya@il.ibm.com>
      
              * ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA.
                (ipcp_driver): Change to static definition.
                Add dumping of the ifunctions.
                (constant_val_insert): Remove unused parameter. Support for SSA.
                (ipcp_propagate_const): Support for SSA.
                (ipcp_profile_bb_print): Print only analyzed nodes.
                (ipcp_replace_map_create): Remove support for Fortran constant
                for now.
                * ipa-prop.c (ipa_method_modify_stmt,
                ipa_callsite_compute_param): Support for SSA.
                * ipa-prop.h (ipcp_driver): Remove declaration.
                (IS_VALID_TREE_MAP_INDEX): Add define.
      
      From-SVN: r121167
      Razya Ladelsky committed