OSDN Git Service

15 years ago2007-01-23 Marco Trudel <mtrudel@gmx.ch>
tromey [Tue, 23 Jan 2007 23:30:54 +0000 (23:30 +0000)]
2007-01-23  Marco Trudel  <mtrudel@gmx.ch>

* java/util/Arrays.java (binarySearch): Change comparison order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121091 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-23 Simon Martin <simartin@users.sourceforge.net>
simartin [Tue, 23 Jan 2007 22:33:51 +0000 (22:33 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121089 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agocp/:
ian [Tue, 23 Jan 2007 21:46:51 +0000 (21:46 +0000)]
* typeck.c (convert_for_assignment): Only warn about a = b = c
when converting to bool.
* g++.dg/warn/Wparentheses-24.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121087 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 23 Jan 2007 20:01:40 +0000 (20:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121086 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc:
jsm28 [Tue, 23 Jan 2007 19:38:33 +0000 (19:38 +0000)]
* 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.
* 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
(rs6000_legitimize_address): Also handle TFmode for E500 double.
(rs6000_legitimize_reload_address): Also handle TFmode for E500
(rs6000_legitimate_address): Also check for TFmode for E500
(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
(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
(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,
(SPE64TF, DITI): New mode macros.
(frob_df_di): Change to frob_<SPE64:mode>_<DITI:mode>; allow more
(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
(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.

* config/rs6000/t-ldbl128: Always use -mlong-double-128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121085 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * call.c (null_ptr_cst_p): Replace use of TREE_CONSTANT_OVERFLOW with
sayle [Tue, 23 Jan 2007 18:17:40 +0000 (18:17 +0000)]
* call.c (null_ptr_cst_p): Replace use of TREE_CONSTANT_OVERFLOW with
* typeck.c (ignore_overflows): Remove the remaining uses of

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121084 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-23 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 23 Jan 2007 17:27:22 +0000 (17:27 +0000)]
2007-01-23  Richard Guenther  <rguenther@suse.de>

PR testsuite/30560
* ada/acats/run_acats: Do not call gnatmake or gnatchop
with full path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121083 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-23 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 23 Jan 2007 16:37:09 +0000 (16:37 +0000)]
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.
* Makefile.in: Regenerate.
* configure: Regenerate.

* acx.m4 (ACX_PROG_GNAT): Check for gnatmake.

* Makefile.in (STAGE_PREFIX): Do not define.

* Makefile.in (STAGE_PREFIX): Do not define.

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121082 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * Makefile.in (OBJS-common): Reformat, alphabetize, but put
ian [Tue, 23 Jan 2007 15:12:44 +0000 (15:12 +0000)]
* Makefile.in (OBJS-common): Reformat, alphabetize, but put
insn-*.o first.
(OBJS-archive): Reformat, alphabetize.
(OBJS): Change out_object_file to OBJS-md.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121081 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/i386/i386.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P,
uros [Tue, 23 Jan 2007 07:14:26 +0000 (07:14 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121079 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gnu/classpath/jdwp/natVMVirtualMachine.cc
kseitz [Tue, 23 Jan 2007 06:40:49 +0000 (06:40 +0000)]
    * gnu/classpath/jdwp/natVMVirtualMachine.cc
        (getClassMethod): Implement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121078 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * java/lang/Class.h (_Jv_GetClassStatus): Declare.
kseitz [Tue, 23 Jan 2007 01:06:10 +0000 (01:06 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121074 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * configure: Rebuilt.
tromey [Tue, 23 Jan 2007 00:22:13 +0000 (00:22 +0000)]
* configure: Rebuilt.
* configure.ac (GCJ): Reverted patch of 2006-12-20.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121073 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Tue, 23 Jan 2007 00:18:02 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121071 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR java/29812:
tromey [Mon, 22 Jan 2007 23:04:16 +0000 (23:04 +0000)]
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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121064 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/m68k/m68k.h: Fix comment.
schwab [Mon, 22 Jan 2007 21:16:24 +0000 (21:16 +0000)]
* config/m68k/m68k.h: Fix comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121063 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * passes.c (init_optimization_passes): Do not rerun
hubicka [Mon, 22 Jan 2007 18:51:56 +0000 (18:51 +0000)]
* passes.c (init_optimization_passes): Do not rerun

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121060 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * libtool-version: Bump current to 9.
tromey [Mon, 22 Jan 2007 17:41:36 +0000 (17:41 +0000)]
* libtool-version: Bump current to 9.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121058 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-22 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 22 Jan 2007 15:19:40 +0000 (15:19 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121056 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-22 Andrew Haley <aph@redhat.com>
aph [Mon, 22 Jan 2007 12:27:48 +0000 (12:27 +0000)]
2007-01-22  Andrew Haley  <aph@redhat.com>

        * sysdep/alpha/locks.h (write_barrier): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121053 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-22 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 22 Jan 2007 11:11:00 +0000 (11:11 +0000)]
2007-01-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/30038
* tree-ssa-math-opts.c (maybe_record_sincos): New static helper
(execute_cse_sincos_1): Likewise.
(execute_cse_sincos): Likewise.
(gate_cse_sincos): Likewise.
(pass_cse_sincos): New pass CSEing sin() and cos() calls using
the cexpi() canonicalization of sincos().
* tree-pass.h (pass_cse_sincos): Declare.
* passes.c (init_optimization_passes): New pass pas_cse_sincos.

* gcc.dg/builtins-62.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121052 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoTypo fix.
bje [Mon, 22 Jan 2007 05:54:27 +0000 (05:54 +0000)]
Typo fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121051 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * intrinsic.texi (ACHAR): Added cross-references.
brooks [Mon, 22 Jan 2007 02:46:59 +0000 (02:46 +0000)]
* intrinsic.texi (ACHAR): Added cross-references.
(CHAR): Put cross-references in alphabetical order.
(IACHAR): Added cross-references.
(ICHAR): Added cross-references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121049 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-21 Andrew Pinski <pinskia@gmail.com>
pinskia [Mon, 22 Jan 2007 00:43:56 +0000 (00:43 +0000)]
2007-01-21  Andrew Pinski  <pinskia@gmail.com>

        PR target/30519
        * config.host (alpha*-*-linux*): Set extra_parts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121047 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Mon, 22 Jan 2007 00:17:46 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121045 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR rtl-optimization/29329
ebotcazou [Sun, 21 Jan 2007 22:32:39 +0000 (22:32 +0000)]
PR rtl-optimization/29329
* combine.c (replaced_rhs_insn): Rename to i2mod.
(replaced_rhs_value): Rename to i2mod_new_rhs.
(i2mod_old_rhs): New global variable.
(combine_instructions): Adjust for above change.  Save a copy of
the old RHS into i2mod_old_rhs when the contents of a REG_EQUAL
note are substituted in the second instruction.
(distribute_notes) <REG_DEAD>: Adjust for above change.  Do not
ditch the note if it pertains to the second eliminated register
and this register is mentioned in i2mod_old_rhs.

2006-09-12  Eric Botcazou  <ebotcazou@libertysurf.fr>

* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
the insn to which the note was originally attached.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121037 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * runtime/error.c: Include sys/time.h before sys/resource.h.
fxcoudert [Sun, 21 Jan 2007 21:04:53 +0000 (21:04 +0000)]
* runtime/error.c: Include sys/time.h before sys/resource.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121036 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Sun, 21 Jan 2007 20:51:53 +0000 (20:51 +0000)]
2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/30525
* intrinsics/string_intrinsics.c(compare_string):  Make
sure that comparisons are done unsigned.

2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/30525
* gfortran.dg/char_comparison_1.f:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121035 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * ipa-inline.c (inlining_mode): Comment, move up.
hubicka [Sun, 21 Jan 2007 18:35:27 +0000 (18:35 +0000)]
* ipa-inline.c (inlining_mode): Comment, move up.
(cgraph_decide_inlining_incrementally): Do not perform inlining itself; fix
handling of flattening of self recursive functions.
(cgraph_find_cycles): Remove.
(cgraph_flatten_node): Remove.
(cgraph_decide_inlining): Use incremental inliner to handle flattening.
(try_inline): New function.
(cgraph_early_inlining): Update call of cgraph_decide_inlining_incrementally.
Apply inlining here.
(apply_inline): Update call of cgraph_decide_inlining_incrementally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121034 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2006-12-09 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 21 Jan 2007 16:16:10 +0000 (16:16 +0000)]
2006-12-09  Tobias Burnus  <burnus@net-b.de>

        PR libfortran/30015
        * intrinsics/date_and_time.c (date_and_time): Fix case where time
          can go backwards.
        * configure.ac: Remove AC_TRY_RUN test for timezone in
        * acinclude.m4: Ditto.
        * configure: Regenerate.
        * config.h.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121033 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-21 Dirk Mueller <dmueller@suse.de>
mueller [Sun, 21 Jan 2007 16:12:10 +0000 (16:12 +0000)]
2007-01-21  Dirk Mueller  <dmueller@suse.de>

        PR bootstrap/30511
        * tree-vrp.c (check_array_bounds): do not warn
        about ADDR_EXPR's of ARRAY_REF's which are immediately
        used in binary expressions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121032 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-21 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 21 Jan 2007 09:57:42 +0000 (09:57 +0000)]
2007-01-21  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/30449 (fill, fill_n)
* include/bits/stl_algobase.h (__fill_aux(wchar_t*, wchar_t*,
const wchar_t&), __fill_n_aux(wchar_t*, _Size, const wchar_t&)): New.
(fill(signed char*, signed char*, const signed char&),
fill(unsigned char*, unsigned char*, const unsigned char&),
fill(char*, char*, char&), fill_n(signed char*, _Size,
const signed char&), fill_n(unsigned char*, _Size,
const unsigned char&), fill_n(char*, _Size, char&)): Rename to
(__fill_normal, __fill_n_normal): New, call the latter.
(fill, fill_n): Adjust, call the latter.
* testsuite/25_algorithms/fill/4.cc: New.
* testsuite/25_algorithms/fill/5.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121027 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-vectorizer.h (struct _stmt_vec_info): Add new field
irar [Sun, 21 Jan 2007 09:22:56 +0000 (09:22 +0000)]
* tree-vectorizer.h (struct _stmt_vec_info): Add new field
read_write_dep and macros for its access.
* tree-vectorizer.c (new_stmt_vec_info): Initialize the new field.
* tree-vect-analyze.c (vect_analyze_data_ref_dependence): Remove
argument, call vect_check_interleaving for every independent pair of
data-refs. Mark loads that access the same memory location as a store
in the loop.
(vect_check_dependences): Remove.
(vect_analyze_data_ref_dependences): Remove  vect_check_dependences
call, fix the call to vect_analyze_data_ref_dependence.
(vect_analyze_data_ref_access): For statements that access the same
data-ref, check that they are not stores; for loads, check that there
is no store that access the same location.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121026 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-21 Matthias Klose <doko@debian.org>
doko [Sun, 21 Jan 2007 07:47:15 +0000 (07:47 +0000)]
2007-01-21  Matthias Klose  <doko@debian.org>

        * Makefile.am (install-exec-hook): Use transformed name.
        * Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121025 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-20 Andrew Pinski <pinskia@gmail.com>
pinskia [Sun, 21 Jan 2007 06:51:07 +0000 (06:51 +0000)]
2007-01-20  Andrew Pinski  <pinskia@gmail.com>

        PR objc/30479
        * objc-act.c (hash_interface): Use IDENTIFIER_HASH_VALUE instead
        of htab_hash_pointer.
        (lookup_interface): Likewise.
        (add_class): Likewise.

2007-01-20  Andrew Pinski  <pinskia@gmail.com>

        PR objc/30479
        * objc.dg/pch: New directory.
        * objc.dg/pch/pch.exp: New file.
        * objc.dg/pch/interface-1.m: New test.
        * objc.dg/pch/interface-1.hs: New include file.
        * lib/objc.exp (objc_target_compile): Add
        "-x objective-c-header" in front of the sources if this is
        a precompiled header being compiled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121024 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * doc/invoke.texi (-fdump-rtl-combine): Fix under/overfull hbox.
sayle [Sun, 21 Jan 2007 03:54:41 +0000 (03:54 +0000)]
* doc/invoke.texi (-fdump-rtl-combine): Fix under/overfull hbox.
(-fdump-rtl-stack): Likewise.
(-fno-signed-zeros): Use @minus{} for a minus sign.  Correct typo.
(-mcheck-zero-division, -mcpu): Fix under/overfull hbox.
(-mpt-fixed): Use @minus{} for minus sign.
(Using Precompiled Headers): Fix under/overfull hbox.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121023 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-flow.h (struct stmt_ann_d): Move references_memory to proper
hubicka [Sun, 21 Jan 2007 02:54:43 +0000 (02:54 +0000)]
* tree-flow.h (struct stmt_ann_d): Move references_memory to proper
place within annotation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121022 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* intrinsic.texi: Edited all "Syntax" examples to a consistent form.
brooks [Sun, 21 Jan 2007 00:32:55 +0000 (00:32 +0000)]
* intrinsic.texi: Edited all "Syntax" examples to a consistent form.
(MAXVAL): Corrected description of result characteristics.
(MINVAL): Same.
(UMASK): Added documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121020 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sun, 21 Jan 2007 00:18:04 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121018 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-21 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 20 Jan 2007 23:54:15 +0000 (23:54 +0000)]
2007-01-21  Tobias Burnus  <burnus@net-b.de>

       * update_web_docs_svn: Build also libgomp documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121013 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * openmp.c, matchexp.c, module.c, scanner.c, resolve.c, st.c,
kargl [Sat, 20 Jan 2007 22:01:41 +0000 (22:01 +0000)]
* openmp.c, matchexp.c, module.c, scanner.c, resolve.c, st.c,
    parse.c, primary.c, options.c, misc.c, simplify.c:  Next installment
    in the massive whitespace patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121012 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * module.c (mio_array_ref): The dimen_type fields of an array ref
sayle [Sat, 20 Jan 2007 20:19:30 +0000 (20:19 +0000)]
* module.c (mio_array_ref): The dimen_type fields of an array ref
are an enumerated type and can't be read/written directly with a
call to mio_integer.  Instead loop over and cast each element.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121011 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * dependency.c (gfc_full_array_ref_p): Check that ref->next is NULL,
sayle [Sat, 20 Jan 2007 20:12:44 +0000 (20:12 +0000)]
* dependency.c (gfc_full_array_ref_p): Check that ref->next is NULL,
i.e. that the ARRAY_REF doesn't mention components.
* trans-array.c (gfc_constant_array_constructor_p): Export external
function renamed from constant_array_constructor_p.
(gfc_build_constant_array_constructor): Export.
(gfc_trans_array_constructor): Update call to the renamed function
* trans-array.h (gfc_constant_array_constructor_p): Prototype here.
(gfc_build_constant_array_constructor): Likewise.
* trans-expr.c (gfc_build_memcpy_call): New helper function split
out from gfc_trans_array_copy.
(gfc_trans_array_copy): Use gfc_build_memcpy_call.
(gfc_trans_array_constructor_copy): New function to optimize
assigning an entire array from a constant array constructor.
(gfc_trans_assignment): Call gfc_trans_array_constructor_copy
when appropriate.

* gfortran.dg/array_memcpy_3.f90: New test case.
* gfortran.dg/vect/vect-5.f90: Update vectorized loop count.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121010 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * trans-intrinsic.c (gfc_conv_intrinsic_sign): New branchless
sayle [Sat, 20 Jan 2007 20:05:24 +0000 (20:05 +0000)]
* trans-intrinsic.c (gfc_conv_intrinsic_sign): New branchless
implementation for the SIGN intrinsic with integral operands.
(gfc_conv_intrinsic_minmax): Fix whitespace.

* gfortran.dg/intrinsic_sign_1.f90: New test case.
* gfortran.dg/intrinsic_sign_2.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121009 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-20 Matthias Klose <doko@debian.org>
doko [Sat, 20 Jan 2007 18:34:19 +0000 (18:34 +0000)]
2007-01-20  Matthias Klose  <doko@debian.org>

        * native/jni/gtk-peer/Makefile.am, native/jawt/Makefile.am: Install
        into nativeexeclibdir instead of gcjversionedlibdir.
        * native/jni/gtk-peer/Makefile.in, native/jawt/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121008 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gfortran.h (gfc_options_t): Add flag_allow_leading_underscore.
fxcoudert [Sat, 20 Jan 2007 18:33:20 +0000 (18:33 +0000)]
* gfortran.h (gfc_options_t): Add flag_allow_leading_underscore.
* lang.opt: Add -fallow-leading-underscore.
* match.c (gfc_match_name): Allow leading underscore in symbol
name if -fallow-leading-underscore is used.
* symbol.c (gfc_get_default_type): Add special case for symbol
names beginning with an underscore.
* trans-decl.c (gfc_get_extern_function_decl,
gfc_build_intrinsic_function_decls): Add _gfortran prefix to
library symbols selected_int_kind, selected_real_kind and
all specifics.
* options.c (gfc_init_options, gfc_handle_option): Handle the
new -fallow-leading-underscore option.

* m4/misc_specifics.m4: Add _gfortran prefix to specific names.
* m4/specific2.m4: Likewise.
* m4/specific.m4: Likewise.
* intrinsics/f2c_specifics.F90: Likewise.
* intrinsics/selected_int_kind.f90: Add _gfortran prefix.
* intrinsics/selected_real_kind.f90: Likewise.
* intrinsics/dprod_r8.f90: Likewise.
* Makefile.am: Add -fallow-leading-underscore to the
gfor_specific_src files, as well as selected_real_kind.F90
and selected_int_kind.F90
* Makefile.in: Regenerate.
* generated/_sqrt_c8.F90: Regenerate.
* generated/_sign_r16.F90: Regenerate.
* generated/_log_c16.F90: Regenerate.
* generated/_sin_c10.F90: Regenerate.
* generated/_tanh_r4.F90: Regenerate.
* generated/_tanh_r8.F90: Regenerate.
* generated/_log10_r10.F90: Regenerate.
* generated/_aimag_c4.F90: Regenerate.
* generated/_sign_r4.F90: Regenerate.
* generated/_aimag_c8.F90: Regenerate.
* generated/_sign_r8.F90: Regenerate.
* generated/_mod_i4.F90: Regenerate.
* generated/_cos_r16.F90: Regenerate.
* generated/_aint_r10.F90: Regenerate.
* generated/_mod_i8.F90: Regenerate.
* generated/_abs_i16.F90: Regenerate.
* generated/_sqrt_c10.F90: Regenerate.
* generated/_atan2_r4.F90: Regenerate.
* generated/_cos_c4.F90: Regenerate.
* generated/_atan_r16.F90: Regenerate.
* generated/_tanh_r10.F90: Regenerate.
* generated/_atan2_r8.F90: Regenerate.
* generated/_cos_c8.F90: Regenerate.
* generated/_exp_r4.F90: Regenerate.
* generated/_log_r10.F90: Regenerate.
* generated/_exp_r8.F90: Regenerate.
* generated/_abs_r4.F90: Regenerate.
* generated/_abs_r8.F90: Regenerate.
* generated/_sin_r16.F90: Regenerate.
* generated/_tan_r4.F90: Regenerate.
* generated/_tan_r8.F90: Regenerate.
* generated/_sign_i4.F90: Regenerate.
* generated/_sign_i8.F90: Regenerate.
* generated/_exp_c16.F90: Regenerate.
* generated/_sqrt_r16.F90: Regenerate.
* generated/_conjg_c4.F90: Regenerate.
* generated/_conjg_c8.F90: Regenerate.
* generated/_dim_r16.F90: Regenerate.
* generated/_mod_r10.F90: Regenerate.
* generated/_abs_c10.F90: Regenerate.
* generated/_conjg_c16.F90: Regenerate.
* generated/_tan_r16.F90: Regenerate.
* generated/_asinh_r10.F90: Regenerate.
* generated/_abs_i4.F90: Regenerate.
* generated/_abs_i8.F90: Regenerate.
* generated/_acos_r10.F90: Regenerate.
* generated/_exp_r10.F90: Regenerate.
* generated/_acosh_r16.F90: Regenerate.
* generated/_atan2_r16.F90: Regenerate.
* generated/_cos_c16.F90: Regenerate.
* generated/_mod_i16.F90: Regenerate.
* generated/_asin_r4.F90: Regenerate.
* generated/_anint_r16.F90: Regenerate.
* generated/_asin_r8.F90: Regenerate.
* generated/_aimag_c10.F90: Regenerate.
* generated/_exp_c4.F90: Regenerate.
* generated/_sinh_r10.F90: Regenerate.
* generated/_exp_c8.F90: Regenerate.
* generated/_log10_r4.F90: Regenerate.
* generated/_log10_r8.F90: Regenerate.
* generated/_abs_c4.F90: Regenerate.
* generated/_abs_r16.F90: Regenerate.
* generated/_abs_c8.F90: Regenerate.
* generated/_asin_r10.F90: Regenerate.
* generated/_sign_r10.F90: Regenerate.
* generated/_atanh_r16.F90: Regenerate.
* generated/_log_c10.F90: Regenerate.
* generated/_cosh_r16.F90: Regenerate.
* generated/_sin_c16.F90: Regenerate.
* generated/_cos_r10.F90: Regenerate.
* generated/_log10_r16.F90: Regenerate.
* generated/_aint_r16.F90: Regenerate.
* generated/_acos_r4.F90: Regenerate.
* generated/_acos_r8.F90: Regenerate.
* generated/_sqrt_c16.F90: Regenerate.
* generated/_acosh_r4.F90: Regenerate.
* generated/_atan_r10.F90: Regenerate.
* generated/_acosh_r8.F90: Regenerate.
* generated/_sign_i16.F90: Regenerate.
* generated/_tanh_r16.F90: Regenerate.
* generated/_log_r4.F90: Regenerate.
* generated/_log_r8.F90: Regenerate.
* generated/_sin_r4.F90: Regenerate.
* generated/_sin_r8.F90: Regenerate.
* generated/_log_r16.F90: Regenerate.
* generated/_sin_r10.F90: Regenerate.
* generated/_sqrt_r4.F90: Regenerate.
* generated/_exp_c10.F90: Regenerate.
* generated/_sqrt_r8.F90: Regenerate.
* generated/_asinh_r4.F90: Regenerate.
* generated/_sqrt_r10.F90: Regenerate.
* generated/_asinh_r8.F90: Regenerate.
* generated/_dim_r4.F90: Regenerate.
* generated/_dim_r8.F90: Regenerate.
* generated/_dim_r10.F90: Regenerate.
* generated/_cosh_r4.F90: Regenerate.
* generated/_conjg_c10.F90: Regenerate.
* generated/_tan_r10.F90: Regenerate.
* generated/_cosh_r8.F90: Regenerate.
* generated/_mod_r16.F90: Regenerate.
* generated/_abs_c16.F90: Regenerate.
* generated/_cos_r4.F90: Regenerate.
* generated/_asinh_r16.F90: Regenerate.
* generated/_cos_r8.F90: Regenerate.
* generated/_atanh_r4.F90: Regenerate.
* generated/_atanh_r8.F90: Regenerate.
* generated/_acos_r16.F90: Regenerate.
* generated/_anint_r4.F90: Regenerate.
* generated/_acosh_r10.F90: Regenerate.
* generated/_anint_r8.F90: Regenerate.
* generated/_exp_r16.F90: Regenerate.
* generated/_mod_r4.F90: Regenerate.
* generated/_cos_c10.F90: Regenerate.
* generated/_atan2_r10.F90: Regenerate.
* generated/_dim_i16.F90: Regenerate.
* generated/_mod_r8.F90: Regenerate.
* generated/_anint_r10.F90: Regenerate.
* generated/_aint_r4.F90: Regenerate.
* generated/_aint_r8.F90: Regenerate.
* generated/_dim_i4.F90: Regenerate.
* generated/_sinh_r4.F90: Regenerate.
* generated/_log_c4.F90: Regenerate.
* generated/_dim_i8.F90: Regenerate.
* generated/_sinh_r8.F90: Regenerate.
* generated/_log_c8.F90: Regenerate.
* generated/_sin_c4.F90: Regenerate.
* generated/_sin_c8.F90: Regenerate.
* generated/misc_specifics.F90: Regenerate.
* generated/_abs_r10.F90: Regenerate.
* generated/_aimag_c16.F90: Regenerate.
* generated/_atan_r4.F90: Regenerate.
* generated/_sinh_r16.F90: Regenerate.
* generated/_atan_r8.F90: Regenerate.
* generated/_atanh_r10.F90: Regenerate.
* generated/_cosh_r10.F90: Regenerate.
* generated/_sqrt_c4.F90: Regenerate.
* generated/_asin_r16.F90: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121007 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/Changelog typos
bstarynk [Sat, 20 Jan 2007 17:59:46 +0000 (17:59 +0000)]
gcc/Changelog typos

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121006 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * pa.c (output_move_double): Change array size of xoperands to 4.
danglin [Sat, 20 Jan 2007 16:27:06 +0000 (16:27 +0000)]
* pa.c (output_move_double): Change array size of xoperands to 4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121002 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR fortran/30446
fxcoudert [Sat, 20 Jan 2007 13:01:08 +0000 (13:01 +0000)]
PR fortran/30446
* options.c (gfc_handle_module_path_options): Path used in -J
option is now added to the module search path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121000 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-tailcall.c (adjust_return_value): Do not use RESULT_DECL
hubicka [Sat, 20 Jan 2007 11:24:06 +0000 (11:24 +0000)]
* tree-tailcall.c (adjust_return_value): Do not use RESULT_DECL
as temporary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120999 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-20 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 20 Jan 2007 11:12:35 +0000 (11:12 +0000)]
2007-01-20  Richard Guenther  <rguenther@suse.de>

PR fortran/30223
* f95-lang.c (gfc_init_builtin_functions): Provide cbrt and
cexpi builtins if we have TARGET_C99_FUNCTIONS.  Provide
sincos builtins if the target has sincos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120998 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoCast both sides of the conditional expression. Still covered by same
ian [Sat, 20 Jan 2007 04:51:07 +0000 (04:51 +0000)]
Cast both sides of the conditional expression.  Still covered by same
ChangeLog entry--nothing was checked in since last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120997 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * expmed.c (expand_divmod) [TRUNC_MOD_EXPR, TRUNC_DIV_EXPR]: Cast
ian [Sat, 20 Jan 2007 02:04:31 +0000 (02:04 +0000)]
* expmed.c (expand_divmod) [TRUNC_MOD_EXPR, TRUNC_DIV_EXPR]: Cast
constant to unsigned HOST_WIDE_INT before negating.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120995 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-ssa-operands.h (struct vuse_vec_d): Change num_vuse field
ian [Sat, 20 Jan 2007 01:31:06 +0000 (01:31 +0000)]
* tree-ssa-operands.h (struct vuse_vec_d): Change num_vuse field
to unsigned.
(VUSE_VECT_ELEMENT) [ENABLE_CHECKING]: Use unsigned comparison.
(realloc_vdef, realloc_vuse): Change second parameter to
(ssa_operand_iterator_d): Change vuse_index and mayuse_index
fields to unsigned.
* tree-ssa-operands.c (realloc_vop): Change num_elem parameter to
unsigned. Change x and lim locals to unsigned.
(realloc_vdef, realloc_vuse): Change num_elem parameter to
(finalize_ssa_vuse_ops): Change old_i local to unsigned.
(copy_virtual_operands): Change i and n locals to unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120994 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/29335
ghazi [Sat, 20 Jan 2007 00:33:00 +0000 (00:33 +0000)]
PR middle-end/29335
* builtins.c (fold_builtin_1): Handle builtin fdim.

* gcc.dg/torture/builtin-math-3.c: Test fdim.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120993 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * decl2.c (start_objects, start_static_storage_duration_function):
hubicka [Sat, 20 Jan 2007 00:30:19 +0000 (00:30 +0000)]
* decl2.c (start_objects, start_static_storage_duration_function):
Do not make the functions uninlinable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120992 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sat, 20 Jan 2007 00:18:02 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120990 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/darwin-ld-6.c: Remove, tests a linker flag that is going
mrs [Sat, 20 Jan 2007 00:13:53 +0000 (00:13 +0000)]
    * gcc.dg/darwin-ld-6.c: Remove, tests a linker flag that is going

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120984 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars.
hubicka [Sat, 20 Jan 2007 00:13:38 +0000 (00:13 +0000)]
    * tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars.
        * tree-ssa-structalias.c (compute_points_to_sets): Do call
        (init_alias_heapvars): Initialize only when not already initialized.
        (delete_alias_heapvars): Set heapvar_for_stmt to NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120983 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* intrinsic.texi (MATMUL): Corrected a typo.
brooks [Fri, 19 Jan 2007 23:35:03 +0000 (23:35 +0000)]
* intrinsic.texi (MATMUL): Corrected a typo.
(MAX): Separated @var arguments.
(MIN): Separated @var arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120982 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* intrinsic.texi: general whitespace cleanup.
brooks [Fri, 19 Jan 2007 23:21:34 +0000 (23:21 +0000)]
* intrinsic.texi: general whitespace cleanup.
(menu): Added TIME8, removed UNMASK.
(AINT): Clarified argument requirement.
(ANINT): Clarified argument requirement.
(CEILING): Clarified argument requirement.
(CHAR): Clarified argument requirement.
(CMPLX): Clarified argument requirement.
(DCMPLX): Clarified argument requirement.
(FGET): Line rewrapping.
(FLOOR): Clarified argument requirement.
(GMTIME): Added documentation.
(IAND): Added cross-reference.
(IBCLR): Added cross-reference.
(IBSET): Added cross-reference.
(IEOR): Added cross-reference.
(INT): Collapsed examples, clarified argument requirement.
(IOR): Added cross-references.
(LEN_TRIM): Corrected result kind.
(LINK): Added cross-reference.
(LLT): Removed "documentation pending".
(LOGICAL): Added documentation.
(LSHIFT): Added documentation.
(LTIME): Added documentation.
(MATMUL): Added documentation.
(MAX): Added documentation.
(MAXLOC): Added documentation.
(MAXVAL): Added documentation.
(MERGE): Added documentation.
(MIN): Added documentation.
(MINLOC): Added documentation.
(MINVAL): Added documentation.
(MVBITS): Moved to correct place, added documentation.
(NOT): Added documentation.
(PERROR): Added documentation.
(RAN): Moved to correct place, added documentation.
(REAL): Clarified argument requirement.
(RENAME): Added documentation.
(RSHIFT): Clarified argument requirement.
(SIGN): Corrected table specification.
(SYMLNK): Added documentation.
(SYSTEM): Added documentation.
(TIME): Added documentation.
(TIME8): Added section and documentation.
(UNMASK): Removed erroneous section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120980 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * common.opt (fsigned-zeros): New command line option.
sayle [Fri, 19 Jan 2007 19:35:22 +0000 (19:35 +0000)]
* common.opt (fsigned-zeros): New command line option.
* flags.h (HONOR_SIGNED_ZEROS): Control via flag_signed_zeros instead
of flag_unsafe_math_optimizations.
* opts.c (set_fast_math_flags): The -ffast-math command line option
implies -fno-signed-zeros.
(fast_math_flags_set_p): Likewise.

* doc/invoke.texi: Document new -fno-signed-zeros option, and update
the documentation of -ffast-math appropriately.  Wrap long lines.

* gcc.dg/pr30172-1.c: Specify the -fno-signed-zeros command line
option instead of -funsafe-math-optimizations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120978 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Andreas Tobler <a.tobler@schweiz.org>
andreast [Fri, 19 Jan 2007 19:19:35 +0000 (19:19 +0000)]
2007-01-19  Andreas Tobler  <a.tobler@schweiz.org>

* os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
added defines to include/private/gc_priv.h
* darwin_stop_world.c: Removed the above defines.
(catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
* include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
and os_dep.c to here. Fixed THREAD definition fixes for ppc64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120977 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * system.h (ASM_MAKE_LABEL_LINKONCE): Poison.
sje [Fri, 19 Jan 2007 18:38:30 +0000 (18:38 +0000)]
* system.h (ASM_MAKE_LABEL_LINKONCE): Poison.
* varasm.c (globalize_decl): Remove ASM_MAKE_LABEL_LINKONCE ifdef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120976 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoPatch by Tomas Bily <tbily@suse.cz>
hubicka [Fri, 19 Jan 2007 18:34:02 +0000 (18:34 +0000)]
Patch by Tomas Bily  <tbily@suse.cz>
        * cgraphunit.c (cgraph_finalize_function): Updating of pid
        * tree-profile.c:
        (tree_init_ic_make_global_vars): New function
        (tree_init_edge_profiler): call of tree_init_ic_make_global_vars
        (tree_gen_ic_profiler): New function
        (tree_gen_ic_func_profiler): New function
        (tree_profiling): Added calling of tree_gen_ic_func_profiler
        (tree_profile_hooks): Added hook for indirec/virtual calls
        * value-prof.c (tree_find_values_to_profile): New case for
        indirect calls
        (tree_values_to_profile): Call for determining indirect/virtual
        (tree_indirect_call_to_profile): New function
        (tree_ic_transform): New function
        (tree_ic): New function
        (find_func_by_pid): New function
        (init_pid_map): New function
        (tree_value_profile_transformations): Added check for
        indirect/virtual call transformation
        * value-prof.h (enum hist_type): New counter type for
        indirect/virtual calls
        (profile_hooks): Added new hook for profiling indirect/virtual
        * profile.c (instrument_values): New case for indirect/virtual
        call added
        * gcov-io.h (GCOV_LAST_VALUE_COUNTER): Changed to 6
        (GCOV_COUNTER_V_INDIR): New counter type
        (GCOV_COUNTER_NAMES): New name of counter "indirect" added
        (GCOV_MERGE_FUNCTIONS): New merge function for indirect/virtual
        call added
        * cgraph.c: Definition of cgraph_max_pid
        (cgraph_create_node): Default init of pid attribute
        * cgraph.h: Declaration of cgraph_max_pid
        (struct cgraph_node): Added pid attribute
        * libgcov.c (__gcov_indirect_call_profiler): New function
(__gcov_one_value_profiler_body): New function
(__gcov_one_value_profiler): Body was moved to
__gcov_one_value_profiler_body and calls it

gcc.dg/tree-prof/indir-call-prof.c: New.
g++.dg/dg.exp: Add tree-prof subdirectory.
g++.dg/tree-prof/indir-call-prof.C: New.
g++.dg/tree-prof/tree-prof.exp: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120975 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Basile Starynkevitch <basile@starynkevitch.net>
bstarynk [Fri, 19 Jan 2007 18:05:08 +0000 (18:05 +0000)]
2007-01-19  Basile Starynkevitch  <basile@starynkevitch.net>

* doc/gty.texi (Options): Document the mark_hook option to
* gcc/gengtype.c (write_types_data, write_func_for_structure,
write_types, ggc_wtd, pch_wtd): Added skip_hooks to
write_types_data, ggc_wtd, pch_wtd for mark_hook.
(walk_type, write_func_for_structure): Generate the mark_hook if

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120974 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Basile Starynkevitch <basile@starynkevitch.net>
bstarynk [Fri, 19 Jan 2007 17:56:18 +0000 (17:56 +0000)]
2007-01-19  Basile Starynkevitch  <basile@starynkevitch.net>

* gcc/doc/gty.texi (Options): Document the mark_hook option to
* gcc/gengtype.c (write_types_data, write_func_for_structure,
write_types, ggc_wtd, pch_wtd): Added skip_hooks to
write_types_data, ggc_wtd, pch_wtd for mark_hook.
(walk_type, write_func_for_structure): Generate the mark_hook if

* MAINTAINERS: added myself (Basile Starynkevitch) to write after

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120973 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
kseitz [Fri, 19 Jan 2007 17:46:57 +0000 (17:46 +0000)]
    * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120972 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
kseitz [Fri, 19 Jan 2007 17:20:21 +0000 (17:20 +0000)]
    * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
        in methods and reformat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120971 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * ipa-inline.c (cgraph_decide_inlining_incrementally): Instead of 'early' argument
hubicka [Fri, 19 Jan 2007 17:20:20 +0000 (17:20 +0000)]
* ipa-inline.c (cgraph_decide_inlining_incrementally): Instead of 'early' argument
take inlining mode argument specifying whether to inline for size/speeed or all
functions; add support for flattening; improve dumpting.
(cgraph_early_inlining): Update call of decide_inlining_incrementally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120970 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Fri, 19 Jan 2007 16:04:57 +0000 (16:04 +0000)]
2007-01-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/17947
* toplev.c (warn_deprecated_use): Use %qD instead of %qs to
print the name of the declared identifier.

* g++.dg/warn/deprecated.C: Update warning output.
* g++.dg/warn/deprecated-2.C: Likewise.
* g++.dg/warn/deprecated-3.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120969 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Dirk Mueller <dmueller@suse.de>
mueller [Fri, 19 Jan 2007 14:11:05 +0000 (14:11 +0000)]
2007-01-19  Dirk Mueller  <dmueller@suse.de>

       * config/i386.h (CONDITIONAL_REGISTER_USAGE): Store
       result of PIC_OFFSET_TABLE_REGNUM in temporary variable to avoid
       duplicate evaluation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120967 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/i386/i386.md (acos<mode>2): Rename from acossf2 and acosdf2.
uros [Fri, 19 Jan 2007 14:03:17 +0000 (14:03 +0000)]
* config/i386/i386.md (acos<mode>2): Rename from acossf2 and acosdf2.
Macroize expander using X87MODEF12 mode macro.  Extend operand 1
to XFMode, use acosxf2 and truncate result to requested mode.
Use SSE_FLOAT_MODE_P to disable patterns for SSE math.
(asin<mode>2): Similarly, with asin expanders.
(*fscalexf4_i387): Rename from *fscalexf4.
(expNcorexf3): New expander.
(expxf2, exp10xf2, exp2xf2): Use expNcorexf3 expander.
(exp<mode>2): Rename from expsf2 and expdf2. Macroize expander using
X87MODEF12 mode macro.  Extend operand 1 to XFMode, use expxf2 and
truncate result to requested mode. Use SSE_FLOAT_MODE_P to disable
patterns for SSE math.
(exp10<mode>2): Similarly, with exp10 expanders.
(exp2<mode>2): Similarly, with exp2 expanders.
(expm1<mode>2): Similarly, with expm1 expanders.
(ldexp<mode>3): Similarly, with ldexp expanders.
(log<mode>2, log10<mode>2, log2<mode>2, log1p<mode>2, logb<mode>2):
Use gen_truncxf<mode>2_i387_noop to truncate result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120966 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:49:06 +0000 (13:49 +0000)]
* config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Define to 32
for ColdFire targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120965 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:45:54 +0000 (13:45 +0000)]
200x-xx-xx  Nathan Sidwell  <nathan@codesourcery.com>
    Richard Sandiford  <richard@codesourcery.com>

* config/m68k/m68k.h (M68K_STATIC_CHAIN_REG_NAME): New macro.
(__transfer_from_trampoline): Use M68K_STATIC_CHAIN_REG_NAME.
* config/m68k/m68kelf.h (STATIC_CHAIN_REGNUM): Override.
* config/m68k/netbsd-elf.h (M68K_STATIC_CHAIN_REG_NAME): Likewise.

200x-xx-xx  Nathan Sidwell  <nathan@codesourcery.com>

* gcc.c-torture/execute/nestfunc-7.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120964 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:42:00 +0000 (13:42 +0000)]
* config/m68k/m68k.md (adddi_dilshr32): Rename to...
(*adddi_dilshr32): ...this.  Fix formatting.  Remove commented-out
non-canonical pattern.  Restrict to !TARGET_COLDFIRE.
(*adddi_dilshr32_cf): New pattern.
(adddi3, subdi3): Remove first alternatives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120963 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:40:54 +0000 (13:40 +0000)]
* config/m68k/m68k.c (notice_update_cc): If an SFmode move is
implemented using move.l, do not use its cc result for floating-point

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120962 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:40:21 +0000 (13:40 +0000)]
* config/m68k/m68k.h (EXTRA_CONSTRAINT): Stop the 'T' constraint
from accepting 's' constraints if flag_pic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120961 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:39:35 +0000 (13:39 +0000)]
* config/m68k/m68k.md (bordered, bunordered, buneq, bunge, bungt)
(bunle, bunlt, bltgt, bordered_rev, bunordered_rev, buneq_rev)
(bunge_rev, bungt_rev, bunle_rev, bunlt_rev, bltgt_rev): Change
condition from TARGET_68881 to TARGET_HARD_FLOAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120960 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:34:59 +0000 (13:34 +0000)]
200x-xx-xx  Sandra Loosemore  <sandra@codesourcery.com>

