OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago2006-08-21 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 23 Aug 2006 02:56:43 +0000 (02:56 +0000)]
2006-08-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28450
        * cp/init.c (build_zero_init): Handle VECTOR_TYPE and
        COMPLEX_TYPEs.

2006-08-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28450
        * g++.dg/ext/vector4.C: New test.
        * g++.dg/ext/complex1.C: New test.

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

14 years agoDaily bump.
gccadmin [Wed, 23 Aug 2006 00:18:08 +0000 (00:18 +0000)]
Daily bump.

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

14 years ago2006-08-22 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 22 Aug 2006 22:57:53 +0000 (22:57 +0000)]
2006-08-22  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random.tcc (subtract_with_carry_01<>::
       seed(_Gen&, false_type)): Fix _M_carry initialization.

* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/default.cc: Qualify 1 as 1UL.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/gen1.cc: Likewise.

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

14 years agoadded locking policy to tr1::shared_ptr<> and related classes
pmj [Tue, 22 Aug 2006 22:34:45 +0000 (22:34 +0000)]
added locking policy to tr1::shared_ptr<> and related classes

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

14 years ago2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Tue, 22 Aug 2006 20:37:36 +0000 (20:37 +0000)]
2006-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

PR libgcj/27890
* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
Set gnu.classpath.home.url to TOOLEXECLIBDIR.
* configure.ac: Do not add --with-native-libdir to
ac_configure_args.
* java/security/libgcj.security: Remove file.
* java/util/logging/logging.properties: Likewise.
* classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
* classpath/resource/Makefile.am (loggingdir): Define to
toolexeclibdir.
(securitydir): Likewise.
* classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
Set default nativeexeclibdir using toolexeclibdir.
* HACKING: Fix classpath aclocal arguments.
* Makefile.am (secdir): Remove variable.
(propdir): Likewise.
(AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
definition.
(all_property_files): Remove variable.
(install-data-local): Do not install libgcj.security or
logging.properties.
* configure, Makefile.in, classpath/configure,
classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
classpath/native/jni/midi-alsa/Makefile.in,
classpath/native/jni/classpath/Makefile.in,
classpath/native/jni/midi-dssi/Makefile.in,
classpath/native/jni/Makefile.in,
classpath/native/jni/java-nio/Makefile.in,
classpath/native/jni/java-net/Makefile.in,
classpath/native/jni/gconf-peer/Makefile.in,
classpath/native/jni/java-io/Makefile.in,
classpath/native/jni/xmlj/Makefile.in,
classpath/native/jni/java-util/Makefile.in,
classpath/native/jni/qt-peer/Makefile.in,
classpath/native/jni/gtk-peer/Makefile.in,
classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
classpath/native/target/Linux/Makefile.in,
classpath/native/target/Makefile.in,
classpath/native/target/generic/Makefile.in,
classpath/native/fdlibm/Makefile.in,
classpath/native/plugin/Makefile.in,
classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
classpath/tools/Makefile.in, classpath/doc/Makefile.in,
classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
classpath/external/Makefile.in,
classpath/external/sax/Makefile.in,
classpath/external/w3c_dom/Makefile.in,
classpath/external/relaxngDatatype/Makefile.in,
classpath/include/Makefile.in, classpath/aclocal.m4,
classpath/examples/Makefile.in, aclocal.m4: Regenerate.

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

14 years agoIndex: gcc/ChangeLog
geoffk [Tue, 22 Aug 2006 19:16:03 +0000 (19:16 +0000)]
Index: gcc/ChangeLog
2006-08-21  Geoffrey Keating  <geoffk@apple.com>

PR debug/28692
* dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
complex values, nor for generic vector values.

Index: gcc/testsuite/ChangeLog
2006-08-21  Geoffrey Keating  <geoffk@apple.com>

PR debug/28692
* gcc.dg/debug/const-1.c: New.
* gcc.dg/debug/const-2.c: New.
* gcc.dg/debug/dwarf2/const-1.c: New.
* gcc.dg/debug/dwarf2/const-2.c: New.
* gcc.dg/debug/dwarf2/const-2b.c: New.

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

14 years ago PR c++/28420
jason [Tue, 22 Aug 2006 18:51:40 +0000 (18:51 +0000)]
    PR c++/28420
        * parser.c (cp_parser_postfix_expression): Make sure that the
        saved value for parser->type_definition_forbidden_message is
        restored before returning to avoid an invalid free().

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

14 years ago PR c++/28659
jason [Tue, 22 Aug 2006 18:27:26 +0000 (18:27 +0000)]
    PR c++/28659
        * typeck.c (merge_types): If either of the types have the right
        attributes, return that one.

        * tree.c (cp_build_type_attribute_variant): Make sure we aren't
        doing this to class types.
        * typeck.c (original_type): Deal with type quals properly.

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

14 years ago2006-08-22 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 22 Aug 2006 18:15:22 +0000 (18:15 +0000)]
2006-08-22  Paolo Carlini  <pcarlini@suse.de>

* Fix/complete last ChangeLog entry.

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

14 years ago2006-08-22 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 22 Aug 2006 18:07:55 +0000 (18:07 +0000)]
2006-08-22  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (class subtract_with_carry_01): Add.
* include/tr1/random.tcc (subtract_with_carry_01<>::
seed(unsigned long), subtract_with_carry_01<>::
seed(_Gen&, false_type), subtract_with_carry_01<>::
operator(), operator<<(std::basic_ostream<>&, const
subtract_with_carry_01<>&), operator>>(std::basic_istream<>&,
subtract_with_carry_01<>&)): Define.
* testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc:
New.
* testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc:
Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/seed1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/seed2.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/serialize.cc: Likewise.

* docs/html/ext/howto.html: Add two implemented TR1 issues.

* include/tr1/random.tcc (struct _To_Unsigned_Type): Move...
* include/tr1/random: ... here.
(class subtract_with_carry): Use it everywhere.

* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/seed1.cc: Qualify 1 as 1UL.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/seed2.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/serialize.cc: Likewise.

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

14 years ago2006-08-22 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 22 Aug 2006 16:26:32 +0000 (16:26 +0000)]
2006-08-22  Richard Guenther  <rguenther@suse.de>

PR middle-end/28776
* tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
parameter.  Convert arguments to arithmetic expression to the
chrecs type.
(analyze_scalar_evolution_1): Adjust caller.

* gcc.c-torture/compile/pr28776-1.c: New testcase.
* gcc.c-torture/compile/pr28776-2.c: Likewise.

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

14 years ago Patch by Paolo Bonzini
hubicka [Tue, 22 Aug 2006 15:44:56 +0000 (15:44 +0000)]
Patch by Paolo Bonzini
* reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
my previous patch.

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

14 years ago2006-08-22 Andrew Haley <aph@redhat.com>
aph [Tue, 22 Aug 2006 15:00:37 +0000 (15:00 +0000)]
2006-08-22  Andrew Haley  <aph@redhat.com>

        * decl.c (java_add_stmt): Give the statement list a type.

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

14 years ago2006-08-22 Daniel Berlin <dberlin@dberlin.org>
dberlin [Tue, 22 Aug 2006 14:04:16 +0000 (14:04 +0000)]
2006-08-22  Daniel Berlin  <dberlin@dberlin.org>

PR tree-optimization/28003
* tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
before grouping aliases.

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

14 years ago * config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
sayle [Tue, 22 Aug 2006 12:42:41 +0000 (12:42 +0000)]
* config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.

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

14 years agoDaily bump.
gccadmin [Tue, 22 Aug 2006 00:18:26 +0000 (00:18 +0000)]
Daily bump.

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

14 years agoboehm-gc
tromey [Mon, 21 Aug 2006 22:07:30 +0000 (22:07 +0000)]
boehm-gc
PR libgcj/13212:
* configure.ac: Check for pthread_getattr_np(). Remove
GC_PTHREAD_SYM_VERSION detection.
* include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
GC_get_thread_stack_base): New declarations.
* pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
GC_get_thread_stack_base): New functions.
(GC_delete_thread): Don't try to free the first_thread.
* misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
(pthread_create_, constr): Removed.
(pthread_create): Don't rename.
* include/gc_ext_config.h.in: Rebuilt.
* include/gc_pthread_redirects.h (pthread_create): Define
unconditionally.
* include/gc_config.h.in: Rebuilt.
* configure: Rebuilt.
libjava
* java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
to GC.
(_Jv_DetachCurrentThread): Detach thread from GC.
* include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
Declare.
* boehm.cc (_Jv_GCAttachThread): New function.
(_Jv_GCDetachThread): Likewise.

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

14 years agorevert accidental checkin of tests
jason [Mon, 21 Aug 2006 20:56:28 +0000 (20:56 +0000)]
revert accidental checkin of tests

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

14 years ago PR c++/27115
jason [Mon, 21 Aug 2006 20:54:57 +0000 (20:54 +0000)]
    PR c++/27115
        * gimplify.c (voidify_wrapper_expr): Handle STATEMENT_LIST as a
        wrapper.  Loop to handle nested wrappers.
        (gimplify_bind_expr): Remove temp parameter.
        (gimplify_modify_expr_rhs): Handle CLEANUP_POINT_EXPR, BIND_EXPR
        and STATEMENT_LIST on the rhs.
        (gimplify_statement_list): Voidify the STATEMENT_LIST.
        (gimplify_expr): Pass pre_p to gimplify_statement_list.
        (gimplify_target_expr): Remove special BIND_EXPR handling.
        * cp/semantics.c (finish_stmt_expr_expr): Don't try to voidify here,
        just leave the expression as it is.
        (finish_stmt_expr): If the statement-expression has class type,
        wrap it in a TARGET_EXPR.
        * cp/cp-gimplify.c (cp_gimplify_init_expr): Don't bother with
        CLEANUP_POINT_EXPR.
        * cp/except.c (build_throw): Give the CLEANUP_POINT_EXPR void type.

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

14 years ago gcc/testsuite/
shinwell [Mon, 21 Aug 2006 19:15:15 +0000 (19:15 +0000)]
gcc/testsuite/
* g++.dg/eh/arm-vfp-unwind.C: Correct order of DejaGNU directives.

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

14 years agoFix typo from a previous commit
lmillward [Mon, 21 Aug 2006 18:43:36 +0000 (18:43 +0000)]
Fix typo from a previous commit

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

14 years ago * config/sh/lib1funcs-Os-4-200.asm: Guard entire file with
amylaar [Mon, 21 Aug 2006 18:07:00 +0000 (18:07 +0000)]
* config/sh/lib1funcs-Os-4-200.asm: Guard entire file with
#if !__SHMEDIA__ .

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

14 years ago PR c++/28741
lmillward [Mon, 21 Aug 2006 17:41:18 +0000 (17:41 +0000)]
    PR c++/28741
        * tree.c (decl_anon_ns_mem_p): Robustify.
        * decl2.c (determine_visibility): Likewise.

        * g++.dg/template/void7.C: New test.

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

14 years ago PR c++/28505
lmillward [Mon, 21 Aug 2006 17:34:44 +0000 (17:34 +0000)]
    PR c++/28505
        * decl.c (grokdeclarator): Return early after
        issuing diagnostic about an incomplete type.

        * g++.dg/parse/ctor7.C: New test.
        * g++.dg/parse/ctor8.C: Likewise.

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

14 years ago PR c++/26269
lmillward [Mon, 21 Aug 2006 17:27:48 +0000 (17:27 +0000)]
    PR c++/26269
        * decl.c (duplicate_decls): Return early if either
        newdecl or olddecl is error_mark_node.

        * g++.dg/other/error14.C: New test.

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

