Commit Graph

68488 Commits

Author SHA1 Message Date
Richard Henderson e4d4cf569d * g++.dg/other/stdarg3.C: Only use -mlp64 for hpux.
From-SVN: r100006
2005-05-19 22:00:29 -07:00
Richard Henderson b686c48cd8 alpha.c (emit_unlikely_jump, [...]): Split out from ...
* config/alpha/alpha.c (emit_unlikely_jump, emit_load_locked,
        emit_store_conditional): Split out from ...
        (alpha_split_atomic_op): ... here.
        (alpha_split_compare_and_swap): New; extract from .md file.
        (alpha_split_lock_test_and_set): Likewise.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/sync.md (sync_compare_and_swap<I48MODE>): Move
        split code into alpha.c.
        (sync_lock_test_and_set<I48MODE>): Likewise.

From-SVN: r100005
2005-05-19 19:38:56 -07:00
Richard Henderson ce88799c37 * exception.cc: Revert 05-17 gcc_unreachable change.
From-SVN: r100004
2005-05-19 18:28:35 -07:00
Richard Henderson 4419e3438b * exception.c: Revert last change.
From-SVN: r100003
2005-05-19 18:26:56 -07:00
Richard Henderson e73ee854b1 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
From-SVN: r100002
2005-05-19 18:24:50 -07:00
Richard Henderson e4d0c41cba * unwind.h, unwind-pe.h: Revert gcc_unreachable change of 05-17.
From-SVN: r100001
2005-05-19 17:59:02 -07:00
GCC Administrator 65869a72a6 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r99999.2
2005-05-20 00:16:22 +00:00
Janis Johnson fb7111c607 * gcc.dg/altivec-21.c: Use dg-error only for ilp32.
From-SVN: r99997
2005-05-19 23:23:27 +00:00
Janis Johnson 517297ba29 * gcc.dg/vect/vect-dv-2.c: Remove dg-do directive.
From-SVN: r99996
2005-05-19 23:22:23 +00:00
Bryce McKinlay 146e2904bc natClassLoader.cc (_Jv_NewClass): Use _Jv_RegisterInitiatingLoader to register array classes, not _Jv_RegisterClass.
* java/lang/natClassLoader.cc (_Jv_NewClass): Use
	_Jv_RegisterInitiatingLoader to register array classes, not
	_Jv_RegisterClass.
	(_Jv_RegisterInitiatingLoader): Give up if called very early during
	bootstrapping. Add a FIXME to handle this case better.

From-SVN: r99993
2005-05-19 23:24:26 +01:00
Bryce McKinlay cabf144776 Makefile.am (libgcj0_convenience_la): Removed.
* Makefile.am (libgcj0_convenience_la): Removed. Don't build a
	libgcj convenience library.
	(libgcj_la_SOURCES): New. Move sources here.
	(libgcj.la): Remove rule.

From-SVN: r99988
2005-05-19 22:46:39 +01:00
Richard Henderson 9f3ea395e6 sse.md (mulv4si3): Use all register inputs.
* config/i386/sse.md (mulv4si3): Use all register inputs.
        (mulv2di3): Likewise.

From-SVN: r99986
2005-05-19 14:28:02 -07:00
Joseph Myers 2ed61d61b5 * de.po, zh_CN.po: Update.
From-SVN: r99984
2005-05-19 21:42:12 +01:00
Paul Brook 0cf085e4d4 configure.in: Rewrite misleading error message when requested language cannot be built.
2005-05-19  Paul Brook  <paul@codesourcery.com>

	* configure.in: Rewrite misleading error message when requested
	language cannot be built.
	* configure: Regenerate.

From-SVN: r99982
2005-05-19 20:03:22 +00:00
Richard Guenther 62b37d918e tree-ssa-loop-ivopts.c (determine_base_object): Use build_fold_addr_expr to generate trees of correct type.
2005-05-19  Richard Guenther  <rguenth@gcc.gnu.org>

	* tree-ssa-loop-ivopts.c (determine_base_object): Use
	build_fold_addr_expr to generate trees of correct type.
	Use fold_buildN if possible.

