Commit Graph

77963 Commits

Author SHA1 Message Date
GCC Administrator
17e046a29f Daily bump.
From-SVN: r126047
2007-06-27 00:16:43 +00:00
Joseph Myers
fd339963fa be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
	rw.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r126042
2007-06-26 21:06:08 +01:00
Joseph Myers
82284232f5 be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
	ru.po, rw.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r126038
2007-06-26 21:03:07 +01:00
Benjamin Kosnik
7a57e2fb34 throw_allocator.h: Fixes for -fno-exceptions.
2007-06-26  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/throw_allocator.h: Fixes for -fno-exceptions.
	* testsuite/util/testsuite_shared.cc: Same.
	* testsuite/util/io/illegal_input_error.hpp: Same.
	* testsuite/util/io/verified_cmd_line_input.cc: Same.

	* libsupc++/typeinfo (type_info): Correct comment formatting,
	clarify member access and public interface.
	* libsupc++/exception: Less compressed comments.
	* libsupc++/new: Same.

From-SVN: r126030
2007-06-26 15:35:42 +00:00
GCC Administrator
4f82b9c251 Daily bump.
From-SVN: r126009
2007-06-26 00:16:38 +00:00
GCC Administrator
1c1c0e03d8 Daily bump.
From-SVN: r125993
2007-06-25 00:16:36 +00:00
GCC Administrator
d11d1c9117 Daily bump.
From-SVN: r125979
2007-06-24 00:16:38 +00:00
GCC Administrator
fc3e11742b Daily bump.
From-SVN: r125961
2007-06-23 00:16:41 +00:00
Jakub Jelinek
4dc53f2733 pthread_support.c (GC_get_thread_stack_base): Handle pthread_getattr_np failures.
* pthread_support.c (GC_get_thread_stack_base): Handle
	pthread_getattr_np failures.

From-SVN: r125958
2007-06-22 22:07:20 +02:00
GCC Administrator
eec9aa2e03 Daily bump.
From-SVN: r125935
2007-06-22 00:16:37 +00:00
H.J. Lu
add4577730 i386.c (ix86_builtins): Add IX86_BUILTIN_VEC_EXT_V16QI.
gcc/

2007-06-21  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_VEC_EXT_V16QI.
	(ix86_init_mmx_sse_builtins): Add __builtin_ia32_vec_ext_v16qi.
	(ix86_expand_builtin): Handle IX86_BUILTIN_VEC_EXT_V16QI.

gcc/testsuite/

2007-06-21  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/sse2-vec-5.c: Restored.

From-SVN: r125923
2007-06-21 08:47:40 -07:00
H.J. Lu
7108dea517 sse2-vec-5.c: Removed.
2007-06-21  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/sse2-vec-5.c: Removed.

From-SVN: r125921
2007-06-21 06:18:10 -07:00
Jakub Jelinek
b3561ad885 re PR middle-end/32362 (ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508)
PR middle-end/32362
	* omp-low.c (lookup_decl_in_outer_ctx): Don't ICE if t is NULL,
	but decl is a global var, instead return decl.
	* gimplify.c (gimplify_adjust_omp_clauses_1): Add shared clauses
	even for is_global_var decls, if they are private in some outer
	context.

	* testsuite/libgomp.c/pr32362-1.c: New test.
	* testsuite/libgomp.c/pr32362-2.c: New test.
	* testsuite/libgomp.c/pr32362-3.c: New test.

From-SVN: r125918
2007-06-21 14:15:53 +02:00
Uros Bizjak
cbffd8352e re PR target/32389 (ICE in extract_constrain_insn_cached when using -msse)
PR target/32389
        * config/i386/i386.h (enum ix86_stack_slot): Add SLOT_VIRTUAL.
        * config/i386/i386.c (assign_386_stack_local): Assert that
        SLOT_VIRTUAL is valid only before virtual regs are instantiated.
        (ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR, IX86_BUILTIN_STMXCSR]:
        Use SLOT_VIRTUAL stack slot instead of SLOT_TEMP.
        * config/i386/i386.md (truncdfsf2, truncxfsf2, truncxfdf2): Ditto.