14 years ago * gimplify.c (gimplify_init_constructor) <RECORD,UNION,ARRAY types>:
hainque [Mon, 21 Aug 2006 16:01:03 +0000 (16:01 +0000)]
* gimplify.c (gimplify_init_constructor) <RECORD,UNION,ARRAY types>:
Arrange for the temporary captures of components overlapping the lhs
to happen before the lhs is possibly cleared.

testsuite/
* gnat.dg/self_aggregate_with_zeros.adb: New test.
* gnat.dg/self_aggregate_with_array.adb: New test.

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

14 years ago * decContext.c (decContextSetStatusFromString): Constify.
ghazi [Mon, 21 Aug 2006 12:34:25 +0000 (12:34 +0000)]
* decContext.c (decContextSetStatusFromString): Constify.
* decContext.h (decContextSetStatusFromString): Likewise.
* decNumber.c (decNumberFromString): Likewise.
* decNumber.h (decNumberFromString): Likewise.
* decimal128.c (decimal128FromString): Likewise.
* decimal128.h (decimal128FromString): Likewise.
* decimal32.c (decimal32FromString): Likewise.
* decimal32.h (decimal32FromString): Likewise.
* decimal64.c (decimal64FromString): Likewise.
* decimal64.h (decimal64FromString): Likewise.

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

14 years ago gcc/
shinwell [Mon, 21 Aug 2006 10:10:58 +0000 (10:10 +0000)]
gcc/
* config/arm/pr-support.c (__gnu_unwind_execute): Insert " + 1" in
necessary places to pass the correct "number of registers" values
to _Unwind_VRS_Pop.

gcc/testsuite/
  * g++.dg/eh/arm-vfp-unwind.C: New test.

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

14 years ago * tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function.
hubicka [Mon, 21 Aug 2006 01:53:11 +0000 (01:53 +0000)]
* tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function.
(create_name_tags): Instead of quadratic checking use hashtable.
* bitmap.h: Include hashtab.h.
(bitmap_hash): Declare.
* bitmap.c (bitmap_hash): New function.

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

14 years ago PR rtl-optimization/28071
hubicka [Mon, 21 Aug 2006 01:42:39 +0000 (01:42 +0000)]
PR rtl-optimization/28071
* tree-optimize.c (tree_rest_of_compilation): Do not remove edges
twice.
* tree-inline.c (copy_bb): Use cgraph_set_call_stmt.
* ipa-inline.c (cgraph_check_inline_limits): Add one_only argument.
(cgraph_decide_inlining, cgraph_decide_inlining_of_small_function,
cgraph_decide_inlining_incrementally): Update use of
cgraph_check_inline_limits.
* cgraph.c (edge_hash, edge_eq): New function.
(cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge,
cgraph_edge_remove_caller, cgraph_node_remove_callees,
cgraph_remove_node): Maintain call site hash.
* cgraph.h (struct cgraph_node): Add call_site_hash.
(cgraph_set_call_stmt): New function.

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

14 years agoDaily bump.
gccadmin [Mon, 21 Aug 2006 00:17:33 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR rtl-optimization/28071
hubicka [Mon, 21 Aug 2006 00:00:14 +0000 (00:00 +0000)]
PR rtl-optimization/28071
* reload1.c (reg_has_output_reload): Turn into regset.
(reload_as_needed, forget_old_reloads_1, forget_marked_reloads,
choose_reload_regs, emit_reload_insns): Update to new
reg_has_output_reload.

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

14 years ago PR c++/28341
mmitchel [Sun, 20 Aug 2006 23:53:10 +0000 (23:53 +0000)]
PR c++/28341
* tree.c (cast_valid_in_integral_constant_expression_p): New
function.
* cp-tree.h (tsubst_copy_and_build): Adjust prototype.
* pt.c (tsubst_expr): Add integral_constant_expression_p
parameter.
(fold_non_dependent_expr): Adjust callers of
tsubst_{expr,copy_and_build}.
(tsubst_friend_function): Likewise.
(tsubst_template_arg): Likewise.
(tsubst_default_argument): Likewise.
(tsubst_decl): Likewise.
(tsubst): Likewise.
(tsubst_omp_clasuses): Likewise.
(regenerate_decl_fromp_template): Likewise.
(instantiate_decl): Likewise.
(tsubst_initializer_list): Likewise.
(tsubst_enum): Likewise.
(tsubst_expr): Use RECUR throughout.
(tsubst_copy_and_build): Change definition of RECUR.  Do not allow
invalid casts in integral constant expressions.
* parser.c (cp_parser_postfix_expression): Use
cast_valid_in_integral_constant_expression_p.
(cp_parser_cast_expression): Likewise.
(cp_parser_functional_cast): Likewise.

PR c++/28346
* pt.c (tsubst_qualified_id): Do not strip references from
OFFSET_REFs.

2006-08-20  Mark Mitchell  <mark@codesourcery.com>

PR c++/28341
* g++.dg/template/ref3.C: New test.
* g++.dg/template/nontype13.C: New test.

PR c++/28346
* g++.dg/template/ptrmem17.C: New test.

2006-08-20  Mark Mitchell  <mark@codesourcery.com>

* objcp-lang.c (objcp_tsubst_copy_and_build): Adjust call to
tsubst_copy_and_build.

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

14 years ago PR middle-end/28779
hubicka [Sun, 20 Aug 2006 18:46:54 +0000 (18:46 +0000)]
PR middle-end/28779
* ipa-inline.c (cgraph_decide_inlining, cgraph_early_inlining): Compute
function body sizes.
* cgraphunit.c (cgraph_analyze_function): Don't do so.

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

14 years ago2006-08-20 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 20 Aug 2006 16:05:05 +0000 (16:05 +0000)]
2006-08-20  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (gamma_distribution<>::_M_initialize,
gamma_distribution<>::_M_l_d): Add.
(gamma_distribution<>::gamma_distribution(const result_type&),
operator>>(std::basic_istream<>&, gamma_distribution&)): Use it.
include/tr1/random.tcc (gamma_distribution<>::_M_initialize):
Define.
(gamma_distribution<>::operator()): Adjust.

