1. 24 Jul, 2004 13 commits
  2. 23 Jul, 2004 27 commits
    • Makefile.am: Rename jar binary to fastjar. · ef05818b
      2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* Makefile.am: Rename jar binary to fastjar.
      	* Makefile.in: Regenerate.
      	* fastjar.texi: Rename references to jar binary with fastjar.
      
      2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* Make-lang.in: Replace rmic and rmiregistry references with
      	grmic and grmiregistry.
      	* gcj.texi: Likewise.
      
      2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* Makefile.am: Replace jar, rmic and rmiregistry references with
      	gjar, grmic and grmiregistry.
      	* configure.in: Likewise.
      	* Makefile.in: Regenerate.
      	* configure: Likewise.
      	* gcj/Makefile.in: Likewise.
      	* include/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r85101
      Thomas Fitzsimmons committed
    • re PR c++/16277 (Wrong code with conditionals in initializers) · d91ba7b0
              PR c++/16277
              * gimplify.c (gimplify_cond_expr): Gimplify TARGET to a min_lval;
              unshare it properly.
              (gimplify_modify_expr_rhs): Push assignment from a conditional into
              the conditional for all non-register types.
      
      From-SVN: r85100
      Richard Henderson committed
    • expr.c (expand_expr_real_1): Don't handle non-local variables. · ab8907ef
              * expr.c (expand_expr_real_1): Don't handle non-local variables.
              * expr.h (fix_lexical_addr): Remove.
              * function.c (NEED_SEPARATE_AP): Remove.
              (fix_lexical_addr): Remove.
              * tree-alias-common.c (get_alias_var_decl): Check TREE_STATIC,
              not null decl_function_context.
              (create_alias_vars): Likewise.
              * tree-cfg.c (make_ctrl_stmt_edges): Don't check for non-local labels.
              (simple_goto_p): Likewise.
              * tree-dfa.c (add_referenced_var): Don't check for non-local variables.
              * tree-ssa-ccp.c (get_default_value): Likewise.
              * tree-tailcall.c (suitable_for_tail_opt_p): Likewise.
              * tree.c (needs_to_live_in_memory): Likewise.
              * tree-flow-inline.h (may_be_aliased): Move...
              * tree-ssa-alias.c (may_be_aliased): ... here.  Enhance check for
              when TREE_STATIC variables may be addressable.
      
      From-SVN: r85099
      Richard Henderson committed
    • Makefile.in (site.exp): Add HOSTCC and HOSTCFLAGS to site.exp. · 5aa33bdb
      	* Makefile.in (site.exp): Add HOSTCC and HOSTCFLAGS to site.exp.
      testsuite/
      	* README.compat: Add RUN_ALL_COMPAT_TESTS documentation.
      	* lib/compat.exp: Replace ^$tmpdir/? in testcase names with tmpdir-.
      	* gcc.dg/compat/struct-layout-1.exp: New testsuite driver.
      	* gcc.dg/compat/struct-layout-1_generate.c: New testcase generator.
      	* gcc.dg/compat/generate-random.c: New file.
      	* gcc.dg/compat/generate-random.h: Likewise.
      	* gcc.dg/compat/generate-random_r.c: Likewise.
      	* gcc.dg/compat/struct-layout-1.h: Likewise.
      	* gcc.dg/compat/struct-layout-1_x1.h: Likewise.
      	* gcc.dg/compat/struct-layout-1_x2.h: Likewise.
      	* gcc.dg/compat/struct-layout-1_y1.h: Likewise.
      	* gcc.dg/compat/struct-layout-1_y2.h: Likewise.
      	* gcc.dg/compat/struct-layout-1_main.c: New test.
      	* gcc.dg/compat/struct-layout-1_x.c: New file.
      	* gcc.dg/compat/struct-layout-1_y.c: New file.
      	* gcc.dg/compat/struct-layout-1_test.h: New file.
      
      From-SVN: r85098
      Jakub Jelinek committed
    • Connection.java: Use GetPropertyAction for privileged getProperty calls. · ec5c28ec
      2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
      	for privileged getProperty calls.
      	* java/io/ObjectOutputStream.java (getField): No longer static. Use
      	SetAccessibleAction instead of anonymous class for doPrivileged
      	call.
      	(getMethod): Likewise.
      	(setAccessible): New field. PrivilegedAction object to use when
      	calling setAccessible.
      	* java/io/ObjectStreamClass.java (calculateOffsets): Use
      	SetAccessibleAction instead of anonymous class for diPrivileged
      	call.
      	(setFields): Likewise.
      	(getClassUID): Likewise.
      	(findMethod): Likewise.
      	* gnu/java/security/action/GetPropertyAction.java: New class.
      	* gnu/java/security/action/SetAccessibleAction.java: New class.
      
      From-SVN: r85097
      Bryce McKinlay committed
    • ObjectStreamField (ObjectStreamField): Don't unset 'toset' for final fields. · ae066484
      2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
      	for final fields.
      	* testsuite/libjava.lang/Serialization.java: New test.
      	* testsuite/libjava.lang/Serialization.out: New.
      
      From-SVN: r85096
      Bryce McKinlay committed
    • print-rtl.c (print_rtx <case 'b'>): Don't attempt to print bitmap contents if… · 30678c3e
      print-rtl.c (print_rtx <case 'b'>): Don't attempt to print bitmap contents if GENERATOR_FILE is defined.
      
      	* print-rtl.c (print_rtx <case 'b'>): Don't attempt to print
      	bitmap contents if GENERATOR_FILE is defined.
      	* Makefile.in (BUILD_RTL): Remove $(BUILD_PREFIX)bitmap.o.
      	($(BUILD_PREFIX_1)bitmap.o): Delete rule.
      
      From-SVN: r85095
      Zack Weinberg committed
    • c-decl.c (start_function): Form composite type of function types rather than… · 7eb01bd8
      c-decl.c (start_function): Form composite type of function types rather than copying type from previous...
      
      	* c-decl.c (start_function): Form composite type of function types
      	rather than copying type from previous prototype declaration.
      
      testsuite:
      	* gcc.dg/comp-return-1.c: New test
      
      From-SVN: r85093
      Joseph Myers committed
    • altivec.h (vec_lvewx, [...]): Remove the const qualifier for the second argument… · f67376e4
      altivec.h (vec_lvewx, [...]): Remove the const qualifier for the second argument in the C++ functions.
      
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* config/rs6000/altivec.h (vec_lvewx, vec_lvehx, vec_lvwbx): Remove
      	the const qualifier for the second argument in the C++ functions.
      
      From-SVN: r85092
      Janis Johnson committed
    • altivec.h (vec_stvewx, [...]): Use specific pointer types. · be3ec667
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* config/rs6000/altivec.h (vec_stvewx, vec_stvehx, vec_stvebx): Use
      	specific pointer types.
      
      From-SVN: r85091
      Janis Johnson committed
    • altivec.h (vec_vadduwm): (vec_vadduwm... · e0b9f335
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* config/rs6000/altivec.h (vec_vadduwm): (vec_vadduwm, vec_vadduhm,
      	vec_vaddubm, vec_vsubuwm, vec_vsubuhm, vec_vsububm): Fix types used
      	for vector bool and/or vector pixel, add C++ and C missing support.
      	(vec_vaddsws, vec_vaddshs, vec_vaddsbs, vec_vmaxsw, vec_vmaxsh,
      	vec_vmaxsb, vec_vmrghw, vec_vmrghh, vec_vmrghb, vec_vmrglw, vec_vmrglh,
      	vec_vmrglb, vec_vminsw, vec_vminsh, vec_vminsb, vec_vpkuwum,
      	vec_vpkuhum, vec_vspltw, vec_vsplth, vec_vspltb, vec_vsubsws,
      	vec_vsubshs, vec_vsubsbs, vec_vupklsh, vec_vupkhsh, vec_vupklsb): Add
      	missing C++ and C support for vector bool and/or vector pixel.
      	(vec_vadduws, vec_vadduhs, vec_vaddubs, vec_vcmpeqfp, vec_vcmpequw,
      	vec_vcmpequh, vec_vcmpequb, vec_vcmpgtfp, vec_vcmpgtsw, vec_vcmpgtuw,
      	vec_vcmpgtsh, vec_vcmpgtuh, vec_vcmpgtsb, vec_vcmpgtub, vec_vmaxuw,
      	vec_vmaxuh, vec_vmaxub, vec_vminuw, vec_vminuh, vec_vminub,
      	vec_vsubuws, vec_vsubuhs, vec_vsububs, vec_vupkhpx, vec_vupklpx): Fix
      	C++ and C types used for vector bool and/or vector pixel.
      	(vec_st, vec_stl): Add C++ support for vector pixel.
      	(vec_unpackh, vec_unpackl, vec_any_ge): Fix C++ support for vector bool.
      	(vec_all_ne): Add C++ support for vector pixel.
      
      From-SVN: r85090
      Janis Johnson committed
    • altivec.h (vec_vcmpgtsh): Fix C++ function name. · 3a062dc0
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* config/rs6000/altivec.h (vec_vcmpgtsh): Fix C++ function name.
      	(vec_vmulesb): Add missing C++ function.
      	(vec_perm): Fix type of third argument in C++ function.
      	(vec_vsum4shs): Fix C++ function name.
      	(vec_any_ge): Remove C++ functions for unsupported arg combinations.
      	(vec_vcmpgtsw, vec_vcmpgtuw, vec_minsb, vec_vmsummbm): Fix the
      	argument passed to the error handler in C macro.
      	(vec_nmsub): Remove extra parens around argument names in C macro.
      	(vec_packpx): Add missing parens in C macro.
      
      From-SVN: r85089
      Janis Johnson committed
    • 8-02a.c: Fix typo. · c7bb2a03
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* gcc.dg/vmx/8-02a.c: Fix typo.
      
      From-SVN: r85088
      Janis Johnson committed
    • varargs-4.c: Remove a Darwin-specific check. · b9eef878
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* gcc.dg/vmx/varargs-4.c: Remove a Darwin-specific check.
      	* gcc.dg/darwin-abi-3.c: New test.
      
      From-SVN: r85087
      Janis Johnson committed
    • debug-1.c: Use int, not long, in union with vector. · 47120c07
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* gcc.dg/vmx/debug-1.c: Use int, not long, in union with vector.
      	* gcc.dg/vmx/varargs-1.c: Use int, not long, in union with vector.
      
      From-SVN: r85086
      Janis Johnson committed
    • ops.c: Remove checks using pointers to long. · 13f91444
      2004-07-23  Janis Johnson  <janis187@us.ibm.com>
      
      	* gcc.dg/vmx/ops.c: Remove checks using pointers to long.
      	* gcc.dg/vmx/ops-long-1.c: New test.
      	* gcc.dg/vmx/ops-long-2.c: New test.
      
      From-SVN: r85085
      Janis Johnson committed
    • DefaultContentHandlerFactory.java: Check in real file missed in last commit. · 694e657a
      2004-07-23  Mark Wielaard  <mark@klomp.org>
      
      	* gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
      	missed in last commit.
      
      From-SVN: r85080
      Mark Wielaard committed
    • System.java (static): Set http.agent system property when not yet set. · 392abf6b
             * java/lang/System.java (static): Set http.agent system property when
             not yet set.
             * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
             from system property inside AccessController.doPrivileged() call.
             (proxyPort): Made package private.
             (proxyInUse): Likewise.
             (proxyHost): Likewise.
             (userAgent): Likewise.
      
      From-SVN: r85078
      Mark Wielaard committed
    • DefaultContentHandlerFactory.java: New dummy implementation. · 6d97cb60
             * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
             implementation.
      
      From-SVN: r85077
      Mark Wielaard committed
    • machmode.def: Remove vector modes. · 49e76be8
      2004-07-22  Paolo Bonzini  <bonzini@gnu.org>
      
      	* machmode.def: Remove vector modes.
      	* config/alpha/alpha-modes.def: Add supported vector modes.
      	* config/arm/arm-modes.def: Likewise.
      	* config/frv/frv-modes.def: Likewise.
      	* config/i386/i386-modes.def: Likewise.
      	* config/rs6000/rs6000-modes.def: Likewise.
      	* config/sh/sh-modes.def: Likewise.
      
      From-SVN: r85076
      Paolo Bonzini committed
    • cp: * search.c (lookup_conversion_operator): Avoid two loops. · 8f2a734f
      	(add_conversions): Remove.
      	(check_hidden_convs, split_conversions,
      	lookup_conversions_r):	New.
      	(lookup_conversions): Use lookup_conversions_r.
      testsuite:
      	* g++.dg/lookup/conv-[1234].C: New.
      
      From-SVN: r85075
      Nathan Sidwell committed
    • debug.html: Say debug mode only available since 3.4.0. · c29cac0b
      2004-07-23  Jonathan Wakely  <redi@gcc.gnu.org>
      
      	* docs/html/debug.html: Say debug mode only available since 3.4.0.
      
      From-SVN: r85074
      Jonathan Wakely committed
    • 2004-07-23 Matthias Klose <doko@debian.org> · 85eac2a0
              init.c (init_library): Use PACKAGE for the text domain.
      
      From-SVN: r85073
      Matthias Klose committed
    • intl.c (gcc_init_libintl): Use PACKAGE for the text domain. · c2c36d38
      2004-07-23  Matthias Klose  <doko@debian.org>
      
              intl.c (gcc_init_libintl): Use PACKAGE for the text domain.
              configure.ac: Add AC_DEFINE_UNQUOTED for PACKAGE.
              config.h: Regenerate.
              configure: Likewise.
      
      From-SVN: r85072
      Matthias Klose committed
    • dwarf2out.c (output_call_frame_info): Set SYMBOL_FLAG_LOCAL on generated SYMBOL_REFs for labels. · 11abc112
      	* dwarf2out.c (output_call_frame_info): Set SYMBOL_FLAG_LOCAL on
      	generated SYMBOL_REFs for labels.
      	* config/darwin-protos.h (machopic_validate_stub_or_non_lazy_ptr):
      	Change prototype.
      	(machopic_stub_name): Remove.
      	(machopic_indirection_name): New function.
      	(machopic_mcount_stub_name): Likewise.
      	(machopic_classify_name): Remove.
      	(machopic_function_base_sym): New function.
      	(machpoic_classify_symbol): Likewise.
      	(machopic_classify_ident): Remove.
      	(machopic_define_ident): Likewise.
      	(machopic_define_name): Likewise.
      	(machopic_name_defined_p): Likewise.
      	(machopic_ident_defined_p): Likewise.
      	(darwin_strip_name_encoding): Likewise.
      	(machopic_define_symbol): New function.
      	* config/darwin.c (hashtab.h): Include.
      	(machopic_defined_list): Remove.
      	(machopic_classify_ident): Likewise.
      	(machopic_classify_name): Likewise.
      	(machopic_ident_defined_p): Likewise.
      	(machopic_define_ident): Likewise.
      	(machopic_define_name): Likewise.
      	(machopic_symbol_defined_p): New function.
      	(machopic_classify_symbol): Likewise.
      	(machopic_data_defined_p): Use machopic_classify_symbol.
      	(machopic_define_symbol): New function.
      	(machopic_function_base_sym): New function.
      	(machopic_non_lazy_pointers): Remove.
      	(machopic_non_lazy_ptr_name): Likewise.
      	(machopic_stubs): Likewise.
      	(machopic_stub_name): Likewise.
      	(NON_LAZY_POINTER_SUFFIX): New macro.
      	(STUB_SUFFIX): Likewise.
      	(machopic_indirection): New structure.
      	(machopic_indirections): New variable.
      	(machopic_indirection_hash): New function.
      	(machopic_indirection_eq): Likewise.
      	(machopic_indirection_name): Likewise.
      	(machopic_mcount_stub_name): New function.
      	(machopic_validate_stub_or_non_lazy_pointer): Reimplement to use
      	hash table.
      	(machopic_indirect_data_reference): Rework to use new functions.
      	(machopic_indirect_call_target): Likewise.
      	(machopic_legitimize_pic_address): Likewise.
      	(machopic_output_indirection): New function.
      	(machopic_finish): Use it.
      	(machopic_operand_p): Rework to use new functions.
      	(darwin_encode_seciton_info): Use SYMBOL_REF_FLAGS.
      	(darwin_strip_name_encoding): Remove.
      	(update_non_lazy_ptrs): Remove.
      	(update_stubs): Likewise.
      	(darwin_non_lazy_pcrel): Use new functions.
      	* config/darwin.h (ASM_DECLARE_OBJECT_NAME): Likewise.
      	(ASM_OUTPUT_LABELREF): Likewise.
      	(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
      	(MACHO_SYMBOL_FLAG_VARIABLE): New macro.
      	(MACHO_SYMBOL_FLAG_DEFINED): Likewise.
      	(TARGET_STRIP_NAME_ENCODING): Do not use
      	darwin_strip_name_encoding.
      	(GEN_LAZY_PTR_NAME_FOR_SYMBOL): Do not use
      	darwin_strip_name_encoding.
      	* config/i386/darwin.h (FUNCTION_PROFILER): Use
      	machopic_mcount_stub_name.
      	* config/i386/i386.c (x86_output_mi_thunk): Use
      	machopic_indirection_name, not machopic_stub_name.
      	* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Use
      	machopic_function_base_sym.
      	(print_operand): Use machopic_classify_symbol.
      	(rs6000_emit_prologue): Use machopic_function_base_sym.
      	(output_profile_hook): Do not use machopic_stub_name.
      	(macho_branch_isalnds): Do not use darwin_strip_name_encoding.
      
      From-SVN: r85071
      Mark Mitchell committed
    • Makefile.am (ordinary_java_source_files): Add DefaultContentHandlerFactory.java. · f1f90ae0
      2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* Makefile.am (ordinary_java_source_files): Add
      	DefaultContentHandlerFactory.java.
      	* Makefile.in: Rebuilt.
      	* java/net/URLConnection.java (defaultFactory): New field.
      	(getContent):
      	(getContentHandler): Renamed from 'setContentHandler'. Try
      	defaultFactory after user-set factory, if any. Search for content
      	handler implementations in gnu.java.net.content, not
      	gnu.gcj.content.
      	* gnu/java/net/protocol/file/Connection.java (getHeaderField):
      	Implemented.
      	(getLastModified): Implemented.
      	(getPermission): Create file permission here, instead of in
      	constructor.
      	* gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
      	Implemented.
      	* gnu/java/net/protocol/jar/Connection.java (getHeaderField):
      	Implemented.
      	(getLastModified): Implemented.
      	* gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
      	Default implementation.
      	* gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
      	Implement using GdkPixbufDecoder.
      
      From-SVN: r85069
      Bryce McKinlay committed
    • Daily bump. · ef453534
      From-SVN: r85067
      GCC Administrator committed