aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-02-23gfortran.h (gfc_get_namespace): Add second argument to prototype.Tobias Schlüter9-11/+41
fortran/ * gfortran.h (gfc_get_namespace): Add second argument to prototype. * intrinsic.c (gfc_intrinsic_init_1): Pass second argument to gfc_get_namespace. * module.c (mio_namespace_ref, load_needed): Likewise. * parse.c (parse_interface, parse_contained): Likewise. Here the correct second argument matters. * symbol.c (gfc_get_namespace): Add parent_types argument, only copy parent's implicit types if this is set. (gfc_symbol_init_2): Pass second argument to gfc_get_namespace. * trans-common.c (build_common_decl): Likewise. testsuite/ * gfortran.dg/implicit_3.f90: New test. From-SVN: r95463
2005-02-23decl.c (grokvardecl): Don't exempt anonymous types from having linkage for ↵Alexandre Oliva5-20/+26
variables that have... gcc/cp/ChangeLog: * decl.c (grokvardecl): Don't exempt anonymous types from having linkage for variables that have linkage other than "C". gcc/testsuite/ChangeLog: * g++.dg/lookup/anon2.C: Don't let access checks make it look like the test passes. * g++.dg/other/anon3.C: Accept a warning. From-SVN: r95462
2005-02-23re PR target/20018 ([ia64] unable to find a register to spill in class`PR_REG')Roger Sayle2-0/+9
PR target/20018 PR rtl-optimization/20097 * simplify-rtx.c (simplify_relational_operation_1): Avoid creating BImode SUBREGs of SImode registers which confuse the ia64 backend. From-SVN: r95461
2005-02-23t-aix43 (SHLIB_INSTALL): Create directory for shared library.David Edelsohn3-2/+11
* t-aix43 (SHLIB_INSTALL): Create directory for shared library. * t-aix52 (SHLIB_INSTALL): Same. From-SVN: r95460
2005-02-23re PR libgcj/16923 (-D* Options passed to JNI_CreateJavaVM are ignored)Thomas Fitzsimmons13-57/+424
2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/16923 * gcj.texi (Invocation): Add descriptions of JvVMInitArgs and JvVMOption. 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/16923 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return value. Move argument parsing code to prims.cc. * prims.cc (no_properties): Remove. (_Jv_Compiler_Properties): Initialize to NULL. (_Jv_Properties_Count): Initialize to 0. (parse_verbose_args): New function. (parse_init_args): New function. (_Jv_CreateJavaVM): Call parse_init_args. (_Jv_RunMain): Check return value of _Jv_CreateJavaVM. * gcj/cni.h (JvVMOption): New struct. (JvVMInitArgs): Likewise. (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than void*. * libjava/gcj/javaprims.h (_Jv_VMOption): New struct. (_Jv_VMInitArgs): Likewise. * include/java-props.h (_Jv_Properties_Count): Declare. * java/lang/natRuntime.cc (insertSystemProperties): Use _Jv_Properties_Count in for loop exit condition. * testsuite/libjava.jni/jni.exp (gcj_invocation_compile_c_to_binary): New procedure. (gcj_invocation_test_one): Likewise. (gcj_jni_run): Run JNI invocation API tests. * testsuite/libjava.jni/invocation/PR16923.c, testsuite/libjava.jni/invocation/PR16923.java, testsuite/libjava.jni/invocation/PR16923.out: New test. From-SVN: r95459
2005-02-23type_traits: Implement is_convertible.Paolo Carlini6-1/+167
2005-02-23 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implement is_convertible. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_convertible/is_convertible.cc: New. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_convertible/typedefs.cc: Likewise. * testsuite/testsuite_tr1.h: Add class DerivedType. * include/tr1/type_traits (is_function): Don't mistake references to function types for function types. * testsuite/tr1/4_metaprogramming/primary_type_categories/ is_function/is_function.cc: Add testcase. From-SVN: r95458
2005-02-23genpreds.c: Update copyright.Kazu Hirata10-6/+23
gcc/ * genpreds.c: Update copyright. cp/ * cp-objcp-common.h, error.c: Update copyright. fortran/ * intrinsic.h, st.c: Update copyright. treelang/ * parse.y: Update copyright. From-SVN: r95457
2005-02-23* gcc.dg/pr20017.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r95456
2005-02-23re PR libffi/20104 (gij fails on ppc and not on x86)Andrew Haley2-3/+12
2005-02-22 Andrew Haley <aph@redhat.com> PR libffi/20104 * src/powerpc/ffi.c (ffi_prep_cif_machdep): Bump alignment to odd-numbered register pairs for 64-bit integer types. From-SVN: r95455
2005-02-23re PR libffi/20104 (gij fails on ppc and not on x86)Andreas Tobler2-0/+47
2005-02-23 Andreas Tobler <a.tobler@schweiz.ch> PR libffi/20104 * testsuite/libffi.call/return_ll1.c: New test case. From-SVN: r95454
2005-02-23re PR target/20159 (sol2-ci.asm not correctly assembled)Michael Beach2-2/+7
PR target/20159 * config/sparc/t-elf (startup files): Assemble with CPP. From-SVN: r95450
2005-02-23list_read_4.f90: Change to f90 comments.Bud Davis2-12/+16
2005-02-23 Bud Davis <bdavis@gfortran.org> * gfortran.dg/list_read_4.f90: Change to f90 comments. From-SVN: r95449
2005-02-23Allow darwin targeted ports to build tk, itcl and libgui.Paul Schlie3-75/+94
From-SVN: r95448
2005-02-23genpreds.c (mark_mode_tests): Handle non-VOIDmode match_operands.Paolo Bonzini2-2/+10
2005-02-23 Paolo Bonzini <bonzini@gnu.org> * genpreds.c (mark_mode_tests): Handle non-VOIDmode match_operands. (write_predicate_expr): Likewise. From-SVN: r95447
2005-02-23re PR ada/19902 (ACATS cxa3004 cxb3006 fail at compile time "ambiguous ↵Eric Botcazou3-639/+6
expression") PR ada/19902 * ada/acats/tests/cxa/cxa3004.a: Remove. * ada/acats/tests/cxb/cxb30061.am: Likewise. From-SVN: r95446
2005-02-23Makefile.am: Added new file gnu/java/nio/ChannelReader.java.Michael Koch3-0/+12
2005-02-23 Michael Koch <konqueror@gmx.de> * Makefile.am: Added new file gnu/java/nio/ChannelReader.java. * Makefile.in: Regenerated. From-SVN: r95445
2005-02-23ChannelReader: Fixed comments.Robert Schuster3-1/+225
2005-02-23 Robert Schuster <thebohemian@gmx.net> * gnu/java/nio/ChannelReader: Fixed comments. 2005-02-23 Robert Schuster <thebohemian@gmx.net> * java/nio/channels/Channels: Added FIXMEs about stub method implementation. (newReader): Implemented. * gnu/java/nio/ChannelReader: New class. From-SVN: r95444
2005-02-23SimpleDateFormat.java: Removed unused import.Michael Koch2-1/+5
2005-02-23 Michael Koch <konqueror@gmx.de> * java/text/SimpleDateFormat.java: Removed unused import. From-SVN: r95443
2005-02-23re PR c++/20073 (ICE initializing const array)Mark Mitchell1-0/+7
PR c++/20073 * decl.c (start_decl_1): Don't clear TREE_READONLY. (cp_finish_decl): Likewise. (complete_vars): Call cp_apply_type_quals_to_decl. * typeck.c (cp_apply_type_quals): Avoid setting TREE_READONLY in cases where that's not valid. From-SVN: r95442
2005-02-23re PR c++/20073 (ICE initializing const array)Mark Mitchell4-27/+31
PR c++/20073 * decl.c (start_decl_1): Don't clear TREE_READONLY. (cp_finish_decl): Likewise. (complete_vars): Call cp_apply_type_quals_to_decl. * typeck.c (cp_apply_type_quals): Avoid setting TREE_READONLY in cases where that's not valid. PR c++/20073 * g++.dg/init/const1.C: New test. From-SVN: r95441
2005-02-23check_performance: Tweaks.Benjamin Kosnik3-17/+32
2005-02-22 Benjamin Kosnik <bkoz@redhat.com> * scripts/check_performance: Tweaks. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name output file with extension that clean rules can find. From-SVN: r95440
2005-02-23re PR c++/19991 (Enum not accepted in array-size)Mark Mitchell13-48/+109
PR c++/19991 * init.c (integral_constant_value): Iterate if the value of a decl is itself a constant. PR c++/20152 * parser.c (cp_parser_class_head): Check for redefintions here. * semantics.c (begin_class_definition): Not here. PR c++/20153 * decl2.c (build_anon_union_vars): Add type parameter. (finish_anon_union): Pass it. PR c++/20148 * error.c (dump_expr): Do not print the body of a BIND_EXPR. Handle STATEMENT_LIST. PR c++/19991 * g++.dg/parse/constant7.C: New test. PR c++/20152 * g++.dg/parse/error27.C: New test. * g++.dg/template/qualttp15.C: Adjust error markers. * g++.old-deja/g++.other/struct1.C: Likewise. PR c++/20153 * g++.dg/template/error17.C: New test. PR c++/20148 * g++.dg/parser/error26.C: New test. From-SVN: r95438
2005-02-23re PR tree-optimization/20100 (LIM is pulling out a pure function even ↵Diego Novillo11-88/+193
though there is something which can modify global memory) PR tree-optimization/20100 PR tree-optimization/20115 * tree-optimize.c (init_tree_optimization_passes): Remove pass_maybe_create_global_var. * tree-pass.h (pass_maybe_create_global_var): Remove. * tree-ssa-alias.c (aliases_computed_p): Declare. (struct alias_info): Add field NUM_PURE_CONST_CALLS_FOUND. (count_calls_and_maybe_create_global_var): Remove. (pass_maybe_create_global_var): Remove. (init_alias_info): Do not declare aliases_computed_p. (maybe_create_global_var): If the function contains no call-clobbered variables and a mix of pure/const and regular function calls, create .GLOBAL_VAR. Mark all call-clobbered variables for renaming. (merge_pointed_to_info): Update comment. (add_pointed_to_var): Likewise. (is_escape_site): Likewise. Accept struct alias_info * instead of size_t *. Update all users. Update AI->NUM_CALLS_FOUND and AI->NUM_PURE_CONST_CALLS_FOUND as necessary. * tree-ssa-operands.c (get_call_expr_operands): If ALIASES_COMPUTED_P is false, do not add call-clobbering operands. * tree-ssa.c (init_tree_ssa): Set ALIASES_COMPUTED_P to false. (delete_tree_ssa): Likewise. testsuite/ChangeLog PR tree-optimization/20100 PR tree-optimization/20115 * gcc.dg/pr20115.c: New test. * gcc.dg/pr20115-1.c: New test. * gcc.dg/pr20100.c: New test. * gcc.dg/tree-ssa/20040517-1.c: Expect virtual operands for call-clobbered variables after alias1. From-SVN: r95437
2005-02-23[multiple changes]Bud Davis4-4/+66
2004-02-22 Paul Thomas <paulthomas2@wannado.fr> Bud Davis <bdavis@gfortran.org> * io/list_read.c (read_real): Handle separators properly in list directed read. 2005-02-22 Bud Davis <bdavis@gfortran.org> * gfortran.dg/list_read_4.f90: new test. From-SVN: r95436
2005-02-22Fix FreeBSD __LDBL_MAX__ -pedantic -save-temps bug.James E Wilson2-2/+10
* toplev.c (backend_init): Don't call init_adjust_machine_modes here. (do_compile): Do call it here. From-SVN: r95432
2005-02-23re PR rtl-optimization/20017 (internal compiler error: in ↵Kazu Hirata4-0/+59
rtl_verify_flow_info, at cfgrtl.c:2212) gcc/ PR rtl-optimization/20017. * passes.c (rest_of_handle_combine, rest_of_handle_cse, rest_of_handle_cse2, rest_of_handle_gcse): Call delete_dead_jumptables immediately before calling cleanup_cfg. testsuite/ PR rtl-optimization/20017. * gcc.dg/pr20017.c: New. From-SVN: r95431
2005-02-22re PR tree-optimization/19952 (ICE: tree check: expected class ↵Devang Patel4-1/+36
'declaration', have 'statement' (label_expr) in tree_verify_flow_info, at tree-cfg.c:3709) PR 19952 * tree-if-conv.c (process_phi_nodes): Use bsi_after_labels and skip all labels * g++.dg/tree-ssa/pr19952.C: New test. From-SVN: r95430
2005-02-23Add myself as write-after-approvalDoug Gregor1-0/+1
From-SVN: r95429
2005-02-23re PR awt/20029 (Robot needs XTest)Thomas Fitzsimmons5-4/+97
2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/20029: * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS. (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst. * Makefile.in: Regenerate. * configure.ac: Check for libXtst. * configure: Regenerate. From-SVN: r95428
2005-02-23Daily bump.GCC Administrator2-2/+2
From-SVN: r95426
2005-02-22* config/rs6000/aix.h (WINT_TYPE): Define.David Edelsohn2-0/+7
From-SVN: r95421
2005-02-22rs6000.c (rs6000_override_options): Default to natural alignment for 64-bit ↵Stan Shebs3-2/+24
Darwin. * config/rs6000/rs6000.c (rs6000_override_options): Default to natural alignment for 64-bit Darwin. (rs6000_parse_alignment_option): Warn about uses of -malign-power on 64-bit Darwin. * doc/invoke.texi: Document this. From-SVN: r95420
2005-02-22re PR libstdc++/20091 (18_support/14026.cc execution test fails)Richard Henderson2-5/+10
PR libstdc++/20091 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case decrement of uncaughtExceptions for rethrow. From-SVN: r95419
2005-02-22parser.c (cp_parser_direct_declarator): Always complain about non-constant ↵Mark Mitchell5-14/+38
array bounds when in a function scope. * parser.c (cp_parser_direct_declarator): Always complain about non-constant array bounds when in a function scope. * semantics.c (finish_id_expression): Do not mark dependent names as non-constant. From-SVN: r95417
2005-02-22AlgorithmParameterGenerator.java (getInstance): Mention provider when ↵Mark Wielaard7-6/+16
throwing NoSuchProviderException. 2005-02-22 Mark Wielaard <address@bogus.example.com> * java/security/AlgorithmParameterGenerator.java (getInstance): Mention provider when throwing NoSuchProviderException. * java/security/AlgorithmParameters.java (getInstance): Likewise. * java/security/KeyFactory.java (getInstance): Likewise. * java/security/KeyStore.java (getInstance): Likewise. * java/security/SecureRandom.java (getInstance): Likewise. * java/security/cert/CertificateFactory.java (getInstance): Likewise. From-SVN: r95416
2005-02-22Proxy.java, [...]: Don't catch java.lang.ThreadDeath.Jeroen Frijters6-2/+27
2005-02-22 Jeroen Frijters <jeroen@frijters.net> * java/lang/reflect/Proxy.java, java/net/URL.java, java/security/SecureRandom.java, java/util/Timer.java, java/util/prefs/AbstractPreferences.java: Don't catch java.lang.ThreadDeath. From-SVN: r95415
2005-02-22c-common.c (c_common_type_for_mode): Pass the mode's precision to ↵DJ Delorie2-2/+11
make_[un]signed_type, not the mode itself. * c-common.c (c_common_type_for_mode): Pass the mode's precision to make_[un]signed_type, not the mode itself. From-SVN: r95412
2005-02-222005-02-22 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2-5/+40
* java/awt/font/TransformAttribute.java, (TransformAttribute(AffineTransform)): throw IllegalArgumentException for null transform. (getTransform): return a copy of transform. Added doc comments to all. From-SVN: r95408
2005-02-222005-02-22 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters12-5/+40
* java/io/Externalizable.java, java/io/Serializable.java (serialVersionUID): Removed. * java/rmi/server/RemoteObject.java, java/rmi/server/UID.java (serialVersionUID): Made private. * java/rmi/server/RemoteRef.java, java/rmi/server/ServerRef.java (serialVersionUID): Set proper value. * java/security/interfaces/DSAPrivateKey.java, java/security/interfaces/DSAPublicKey.java, java/security/interfaces/RSAMultiPrimePrivateCrtKey.java, java/security/interfaces/RSAPrivateCrtKey.java, java/security/interfaces/RSAPrivateKey.java, java/security/interfaces/RSAPublicKey.java, javax/crypto/SecretKey.java (serialVersionUID): Added. From-SVN: r95406
2005-02-22* java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".Tom Tromey2-1/+8
From-SVN: r95405
2005-02-22re PR java/20056 ('verification failed: incompatible type on stack' with ↵Tom Tromey2-17/+45
--indirect-dispatch) PR java/20056: * verify-impl.c (EITHER): New define. (types_compatible): Handle it. (check_field_constant): Use it. From-SVN: r95404
2005-02-22re PR java/20056 ('verification failed: incompatible type on stack' with ↵Tom Tromey2-14/+42
--indirect-dispatch) PR java/20056: * verify.cc (type::EITHER): New constant. (check_field_constant): Use it. (type::compatible): Handle it. From-SVN: r95403
2005-02-22PolicyFile.java, [...]: Fixed copyright header.Michael Koch4-19/+30
2005-02-22 Michael Koch <konqueror@gmx.de> * gnu/java/security/PolicyFile.java, gnu/java/security/pkcs/PKCS7SignedData.java, gnu/java/security/pkcs/SignerInfo.java: Fixed copyright header. From-SVN: r95399
2005-02-22functional: Fix License to GPL with exception.Paolo Carlini9-1/+84
2005-02-22 Paolo Carlini <pcarlini@suse.de> * include/tr1/functional: Fix License to GPL with exception. * include/tr1/hashtable: Likewise. * include/tr1/tuple: Likewise. * include/tr1/type_traits: Likewise. * include/tr1/type_traits_fwd.h: Likewise. * include/tr1/unordered_map: Likewise. * include/tr1/unordered_set: Likewise. * include/tr1/utility: Likewise. From-SVN: r95398
2005-02-22tree-outof-ssa.c (SSANORM_USE_COALESCE_LIST): Remove.Kazu Hirata2-49/+44
* tree-outof-ssa.c (SSANORM_USE_COALESCE_LIST): Remove. (coalesce_ssa_name): Don't check for SSANORM_USE_COALESCE_LIST. (rewrite_out_of_ssa): Don't use SSANORM_USE_COALESCE_LIST. From-SVN: r95397
2005-02-22cfg.c (cached_make_edge): Call make_edge if edge cache is not available.Kazu Hirata2-33/+34
* cfg.c (cached_make_edge): Call make_edge if edge cache is not available. Use tail calls wherever possible. (make_edge): Call unchecked_make_edge to create an edge. From-SVN: r95396
2005-02-22tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...Diego Novillo2-7/+13
* tree-into-ssa.c (rewrite_blocks): Move debug dumps from ... (rewrite_into_ssa): ... here. From-SVN: r95395
2005-02-222005-02-22 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2-14/+9
* java/beans/PropertyDescriptor.java (PropertyDescriptor,setReadMethod): Set propertyType. From-SVN: r95393
2005-02-222005-02-22 Michael Koch <konqueror@gmx.de>Michael Koch6-21/+37
* java/nio/DirectByteBufferImpl.java (owner): Fixed formatting of javadoc. * java/text/DateFormat.java (getAvailableLocales): Fixed formatting. * java/text/SimpleDateFormat.java: Fixed formatting and import statement order. * java/util/Calendar.java (Calendar): Fixed javadoc to be HTML compliant. * java/util/SimpleTimeZone.java: Fixed javadocs. From-SVN: r95392
2005-02-22auto_ptr_neg.cc: Add missing dg-do compile directive.Paolo Carlini7-0/+27
2005-02-22 Paolo Carlini <pcarlini@suse.de> * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ auto_ptr_neg.cc: Add missing dg-do compile directive. * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ auto_ptr_rvalue_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ shared_ptr_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/ auto_ptr_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ reset_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ swap_neg.cc: Likewise. From-SVN: r95391