* include/tr1/random (geometric_distribution<>::_M_initialize): Add.
(geometric_distribution<>::geometric_distribution(const _RealType&),
operator>>(std::basic_istream<>&, geometric_distribution&)): Use it.

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

14 years ago2006-08-20 Janne Blomqvist <jb@gcc.gnu.org>
jb [Sun, 20 Aug 2006 09:22:04 +0000 (09:22 +0000)]
2006-08-20  Janne Blomqvist  <jb@gcc.gnu.org>

PR fortran/25828
* gfortran.texi: Mention STREAM I/O among supported F2003
features.

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

14 years ago PR target/28648 c:
dannysmith [Sun, 20 Aug 2006 08:46:13 +0000 (08:46 +0000)]
PR target/28648 c:
* tree.c (handle_dll_attribute): Return early if not a
    var or function decl.

testsuite
* gcc.dg/attr-invalid.c: Add tests for invalid dllimport.

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

14 years ago2006-08-20 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 20 Aug 2006 05:45:43 +0000 (05:45 +0000)]
2006-08-20 Paul Thomas <pault@gcc.gnu.org>

PR fortran/28601
PR fortran/28630
* gfortran.h : Eliminate gfc_dt_list structure and reference
to it in gfc_namespace.
* resolve.c (resolve_fl_derived): Remove the building of the
list of derived types for the current namespace.
* symbol.c (find_renamed_type): New function to find renamed
derived types by symbol name rather than symtree name.
(gfc_use_derived): Search parent namespace for identical
derived type and use it, even if local version is complete,
except in interface bodies. Ensure that renamed derived types
are found by call to find_renamed_type. Recurse for derived
type components.
(gfc_free_dt_list): Remove.
(gfc_free_namespace): Remove call to previous.
* trans-types.c (copy_dt_decls_ifequal): Remove.
(gfc_get_derived_type): Remove all the paraphenalia for
association of derived types, including calls to previous.
* match.c (gfc_match_allocate): Call gfc_use_derived to
associate any derived types that are being allocated.

PR fortran/20886
* resolve.c (resolve_actual_arglist): The passing of
a generic procedure name as an actual argument is an
error.

PR fortran/28735
* resolve.c (resolve_variable): Check for a symtree before
resolving references.

PR fortran/28762
* primary.c (match_variable): Return MATCH_NO if the symbol
is that of the program.

PR fortran/28425
* trans-expr.c (gfc_trans_subcomponent_assign): Translate
derived type component expressions other than another derived
type constructor.

PR fortran/28496
* expr.c (find_array_section): Correct errors in
the handling of a missing start value for the
index triplet in an array reference.

PR fortran/18111
* trans-decl.c (gfc_build_dummy_array_decl): Before resetting
reference to backend_decl, set it DECL_ARTIFICIAL.
(gfc_get_symbol_decl): Likewise for original dummy decl, when
a copy is made of an array.
(create_function_arglist): Likewise for the _entry paramter
in entry_masters.
(build_entry_thunks): Likewise for dummies in entry thunks.

PR fortran/28600
* trans-decl.c (gfc_get_symbol_decl): Ensure that the
DECL_CONTEXT of the length of a character dummy is the
same as that of the symbol declaration.

PR fortran/28771
* decl.c (add_init_expr_to_sym): Remove setting of charlen for
an initializer of an assumed charlen variable.

PR fortran/28660
* trans-decl.c (generate_expr_decls): New function.
(generate_dependency_declarations): New function.
(generate_local_decl): Call previous if not either a dummy or
a declaration in an entry master.

2006-08-20 Paul Thomas <pault@gcc.gnu.org>

PR fortran/28630
* gfortran.dg/used_types_2.f90: New test.

PR fortran/28601
* gfortran.dg/used_types_3.f90: New test.

PR fortran/20886
* gfortran.dg/generic_actual_arg.f90: New test.

PR fortran/28735
* gfortran.dg/module_private_array_refs_1.f90: New test.

PR fortran/28762
* gfortran.dg/program_name_1.f90: New test.

PR fortran/28425
* gfortran.dg/derived_constructor_comps_1.f90: New test.

PR fortran/28496
* gfortran.dg/array_initializer_2.f90: New test.

PR fortran/18111
* gfortran.dg/unused_artificial_dummies_1.f90: New test.

PR fortran/28600
* gfortran.dg/assumed_charlen_function_4.f90: New test.

PR fortran/28771
* gfortran.dg/assumed_charlen_in_main.f90: New test.

PR fortran/28660
* gfortran.dg/dependent_decls_1.f90: New test.

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

