OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago2007-01-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Thu, 25 Jan 2007 21:15:34 +0000 (21:15 +0000)]
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.

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

14 years ago * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
kseitz [Thu, 25 Jan 2007 21:05:18 +0000 (21:05 +0000)]
    * 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.

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

14 years ago2007-01-24 Geoffrey Keating <geoffk@apple.com>
geoffk [Thu, 25 Jan 2007 20:32:06 +0000 (20:32 +0000)]
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.

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

14 years ago2007-01-25 Andrew Haley <aph@redhat.com>
tromey [Thu, 25 Jan 2007 19:51:33 +0000 (19:51 +0000)]
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.

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

14 years ago2007-01-25 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 25 Jan 2007 19:25:01 +0000 (19:25 +0000)]
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.

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

14 years ago * config.gcc (ia64*-*-hpux*): Make posix threads the default.
sje [Thu, 25 Jan 2007 18:08:16 +0000 (18:08 +0000)]
* config.gcc (ia64*-*-hpux*): Make posix threads the default.

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

14 years ago * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
kseitz [Thu, 25 Jan 2007 18:04:01 +0000 (18:04 +0000)]
    * 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.

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

14 years ago PR other/30182
sje [Thu, 25 Jan 2007 17:06:55 +0000 (17:06 +0000)]
PR other/30182
* config/pa/pa.c (pa_init_builtins): Set asm names for finite routines.
* config/ia64/ia64.c (ia64_init_builtins):  Ditto.

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

14 years ago * decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of
sayle [Thu, 25 Jan 2007 16:58:26 +0000 (16:58 +0000)]
* 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.

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

14 years ago * configure.ac: Add --enable-version-specific-runtime-libs.
drow [Thu, 25 Jan 2007 16:00:32 +0000 (16:00 +0000)]
* configure.ac: Add --enable-version-specific-runtime-libs.
Correct $slibdir default.
* configure: Regenerated.

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

14 years ago2007-01-25 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Thu, 25 Jan 2007 14:42:45 +0000 (14:42 +0000)]
2007-01-25  Kyle Galloway  <kgallowa@redhat.com>

* testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in
if statement.

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

14 years agoKyle Galloway 2007-01-25 <kgallowa@redhat.com>
kgallowa [Thu, 25 Jan 2007 14:25:26 +0000 (14:25 +0000)]
Kyle Galloway  2007-01-25  <kgallowa@redhat.com>

    * ChangeLog: Add ChangeLog entry that didn't apply.

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

14 years ago2007-01-25 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Thu, 25 Jan 2007 14:19:05 +0000 (14:19 +0000)]
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.

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

14 years ago2007-01-25 Nathan Myers <ncm@cantrip.org>
paolo [Thu, 25 Jan 2007 13:08:51 +0000 (13:08 +0000)]
2007-01-25  Nathan Myers  <ncm@cantrip.org>

* include/bits/streambuf_iterator.h (istreambuf_iterator<>::equal):
Simplify.

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

14 years ago2007-01-25 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 25 Jan 2007 12:35:13 +0000 (12:35 +0000)]
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.

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

14 years ago2007-01-25 Razya Ladelsky <razya@il.ibm.com>
razya [Thu, 25 Jan 2007 11:01:40 +0000 (11:01 +0000)]
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.

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

14 years ago2007-01-25 Razya Ladelsky <razya@il.ibm.com>
razya [Thu, 25 Jan 2007 10:54:47 +0000 (10:54 +0000)]
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.

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

14 years ago * unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.
geoffk [Thu, 25 Jan 2007 07:08:33 +0000 (07:08 +0000)]
* unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.

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

14 years ago PR middle-end/30447
ghazi [Thu, 25 Jan 2007 04:15:26 +0000 (04:15 +0000)]
PR middle-end/30447
* builtins.c (fold_builtin_cabs): Use MPFR to evaluate a
constant argument to cabs and do it without checking for
-funsafe-math-optimizations.

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

14 years ago2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
dgregor [Thu, 25 Jan 2007 04:04:18 +0000 (04:04 +0000)]
2007-01-24  Douglas Gregor  <dgregor@osl.iu.edu>

* c-common.h (RID_FIRST_CXX0X): New.
(RID_LAST_CXX0X): New.
* c-opts.c (c_common_handle_option): -Wc++0x-compat is triggered
by -Wall.
* c.opt (Wc++0x-compat): New.
* doc/invoke.texi (-Wc++0x-compat): Document.

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

14 years ago2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
dgregor [Thu, 25 Jan 2007 04:02:36 +0000 (04:02 +0000)]
2007-01-24  Douglas Gregor  <dgregor@osl.iu.edu>

