Commit Graph

68597 Commits

Author SHA1 Message Date
Richard Henderson
69dc01e631 * g++.dg/other/stdarg3.C: Spell "hpux*" correctly.
From-SVN: r100036
2005-05-20 16:52:46 -07:00
Ziemowit Laski
210f12a769 Give credit, where credit is due.
From-SVN: r100035
2005-05-20 23:42:07 +00:00
Mike Stump
29075100bc obj-c++-dg.exp: Add.
* obj-c++-dg.exp: Add.
        * obj-c++.exp: Add.
        * obj-c++.dg/dg.exp: Add.

From-SVN: r100031
2005-05-20 22:14:16 +00:00
Jan Hubicka
c15fed7643 Makefile.in (insn-emit.o): Add basic-block.h dependency.
* Makefile.in (insn-emit.o): Add basic-block.h dependency.
	* genemit.c (main): Make insn-emit to include basic-block.h too.

From-SVN: r100028
2005-05-20 21:17:48 +00:00
Jan Beulich
0d25c320b9 stubs.c: Also implement fabsf/fabsl if not present in the system libraries.
libstdc++-v3/
2005-05-20  Jan Beulich  <jbeulich@novell.com>

	* libmath/stubs.c: Also implement fabsf/fabsl if not present in the
	system libraries.

From-SVN: r100013
2005-05-20 14:00:06 +00:00
Paolo Carlini
a809005264 stl_algo.h (__rotate<_RandomAccessIterator>): Don't qualify __tmp as const, _ValueType is not necessarily Assignable.
2005-05-20  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
	Don't qualify __tmp as const, _ValueType is not necessarily
	Assignable.
	* include/bits/stl_algobase.h (swap, __iter_swap<false>):
	Likewise, as an harmless extension.

From-SVN: r100011
2005-05-20 08:58:23 +00:00
Nick Clifton
527abb7a71 thunk3.C: XFAIL on m32r*-*.
* g++.old-deja/g++.jason/thunk3.C: XFAIL on m32r*-*.
	* gcc.c-torture/execute/20020720-1.x: Add xfail for m32r*-*.
	* gcc.c-torture/execute/20020720-1.x: Add xfail for avr-*-*.

From-SVN: r100010
2005-05-20 08:25:49 +00:00
Jan Hubicka
776b966eb0 * cgraphunit.c (cgraph_expand_function): Force function being lowered.
From-SVN: r100009
2005-05-20 08:05:07 +00:00
Paolo Bonzini
bcb28cf506 Makefile.def (configure-gcc): Depend on binutils having been built.
2005-05-20  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (configure-gcc): Depend on binutils having been built.
	(all-gcc): No need to do it here.
	* Makefile.in: Regenerate.

From-SVN: r100007
2005-05-20 07:10:30 +00:00
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