* longlong.h (count_leading_zeros, COUNT_LEADING_ZEROS_0): Add
ColdFire alternatives.
* config/m68k/m68k.h (CLZ_DEFINED_VALUE_AT_ZERO): New macro.
* config/m68k/m68k.md (clzsi2):  Define for ColdFire
architectures that support ff1 instruction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120959 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:30:35 +0000 (13:30 +0000)]
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Julian Brown  <julian@codesourcery.com>

* config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Add an 'R' case.
* config/m68k/m68k.md (*movsi_cfv4): Fold into...
(*movsi_cf): ...here.  Remove unnecessary 'R' from 'Rg'.
Add commentary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120958 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Fri, 19 Jan 2007 13:28:57 +0000 (13:28 +0000)]
* config/m68k/m68k-protos.h (valid_mov3q_const): Take a HOST_WIDE_INT
and return a bool.
(output_move_const_into_data_reg, output_move_simode_const): Delete.
* config/m68k/m68k.c (const_method, const_int_cost): Take a
HOST_WIDE_INT instead of an rtx.
(m68k_rtx_costs): Update call accordingly.
(output_move_const_into_data_reg): Likewise.  Fix formatting.
(valid_mov3q_const): Take a HOST_WIDE_INT instead of an rtx.
Return a bool.
(output_move_simode_const): Update calls after above changes.
Rework to use automatic variables and predicates like MEM_P.
* config/m68k/m68k.md (pushexthisi_const): Update call to

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120957 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Dirk Mueller <dmueller@suse.de>
mueller [Fri, 19 Jan 2007 11:51:25 +0000 (11:51 +0000)]
2007-01-19  Dirk Mueller  <dmueller@suse.de>

       * tree-ssa-alias.c (perform_var_substitution): Fix typo
       in dump_flags test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120954 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 19 Jan 2007 11:13:24 +0000 (11:13 +0000)]
