1. 09 Jul, 2004 40 commits
    • objc-act.c (build_module_descriptor): Mark UOBJC_MODULES_decl as always referenced. · 3d0d0a7a
      2004-07-09  Andrew Pinski  <apinski@apple.com>
      
              * objc/objc-act.c (build_module_descriptor): Mark UOBJC_MODULES_decl as
              always referenced.
              (synth_forward_declarations): Likewise for UOBJC_CLASS_decl and
              UOBJC_METACLASS_decl.
      
      From-SVN: r84419
      Andrew Pinski committed
    • class.c (interface_of_p): Check for null TYPE_BINFO. · 968d62b5
      2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* class.c (interface_of_p): Check for null TYPE_BINFO.
      
      From-SVN: r84418
      Bryce McKinlay committed
    • c-typeck.c (build_unary_op): include VECTOR_TYPE in set of codes permissible for unary plus. · 8a2cee38
              * c-typeck.c (build_unary_op): include VECTOR_TYPE in set of codes
              permissible for unary plus.
      
      From-SVN: r84417
      Jan Beulich committed
    • Fix for IA-64 union/long double ICE. · 5806d4fd
      PR target/16364
      * config/ia64/ia64.c (ia64_function_arg): For a single element HFA,
      do return a parallel if hfa_mode == XFmode and mode == TImode.
      * gcc.c-torture/compile/20040709-1.c: New.
      
      From-SVN: r84416
      James E Wilson committed
    • builtin-types.def (BT_UINT): Rename from BT_UNSIGNED. · 2319a1d1
              * builtin-types.def (BT_UINT): Rename from BT_UNSIGNED.
              (BT_FN_UINT): Rename from BT_FN_UNSIGNED.
              (BT_FN_PTR_UINT): Rename from BT_FN_PTR_UNSIGNED.
              (BT_ULONG, BT_ULONGLONG, BT_UINTMAX, BT_FN_INT_UINT, BT_FN_INT_ULONG,
              BT_FN_INT_ULONGLONG, BT_FN_INT_INTMAX, BT_FN_INT_UINTMAX): New.
              * builtins.def (BUILTIN_CLZxxx, BUILTIN_CTXxxx, BUILTIN_PARITYxxx,
              BUILTIN_POPCOUNTxxx): Arguments are unsigned.
              (BUILTIN_xxxIMAX): New.
              * builtins.c (expand_builtin): Handle BUILT_IN_FFSIMAX,
              BUILT_IN_CLZIMAX, BUILT_IN_CTZIMAX, BUILT_IN_POPCOUNIMAX, and
              BUILT_IN_PARITYIMAX.
      
      From-SVN: r84415
      Jan Beulich committed
    • sparc.h (processor_costs): Define. · 18df6de9
      2004-07-02  David S. Miller  <davem@nuts.davemloft.net>
      
      	* config/sparc/sparc.h (processor_costs): Define.
      	(sparc_costs): Declare.
      	* config/sparc/sparc.c (cypress_costs, supersparc_costs,
      	hypersparc_costs, sparclet_costs, ultrasparc_costs,
      	ultrasparc3_costs): New.
      	(sparc_override_options): Set sparc_costs as appropriate.
      	(sparc_rtx_costs): Use sparc_costs instead of messy
      	conditionals.
      
      From-SVN: r84414
      David S. Miller committed
    • configure.in: Build libmudflap by default on FreeBSD. · a3e8d8b4
      	* configure.in: Build libmudflap by default on FreeBSD.
      	* configure: Regenerated.
      
      From-SVN: r84413
      Loren J. Rittle committed
    • re PR fortran/14077 (Data statement within a module that doesn't initialize a… · 5721c2be
      re PR fortran/14077 (Data statement within a module that doesn't initialize a whole array creates an error)
      
      PR fortran/14077
      * gfortran.fortran-torture/execute/module_init_1.f90: New test.
      
      From-SVN: r84412
      Tobias Schlüter committed
    • md.texi (Processor pipeline description): Mention that the old pipeline description is deprecated. · dae42469
      	* doc/md.texi (Processor pipeline description): Mention that
      	the old pipeline description is deprecated.
      
      	* config/rs6000/7450.md (automaton ppc7450): Split up, move
      	mciu_7450 function unit to...
      	(automaton ppc7450mciu): ...new automaton.
      
      	* haifa-sched.c (insert_schedule_bubbles_p): Remove.
      	(schedule_block): Don't consider inserting bubbles.
      	(sched_init): Don't initialize DFA bubbles.
      	* target-def.h (TARGET_SCHED_INIT_DFA_BUBBLES,
      	TARGET_SCHED_DFA_BUBBLE): Remove.
      	* target.h (init_dfa_bubbles, dfa_bubble): Remove hooks.
      	* doc/tm.texi (TARGET_SCHED_INIT_DFA_BUBBLES,
      	TARGET_SCHED_DFA_BUBBLE): Remove documentation.
      
      	* stmt.c (conditional_context): Remove prototype.
      	* tree.h (conditional_context): Remove.
      	* tree-cfg.c (pre_insert_on_edge): Remove.
      
      	* c-common.h (c_expand_asm_operands): Remove prototype.
      	* c-typeck.c (c_expand_asm_operands): Remove.
      
      cp/
      	* typeck.c (c_expand_asm_operands): Remove.
      
      From-SVN: r84411
      Steven Bosscher committed
    • i386.c (classify_argument): Treat V1xx modes the same as their base modes. · 9e9fb0ce
              * config/i386/i386.c (classify_argument): Treat V1xx modes the same as
              their base modes. CTImode, TCmode, and XCmode must be passed in memory.
              TFmode (__float128) must be is an SSE/SSEUP pair. V2SImode, V4HImode,
              and V8QI are class SSE. All sufficiently small remaining vector modes
              must be passed in one or two integer registers.
              (ix86_libcall_value): TFmode must be returned in xmm0, XCmode must be
              returned in memory.
              (bdesc_2arg, ix86_init_mmx_sse_builtins): __builtin_ia32_pmuludq and
              __builtin_ia32_pmuludq128 have non-uniform argument and return types
              and must thus be handled explicitly.
              * config/i386/i386.md (*movdi_1_rex64): Add cases for moving between
              MMX and XMM regs.
              (movv8qi_internal, movv4hi_internal, movv2si_internal,
              movv2sf_internal): Permit moving between MMX and XMM registers (since
              MMX areguments and return values are passed in XMM registers).
              (sse2_umulsidi3): Correct type and mode.
      
      From-SVN: r84410
      Jan Beulich committed
    • re PR fortran/14077 (Data statement within a module that doesn't initialize a… · 8598a113
      re PR fortran/14077 (Data statement within a module that doesn't initialize a whole array creates an error)
      
      PR fortran/14077
      * moduele.c (mio_symbol): Don't I/O initial values unless
      symbol is a parameter.
      
      From-SVN: r84408
      Tobias Schlüter committed
    • 40x.md: Split into two automatons. · 60f4f3b7
      2004-07-09  Eric Christopher  <echristo@redhat.com>
      
      	* config/rs6000/40x.md: Split into two automatons.
      
      From-SVN: r84407
      Eric Christopher committed
    • configure.in: Do not build libmudflap by default on non-GNU/Linux systems. · dfcada9a
      	* configure.in: Do not build libmudflap by default on non-GNU/Linux
      	systems.
      	* configure: Regenerated.
      
      From-SVN: r84406
      Mark Mitchell committed
    • Add wchar_t counterparts of the basic_stringbuf<char> tests. · 1bf4ab23
      2004-07-09  Paolo Carlini  <pcarlini@suse.de>
      
      	Add wchar_t counterparts of the basic_stringbuf<char> tests.
      	* testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
      	* testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
      	3599.cc, 9988.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
      	Likewise.
      	* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
      	Likewise.
      	* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
      	Likewise.
      	* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
      	Likewise.
      	* testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
      	Likewise.
      	* testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
      	9404-1.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
      	9404-2.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
      	3955.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
      
      From-SVN: r84405
      Paolo Carlini committed
    • re PR fortran/13201 (PARAMETER variables of nonconstant shape are accepted) · 32e89beb
      PR fortran/13201
      * gfortran.dg/shape_1.f90: New test.
      
      From-SVN: r84403
      Tobias Schlüter committed
    • c-opts.c (c_common_post_options): Force unit-at-a-time mode on when we have more… · 9affb2c7
      c-opts.c (c_common_post_options): Force unit-at-a-time mode on when we have more than one input file.
      
      2004-07-09  Zack Weinberg  <zack@codesourcery.com>
      	    Andrew Pinski  <apinski@apple.com>
      
      	* c-opts.c (c_common_post_options): Force unit-at-a-time mode
      	on when we have more than one input file.
      	(c_common_parse_file): Restore loop over all input files.
      	Clarify diagnostic for -dy when YYDEBUG wasn't defined.
      
      	* c-decl.c (set_type_context): New function.
      	(pop_scope): Use it to set context of types.  When we
      	encounter a TYPE_DECL, set the context of the attached type too.
      	(pop_file_scope): Don't call cpp_undef_all here.
      	(diagnose_mismatched_decls): Do not complain about a second
      	definition of an 'extern inline' function if it's not in the
      	same translation unit.  Do not complain about inline
      	declaration after use if the use was in a different
      	translation unit.
      	(merge_decls): Don't clobber olddecl's DECL_CONTEXT.
      	(pushdecl): Do not put DECL_EXTERNAL, !TREE_PUBLIC decls in
      	the external scope.
      	(pushdecl_top_level): Likewise.
      	(grokdeclarator): Clarify what is going on with setting
      	DECL_EXTERNAL on function types, a little.
      	(c_write_global_declarations): Don't do anything if
      	-fsyntax-only or errors have been encountered.
      
      testsuite:
      	* gcc.dg/noncompile/init-4.c: Remove bogus dg-error marker.
      
      From-SVN: r84402
      Zack Weinberg committed
    • re PR fortran/13201 (PARAMETER variables of nonconstant shape are accepted) · 4077d207
      PR fortran/13201
      * resolve.c (resolve_symbol): Verify that the shape of a
      parameter array is not only explicit, but also constant.
      * array.c (gfc_is_compile_time_shape): New function.
      * gfortran.h (gfc_is_compile_time_shape): Add prototype.
      
      From-SVN: r84400
      Tobias Schlüter committed
    • unicode-muncher.pl: Updated to version 2.1 from GNU classpath. · 1f33f6b4
      2004-07-09  Michael Koch  <konqueror@gmx.de>
      
      	* scripts/unicode-muncher.pl: Updated to version 2.1
      	from GNU classpath. Added some clarifications on where to find the
      	needed files from www.unicode.org.
      	* gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
      	gnu/gcj/convert/UnicodeData-3.0.0.txt:
      	Removed, these can directly be downloaded from www.unicode.org if
      	needed.
      	* gnu/java/lang/CharData.java: Regenerated.
      	* include/java-chartables.h: Regenerated.
      	* Makefile.am (ordinary_java_source_files):
      	Removed gnu/java/lang/CharData.java.
      	* Makefile.in: Regenerated.
      
      From-SVN: r84399
      Michael Koch committed
    • name_clash2.f90: Remove outdated comment. · a578b091
      * gfortran.fortran-torture/compile/name_clash2.f90: Remove outdated
      comment.
      
      From-SVN: r84395
      Tobias Schlüter committed
    • re PR target/16459 (ld: libbackend.a(expr.o)(.text+0x40c2c): cannot handle… · 605201ba
      re PR target/16459 (ld: libbackend.a(expr.o)(.text+0x40c2c): cannot handle R_PARISC_PCREL17F for $$dyncall)
      
      	PR target/16459
      	* pa.c (output_indirect_call): Use %r2 as the link register when
      	calling $$dyncall with a pc-relative branch.
      
      From-SVN: r84394
      John David Anglin committed
    • Test case for g++/15861 · b984b4bf
      2004-07-09  Frank Ch. Eigler  <fche@redhat.com>
      
      	Test case for g++/15861
      	* testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves.
      	* testsuite/libmudflap.c++/ctors.exp: Driver.
      	* testsuite/libmudflap.c++/c++frags.exp: Elide redundant default.
      	Look only for *frag* test cases.
      
      From-SVN: r84392
      Frank Ch. Eigler committed
    • typeck.c (build_class_member_access_expr): Skip null deref warning when we don't dereference it. · 999a1ad4
              * typeck.c (build_class_member_access_expr): Skip null deref
              warning when we don't dereference it.
      
      Radar 3718909
      
      From-SVN: r84389
      Mike Stump committed
    • class.c (make_class): Do not create binfo here. · 85fd2947
      	* class.c (make_class): Do not create binfo here.
      	(set_super_info): Create it here.
      	* java-tree.h (CLASS_HAS_SUPER): Cope with lack of a binfo.
      
      From-SVN: r84388
      Nathan Sidwell committed
    • * doc/install.texi (Binaries): Mention OpenPKG. · 6512c54a
      From-SVN: r84386
      Gerald Pfeifer committed
    • Paul Brook <paul@codesourcery.com> · db482e5c
      2004-07-09  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
      Paul Brook  <paul@codesourcery.com>
      
      * gfortran.dg/dg.exp: Use revised wilcard for suffixes, also allow
      '.f95' and '.F95'.
      
      Co-Authored-By: Paul Brook <paul@codesourcery.com>
      
      From-SVN: r84384
      Tobias Schlüter committed
    • AccessControlContext.java, [...]: Fixed javadocs. · 771aacd3
      2004-07-09  Michael Koch  <konqueror@gmx.de>
      
      	* java/security/AccessControlContext.java,
      	java/security/SecureClassLoader.java:
      	Fixed javadocs.
      
      From-SVN: r84383
      Michael Koch committed
    • ObjectInputStream.java (readFields): Use long datatype when shifting byte values… · 3d5f053c
      ObjectInputStream.java (readFields): Use long datatype when shifting byte values more then 24 bits left.
      
      2004-07-09  Michael Koch  <konqueror@gmx.de>
      
      	* java/io/ObjectInputStream.java (readFields): Use long datatype
      	when shifting byte values more then 24 bits left.
      
      From-SVN: r84382
      Michael Koch committed
    • DeflaterOutputStream.java, [...]: Reformatted. · d642571f
      2004-07-09  Michael Koch  <konqueror@gmx.de>
      
      	* java/util/zip/DeflaterOutputStream.java,
      	java/util/zip/GZIPInputStream.java,
      	java/util/zip/GZIPOutputStream.java,
      	java/util/zip/InflaterInputStream.java:
      	Reformatted. Added javadocs. Reordered all stuff.
      	Renamed variables to be more clear.
      
      From-SVN: r84380
      Michael Koch committed
    • dg.exp: Don't use wildcard for suffixes, also check testcases with capital suffix. · fbc40a17
      * gfortran.dg/dg.exp: Don't use wildcard for suffixes, also check
      testcases with capital suffix.
      
      From-SVN: r84379
      Tobias Schlüter committed
    • re PR tree-optimization/15555 (compute_may_alias failes when scheduled again) · 473a4325
      	Fix PR tree-optimization/15555
      	* tree-dfa.c (dump_variable): If the variable is a pointer
      	SSA_NAME, also dump its points-to information.
      	* tree-flow.h (struct ptr_info_def): Add field
      	is_dereferenced.
      	(dump_points_to_info_for): Declare.
      	(debug_points_to_info_for): Declare.
      	* tree-optimize.c (init_tree_optimization_passes): Add a
      	second alias analysis pass after DOM2.
      	Move pass_del_pta to a later spot.
      	* tree-ssa-alias.c (compute_points_to_and_addr_escape): Do not
      	create a name tags when we find a dereferenced pointer.  Just
      	mark the pointer dereferenced.
      	(collect_points_to_info_for): Move code to clear points-to
      	information to create_name_tags.
      	(create_name_tags): New function.
      	(compute_flow_sensitive_aliasing): Call it.
      	(setup_pointers_and_addressables): Mark type tags for renaming
      	here instead of ...
      	(create_memory_tag): ... here.
      	(merge_pointed_to_info): Do not merge PT_MALLOC attributes.
      	(dump_points_to_info_for): Declare extern.
      	(debug_points_to_info_for): New function.
      
      From-SVN: r84378
      Diego Novillo committed
    • tree-dfa.c (dump_variable): If the variable is a pointer SSA_NAME, also dump its… · d8903b30
      tree-dfa.c (dump_variable): If the variable is a pointer SSA_NAME, also dump its points-to information.
      
      
      	* tree-dfa.c (dump_variable): If the variable is a pointer
      	SSA_NAME, also dump its points-to information.
      	* tree-flow.h (struct ptr_info_def): Add field
      	is_dereferenced.
      	(dump_points_to_info_for): Declare.
      	(debug_points_to_info_for): Declare.
      	* tree-optimize.c (init_tree_optimization_passes): Add a
      	second alias analysis pass after DOM2.
      	Move pass_del_pta to a later spot.
      	* tree-ssa-alias.c (compute_points_to_and_addr_escape): Do not
      	create a name tags when we find a dereferenced pointer.  Just
      	mark the pointer dereferenced.
      	(collect_points_to_info_for): Move code to clear points-to
      	information to create_name_tags.
      	(create_name_tags): New function.
      	(compute_flow_sensitive_aliasing): Call it.
      	(setup_pointers_and_addressables): Mark type tags for renaming
      	here instead of ...
      	(create_memory_tag): ... here.
      	(merge_pointed_to_info): Do not merge PT_MALLOC attributes.
      	(dump_points_to_info_for): Declare extern.
      	(debug_points_to_info_for): New function.
      
      From-SVN: r84377
      Diego Novillo committed
    • * gfortran.dg/implicit_1.f90: New test. · 61ebeccf
      From-SVN: r84376
      Tobias Schlüter committed
    • gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran… · e4314fac
      gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran warning/error messages
      
      2004-07-10  David Billinghurst (David.Billinghurst@riotinto.com)
      
              * lib/gfortran-dg.exp (gfortran-dg-test):  Adapt regular
              expression to match gfortran warning/error messages
      
      From-SVN: r84375
      David Billinghurst committed
    • re PR fortran/15481 ([meta-bugs] frontend adds superfluous symbols to namespaces) · 51281118
      fortran/
      2004-07-09  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
      
      PR fortran/15481
      PR fortran/13372
      PR fortran/13575
      PR fortran/15978
      * module.c (write_symbol, write_symtree): Remove workaround.
      * primary.c (match_actual_arglist): Enhance comment.
      (gfc_match_rvalue): Handle function call with first argument
      a keyword argument correctly.
      * resolve.c (resolve_symbol): Change call to
      gfc_set_default_type to issue error if no implicit type
      can be found.
      * trans-decl.c (gfc_create_module_variable): Remove workaround.
      
      Add missing ChangeLog
      
      From-SVN: r84374
      Tobias Schlüter committed
    • re PR fortran/15481 ([meta-bugs] frontend adds superfluous symbols to namespaces) · d3fcc995
      fortran/
      2004-07-09  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
      
      PR fortran/15481
      PR fortran/13372
      PR fortran/13575
      PR fortran/15978
      * module.c (write_symbol, write_symtree): Remove workaround.
      * primary.c (match_actual_arglist): Enhance comment.
      (gfc_match_rvalue): Handle function call with first argument
      a keyword argument correctly.
      * resolve.c (resolve_symbol): Change call to
      gfc_set_default_type to issue error if no implicit type
      can be found.
      * trans-decl.c (gfc_create_module_variable): Remove workaround.
      
      testsuite/
      PR fortran/15481
       PR fortran/13372
       PR fortran/13575
       PR fortran/15978
      * gfortran.fortran-torture/compile/implicit_2.f90: New test.
      
      Also fixed David Billinghursts ChangeLog entry to use GMT
      
      From-SVN: r84373
      Tobias Schlüter committed
    • gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran… · 5b1c60e9
      gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran warning/error messages
      
      2004-07-10  David Billinghurst (David.Billinghurst@riotinto.com)
      
      	* lib/gfortran-dg.exp (gfortran-dg-test):  Adapt regular
      	expression to match gfortran warning/error messages
      	* gfortran.dg/g77/12632.f: Copy from g77.dg and fix
      	dg-error text.
      
      From-SVN: r84372
      David Billinghurst committed
    • IIOException.java, [...]: New files. · 3042e24b
      2004-07-09  Michael Koch  <konqueror@gmx.de>
      
      	* javax/imageio/IIOException.java,
      	javax/imageio/event/IIOReadProgressListener.java,
      	javax/imageio/event/IIOReadUpdateListener.java,
      	javax/imageio/event/IIOReadWarningListener.java,
      	javax/imageio/event/IIOWriteProgressListener.java,
      	javax/imageio/event/IIOWriteWarningListener.java:
      	New files.
      	* Makefile.am: Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r84371
      Michael Koch committed