From-SVN: r99981
2005-05-19 19:17:49 +00:00
David Ayers 2e8a88f0b2 exception.c: Include tsystem.h for unwind.h.
2005-05-19  David Ayers  <d.ayers@inode.at>

	* exception.c: Include tsystem.h for unwind.h.

From-SVN: r99978
2005-05-19 12:22:21 +00:00
Paolo Bonzini 6fb09909fc re PR java/17845 (More problems with simple type names as superclasses)
2005-05-19  Paolo Bonzini  <bonzini@gnu.org>

	PR java/17845

	* parse.y (register_package, package_list): Remove.
	(package_declaration): Do not call register_package.
	(do_resolve_class): Do not use package_list.

From-SVN: r99977
2005-05-19 11:16:27 +00:00
Jan Hubicka e42922b1ae basic-block.h (REG_BR_PROB_BASE): Define.
* basic-block.h (REG_BR_PROB_BASE): Define.
	* cgraph.c (cgraph_create_edge): Initialize loop_nest and count.
	(dump_cgraph_node): Dump count.
	(cgraph_clone_edge): Rescale counts.
	(cgraph_clone_node): Likewise.
	* cgraph.h: Include basic-block.h
	(cgraph_node): Add count.
	(cgraph_edge): Add count and loop_nest.
	(cgraph_node, cgraph_edge, cgraph_clone_edge, cgraph_clone_node):
	Update prototypes.
	* cgraphunit.c: Kill now redundant inlining comment.
	(cgraph_create_edges): Make static, maintain current basic block;
	fix pasto.
	(record_call_1): Fill in new fields.
	* ipa-inline.c (cgraph_clone_inlined_nodes): Update call of
	cgraph_clone_node.
	(cgraph_decide_recursive_inlining): Likewise.
	* rtl.h (REG_BR_PROB_BASE): Kill.
	* tree-inline.c (copy_body_r): Update call of cgraph_clone_edge.
	(expand_call_inline): Update call of cgraph_create_edge.
	* tree-optimize.c (tree_rest_of_compilation): Likewise.

From-SVN: r99976
2005-05-19 10:38:42 +00:00
Nick Clifton eef16504e2 eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new rs6000_explicit_options structure.
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the new
rs6000_explicit_options structure.

From-SVN: r99974
2005-05-19 10:28:30 +00:00
Richard Henderson 0da4e73a09 re PR target/21390 (alphaev68-dec-osf5.1b long double optimization bug with gcc-4.0.0)
PR target/21390
        * config/alpha/alpha.c (alpha_emit_conditional_branch): Move
        TFmode code swapping ...
        (alpha_emit_xfloating_compare): ... here.
        (alpha_emit_setcc): Update to match.
        (alpha_lookup_xfloating_lib_func): Assert TARGET_HAS_XFLOATING_LIBS.

From-SVN: r99972
2005-05-19 02:49:55 -07:00
Richard Henderson 9a7e4ed66a re PR target/21657 (TLS reference miscompiled)
PR target/21657
        * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra
        memory indirection in local-dynamic case.

From-SVN: r99971
2005-05-19 02:42:23 -07:00
Jonathan Wakely bfbc811b25 basic_string.h (operator[]): Allow s[s.size()] in debug mode, but not pedantic mode.
* include/bits/basic_string.h (operator[]): Allow s[s.size()] in
	debug mode, but not pedantic mode.

From-SVN: r99967
2005-05-19 09:59:46 +01:00
Jie Zhang a2391c6a35 bfin.c (branch_dest): Add comment why it's necessary.
* config/bfin/bfin.c (branch_dest): Add comment why it's
	necessary.
	* config/bfin/bfin.md (attr "length" default): Change the offset of
	forward conditional branch of length 4 from 4096 to 4092.

Co-Authored-By: Bernd Schmidt <bernd.schmidt@analog.com>