14 years agoDaily bump.
gccadmin [Sun, 20 Aug 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

14 years agofortran/
eedelman [Sat, 19 Aug 2006 21:05:59 +0000 (21:05 +0000)]
fortran/
2006-08-19  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/25217
        * resolve.c (resolve_fl_variable): Set a default initializer for
        derived types with INTENT(OUT) even if 'flag' is true.
        * trans-expr.c (gfc_conv_function_call): Insert code to
        reinitialize INTENT(OUT) arguments of derived type with default
        initializers.

testsuite/
2006-08-19  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/25217
        * gfortran.dg/derived_init_2.f90: New.

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

14 years ago * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
rmathew [Sat, 19 Aug 2006 15:35:11 +0000 (15:35 +0000)]
* sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
function prologue.

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

14 years agoDaily bump.
gccadmin [Sat, 19 Aug 2006 00:17:45 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-08-18 Roger Sayle <roger@eyesopen.com>
tromey [Fri, 18 Aug 2006 19:58:06 +0000 (19:58 +0000)]
2006-08-18  Roger Sayle  <roger@eyesopen.com>

* scripts/check_jni_methods.sh: Don't use the "set -C" command
which isn't available in all shells.

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

14 years ago PR target/27565
jsm28 [Fri, 18 Aug 2006 19:15:31 +0000 (19:15 +0000)]
PR target/27565
* config/rs6000/rs6000.h (LOCAL_ALIGNMENT): For SPE, only adjust
alignment of SPE vector types.

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

14 years ago * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
tromey [Fri, 18 Aug 2006 17:27:29 +0000 (17:27 +0000)]
* gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
debugging prints.
* gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
print.
(readEntries): Likewise.

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

14 years ago2006-08-18 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 18 Aug 2006 17:15:43 +0000 (17:15 +0000)]
2006-08-18  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (class binomial_distribution<>): Add.
* include/tr1/random.tcc (binomial_distribution<>::operator(),
operator<<(std::basic_ostream<>&, const binomial_distribution<>&),
operator>>(std::basic_istream<>&, binomial_distribution<>&,
binomial_distribution<>::_M_waiting(), binomial_distribution<>::
_M_initialize()): Define.
* testsuite/tr1/5_numerical_facilities/random/binomial_distribution/
requirements/typedefs.cc: New.

* include/tr1/random (geometric_distribution<>::
geometric_distribution(const _RealType&)): Fix DEBUG_ASSERT
limits.

* include/tr1/random (poisson_distribution): Add normal_distribution
member, adjust consistently; minor tweaks and rearrangements of the
arithmetic.
(operator>>(std::basic_istream<>&, poisson_distribution<>&)): Move
out of line.
* include/tr1/random.tcc: Adjust.

* include/tr1/random.tcc (normal_distribution<>::operator()): Minor
tweaks.

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

14 years ago2006-08-18 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 18 Aug 2006 15:42:05 +0000 (15:42 +0000)]
2006-08-18  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28765
* include/ext/rc_string_base.h (_M_clear): New.
* include/ext/sso_string_base.h (_M_clear): Likewise.
* include/ext/vstring.h (clear): Use it.

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

14 years ago2006-08-18 Christophe Jaillet <christophe.jaillet@wanadoo.fr>
uros [Fri, 18 Aug 2006 05:48:13 +0000 (05:48 +0000)]
2006-08-18  Christophe Jaillet  <christophe.jaillet@wanadoo.fr>

* tree.c (is_attribute_with_length_p): Remove a duplicated assert.

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

14 years agoDaily bump.
gccadmin [Fri, 18 Aug 2006 00:17:29 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-08-17 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 17 Aug 2006 19:07:29 +0000 (19:07 +0000)]
2006-08-17  Andreas Tobler  <a.tobler@schweiz.ch>

* include/ffi_common.h (struct): Revert accidental commit.

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

14 years ago2006-08-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 17 Aug 2006 17:03:34 +0000 (17:03 +0000)]
2006-08-17  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (install-exec-hook): Support $(DESTDIR).
* Makefile.in: Regenerated.

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

14 years ago * gcc.c-torture/execute/pr28289.c: New test.
amylaar [Thu, 17 Aug 2006 13:28:03 +0000 (13:28 +0000)]
* gcc.c-torture/execute/pr28289.c: New test.

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

14 years ago PR c/28744
jakub [Thu, 17 Aug 2006 11:52:26 +0000 (11:52 +0000)]
PR c/28744
* cgraph.h (struct cgraph_node): Remove externally_visible
bitfield.
* cgraphunit.c (process_function_and_variable_attributes): Set
local.externally_visible rather than externally_visible.

PR c/28744
* c-common.c (handle_externally_visible_attribute): First look
at TREE_CODE and only if it is function or var decl, check for
non-public objects.  Don't warn for DECL_EXTERNAL.
* cgraphunit.c (process_function_and_variable_attributes): Warn
if externally_visible attribute is used on non-public object.

* gcc.dg/attr-externally-visible-1.c: New test.
* gcc.dg/attr-externally-visible-2.c: New test.
* g++.dg/parse/attr-externally-visible-1.C: New test.
* g++.dg/parse/attr-externally-visible-2.C: New test.

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

14 years agoFix typo in previously applied patch.
hubicka [Thu, 17 Aug 2006 10:08:31 +0000 (10:08 +0000)]
Fix typo in previously applied patch.

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

14 years ago PR tree-optimization/27865
hubicka [Thu, 17 Aug 2006 09:44:12 +0000 (09:44 +0000)]
PR tree-optimization/27865
* reload1.c (forget_marked_reloads): New function.
(forget_old_reloads_1): When data are passed, just mark the registers
for later removal.
(reload_as_needed): Use the new mechanizm.

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

14 years ago PR c++/28606
reichelt [Thu, 17 Aug 2006 09:07:39 +0000 (09:07 +0000)]
PR c++/28606
* parser.c (cp_parser_diagnose_invalid_type_name): Handle BIT_NOT_EXPR.
Fix formatting.
(cp_parser_parse_and_diagnose_invalid_type_name): Tighten condition
for valid type-names.
(cp_parser_unqualified_id): Fix error handling for destructors.

* g++.dg/parse/dtor11.C: New test.

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

14 years agoPR target/28146
aoliva [Thu, 17 Aug 2006 08:55:02 +0000 (08:55 +0000)]
PR target/28146
* reload.h (reg_equiv_alt_mem_list): New declaration.
* reload1.c (reg_equiv_alt_mem_list): New definition.
(reload): Initialize it and release it.
(delete_output_reload): Use it.
* reload.c (push_reg_equiv_alt_mem): New function.
(find_reloads_toplev): Call it.
(find_reloads_address, find_reloads_address_1): Likewise.
(find_reloads_subreg_address): Likewise.

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

14 years ago2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
mkuvyrkov [Thu, 17 Aug 2006 08:48:37 +0000 (08:48 +0000)]
2006-08-17  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