* lex.c (D_CPP0X): Rename.
(D_CXX0X): To this.
(reswords): D_CPP0X -> D_CXX0X.
(init_reswords): Ditto.
* parser.c (cp_lexer_get_preprocessor_token): Warn about the use
of C++0x keywords as identifiers.

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

14 years ago2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
dgregor [Thu, 25 Jan 2007 04:02:15 +0000 (04:02 +0000)]
2007-01-24  Douglas Gregor  <dgregor@osl.iu.edu>

* g++.dg/cpp0x/warn_cxx0x.C: New.

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

14 years ago * builtins.c (fold_builtin_carg): New.
ghazi [Thu, 25 Jan 2007 03:57:30 +0000 (03:57 +0000)]
* builtins.c (fold_builtin_carg): New.
(fold_builtin_1): Use it.

testsuite:
* gcc.dg/builtins-20.c: Test builtin carg.

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

14 years ago * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
kseitz [Thu, 25 Jan 2007 01:21:27 +0000 (01:21 +0000)]
    * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
        CLASS_PREPARE notification.

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

14 years ago * ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.
hubicka [Thu, 25 Jan 2007 01:13:02 +0000 (01:13 +0000)]
* ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.

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

14 years ago * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
kseitz [Thu, 25 Jan 2007 00:40:45 +0000 (00:40 +0000)]
    * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
        gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
        * interpret-run.cc: Implement insn_breakpoint.

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

14 years agoDaily bump.
gccadmin [Thu, 25 Jan 2007 00:18:18 +0000 (00:18 +0000)]
Daily bump.

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

14 years ago2007-01-24 Steve LoBasso <slobasso@yahoo.com>
paolo [Wed, 24 Jan 2007 23:52:37 +0000 (23:52 +0000)]
2007-01-24   Steve LoBasso <slobasso@yahoo.com>
     Paolo Carlini  <pcarlini@suse.de>

* include/bits/deque.tcc (deque<>::erase(iterator, iterator)):
Fix condition.
* testsuite/23_containers/deque/modifiers/erase/3.cc: New.

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

14 years agooops, wrong variant of patch.
hubicka [Wed, 24 Jan 2007 22:45:34 +0000 (22:45 +0000)]
oops, wrong variant of patch.

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

14 years ago2007-01-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Wed, 24 Jan 2007 22:45:20 +0000 (22:45 +0000)]
2007-01-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * libsupc++/eh_personality.cc  (PERSONALITY_FUNCTION): Replace
        _Unwind_Word with _uleb128_t in the SJLJ context.

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

14 years ago * ipa-inline.c (initial_insns, max_insns): Delete.
hubicka [Wed, 24 Jan 2007 22:45:00 +0000 (22:45 +0000)]
* ipa-inline.c (initial_insns, max_insns): Delete.
(compute_max_insns): New function.
(cgraph_decide_inlining_of_small_function): Use it; take minimal amount
of insns as base for code growth.
(cgraph_decide_inlining): Make initial_insns local; do not compute
max_insns.
* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 60.
* doc/invoke.texi (inline-unit-growth): Update docs.

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

14 years ago * prims.cc (_Jv_RunMain): Send JVMTI event notifications
kseitz [Wed, 24 Jan 2007 22:44:08 +0000 (22:44 +0000)]
    * prims.cc (_Jv_RunMain): Send JVMTI event notifications
        for VM_INIT and VM_DEATH instead of the JDWP notifications.

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

14 years ago * gnu/classpath/jdwp/natVMVirtualMachine.cc
kseitz [Wed, 24 Jan 2007 22:35:43 +0000 (22:35 +0000)]
    * gnu/classpath/jdwp/natVMVirtualMachine.cc
        (getAllClassMethods): Implement.

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

14 years agoAdd myself as libgomp maintainer.
jakub [Wed, 24 Jan 2007 22:23:58 +0000 (22:23 +0000)]
Add myself as libgomp maintainer.

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

14 years ago * config/i386/i386.h (x86_cmpxchg16b): Remove const.
jakub [Wed, 24 Jan 2007 22:00:03 +0000 (22:00 +0000)]
* config/i386/i386.h (x86_cmpxchg16b): Remove const.
(TARGET_CMPXCHG16B): Define to x86_cmpxchg16b.
* config/i386/i386.c (x86_cmpxchg16b): Remove const.
(override_options): Add PTA_CX16 flag.  Set x86_cmpxchg16b
for CPUs that have PTA_CX16 set.

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

14 years ago PR middle-end/27416
jakub [Wed, 24 Jan 2007 20:58:21 +0000 (20:58 +0000)]
PR middle-end/27416
* gimplify.c (omp_check_private): New function.
(gimplify_scan_omp_clauses): Use it for
firstprivate/lastprivate/reduction.

* gcc.dg/gomp/pr27416.c: New test.

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