From-SVN: r99966
2005-05-19 08:42:26 +00:00
Jakub Jelinek 389c6c8b5b re PR c++/21495 (internal compiler error: Segmentation fault)
PR c++/21495
	* decl.c (grokdeclarator): Fix "storage class specified for"
	error reporting.

	* g++.dg/parse/extern1.C: New test.
	* g++.dg/tls/diag-2.C: Adjust expected error message wording.

From-SVN: r99960
2005-05-19 09:37:45 +02:00
Eric Botcazou f0cd747eb3 Add missing period.
From-SVN: r99957
2005-05-19 07:12:05 +00:00
Eric Botcazou 925a448751 re PR target/19933 (Problem with define of HUGE_VAL in math_c99.)
fixincludes/
	PR target/19933
	PR target/21315
	* inclhack.def: New fixes solaris_math_[1-9].
	* fixincl.x: Regenerate.
	* tests/base/iso/math_c99.h: New.

gcc/testsuite/
	* gcc.dg/c99-math.h: New
	* gcc.dg/c99-math-float-1.c: New test.
	* gcc.dg/c99-math-double-1.c: Likewise.
	* gcc.dg/c99-math-long-double-1.c: Likewise.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>

From-SVN: r99953
2005-05-19 07:05:45 +00:00
Jan Beulich 7a774cac88 unwind-compat.c: Include tconfig.h and tsystem.h.
gcc/
2005-05-19  Jan Beulich  <jbeulich@novell.com>

	* unwind-compat.c: Include tconfig.h and tsystem.h.
	* unwind-dw2-fde-compat.c: Likewise.

libstdc++-v3/
2005-05-19  Jan Beulich  <jbeulich@novell.com>

	* libsupc++/unwind-cxx.h: Include cstdlib.
	(gcc_unreachable): #define.
	* libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.

From-SVN: r99952
2005-05-19 06:47:50 +00:00
Richard Henderson d2751e9ed5 re PR tree-optimization/21541 (gcc.c-torture/execute/20031215-1.c compilation fails)
PR 21541
        * ifcvt.c (noce_process_if_block): Avoid conversion when the
        memory destination is readonly.

From-SVN: r99951
2005-05-18 23:29:45 -07:00
Richard Henderson e82766657d Mark PR number.
From-SVN: r99950
2005-05-18 21:24:19 -07:00
Richard Henderson eb384679ab * gcc.dg/tree-ssa/20031015-1.c: Expect one V_MUST_DEF.
From-SVN: r99949
2005-05-18 21:13:38 -07:00
Richard Henderson 0d2bf6f039 tree-ssa-operands.c (opf_non_specific): New.
* tree-ssa-operands.c (opf_non_specific): New.
        (get_asm_expr_operands): Set it.
        (add_call_clobber_ops, add_call_read_ops): Likewise.
        (add_stmt_operand): Test it instead of opf_kill_def when
        considering unmodifiable variables.

        * tree-ssa-operands.c (get_expr_operands): Fix exact test.

From-SVN: r99948
2005-05-18 21:10:09 -07:00
Kelley Cook c64d0e9929 accross.m4: Delete file.
2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

	* accross.m4: Delete file.

From-SVN: r99946
2005-05-19 03:45:17 +00:00
Kelley Cook 08862f3c97 aclocal.m4: Remove superfluous reference to accross.m4.
2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

	* aclocal.m4: Remove superfluous reference to accross.m4.

From-SVN: r99945
2005-05-19 03:38:34 +00:00
Kazu Hirata 128a79fb01 cfgexpand.c, [...]: Fix comment typos.
gcc/
	* cfgexpand.c, tree-cfg.c, tree-inline.c, tree-optimize.c,
	tree-ssa-forwprop.c: Fix comment typos.
	* doc/invoke.texi: Fix a typo.

cp/
	* parser.c: Fix comment typos.