testsuite/ChangeLog:

        PR target/32389
        * gcc.target/i386/pr32389.c New test.

From-SVN: r125911
2007-06-21 09:06:29 +02:00
GCC Administrator
42c92ffa13 Daily bump.
From-SVN: r125903
2007-06-21 00:16:35 +00:00
Mike Stump
8e99abba50 acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
	(ACX_HAVE_GCC_FOR_TARGET): Likewise.

From-SVN: r125899
2007-06-20 23:07:21 +00:00
Daniel Franke
f3e122bd99 backport: re PR fortran/32002 (insufficient conformance check when assigning the result of an elemental function to an array)
gcc/fortran:
2007-07-20  Daniel Franke  <franke.daniel@gmail.com>

        Backport from trunk:
        PR fortran/32002
        * resolve.c (resolve_actual_arglist): Resolve actual argument after
        being identified as variable.

gcc/testsuite:
2007-06-20  Daniel Franke  <franke.daniel@gmail.com>

	Backport from trunk:
	PR fortran/32002
        * gfortran.dg/compliant_elemental_intrinsics_2.f90: New test.

From-SVN: r125898
2007-06-20 17:35:04 -04:00
Jakub Jelinek
ddba42a335 re PR inline-asm/32109 (ICE with inline-asm and class with destructor)
PR inline-asm/32109
	* gimplify.c (gimplify_asm_expr): Issue error if type is addressable
	and !allows_mem.

	* g++.dg/ext/asm10.C: New test.