PR rtl-optimization/28489
* sched-ebb.c (begin_schedule_ready): Create basic block
at the right place.
(advance_target_bb): Skip empty blocks.
* haifa-sched.c (bb_note): Make global.
* sched-int.h (bb_note): Add prototype.

2006-08-17  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

PR rtl-optimization/28489
* gcc.c-torture/compile/pr28489.c: New test.

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

14 years ago PR tree-optimization/27865
rakdver [Thu, 17 Aug 2006 08:22:05 +0000 (08:22 +0000)]
PR tree-optimization/27865
* tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE
for pointer types.
* tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p,
fold_used_pointer, pointer_used_p): New functions.
(analyze_scalar_evolution_1): Use fold_used_pointer.
* tree-chrec.c (convert_affine_scev): Convert no-op casts correctly.
* tree-ssa-loop-ivopts.c (generic_type_for): Return integral type
for pointers.

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

14 years ago PR c++/28710
reichelt [Thu, 17 Aug 2006 08:06:27 +0000 (08:06 +0000)]
PR c++/28710
* decl.c (xref_tag): Improve error message.  Return early on error.

* g++.dg/template/redecl4.C: New test.

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

14 years ago PR c++/28711
reichelt [Thu, 17 Aug 2006 08:02:39 +0000 (08:02 +0000)]
PR c++/28711
* pt.c (tsubst_copy_and_build) <case CONSTRUCTOR>: Robustify.

* g++.dg/template/ctor8.C: New test.

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

14 years ago PR libgomp/28725
jakub [Thu, 17 Aug 2006 07:58:02 +0000 (07:58 +0000)]
PR libgomp/28725
* env.c: Include ctype.h.
(parse_schedule, parse_unsigned_long, parse_boolean): Allow
leading and/or trailing whitespace and compare strings case
insensitively.

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

14 years ago2006-08-17 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 17 Aug 2006 07:02:55 +0000 (07:02 +0000)]
2006-08-17  Paolo Bonzini <bonzini@gnu.org>

PR c++/28573
* c-common.c (fold_offsetof_1): Add an argument and recurse down to it
or the INTEGER_CST.  Fail on a CALL_EXPR.
(fold_offsetof): Pass new argument to fold_offsetof_1.
* c-parser.c (c_parser_postfix_expression): Don't include a NULL
operand into an INDIRECT_REF.
* c-typeck.c (build_unary_op): Adjust call to fold_offsetof.

cp:
2006-08-17  Paolo Bonzini  <bonzini@gnu.org>

PR c++/28573
* semantics.c (finish_offsetof): Add new argument to fold_offsetof.

testsuite:
2006-08-17  Paolo Bonzini  <bonzini@gnu.org>

PR c++/28573
* g++.dg/parse/offsetof6.C: New test.
* g++.dg/parse/offsetof7.C: New test.

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

14 years ago PR testsuite/28602
danglin [Thu, 17 Aug 2006 02:26:59 +0000 (02:26 +0000)]
PR testsuite/28602
* gfortran.dg/gomp/gomp.exp: Return if check_effective_target_fopenmp
is false.

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

14 years ago * libtool-version: Updated.
tromey [Thu, 17 Aug 2006 01:57:55 +0000 (01:57 +0000)]
* libtool-version: Updated.

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

14 years ago2006-08-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 17 Aug 2006 01:56:47 +0000 (01:56 +0000)]
2006-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/28302
        * typeck.c (build_unary_op <case BIT_NOT_EXPR:>): Don't call
        perform_integral_promotions for non integral type
2006-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28302
        * g++.dg/ext/vector3.C: New test.

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

14 years agogcc/java/ChangeLog
tromey [Thu, 17 Aug 2006 01:03:21 +0000 (01:03 +0000)]
gcc/java/ChangeLog
* jvspec.c (lang_specific_driver): Add -s-bc-abi when needed.
libjava/ChangeLog
* configure, Makefile.in: Rebuilt.
* Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
(libgcj_bc_la_SOURCES): New variable.
(libgcj_bc_la_LDFLAGS): Likewise.
(libgcj_bc_la_LIBADD): Likewise.
(libgcj_bc_la_DEPENDENCIES): Likewise.
(libgcj_bc_la_LINK): Likewise.
(libgcj_bc_dummy_LINK): Likewise.
(libgcj_bc.la): New target.
(install-exec-hook): Likewise.
* libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
* libgcj_bc.c: New file.
* configure.ac (LIBGCJ_SPEC): New subst.
* configure.host (use_libgcj_bc): New variable.

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

14 years ago PR c++/28385
jason [Thu, 17 Aug 2006 00:51:37 +0000 (00:51 +0000)]
    PR c++/28385
        * pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Ignore quals from template
        if arg is a function.

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

