Commit Graph

85764 Commits

Author SHA1 Message Date
GCC Administrator c56b5dc800 Daily bump.
From-SVN: r132208
2008-02-10 00:17:18 +00:00
John David Anglin 4d811a05ed PR middle_end/34150
* pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
	pic_label_operand source.  Similarly, add a REG_LABEL_OPERAND note
	and update LABEL_NUSES during and after reload.

From-SVN: r132203
2008-02-09 20:34:47 +00:00
John David Anglin a3395528c1 Add missing '*' to log entry.
From-SVN: r132200
2008-02-09 14:52:30 +00:00
Jason Merrill 7efc22ea01 re PR c++/35116 (Fail to compile valid code)
PR c++/35116
        * tree.c (build_target_expr_with_type): Handle void initializer.
        (bot_manip): Remap slot before recursing.

From-SVN: r132197
2008-02-08 22:40:14 -05:00
Steven Bosscher e37f6a497d re PR middle-end/34627 (Incorrect branching with -Ox on hppa)
PR middle-end/34627
	combine.c (simplify_if_then_else): Make sure the comparison is
	against const0_rtx when simplifying to (abs x) or (neg (abs X)).

From-SVN: r132193
2008-02-09 00:30:13 +00:00
GCC Administrator 264940793b Daily bump.
From-SVN: r132191
2008-02-09 00:17:33 +00:00
Richard Sandiford 34917a102a re PR bootstrap/35051 (Build machine requires GMP and MPFR for building cross-host gccs)
gcc/
	PR bootstrap/35051
	* double-int.h: Don't include gmp.h for GENERATOR_FILEs.
	(mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs.
	* real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs.
	(real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs.
	* tree.h (get_type_static_bounds): Likewise.

From-SVN: r132188
2008-02-08 19:10:25 +00:00
Joseph Myers 40891f69fb * ru.po: Update.
From-SVN: r132187
2008-02-08 15:51:37 +00:00
Ralf Wildenhues 670b023147 invoke.texi (Option Summary, [...]): Make -Wfoo language annotations match what the compiler outputs.
* doc/invoke.texi (Option Summary, C++ Dialect Options)
	(Objective-C and Objective-C++ Dialect Options, Warning Options):
	Make -Wfoo language annotations match what the compiler outputs.

From-SVN: r132186
2008-02-08 15:15:53 +00:00
Sa Liu 069c47eef5 Fixed wrong parameter type in spu intrinsics spu_convts, spu_convtu, spu_convtf.
From-SVN: r132185
2008-02-08 12:47:50 +00:00
Sa Liu 6ec6b7f23c Check parameter type of spu intrinsics spu_convts, spu_convtu, spu_convtf
From-SVN: r132184
2008-02-08 12:46:33 +00:00
Sa Liu 3f4dc604b0 Fixed wrong parameter type in spu
From-SVN: r132183
2008-02-08 12:43:51 +00:00
Hans-Peter Nilsson ccd2a21e3b extend.texi (Function Attributes): Mention asm ("") as method to keep calls.
* doc/extend.texi (Function Attributes) <noinline>: Mention
	asm ("") as method to keep calls.

From-SVN: r132182
2008-02-08 02:43:52 +00:00
GCC Administrator f7025a0111 Daily bump.
From-SVN: r132180
2008-02-08 00:17:22 +00:00
Manuel López-Ibáñez af47e6ac48 re PR other/32754 (The opt?-gen.awk file generators produce incorrect credits)
2008-02-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR other/32754
	* doc/options.texi (Options): Replace references to opts.sh with
	optc-gen.awk.
	* opts-common.c: Likewise.
	* optc-gen.awk: Likewise.

From-SVN: r132174
2008-02-07 20:40:19 +00:00
Andreas Tobler 083e941686 [multiple changes]
2008-02-06  Douglas Gregor  <doug.gregor@gmail.com>

	* g++.dg/ext/vector13.C: Fix for compilation under -pedantic.
2008-02-07  Andreas Tobler  <andreast-list@fgznet.ch>
            Douglas Gregor  <doug.gregor@gmail.com>
 
	PR bootstrap/35115
	* objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.


Co-Authored-By: Douglas Gregor <doug.gregor@gmail.com>

From-SVN: r132173
2008-02-07 19:03:40 +00:00
Andreas Krebbel 96e2afa84b s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.
2008-02-07  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.

From-SVN: r132172
2008-02-07 19:01:45 +00:00
Richard Henderson 32891ff6a1 re PR rtl-optimization/33410 (ICE in iv_analyze_expr, at loop-iv.c:934)
PR rtl-opt/33410
        * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an
        EXPR_LIST for the REG_EQUAL instead of a comparison with a
        funny mode.

From-SVN: r132171
2008-02-07 09:45:24 -08:00
Uros Bizjak c4ae80d945 re PR tree-optimization/35085 (gcc.dg/vect/vect-iv-9.c fails)
PR tree-optimization/35085
	* tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update
	for operand entry oe2 in addition to operand entry oe3 in order to
	expose more opportunities for vectorizer sum reduction.

From-SVN: r132168
2008-02-07 15:11:26 +01:00
GCC Administrator 0d566d211a Daily bump.
From-SVN: r132164
2008-02-07 00:16:57 +00:00
Kaveh R. Ghazi 72fb133fcb re PR other/35107 (GCC unnecessarily links shared libs with xgcc, gcov, cpp, jcf-dump, etc.)
2008-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	PR other/35107
	* Makefile.in (LIBS): Remove $(GMPLIBS).
	(cc1-dummy, cc1): Add $(GMPLIBS).

ada:
	PR other/35107
	* Make-lang.in (gnat1): Add $(GMPLIBS).

cp:
	PR other/35107
	* Make-lang.in (cc1plus-dummy, cc1plus): Add $(GMPLIBS).

fortran:
	PR other/35107
	* Make-lang.in (f951): Add $(GMPLIBS).

java:
	PR other/35107
	* Make-lang.in (jc1): Add $(GMPLIBS).

objc:
	PR other/35107
	* Make-lang.in (cc1obj-dummy, cc1obj): Add $(GMPLIBS).

objcp:
	PR other/35107
	* Make-lang.in (cc1objplus-dummy, cc1objplus): Add $(GMPLIBS).

treelang:
	PR other/35107
	* Make-lang.in (tree1): Add $(GMPLIBS).

From-SVN: r132160
2008-02-06 21:51:24 +00:00
Andreas Tobler c64ccf4d24 re PR libgcj/30071 (make install fails for libjava)
2008-02-06  Andreas Tobler  <a.tobler@schweiz.org>

	PR libgcj/30071
	* Makefile.am (install-exec-hook): Add install-binPROGRAMS.
	* Makefile.in: Regenerate.

From-SVN: r132159
2008-02-06 21:45:21 +01:00
Alexandre Oliva 04941f7657 re PR c++/35056 (ICE in copy_to_mode_reg, at explow.c:621)
gcc/cp/ChangeLog:
PR c++/35056
* tree.c: Include tree-flow.h.
(build_target_expr): Check type compatibility.
* Make-lang.in (cp/tree.o): Depend on $(TREE_FLOW_H).
* call.c (convert_like_real): Convert bitfield to expected type.
gcc/testsuite/ChangeLog:
PR c++/35056
* g++.dg/conversion/bitfield8.C: New.

From-SVN: r132158
2008-02-06 20:31:43 +00:00
Matthias Klose fb208bed52 Makefile.am ($(TOOLS_ZIP)): Copy over rmic template files.
2008-02-06  Matthias Klose  <doko@ubuntu.com>

        * tools/Makefile.am ($(TOOLS_ZIP)): Copy over rmic template files.
        Copy resource files independent of JAVA_MAINTAINER_MODE.
        * tools/Makefile.in: Regenerate.

From-SVN: r132156
2008-02-06 19:22:53 +00:00
Douglas Gregor e630b7a6a1 vector13.C: Fix for compilation under -pedantic.
2008-02-06  Douglas Gregor  <doug.gregor@gmail.com>

	* g++.dg/ext/vector13.C: Fix for compilation under -pedantic.

From-SVN: r132154
2008-02-06 19:08:56 +00:00
Doug Gregor f73d1d82a8 Commit missing ChangeLog fragment
From-SVN: r132153
2008-02-06 18:50:22 +00:00
Douglas Gregor f76e50b9f8 re PR c++/35049 (g++.dg/conversion/simd3.C:12: error: invalid operands to binary + (have 'float __vector__' and 'int __vector__'))
2008-02-06  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/35049
	PR c++/35096
	* typeck.c (structural_comptypes): Call cp_comptypes.
	(comptypes): New; called from the C/C++ common bits to perform
	strict checks.
	(cp_comptypes): Renamed from comptypes, which is already used,
	with a different signature, by the C++ front end.
	(build_reinterpret_cast_1): Call cp_comptypes.
	(ptr_reasonably_similar): Ditto.
	* decl.c (decls_match): Ditto.
	* cvt.c (convert_to_reference): Ditto.
	* cp-tree.h (same_type_p): Ditto.
	(same_or_base_type_p): Ditto.
	(comptypes): Rename to cp_comptypes.
	* pt.c (canonical_type_parameter): Call cp_comptypes.

2008-02-06  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/35049
	PR c++/35096
	* g++.dg/ext/vector13.C: New.

From-SVN: r132152
2008-02-06 18:49:03 +00:00
David Daney 1be5b2fbe1 ivopts-1.C: Remove xfail for mips*-*-*.
2008-02-06  David Daney  <ddaney@avtrex.com>

	* g++.dg/tree-ssa/ivopts-1.C: Remove xfail for mips*-*-*.

From-SVN: r132151
2008-02-06 17:44:45 +00:00
Joseph Myers 81c1ca57e3 * ru.po: Update.
From-SVN: r132150
2008-02-06 16:52:40 +00:00
Jan Hubicka 88b089d51f Wrong PR.
From-SVN: r132146
2008-02-06 11:40:47 +00:00
Jan Hubicka 20a415f83b re PR objc/5587 (Objc problems with user_label_prefix)
PR target/5587
	* i386.md (moddf_integer): Do not produce partial memory stalls for
	targets where it hurts.

From-SVN: r132145
2008-02-06 11:34:00 +00:00
Uros Bizjak cc8d36a15a re PR target/35083 (ICE: in extract_insn, at recog.c:1990)
PR target/35083
	* optabs.c (expand_float): Do not check for decimal modes when
	expanding unsigned integer through signed conversion.

From-SVN: r132144
2008-02-06 11:45:29 +01:00
Nick Clifton 2ccd9cb254 stormy16.md (eqbranchsi): Replace a match_dup inside the clobber with a match_operand and duplicated...
* config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup
        inside the clobber with a match_operand and duplicated operand
        number in the constraint.
        (ineqbranchsi): Delete redundant comment.

From-SVN: r132143
2008-02-06 10:36:33 +00:00
Ralf Corsepius 448b96d042 rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add builtin_define ("__USE_INIT_FINI__").
2008-02-06  Ralf Corsepius  <ralf.corsepius@rtems.org>

	* config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add 
	builtin_define ("__USE_INIT_FINI__").
	* config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add
	-msx multilibs.

From-SVN: r132141
2008-02-06 08:33:26 +01:00
Ralf Corsepius ecb2366ed6 gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.
2008-02-06  Ralf Corsepius  <ralf.corsepius@rtems.org>

	* gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.

From-SVN: r132138
2008-02-06 04:33:09 +01:00
GCC Administrator d4e58073c0 Daily bump.
From-SVN: r132134
2008-02-06 00:17:21 +00:00
Ralf Wildenhues ccd4e386c5 re PR driver/30330 (-Wdeprecated is not documented)
PR documentation/30330
	* doc/invoke.texi (C++ Dialect Options)
	(Objective-C and Objective-C++ Dialect Options, Warning Options):
	For each warning option -Wfoo that allows -Wno-foo, ensure both
	-Wfoo and -Wno-foo are listed in the option index.  Fix index
	entry of -Wswitch-default, index -Wnormalized= including the
	`=', and -Wlarger-than-@var{len} including @var{len}.

From-SVN: r132131
2008-02-05 23:13:17 +00:00
Bob Wilson 4e6a492c78 target-supports.exp (check_effective_target_hard_float): Remove special case for xtensa-*-*.
* lib/target-supports.exp (check_effective_target_hard_float): Remove
	special case for xtensa-*-*.

From-SVN: r132130
2008-02-05 21:28:42 +00:00
Francois-Xavier Coudert e3ac9b24a7 re PR fortran/35037 (VOLATILE attribute not being honored with common block variable)
PR fortran/35037

	* trans-common.c (build_field): Mark fields as volatile when needed.

	* gfortran.dg/volatile11.f90: New test.

From-SVN: r132129
2008-02-05 21:06:32 +00:00
Tobias Burnus da36ba2754 re PR fortran/35093 (gfortran.dg/data_constraints_1.f90)
2008-02-05  Tobias Burnus  <burnus@net-b.de>

        PR fortran/35093
        * data.c (gfc_assign_data_value): Only free "size" if
        it has not already been freed.

From-SVN: r132128
2008-02-05 21:40:45 +01:00
Jakub Jelinek 6a279e9228 re PR c++/33553 (Bogus "array bound is not an integer constant" for parameter in template method of template class)
PR c++/33553
	* pt.c (tsubst) <case INTEGER_TYPE>: Don't issue error if max is
	value dependent expression.

	* g++.dg/template/array19.C: New test.

From-SVN: r132126
2008-02-05 21:03:30 +01:00
Uros Bizjak def7425b63 i386.md (floatunssisf2): Use ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
* config/i386/i386.md (floatunssisf2): Use
        ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
        (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
        Macroize expander using MODEF mode iterator.

From-SVN: r132125
2008-02-05 19:07:25 +01:00
Diego Novillo c1e7d24012 http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
PR 33738
	* tree-vrp.c (vrp_evaluate_conditional): Revert fix for
	PR 33738.

testsuite/ChangeLog

	PR 33738
	* g++.dg/warn/pr33738.C: Remove.

From-SVN: r132124
2008-02-05 11:31:20 -05:00
Kaveh R. Ghazi 3a2041755b re PR other/35070 (-fverbose-asm has bogus asm output (mpfr library warning))
PR other/35070
	* toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.

From-SVN: r132123
2008-02-05 16:23:10 +00:00
H.J. Lu 7074bc2ebf re PR target/35084 (Strang error messages)
2008-02-05  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/35084
	* config/i386/i386.c (ix86_function_sseregparm): Add an arg
	to indicate if a message should be generated.
	(init_cumulative_args): Updated.
	(function_value_32): Likewise.

From-SVN: r132122
2008-02-05 06:51:06 -08:00
Paul Thomas 52f5643130 re PR fortran/34945 (LBOUND fails for array with KIND(complex) used in zero-sized dimension)
2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/34945
	* array.c (match_array_element_spec): Remove check for negative
	array size.
	(gfc_resolve_array_spec): Add check for negative size.

2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/34945
	* gfortran.dg/bounds_check_13.f: New test.

From-SVN: r132121
2008-02-05 13:33:35 +00:00
Douglas Gregor 1db54f4e49 re PR c++/35074 (ICE with attribute "aligned" for template classes)
2008-02-05  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/35074
	* decl2.c (save_template_attributes): When we're modifying the
	TYPE_MAIN_VARIANT to add new attributes, be sure to also modify
	all of the other variants to add those same attributes. Otherwise,
	the main variant will be inconsistent with those other variants.
	
2008-02-05  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/35074
	* g++.dg/ext/attrib30.C: New.

From-SVN: r132120
2008-02-05 13:29:43 +00:00
Joseph Myers 0f5098aef3 * doc/include/texinfo.tex: Update to version 2008-02-04.16.
From-SVN: r132116
2008-02-05 12:24:10 +00:00
Francois-Xavier Coudert 59d1426d60 re PR testsuite/33946 (Testcase multi-ix.c generates call to (poisoned) bzero)
PR testsuite/33946
	* gcc.c-torture/execute/multi-ix.c: Call memset instead of bzero.

From-SVN: r132115
2008-02-05 12:03:21 +00:00
Uros Bizjak 4a53415244 re PR target/35083 (ICE: in extract_insn, at recog.c:1990)
PR target/35083
	* config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
	Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.

testsuite/ChangeLog:

	PR target/35083
	* gcc.target/i386/pr35083.c: New test.

From-SVN: r132114
2008-02-05 12:27:41 +01:00