- Jan 24, 2007
-
-
Jakub Jelinek authored
PR middle-end/30421 * omp-low.c (lower_omp_for_lastprivate): Add dlist argument. If lower_lastprivate_clauses emits some statements, append them to dlist rather than body_p and to body_p append an initializer. (lower_omp_for): Adjust caller. * gcc.dg/gomp/pr30421.c: New test. From-SVN: r121131
-
Steve Ellcey authored
* gcc.target/ia64/versionid-1.c: New test. * gcc.target/ia64/versionid-2.c: New test. From-SVN: r121130
-
Steve Ellcey authored
From-SVN: r121129
-
Steve Ellcey authored
* target.h (globalize_decl_name): New. * target-def.h (TARGET_ASM_GLOBALIZE_DECL_NAME): New. * output.h (default_globalize_decl_name): New. * varasm.c (asm_output_bss): Use globalize_decl_name instead of globalize_label. (globalize_decl): Ditto. (default_globalize_decl_name): New. * config/ia64/ia64.c (ia64_globalize_decl_name): New. (ia64_handle_version_id_attribute): New. (TARGET_ASM_GLOBALIZE_DECL_NAME): New. (ia64_asm_output_external): Use globalize_decl_name instead of globalize_label. * doc/extend.texi (version_id): New pragma. * doc/tm.texi (ARGET_ASM_GLOBALIZE_DECL_NAME): New target hook. From-SVN: r121128
-
Andreas Tobler authored
ChangeLog: Fix Typo. From-SVN: r121127
-
Andrew Haley authored
2007-01-24 Andrew Haley <aph@redhat.com> * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere. (getClassContext) Add a barrier to prevent GetStackWalkerStack() from being sibcalled. 2007-01-24 Andrew Haley <aph@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Set the source filename. * sources.am: Rebuild. From-SVN: r121119
-
Andrew Haley authored
2007-01-24 Andrew Haley <aph@redhat.com> * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): current_class is a type node, not a decl, so use TYPE_SYNTHETIC not CLASS_SYNTHETIC. 2007-01-22 Andrew Haley <aph@redhat.com> * builtins.c (VMSupportsCS8_builtin): New function. From-SVN: r121118
-
Benjamin Kosnik authored
2007-01-24 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/29722 continued * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add libsupc++ library directory. * testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded path specification. From-SVN: r121117
-
Andreas Krebbel authored
unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. * unwind-dw2.c (extract_cie_info, execute_stack_op, execute_cfa_program, uw_frame_state_for, uw_update_context_1): Likewise. * unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise. * unwind-pe.h (read_uleb128, read_sleb128, read_encoded_value_with_base): Likewise. * unwind-generic.h: Define _sleb128_t and _uleb128_t types. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec, get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. From-SVN: r121116
-
Richard Guenther authored
2007-01-24 Richard Guenther <rguenther@suse.de> PR testsuite/30181 * gcc.dg/builtins-57.c: Change to a link-time testcase to support non-C99 targets. From-SVN: r121115
-
Richard Guenther authored
2007-01-24 Richard Guenther <rguenther@suse.de> * builtins.c (expand_builtin_cexpi): Get the fndecl for cexp in the correct way. From-SVN: r121114
-
Jan Hubicka authored
* gcc.dg/tree-ssa/pr23382.c: Avoid DCE from eliminating dead variable. * tree-ssa-dce.c (eliminate_unnecesary_stmts): Remove dead LHS of calls. From-SVN: r121108
-
Andreas Krebbel authored
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * c-cppbuiltin.c (builtin_define_type_sizeof): New function. (c_cpp_builtins): New builtin macros: __SIZEOF_INT__, __SIZEOF_LONG__, __SIZEOF_LONG_LONG__, __SIZEOF_SHORT__, __SIZEOF_POINTER__, __SIZEOF_FLOAT__, __SIZEOF_DOUBLE__, __SIZEOF_LONG_DOUBLE__, __SIZEOF_SIZE_T__, __SIZEOF_WCHAR_T__, __SIZEOF_WINT_T__ and __SIZEOF_PTRDIFF_T__. * doc/cpp.texi: Documentation for the new builtin macros added. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.c-torture/compile/sizeof-macros-1.c: New testcase. From-SVN: r121107
-
Uros Bizjak authored
* config/i386/i386.md (tanxf2, tan<mode>2, atan<mode>2, log<mode>2, log10<mode>2, log2<mode>2, expxf2, exp10xf2, exp2xf2): Use op2 instead of operands[2] to avoid access past the end of array. From-SVN: r121106
-
Richard Sandiford authored
reload1.c (emit_reload_insns): Pass the reload register for a non-spill output reload through forget_old_reloads_1. gcc/ * reload1.c (emit_reload_insns): Pass the reload register for a non-spill output reload through forget_old_reloads_1. From-SVN: r121105
-
Andrew Pinski authored
2007-01-23 Andrew Pinski <pinskia@gmail.com> PR objc/27438 * objc-act.c (objc_add_static_instance): Mark the decl as TREE_USED. 2007-01-23 Andrew Pinski <pinskia@gmail.com> PR objc/27438 * objc.dg/const-str-12.m: New test. From-SVN: r121102
-
Andrew Pinski authored
2007-01-23 Andrew Pinski <pinskia@gmail.com> PR java/30454 * jcf-io.c (opendir_in_zip): Close the file and free zipf before returning after an error. From-SVN: r121101
-
Jerry DeLisle authored
2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/30532 * gfortran.dg/ctrl-z.f90: New test. 2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/30481 * gfortran.dg/namelist_assumed_char.f90: New test. From-SVN: r121100
-
Jerry DeLisle authored
2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/30532 * scanner.c (load_line): Remove check fot ctrl-z and don't gobble. 2007-01-23 Paul Thomas <pault@gcc.gnu.org> PR fortran/30481 * match.c (gfc_match_namelist): Add check for assumed size character in namelist and provide error if found. From-SVN: r121099
-
GCC Administrator authored
From-SVN: r121097
-
- Jan 23, 2007
-
-
Marco Trudel authored
2007-01-23 Marco Trudel <mtrudel@gmx.ch> * java/util/Arrays.java (binarySearch): Change comparison order. From-SVN: r121091
-
Simon Martin authored
2007-01-23 Simon Martin <simartin@users.sourceforge.net> PR c++/27492 * decl.c (duplicate_decls): Don't reset DECL_INVALID_OVERRIDER_P for function decls. From-SVN: r121089
-
Ian Lance Taylor authored
cp/: * typeck.c (convert_for_assignment): Only warn about a = b = c when converting to bool. testsuite/: * g++.dg/warn/Wparentheses-24.C: New test. From-SVN: r121087
-
H.J. Lu authored
2007-01-23 H.J. Lu <hongjiu.lu@intel.com> PR libgcj/30550 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed. * Makefile.in: Regenerated. From-SVN: r121086
-
Joseph Myers authored
gcc: * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define _SOFT_DOUBLE if doubles use software floating-point. * config/rs6000/libgcc-ppc-glibc.ver: Export additional long double functions if _SOFT_DOUBLE, not _SOFT_FLOAT. * config/rs6000/darwin-ldouble.c: Also compile functions for hard-float without FPRs. Use fmsub function for all __NO_FPRS__ cases. Compile extra functions if _SOFT_DOUBLE, not _SOFT_FLOAT. * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Remove commented-out long double override. (CPP_LONGDOUBLE_DEFAULT_SPEC): Likewise. * config/rs6000/eabispe.h: Likewise. * config/rs6000/rs6000.c (rs6000_override_options): Don't override long double for non-SPE. (rs6000_handle_option): Likewise. (invalid_e500_subreg): Disallow more subregs involding DImode, DFmode, TImode or TFmode. (rs6000_legitimate_offset_address_p): Check TFmode offsets for E500 double. (legitimate_lo_sum_address_p): Also check for TFmode for E500 double. (rs6000_legitimize_address): Also handle TFmode for E500 double. (rs6000_legitimize_reload_address): Also handle TFmode for E500 double. (rs6000_legitimate_address): Also check for TFmode for E500 double. (rs6000_emit_move): Use DFmode subregs of TFmode for E500 double. (spe_build_register_parallel): Handle TFmode and TCmode. (rs6000_spe_function_arg): Handle TFmode and TCmode for E500 double. (function_arg): Handle TFmode and TCmode for E500 double. (rs6000_init_libfuncs): Initialize extra libfuncs for soft double in general. (print_operand): Handle TFmode and TImode for %y. (rs6000_generate_compare): Handle TFmode comparisons for E500 double. (spe_func_has_64bit_regs_p): Check for TFmode for E500 double. (rs6000_function_value): Handle TFmode and TCmode for E500 double. (rs6000_libcall_value): Handle TFmode and TCmode for E500 double. * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Check for TFmode for E500 double. * config/rs6000/rs6000.md (FP): Allow TF for E500 double. (floatsidf2): Enable for E500 double. (movtf_softfloat): Use rs6000_nonimmediate_operand. (extenddftf2): Change to extenddftf2_fprs. (extenddftf2): Call gen_spe_extenddftf2 or gen_extenddftf2_fprs depending on TARGET_E500_DOUBLE. (extendsftf2): Enable for E500 double. (trunctfdf2): Enable for E500 double. (trunctfsf2): Change to trunctfsf2_fprs. (trunctfsf2): Call gen_spe_trunctfsf2 or gen_trunctfsf2_fprs depending on TARGET_E500_DOUBLE. (floatsitf2): Enable for E500 double. (fix_trunctfsi2): Change to fix_trunctfsi2_fprs. (fix_trunctfsi2): Call gen_spe_fix_trunctfsi2 or gen_fix_trunctfsi2_fprs depending on TARGET_E500_DOUBLE. (negtf2): Change to negtf2_internal. (negtf2): New expander. (abstf2): Enable for E500 double. Call gen_spe_abstf2_tst, gen_spe_abstf2_cmp or gen_abstf2_internal depending on TARGET_E500_DOUBLE and flag_unsafe_math_optimizations. (movdi_internal32): Use rs6000_nonimmediate_operand. (unnamed splitter): Likewise. * config/rs6000/spe.md (CMPTFEQ_GPR, TSTTFEQ_GPR, CMPTFGT_GPR, TSTTFGT_GPR, CMPTFLT_GPR, TSTTFLT_GPR): New unspecs. (SPE64TF, DITI): New mode macros. (frob_df_di): Change to frob_<SPE64:mode>_<DITI:mode>; allow more modes. (frob_tf_ti): New. (frob_<mode>_di_2): New. (frob_tf_di_8_2): New. (frob_di_df): Change to frob_di_<mode>; allow more modes. (frob_ti_tf): New. (frob_di_df_2): Change to frob_<DITI:mode>_<SPE64:mode>_2; allow more modes. (frob_ti_<mode>_8_2): New. (frob_ti_tf_2): New. (mov_si<mode>_e500_subreg0, mov_si<mode>_e500_subreg0_2, mov_si<mode>_e500_subreg4, mov_si<mode>_e500_subreg4_2): Allow TFmode. (mov_sitf_e500_subreg8, mov_sitf_e500_subreg8_2, mov_sitf_e500_subreg12, mov_sitf_e500_subreg12_2): New. (spe_trunctfdf2_internal1, spe_trunctfsf2, spe_extenddftf2, spe_fix_trunctfsi2, spe_fix_trunctfsi2_internal, spe_negtf2_internal, spe_abstf2_cmp, spe_abstf2_tst): New. (cmptfeq_gpr, tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr, tsttflt_gp): New. libgcc: * config/rs6000/t-ldbl128: Always use -mlong-double-128. From-SVN: r121085
-
Roger Sayle authored
* call.c (null_ptr_cst_p): Replace use of TREE_CONSTANT_OVERFLOW with TREE_OVERFLOW. * typeck.c (ignore_overflows): Remove the remaining uses of TREE_CONSTANT_OVERFLOW. From-SVN: r121084
-
Richard Guenther authored
2007-01-23 Richard Guenther <rguenther@suse.de> PR testsuite/30560 * ada/acats/run_acats: Do not call gnatmake or gnatchop with full path. From-SVN: r121083
-
Richard Guenther authored
2007-01-23 Richard Guenther <rguenther@suse.de> PR bootstrap/30541 * Makefile.def (flags_to_pass): Add GNATBIND and GNATMAKE. * Makefile.tpl (GNATBIND): Substitute it. (GNATMAKE): Likewise. (POSTSTAGE1_FLAGS_TO_PASS): Pass staged GNATBIND instead of STAGE_PREFIX. * Makefile.in: Regenerate. * configure: Regenerate. config/ * acx.m4 (ACX_PROG_GNAT): Check for gnatmake. libada/ * Makefile.in (STAGE_PREFIX): Do not define. (FLAGS_TO_PASS): Do not pass STAGE_PREFIX. gnattools/ * Makefile.in (STAGE_PREFIX): Do not define. ada/ * Make-lang.in: Replace invocations of gnatmake with $(GNATMAKE). (gnatboot2): Pass staged GNATMAKE instead of STAGE_PREFIX. (gnatboot3): Likewise. (GNATBIND): Do not define. * Makefile.in (GNATBIND): Do not define. From-SVN: r121082
-
Ian Lance Taylor authored
* Makefile.in (OBJS-common): Reformat, alphabetize, but put insn-*.o first. (OBJS-archive): Reformat, alphabetize. (OBJS): Change out_object_file to OBJS-md. From-SVN: r121081
-
Uros Bizjak authored
* config/i386/i386.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P, JUMP_P and CALL_P predicates where applicable. * config/i386/i386.c: Ditto. * config/i386/i386.md: Ditto. * config/i386/mmx.md: Ditto. * config/i386/predicates.md: Ditto. From-SVN: r121079
-
Keith Seitz authored
(getClassMethod): Implement. From-SVN: r121078
-
Keith Seitz authored
* java/lang/Class.h (_Jv_GetClassStatus): Declare. * java/lang/natClass.cc (_Jv_GetClassStatus): New function. * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function. (_Jv_JVMTI_Interface): Define GetClassStatus. From-SVN: r121074
-
Tom Tromey authored
* configure: Rebuilt. * configure.ac (GCJ): Reverted patch of 2006-12-20. From-SVN: r121073
-
GCC Administrator authored
From-SVN: r121071
-
- Jan 22, 2007
-
-
Tom Tromey authored
PR java/29812: * testsuite/libjava.jni/pr29812.java: New file. * testsuite/libjava.jni/pr29812_injar.java: New file. * testsuite/libjava.jni/pr29812_injar.jar: New file. * testsuite/libjava.jni/pr29812.out: New file. * testsuite/libjava.jni/pr29812_injar.c: New file. * testsuite/libjava.jni/pr29812_injar.h: New file. * testsuite/libjava.jni/pr29812.jar: New file. * testsuite/libjava.jni/pr29812.c: New file. * testsuite/libjava.jni/pr29812.h: New file. * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): New proc. (gcj_jni_invocation_test_one): Use it. (gcj_jni_pr29812): New proc. (gcj_jni_run): Use it. * java/lang/natRuntime.cc (_load): Push a new system frame before calling JNI_OnLoad. * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare. (_Jv_GetJNIEnvNewFrameWithLoader): Likewise. * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char. <allocated_p>: Now bool. <loader>: New field. (_Jv_JNI_EnsureLocalCapacity): Updated. (_Jv_JNI_NewLocalRef): Likewise. (_Jv_JNI_NewLocalRef): Likewise. (_Jv_JNI_PopLocalFrame): Likewise. (_Jv_JNI_FindClass): Likewise. (_Jv_GetJNIEnvNewFrame): Likewise. (_Jv_JNI_AttachCurrentThread): Likewise. (_Jv_GetJNIEnvNewFrameWithLoader): New function. (_Jv_GetJNIEnvNewFrame): Use it. * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'. From-SVN: r121064
-
Andreas Schwab authored
From-SVN: r121063
-
Jan Hubicka authored
* passes.c (init_optimization_passes): Do not rerun pass_early_warn_uninitialized. From-SVN: r121060
-
Tom Tromey authored
From-SVN: r121058
-
Paolo Carlini authored
stl_algobase.h (__fill_aux(unsigned char*, unsigned char*, const unsigned char&), [...]): Take the character by value. 2007-01-22 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (__fill_aux(unsigned char*, unsigned char*, const unsigned char&), __fill_aux(signed char*, signed char*, const signed char&), __fill_aux(char*, char*, const char&), __fill_aux(wchar_t*, wchar_t*, const wchar_t&)): Take the character by value. (__fill_n_aux): Likewise. From-SVN: r121056
-
Andrew Haley authored
2007-01-22 Andrew Haley <aph@redhat.com> * sysdep/alpha/locks.h (write_barrier): New. From-SVN: r121053
-