14 years agoDaily bump.
gccadmin [Thu, 17 Aug 2006 00:17:17 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR gcov/profile/26570
rakdver [Thu, 17 Aug 2006 00:13:24 +0000 (00:13 +0000)]
PR gcov/profile/26570
* value-prof.c (static_values): Removed.
(tree_find_values_to_profile): Do not set static_values.
(find_values_to_profile): Do not free static_values.
* profile.c (instrument_values): Do not free the values.
(branch_prob): Free the values.

* gcc.dg/pr26570.c: New test.

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

14 years ago* config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
dj [Thu, 17 Aug 2006 00:05:07 +0000 (00:05 +0000)]
* config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.

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

14 years ago PR c/27697
jsm28 [Wed, 16 Aug 2006 23:10:46 +0000 (23:10 +0000)]
PR c/27697
* c-typeck.c (build_component_ref): Combine qualifiers of
structure or union and field.

testsuite:
* gcc.dg/qual-component-1.c: New test.

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

14 years ago PR c++/28593
reichelt [Wed, 16 Aug 2006 21:35:18 +0000 (21:35 +0000)]
PR c++/28593
* init.c (build_new): Return early on invalid placement.

* g++.dg/parse/new3.C: New test.

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

14 years ago PR rtl-optimization/28071
rakdver [Wed, 16 Aug 2006 21:25:39 +0000 (21:25 +0000)]
PR rtl-optimization/28071
* basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
* dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
* tree-into-ssa.c (struct dom_dfsnum): New.
(cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
functions.
(insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
compute_global_livein.
(prepare_block_for_update, prepare_use_sites_for): Mark the uses
in phi nodes in the correct blocks.

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

14 years ago PR tree-optimization/28364
rakdver [Wed, 16 Aug 2006 21:14:11 +0000 (21:14 +0000)]
PR tree-optimization/28364
* tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
correctly.
(fold_affine_expr): New function.
(may_eliminate_iv): Use fold_affine_expr.

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

14 years ago PR c/27489
reichelt [Wed, 16 Aug 2006 20:50:18 +0000 (20:50 +0000)]
PR c/27489
* c-typeck.c (c_start_case): Handle invalid orig_type correctly.
Clean up.

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

14 years ago * doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
mrs [Wed, 16 Aug 2006 20:36:23 +0000 (20:36 +0000)]
* doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
* doc/cppopts.texi (-MD): Likewise.

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

14 years agoOops - this should have been part of r116159, but I forgot to include it on the commi...
nickc [Wed, 16 Aug 2006 08:20:51 +0000 (08:20 +0000)]
Oops - this should have been part of r116159, but I forgot to include it on the commit command line. Doh!

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

14 years agoDaily bump.
gccadmin [Wed, 16 Aug 2006 00:18:02 +0000 (00:18 +0000)]
Daily bump.

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

14 years ago2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 15 Aug 2006 23:14:03 +0000 (23:14 +0000)]
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/25828
* gfortran.dg/streamio_1.f90: New test.
* gfortran.dg/streamio_2.f90: New test.
* gfortran.dg/streamio_3.f90: New test.
* gfortran.dg/streamio_4.f90: New test.
* gfortran.dg/streamio_5.f90: New test.
* gfortran.dg/streamio_6.f90: New test.
* gfortran.dg/streamio_7.f90: New test.
* gfortran.dg/streamio_8.f90: New test.

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

14 years ago2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 15 Aug 2006 23:06:44 +0000 (23:06 +0000)]
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25828
* libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT.
* io/file_pos.c (st_backspace): Ignore if access=STREAM.
(st_rewind): Handle case of access=STREAM.
* io/open.c (access_opt): Add STREAM_ACCESS.
(edit_modes): Set current_record to zero only if not STREAM.
(new_unit): Initialize maxrec, recl, and last_record for STREAM.
* io/read.c (read_x): Advance file position for STREAM.
* io/io.h (enum unit_access): Align IOPARM flags with frontend.
Add ACCESS_STREAM. Add prototype for is_stream_io () function.
Use GFC_IO_INT.
* io/inquire.c (inquire_via_unit): Add text for access = "STREAM".
* io/unit.c (is_stream_io): New function to return true if access =
STREAM.
* io/transfer.c (file_mode): Add modes for unformatted stream and
formatted stream. (current_mode): Return appropriate file mode based
on access flags.
(read_block): Handle formatted stream reads.
(read_block_direct): Handle unformatted stream reads.
(write_block): Handle formatted stream writes.
(write_buf): Handle unformatted stream writes.
(unformatted_read): Fix up, use temporary for size.
(pre_position): Position file for STREAM access.
(data_transfer_init): Initialize for stream access, skip irrelevent
error checks.
(next_record_r),(next_record_w), and (next_record): Do nothing for
stream I/O.
(finalize_transfer): Flush when all done if stream I/O.

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

14 years ago2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 15 Aug 2006 23:03:28 +0000 (23:03 +0000)]
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/25828
* gfortran.h: Add new pointer for stream position to st_inquire.
Rename gfc_large_io_int_kind to gfc_intio_kind.
* trans-types.c (gfc_init_kinds): use gfc_intio_kind.
* io.c: Add new IO tag for file position going in and another for out.
(match_dt_element): Match new tag_spos.
(gfc_resolve_dt): Resolve new tag_spos.
(gfc_free_inquire): Free inquire->strm_pos.
(match_inquire_element): Match new tag_strm_out.
(gfc_resolve_inquire): Resolve new tag_strm_out.
* trans-io.c: Rename IOPARM_type_large_io_int to IOPARM_type_intio.
(gfc_build_st_parameter): Same.
(gfc_build_io_library_fndecls) Same. and add build pointer type pintio.
(gfc_trans_inquire): Translate strm_pos for inquire.
* ioparm.def: Reorder flags to accomodate addition of new inquire
flag for strm_pos_out and add it in.

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

14 years agogcc
dannysmith [Tue, 15 Aug 2006 21:46:30 +0000 (21:46 +0000)]
gcc
PR c/28287
* c-common.c (handle_weak_attribute): Ignore and warn if
not a FUNCTION_ or VAR_DECL

testsuite

* gcc.dg/attr-invalid.c: Add tests for invalid weak attribute.

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

14 years agoIncorrect date in changelog
kgallowa [Tue, 15 Aug 2006 21:10:01 +0000 (21:10 +0000)]
Incorrect date in changelog

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

14 years agoForgot to commit changelog with last patch.
kgallowa [Tue, 15 Aug 2006 21:04:05 +0000 (21:04 +0000)]
Forgot to commit changelog with last patch.

2006-08-15  Kyle Galloway  <kgallowa@redhat.com>

  * ChangeLog: Added entry for previous patch

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