2007-01-19  Richard Guenther  <rguenther@suse.de>

* builtins.c (expand_builtin_cexpi): Fall back to expanding
via cexp in case sincos is not available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120953 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-19 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 19 Jan 2007 11:06:56 +0000 (11:06 +0000)]
2007-01-19  Richard Guenther  <rguenther@suse.de>

* doc/tm.texi (TARGET_HAS_SINCOS): Document new target macro.
* defaults.h (TARGET_HAS_SINCOS): Default to off.
* config/linux.h (TARGET_HAS_SINCOS): Set to on if we have glibc.
* config/alpha/linux.h (TARGET_HAS_SINCOS): Likewise.
* config/sparc/linux.h (TARGET_HAS_SINCOS): Likewise.
* config/sparc/linux64.h (TARGET_HAS_SINCOS): Likewise.
* config/rs6000/linux.h (TARGET_HAS_SINCOS): Likewise.
* config/rs6000/linux64.h (TARGET_HAS_SINCOS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120952 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/i386/i386.md (*fpatanxf3_i387, fpatan_extend<mode>xf3_i387):
uros [Fri, 19 Jan 2007 08:59:39 +0000 (08:59 +0000)]
* config/i386/i386.md (*fpatanxf3_i387, fpatan_extend<mode>xf3_i387):
New insn patterns.
(atan2sf3_1, atan2df3_1, atan2xf3_1): Remove insn patterns.
(atan2xf3): Directly generate RTL pattern.
(atan2<mode>3): Rename from atan2sf3 and atan2df3 and macroize insn
patterns using X87MODEF12 mode macro.  Use fpatan_extend<mode>xf3_i387
and truncate result to requested mode.  Use SSE_FLOAT_MODE_P to
disable patterns for SSE math.
(atan<mode>2): Rename from atansf2 and atandf2 and macroize insn
patterns using X87MODEF12 mode macro.  Use fpatan_extend<mode>xf3_i387
and truncate result to requested mode.  Use SSE_FLOAT_MODE_P to
disable patterns for SSE math.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120950 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR libfortran/26893
fxcoudert [Fri, 19 Jan 2007 07:12:16 +0000 (07:12 +0000)]
PR libfortran/26893
* acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
* configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
* configure: Regenerate.
* config.h.in: Regenerate because it was forgottent in the last

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120949 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago* libgcc-std.ver: Fix typo in %inherit for GCC_4.3.0.
aoliva [Fri, 19 Jan 2007 06:27:18 +0000 (06:27 +0000)]
* libgcc-std.ver: Fix typo in %inherit for GCC_4.3.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120948 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * configure.in: Re-enable -Werror for gcc builds.
mrs [Fri, 19 Jan 2007 02:08:33 +0000 (02:08 +0000)]
* configure.in: Re-enable -Werror for gcc builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120947 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago From Macro Trudel <mtrudel@gmx.ch>:
kseitz [Fri, 19 Jan 2007 01:19:04 +0000 (01:19 +0000)]
    From Macro Trudel <mtrudel@gmx.ch>:
        * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
        Use JNICALL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120946 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Optimize away a
sayle [Fri, 19 Jan 2007 00:30:47 +0000 (00:30 +0000)]
* fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Optimize away a
VIEW_CONVERT_EXPR to the same type as it's operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120945 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Fri, 19 Jan 2007 00:17:29 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120943 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/rs6000/darwin-ldouble.c: Only build _SOFT_FLOAT if
dje [Thu, 18 Jan 2007 23:43:08 +0000 (23:43 +0000)]
    * config/rs6000/darwin-ldouble.c: Only build _SOFT_FLOAT if
        configured for long double 128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120938 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-18 Hui-May Chang <hm.chang@apple.com>
mrs [Thu, 18 Jan 2007 22:32:43 +0000 (22:32 +0000)]
2007-01-18  Hui-May Chang  <hm.chang@apple.com>

* gcc.c-torture/compile/pr27528.c: Add -fno-pic option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120936 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/rs6000/rs6000.c (rs6000_emit_vector_compare): Fix build
mrs [Thu, 18 Jan 2007 22:15:36 +0000 (22:15 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_vector_compare): Fix build

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120935 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoMake #if 0 type correct
meissner [Thu, 18 Jan 2007 22:12:49 +0000 (22:12 +0000)]
Make #if 0 type correct

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120934 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * tree-ssa-operands.c (vop_free_bucket_size): Never return value
hubicka [Thu, 18 Jan 2007 21:58:18 +0000 (21:58 +0000)]
* tree-ssa-operands.c (vop_free_bucket_size): Never return value
greater than NUM_VOP_FREE_BUCKETS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120933 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-18 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 18 Jan 2007 21:30:38 +0000 (21:30 +0000)]
2007-01-18  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-structalias.c: Update comments.
(ptabitmap_obstack): Removed.
(pta_obstack): New.
(oldpta_obstack): Ditto.
(stats): Add a few members.
(struct variable_info): Remove node, complex, address_taken, and
indirect_target members. Add oldsolution member.
(new_var_info): Do not initialize removed members.
(constraint_expr_type): Remove INCLUDES.
(constraint_graph): Add size, implicit_preds, rep,
indirect_cycles, eq_rep, label, direct_nodes, and complex members.
(FIRST_REF_NODE): New macro.
(find): New function.
(unite): Ditto.
(dump_constraint): Do not handle INCLUDES.
(insert_into_complex): Do not insert duplicate constraints.
(condense_varmap_nodes): Renamed and rewritten into ...
(merge_node_constraints): This. Also fix bug in handling of
offseted copy constraints.
(clear_edges_for_node): No longer need to deal with preds at all,
or removing associated preds/succs.
(merge_graph_nodes): Deal with indirect_cycles.
Don't deal with predecessors.
(add_implicit_graph_edge): New function.
(add_pred_graph_edge): Ditto.
(add_graph_edge): Don't deal with predecessors.
(build_constraint_graph): Removed.
(build_pred_graph): New function.
(build_succ_graph): Ditto.
(struct scc_info): Removed in_component. Added roots, dfs, and
node_mapping. Remove visited_index, unification_queue.
(scc_visit): Deal with union-find we do now.
Deal with cycles with REF nodes.
(collapse_nodes): Renamed and rewritten to ...
(unify_nodes): This.
(process_unification_queue): Removed.
(topo_visit): Cleanup
(do_da_constraint): Use find.
(do_sd_constraint): Ditto.
(do_ds_constraint): Ditto.
(do_complex_constraint): Ditto.
(init_scc_info): Update for removed and added members.
(find_and_collapse_graph_cycles): Renamed and rewritten into ...
(find_indirect_cycles): This.
(equivalence_class): New variable.
(label_visit): New function.
(perform_variable_substitution): Rewritten.
(free_var_substitution_info): New function.
(find_equivalent_node): Ditto.
(move_complex_constraints): Ditto.
(eliminate_indirect_cycles): Ditto.
(solve_graph): Only propagate changed bits.
Use indirect cycle elimination.
Use find.
(tree_id_t): Rename to tree_vi_t, delete id member, add vi member.
(tree_id_eq): Renamed to ...
(tree_vi_eq): This. Update for member change
(insert_id_for_tree): Renamed and rewritten to ...
(insert_vi_for_tree): This.
(lookup_id_for_tree): Renamed and rewritten to ...
(lookup_vi_for_tree): This.
(get_id_for_tree): Renamed and rewritten to ...
(get_vi_for_tree): Ditto.
(get_constraint_exp_from_ssa_var): Update to use get_vi_for_tree.
(process_constraint): Don't handle INCLUDES.
Remove special ADDRESSOF case.
(find_func_aliases): Rewrite to use vi functions instead of id
(create_function_info_for): Ditto.
(create_variable_info_for): Ditto.
(intra_create_variable_infos): Ditto.
(merge_smts_into): Ditto.
(find_what_p_points_to): Ditto.
(init_base_vars): Ditto.
(init_alias_vars): Ditto.
(remove_preds_and_fake_succs): New function.
(dump_sa_points_to_info): Dump new stats.
(dump_solution_for_var): Use find.
(set_used_smts): Fix formatting.
(compute_points_to_sets): Updated for new functions.
(ipa_pta_execute): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120931 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2007-01-18 Marco Trudel <mtrudel@gmx.ch>
tromey [Thu, 18 Jan 2007 20:47:50 +0000 (20:47 +0000)]
2007-01-18  Marco Trudel  <mtrudel@gmx.ch>

* jni.cc (_Jv_JNI_FindClass): Initialize class.
* testsuite/libjava.jni/findclass2.jar: New file.
* testsuite/libjava.jni/findclass2.h: New file.
* testsuite/libjava.jni/findclass2.java: New file
* testsuite/libjava.jni/findclass2.c: New file.
* testsuite/libjava.jni/findclass2.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120930 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
rsandifo [Thu, 18 Jan 2007 19:54:44 +0000 (19:54 +0000)]
200x-xx-xx  Kazu Hirata  <kazu@codesourcery.com>
    Richard Sandiford  <richard@codesourcery.com>

* doc/tm.texi (TARGET_FUNCTION_VALUE): Expand documentation of
* calls.c (expand_call): If the return value is a PARALLEL,
extract its first member.
* config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Remove.
* config/m68k/m68k.c (m68k_output_function_epilogue): Don't
(m68k_function_value): Return a PARALLEL if the return value
is of a pointer type.
* config/m68k/netbsd-elf.h (current_function_returns_pointer)
* config/m68k/m68k.md (D0_REG): New constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120929 138bc75d-0d04-0410-961f-82ee72b054a4