14 years ago PR middle-end/30494
jakub [Wed, 24 Jan 2007 20:56:45 +0000 (20:56 +0000)]
PR middle-end/30494
* gimplify.c (omp_add_variable): Don't call omp_notice_variable
on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs.

* gcc.dg/gomp/pr30494.c: New test.
* g++.dg/gomp/pr30494.C: New test.

* testsuite/libgomp.c/pr30494.c: New test.

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

14 years ago PR middle-end/30421
jakub [Wed, 24 Jan 2007 20:53:08 +0000 (20:53 +0000)]
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.

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

14 years ago * gcc.target/ia64/versionid-1.c: New test.
sje [Wed, 24 Jan 2007 19:47:31 +0000 (19:47 +0000)]
* gcc.target/ia64/versionid-1.c: New test.
* gcc.target/ia64/versionid-2.c: New test.

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

14 years agoForgot ChangeLog in previous commit.
sje [Wed, 24 Jan 2007 19:40:57 +0000 (19:40 +0000)]
Forgot ChangeLog in previous commit.

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

14 years ago * target.h (globalize_decl_name): New.
sje [Wed, 24 Jan 2007 19:40:12 +0000 (19:40 +0000)]
* 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.

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

14 years ago2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
andreast [Wed, 24 Jan 2007 19:36:42 +0000 (19:36 +0000)]
2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>

ChangeLog: Fix Typo.

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

14 years ago2007-01-24 Andrew Haley <aph@redhat.com>
aph [Wed, 24 Jan 2007 17:13:50 +0000 (17:13 +0000)]
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.

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

14 years ago2007-01-24 Andrew Haley <aph@redhat.com>
aph [Wed, 24 Jan 2007 17:11:04 +0000 (17:11 +0000)]
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.

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

14 years ago2007-01-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 24 Jan 2007 15:03:40 +0000 (15:03 +0000)]
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.

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

14 years ago2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 24 Jan 2007 14:46:47 +0000 (14:46 +0000)]
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.

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

14 years ago2007-01-24 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 24 Jan 2007 14:13:28 +0000 (14:13 +0000)]
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.

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

14 years ago2007-01-24 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 24 Jan 2007 13:49:18 +0000 (13:49 +0000)]
2007-01-24  Richard Guenther  <rguenther@suse.de>

* builtins.c (expand_builtin_cexpi): Get the fndecl
for cexp in the correct way.

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

14 years ago * gcc.dg/tree-ssa/pr23382.c: Avoid DCE from eliminating dead variable.
hubicka [Wed, 24 Jan 2007 12:13:45 +0000 (12:13 +0000)]
* gcc.dg/tree-ssa/pr23382.c: Avoid DCE from eliminating dead variable.
* tree-ssa-dce.c (eliminate_unnecesary_stmts): Remove dead LHS of calls.

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

14 years ago2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 24 Jan 2007 12:03:38 +0000 (12:03 +0000)]
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.

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

14 years ago * config/i386/i386.md (tanxf2, tan<mode>2, atan<mode>2, log<mode>2,
uros [Wed, 24 Jan 2007 11:17:09 +0000 (11:17 +0000)]
* 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.

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

14 years agogcc/
rsandifo [Wed, 24 Jan 2007 08:16:14 +0000 (08:16 +0000)]
gcc/
* reload1.c (emit_reload_insns): Pass the reload register
for a non-spill output reload through forget_old_reloads_1.

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

14 years ago2007-01-23 Andrew Pinski <pinskia@gmail.com>
pinskia [Wed, 24 Jan 2007 06:01:09 +0000 (06:01 +0000)]
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.

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

14 years ago2007-01-23 Andrew Pinski <pinskia@gmail.com>
pinskia [Wed, 24 Jan 2007 05:46:09 +0000 (05:46 +0000)]
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.

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

14 years ago2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 24 Jan 2007 02:02:52 +0000 (02:02 +0000)]
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.

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

14 years ago2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 24 Jan 2007 01:56:55 +0000 (01:56 +0000)]
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.

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

14 years agoDaily bump.
gccadmin [Wed, 24 Jan 2007 00:18:05 +0000 (00:18 +0000)]
Daily bump.

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

14 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

14 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

14 years agocp/:
ian [Tue, 23 Jan 2007 21:46:51 +0000 (21:46 +0000)]
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.

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

14 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

14 years agogcc:
jsm28 [Tue, 23 Jan 2007 19:38:33 +0000 (19:38 +0000)]
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.

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

14 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
TREE_OVERFLOW.
* typeck.c (ignore_overflows): Remove the remaining uses of
TREE_CONSTANT_OVERFLOW.

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

14 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

14 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.
(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.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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
pass_early_warn_uninitialized.

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

14 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

14 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

14 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

14 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
function.
(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

14 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

14 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

14 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

14 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

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

Revert:
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

14 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

14 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

14 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

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

14 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

14 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
__*_aux.
(__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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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