From-SVN: r99944
2005-05-19 03:05:49 +00:00
Richard Henderson f75aac9e43 config.gcc (powerpc-*-linux*): Include linux64.opt when including linux64.h.
* config.gcc (powerpc-*-linux*): Include linux64.opt when
        including linux64.h.

From-SVN: r99943
2005-05-18 18:10:13 -07:00
Richard Henderson 9e5a3e6cca tree-cfg.c (pass_remove_useless): Revert last change.
* tree-cfg.c (pass_remove_useless): Revert last change.
        * tree-optimize.c (init_tree_optimization_passes): Initialize
        all_lowering_passes with PROP_gimple_any.

From-SVN: r99942
2005-05-18 18:05:06 -07:00
Joseph Myers 1574b5fc9e crontab: Don't build 3.3 branch snapshots.
* crontab: Don't build 3.3 branch snapshots.
	* update_version (IGNORE_BRANCHES): Add gcc-3_3-branch.

From-SVN: r99941
2005-05-19 01:33:47 +01:00
GCC Administrator 4f44068c7b Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r99939.2
2005-05-19 00:16:28 +00:00
Devang Patel 46e5b15ed4 rs6000.md (insvsi_internal1): Subtract shift from the mask end.
* config/rs6000/rs6000.md (insvsi_internal1): Subtract shift from
       the mask end.
       * g++.dg/opt/20050511-1.C: New test.

From-SVN: r99936
2005-05-18 16:54:36 -07:00
Richard Henderson 5bcd864416 tree-ssa-forwprop.c (cfg_changed): New.
* tree-ssa-forwprop.c (cfg_changed): New.
        (tidy_after_forward_propagate_addr): New.
        (forward_propagate_addr_expr): Use it, and fold_stmt_inplace.
        (forward_propagate_addr_into_variable_array_index): Likewise.
        (tree_ssa_forward_propagate_single_use_vars): Cleanup cfg if
        edges were removed.

From-SVN: r99935
2005-05-18 16:21:17 -07:00
Paolo Carlini 66143232bc re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep)
2005-05-18  Paolo Carlini  <pcarlini@suse.de>
	    Nathan Myers  <ncm@cantrip.org>

	PR libstdc++/19495
	* include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
	size_type instead of char and rename to _Raw_alloc.
	* include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
	Use the above.
	* src/bitmap_allocator.cc: Add instantiation for size_type.
	* src/mt_allocator.cc: Likewise.
	* src/pool_allocator.cc: Likewise.
	* include/ext/array_allocator.h: Tweak slightly, avoid assuming
	the existence of an _Array::begin() and size() members.
	* testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
	of size_type, instead of char, thus avoiding problems with
	rebinds, not treated correctly by array_allocator.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>

From-SVN: r99933
2005-05-18 22:11:24 +00:00
Jan Hubicka 7bd3a7bfc9 Fix forgotten ChangeLog entries.
From-SVN: r99930
2005-05-18 21:04:17 +00:00
Geoffrey Keating 3fd30b88df dummy-checksum.c: New.
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

	* dummy-checksum.c: New.
	* genchecksum.c: New.
	* c.opt (print_pch_checksum): New flag.
	* c-pch.c (struct c_pch_validity): Make much shorter.
	(no_checksum): New.
	(host_machine): Remove.
	(target_machine): Remove.
	(get_ident): Change PCH version number.
	(pch_init): When -fverbose-asm, print out the compiler fingerprint.
	Don't put triplets or version string in PCH validity data.
	Do put the compiler checksum in the validity data.
	(c_common_valid_pch): Don't check triplets or version string.  Do
	check checksum.
	(c_common_print_pch_checksum): New.
	* c-opts.c (c_common_handle_option): Add OPT_print_pch_checksum.
	Print fingerprint with -v.
	* c-common.h (c_common_print_pch_checksum): New.
	(executable_checksum): New.
	* Makefile.in (STAGEMOVESTUFF): Add cc1*-dummy, *-checksum.c.
	(cc1-dummy): New rule.
	(cc1-checksum.c): New rule.
	(cc1-checksum.o): New rule.
	(cc1): Add checksum support.
	(build/genchecksum): New.
	(build/genchecksum.o): New.
	(dummy-checksum.o): New.
	(genobjnames): Add genchecksum.o.
	(mostlyclean): Remove *-checksum.c.
	(gnucompare): Add libgcc to list of directories checked.
	Make comparison problems in libgcc/ and with checksum files only
	be warnings.
	* doc/invoke.texi (Precompiled Headers): Remove caution.
	Document that it must be the exact same binary.  Add a few
	known-safe flags to the list.