From-SVN: r125878
2007-06-20 08:46:31 +02:00
Jakub Jelinek
1fb9342df5 re PR middle-end/32285 (Miscompilation with pure _Complex returning call inside another fn's argument list)
PR middle-end/32285
	* calls.c (precompute_arguments): Also precompute CALL_EXPR arguments
	if ACCUMULATE_OUTGOING_ARGS.

	* gcc.c-torture/execute/20070614-1.c: New test.

From-SVN: r125877
2007-06-20 08:44:26 +02:00
Kaz Kojima
d2ad7fd7a6 re PR rtl-optimization/28011 ([SH] g++ generates wrong code, if '-fno-exceptions' and '-O' options are specified)
PR rtl-optimization/28011
	Backport from mainline.
	* reload.c (push_reload): Set dont_share if IN appears in OUT
	also when IN is a PLUS rtx.
	(reg_overlap_mentioned_for_reload_p): Return true if X and IN
	are same PLUS rtx.

From-SVN: r125871
2007-06-20 05:47:09 +00:00
Paul Thomas
6e3b32900e re PR fortran/32302 (Incorrect result with -O2)
2007-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/32302
	* trans-common.c (build_common_decl): If resizing of common
	decl is needed, update the TREE_TYPE.

2007-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/32302
	* gfortran.dg/common_resize_1.f90: New test.

From-SVN: r125870
2007-06-20 05:02:39 +00:00
GCC Administrator
73f7668eec Daily bump.
From-SVN: r125866
2007-06-20 00:16:37 +00:00
Richard Guenther
e6cb838e11 re PR c++/30252 (miscompilation of sigc++-2.0 based code with -fstrict-aliasing)
2007-06-19  Richard Guenther  <rguenther@suse.de>
	Michael Matz  <matz@suse.de>

	PR tree-optimization/30252
	* tree-ssa-structalias.c (solution_set_add): Make sure to
	preserve all relevant vars.
	(handle_ptr_arith): Make sure to only handle positive
	offsets.
	(push_fields_onto_fieldstack): Create fields for empty
	bases.

	* g++.dg/opt/pr30252.C: New testcase.

Co-Authored-By: Michael Matz <matz@suse.de>

From-SVN: r125844
2007-06-19 09:24:35 +00:00
Jakub Jelinek
4f0e4109bf re PR tree-optimization/32353 (Miscompilation with RESULT_DECL)
PR tree-optimization/32353
	* tree-ssa-structalias.c (set_uids_in_ptset): Also handle RESULT_DECL.

	* g++.dg/opt/nrv13.C: New test.

From-SVN: r125842
2007-06-19 11:11:22 +02:00
Mark Mitchell
2ce43a383b cp-tree.h (DECL_VAR_MARKED_P): Remove.
* cp-tree.h (DECL_VAR_MARKED_P): Remove.
	(DECL_ANON_UNION_VAR_P): New macro.
	* class.c (fixed_type_or_null): Tidy.  Use a hash table, rather
	than DECL_VAR_MARKED_P, to keep track of which variables we have
	seen.
	* decl.c (redeclaration_error_message): Complain about redeclaring
	anonymous union members at namespace scope.
	* decl2.c (build_anon_union_vars): Set DECL_ANON_UNION_VAR_P.
	* g++.dg/lookup/anon6.C: New test.

From-SVN: r125839
2007-06-19 00:40:30 +00:00
GCC Administrator
dd14841e8d Daily bump.
From-SVN: r125836
2007-06-19 00:16:45 +00:00
GCC Administrator
4a2bc038f7 Daily bump.
From-SVN: r125785
2007-06-18 00:16:38 +00:00
Eric Botcazou
a5cada90a4 sparc.c (sparc_vis_init_builtins): Retrieve the return mode from the builtin itself.
* config/sparc/sparc.c (sparc_vis_init_builtins): Retrieve the
	return mode from the builtin itself.
	(sparc_fold_builtin): Fix cast of zero constant.

From-SVN: r125769
2007-06-17 11:17:39 +00:00
GCC Administrator
3bd11d9c01 Daily bump.
From-SVN: r125763
2007-06-17 00:16:38 +00:00
GCC Administrator
29bbc8cd48 Daily bump.
From-SVN: r125750
2007-06-16 00:16:39 +00:00
Diego Novillo
de89a618e9 re PR middle-end/32327 (Incorrect stack sharing causing removal of live code)
PR 32327
	* tree-ssa-operands.c (build_ssa_operands): Initially assume
	that the statement does not take any addresses.
 

testsuite/ChangeLog

	PR 32327
	* g++.dg/tree-ssa/pr32327-1.C: New test.
	* g++.dg/tree-ssa/pr32327.C: New test.

From-SVN: r125748
2007-06-15 18:10:09 -04:00
GCC Administrator
7bcd6cc13c Daily bump.
From-SVN: r125728
2007-06-15 00:16:37 +00:00
GCC Administrator
fb4a6325b6 Daily bump.
From-SVN: r125691
2007-06-14 00:16:44 +00:00
Eric Botcazou
bc485e487c sparc.c (sparc_override_options): Initialize fpu mask correctly.
* config/sparc/sparc.c (sparc_override_options): Initialize
	fpu mask correctly.

From-SVN: r125675
2007-06-13 13:59:45 +00:00
GCC Administrator
c256970471 Daily bump.
From-SVN: r125663
2007-06-13 00:16:35 +00:00
GCC Administrator
a6c7a5463b Daily bump.
From-SVN: r125630
2007-06-12 00:16:49 +00:00
GCC Administrator
d021efb9c3 Daily bump.
From-SVN: r125608
2007-06-11 00:16:39 +00:00
GCC Administrator
c66de9a3a1 Daily bump.
From-SVN: r125597
2007-06-10 00:16:35 +00:00
Ian Lance Taylor
9c16d364b4 re PR tree-optimization/32169 (Ice in set_value_range, at tree-vrp.c:326)
./:	PR tree-optimization/32169
	* tree-vrp.c (extract_range_from_unary_expr): For NOP_EXPR and
	CONVERT_EXPR, check whether min and max both converted to an
	overflow infinity representation.
testsuite/:
	PR tree-optimization/32169
	* gcc.c-torture/compile/pr32169.c: New test.

From-SVN: r125592
2007-06-09 16:31:11 +00:00
Paolo Carlini
f4e39ecab8 install.html: Adjust consistently with libstdc++/31717.
2007-06-08  Paolo Carlini  <pcarlini@suse.de>

	* docs/html/install.html: Adjust consistently with libstdc++/31717.

From-SVN: r125588
2007-06-09 00:55:58 +00:00
GCC Administrator
afb9e8b7f8 Daily bump.
From-SVN: r125584
2007-06-09 00:16:39 +00:00
Dirk Mueller
89e473e122 backport: [multiple changes]
2007-06-08  Dirk Mueller  <dmueller@suse.de>

       PR c++/31809
       PR c++/31806
       Backport from mainline:
       2007-05-31  Jakub Jelinek  <jakub@redhat.com>

       * decl.c (cp_finish_decl): Also clear was_readonly if a static var
       needs runtime initialization.

       2007-05-30  Jakub Jelinek  <jakub@redhat.com>

       * decl.c (cp_finish_decl): Clear TREE_READONLY flag on TREE_STATIC
       variables that need runtime initialization.

       PR c++/31809
       Backport from mainline:
       2007-05-30  Jakub Jelinek  <jakub@redhat.com>

       * g++.dg/opt/static5.C: New test.

From-SVN: r125580
2007-06-08 21:48:34 +00:00
Francesco Palagi
329a6492bc fstream: Add Table 92 in comment.
2007-06-08  Francesco Palagi  <palagi@arcetri.astro.it>

	* include/std/fstream: Add Table 92 in comment.

From-SVN: r125572
2007-06-08 14:27:56 +00:00
Kaz Kojima
fe7b0e375b re PR target/32163 (Compiling with stack protector causes reigster spill failure)
PR target/32163
	Backport from mainline.
	* config/sh/sh.md (symGOT_load): Don't schedule insns when
	the symbol is generated with the stack protector.

From-SVN: r125558
2007-06-08 05:53:57 +00:00
GCC Administrator
1069936395 Daily bump.
From-SVN: r125548
2007-06-08 00:16:47 +00:00
GCC Administrator
e04b78fae9 Daily bump.
From-SVN: r125513
2007-06-07 00:16:37 +00:00
Benjamin Kosnik
c16412d2e9 debug.html: Correct link.
2007-06-06  Benjamin Kosnik  <bkoz@redhat.com>
	    Frank Mori Hess  <frank.hess@nist.gov>
	
	* docs/html/debug.html: Correct link.


Co-Authored-By: Frank Mori Hess <frank.hess@nist.gov>

From-SVN: r125489
2007-06-06 13:58:20 +00:00
Ian Lance Taylor
1fcef71126 fold-const.c (merge_ranges): If range_successor or range_predecessor fail, just return 0.
./:	* fold-const.c (merge_ranges): If range_successor or
	range_predecessor fail, just return 0.
testsuite/:
	* g++.dg/conversion/enum1.C: New test.

From-SVN: r125487
2007-06-06 13:56:46 +00:00
GCC Administrator
9007e1370e Daily bump.
From-SVN: r125349
2007-06-06 00:16:36 +00:00
Ian Lance Taylor
e596a3130b tree-vrp.c (compare_values_warnv): Check TREE_NO_WARNING on a PLUS_EXPR or MINUS_EXPR node before setting...
./:	* tree-vrp.c (compare_values_warnv): Check TREE_NO_WARNING on a
	PLUS_EXPR or MINUS_EXPR node before setting *strict_overflow_p.
	(extract_range_from_assert): Set TREE_NO_WARNING when creating an
	expression.
	(test_for_singularity): Likewise.
testsuite/:
	* gcc.dg/Wstrict-overflow-19.c: New test.

From-SVN: r125335
2007-06-05 13:18:59 +00:00