14 years ago2006-08-15 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Tue, 15 Aug 2006 20:40:10 +0000 (20:40 +0000)]
2006-08-15  Kyle Galloway  <kgallowa@redhat.com>

  * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
  * interpret.cc: Added placeholder for debug variable type info to STORE*
  macros.
  (_Jv_InterpMethod::run_debug): New method.
  (_Jv_InterpMethod::run_sync_object_debug): New method.
  (_Jv_InterpMethod::run_sync_class_debug): New method.
  (_Jv_InterpMethod::run_normal_debug): New method.
  (_Jv_InterpMethod::run_class_debug): New method.
  (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
  versions of these functions.
  * interpret-run.cc: New file, holds contents of old
  _Jv_InterpMethod::run method.
  * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
  appropriate function for debug or normal mode.

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

14 years ago PR c/28280
mrs [Tue, 15 Aug 2006 18:01:19 +0000 (18:01 +0000)]
PR c/28280
* c-parser.c (c_parser_typeof_specifier): Don't use
c_finish_expr_stmt, open code desired semantics instead.

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

14 years ago PR c++/28594
lmillward [Tue, 15 Aug 2006 17:21:09 +0000 (17:21 +0000)]
PR c++/28594
* pt.c (process_template_parm): Robustify.
* g++.dg/template/void6.C: New test.

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

14 years ago* config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
nickc [Tue, 15 Aug 2006 17:06:18 +0000 (17:06 +0000)]
* config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
  fragment to tmake_file only if threads are enabled.
* config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
* config/i386/t-gthr-win32: New file. ... here.

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

14 years ago PR c/28649
reichelt [Tue, 15 Aug 2006 16:52:25 +0000 (16:52 +0000)]
PR c/28649
* c-parser.c (c_parser_compound_statement_nostart): Reset
parser->error after each statement.

* gcc.dg/parse-error-1.c: New test.
* gcc.dg/parse-error-2.c: New test.
* gcc.dg/cpp/digraph2.c: Add error-marker.
* gcc.dg/noncompile/920923-1.c: Likewise.

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

14 years ago2006-08-15 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 15 Aug 2006 15:11:24 +0000 (15:11 +0000)]
2006-08-15  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (poisson_distribution<>::_M_initialize): Add.
(poisson_distribution<>::poisson_distribution(const _RealType&):
Use it.
(operator>>(std::basic_istream<>&, poisson_distribution<>&)):
Likewise.
(poisson_distribution<>::_M_large): Remove.
* include/tr1/random.tcc (poisson_distribution<>::_M_initialize):
Define.
(operator<<(std::basic_ostream<>&, const poisson_distribution<>&)):
Do not output the constants.

* include/tr1/random (operator>>(std::basic_istream<>&,
gamma_distribution&)): Minor tweak.

* include/tr1/random.tcc (poisson_distribution<>::operator()):
Minor tweak.

* include/tr1/random: Consistently, all data members private.

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

14 years ago PR middle-end/28713
jakub [Tue, 15 Aug 2006 14:57:52 +0000 (14:57 +0000)]
PR middle-end/28713
* omp-low.c (lower_omp_parallel): Convert t to
receiver_decl's type.
(expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
source before comparison.

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

14 years ago PR middle-end/28724
jakub [Tue, 15 Aug 2006 14:56:28 +0000 (14:56 +0000)]
PR middle-end/28724
* gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
to itype in assignment to oldival2.

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

14 years ago2006-08-15 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 15 Aug 2006 09:36:39 +0000 (09:36 +0000)]
2006-08-15  Andreas Tobler  <a.tobler@schweiz.ch>

* include/ffi_common.h: Remove lint directives.
* include/ffi.h.in: Likewise.

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

14 years ago2006-08-15 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 15 Aug 2006 09:08:31 +0000 (09:08 +0000)]
2006-08-15  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random.tcc (mersenne_twister<>::operator()): Revert
last change (per gcc-patches/2006-08/msg00484.html).

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

14 years ago2006-08-14 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 15 Aug 2006 02:28:45 +0000 (02:28 +0000)]
2006-08-14  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (class poisson_distribution<>): Add.
* include/tr1/random.tcc (poisson_distribution<>::operator(),
operator<<(std::basic_ostream<>&, const poisson_distribution<>&),
operator>>(std::basic_istream<>&, poisson_distribution<>&,
poisson_distribution<>::poisson_distribution(const _RealType&)):
Define.
* testsuite/tr1/5_numerical_facilities/random/poisson_distribution/
requirements/typedefs.cc: New.

* include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak
a bit for efficiency.

* include/tr1/random.tcc (operator<<(std::basic_ostream<>&,
const normal_distribution<>&), operator>>(std::basic_istream<>&,
normal_distribution<>&)): Do not output _M_saved unnecessarily.

* include/tr1/random: Trivial formatting fixes.
* include/tr1/cmath: Likewise.

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

14 years ago2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
pinskia [Tue, 15 Aug 2006 01:43:28 +0000 (01:43 +0000)]
2006-07-14  Andrew Pinski  <pinksia@physics.uc.edu>

        PR c/27490
        PR c/27489
        * c-typeck.c (build_compound_expr): If the second expression
        is an error mark, then just return an error mark instead of
        creating a COMPOUND_EXPR.
2006-08-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/27490
        * gcc.dg/sizeof-2.c: New testcase.

        PR c/27489
        * gcc.dg/switch-A.c: New testcase.

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

14 years agoDaily bump.
gccadmin [Tue, 15 Aug 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
mrs [Mon, 14 Aug 2006 23:40:41 +0000 (23:40 +0000)]
* Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.

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

14 years ago PR c++/28288
sje [Mon, 14 Aug 2006 23:15:57 +0000 (23:15 +0000)]
PR c++/28288
PR c++/14556
* g++.old-deja/g++.warn/compare1.C: Delete.
* g++.dg/opt/pr7503-2.C: Delete.
* g++.dg/opt/pr7503-3.C: Delete.
* g++.dg/opt/pr7503-4.C: Delete.
* g++.dg/opt/pr7503-5.C: Delete.
* g++.dg/opt/max1.C: Delete.
* g++.dg/warn/minmax.C: Delete.
* g++.dg/expr/minmax.C: New test.

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