In cp/:
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

	* Make-lang.in (cc1plus-dummy): New.
	(cc1plus-checksum.c): New.
	(cc1plus-checksum.o): New.
	(cc1plus): Add cc1plus-checksum.o.

In objc/:
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

	* Make-lang.in (cc1obj-dummy): New.
	(cc1obj-checksum.c): New.
	(cc1obj-checksum.o): New.
	(cc1obj): Add cc1obj-checksum.o.

In objcp/:
2005-05-18  Geoffrey Keating  <geoffk@apple.com>

	* Make-lang.in (cc1objplus-dummy): New.
	(cc1objplus-checksum.c): New.
	(cc1objplus-checksum.o): New.
	(cc1objplus): Add cc1objplus-checksum.o.

From-SVN: r99928
2005-05-18 20:45:26 +00:00
Geoffrey Keating 045a8eb388 predicates.md (fix_trunc_dest_operand): New.
* rs6000/predicates.md (fix_trunc_dest_operand): New.
	* rs6000/rs6000.md (fix_truncdfsi2): Use fix_trunc_dest_operand.
	Check that a memory operand is valid before trying to use it.

From-SVN: r99927
2005-05-18 20:36:02 +00:00
Thomas Koenig 5ac7af02ea re PR libfortran/21127 (reshape of complex broken)
2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * Makefile.am:  Really commit.
        * Makefile.in:  Really commit.

From-SVN: r99926
2005-05-18 20:35:25 +00:00
Thomas Koenig 8f4dc7afb1 re PR libfortran/21127 (reshape of complex broken)
2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * Makefile.am:  Add generated/reshape_c4.c and
        generated/reshape_c8.c.
        * Makefile.in:  Regenerated.
        * m4/iparm.m4:  Define rtype_ccode to be c4 or c8 for
        complex types, 4 or 8 otherwise.
        * m4/reshape.m4:  Use rtype_ccode instead of rtype_kind
        in function name.
        * generated/reshape_c4.c: New file.
        * generated/reshape_c8.c: New file.

2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * fortran/iresolve.c (gfc_resolve_reshape): Add
        gfc_type_letter (BT_COMPLEX) for complex to
        to resolved function name.

2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21127
        * gfortran.dg/reshape-complex.f90:  New test.

From-SVN: r99925
2005-05-18 20:24:32 +00:00
Geoffrey Keating 565d8a378f * tree-cfg.c (pass_remove_useless): This pass works on trees.
From-SVN: r99924
2005-05-18 20:23:26 +00:00
Richard Guenther 90b4552881 tree.c (build1_stat): Don't try to handle two-operand tree codes.
2005-05-18  Richard Guenther  <rguenth@gcc.gnu.org>

	* tree.c (build1_stat): Don't try to handle two-operand
	tree codes.

From-SVN: r99923
2005-05-18 20:11:20 +00:00
Mike Stump 55cb016929 re PR objc/21641 (cris-axis-elf, cris-axis-linux-gnu, mmix-knuth-mmixware, x86_64-unknown-linux-gnu broken libobjc/Object.m)
PR objc/21641
        * objc-act.c (struct interface_tuple): Mark it up for GC.
        (interface_htab): It is really a struct interface_tuple.

From-SVN: r99922
2005-05-18 20:02:27 +00:00
Tobias Schlüter 755b3990ab Fix date on ChangeLog entry
From-SVN: r99920
2005-05-18 21:21:46 +02:00