Commit Graph

87006 Commits

Author SHA1 Message Date
Joseph Myers
c60e1a1f4c * id.po: Update.
From-SVN: r141493
2008-10-31 14:12:12 +00:00
Kaz Kojima
ecba1da73d re PR target/37909 (internal compiler error: in fixup_mova, at config/sh/sh.c:3756)
PR target/37909
	Backport from mainline:
	* config/sh/sh.c (untangle_mova): Return -1 when NEW_MOVA has
	no address.

From-SVN: r141486
2008-10-31 03:43:20 +00:00
GCC Administrator
0b44ebcad9 Daily bump.
From-SVN: r141480
2008-10-31 00:16:43 +00:00
GCC Administrator
a65f8b834a Daily bump.
From-SVN: r141455
2008-10-30 00:16:40 +00:00
Joseph Myers
c29d285c65 * id.po: New.
From-SVN: r141423
2008-10-29 12:28:47 +00:00
Jerry DeLisle
56eaf76d60 re PR libfortran/37707 (Namelist read of array of derived type incorrect)
2008-10-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org

	PR libfortran/37707
	* gfortran.dg/namelist_18.f90: Revise.
	* gfortran.dg/namelist_55.f90: New test.
	* gfortran.dg/namelist_56.f90: New test.

From-SVN: r141421
2008-10-29 04:47:20 +00:00
Jerry DeLisle
3b980d65a7 re PR libfortran/37707 (Namelist read of array of derived type incorrect)
2008-10-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/37707
	Backport from trunk.
	* io/list_read.c (read_character): Remove code to look ahead in namelist
	reads to descriminate non-delimited strings from namelist objects.
	* io/write.c (namelist_write): Delimit character strings with quote or
	apostrophe, defaulting to quote.

From-SVN: r141420
2008-10-29 04:44:15 +00:00
GCC Administrator
727ad67e4e Daily bump.
From-SVN: r141416
2008-10-29 00:16:26 +00:00
GCC Administrator
bb6aef5f53 Daily bump.
From-SVN: r141400
2008-10-28 00:16:30 +00:00
Janis Johnson
19e668b316 re PR other/37897 (decNumber functions break strict-aliasing rules)
PR other/37897
	* decDouble.h (decDouble): Replace struct with union accessible
	by more types.
	* decSingle.h (decSingle): Ditto.
	* decQuad.h (decQuad): Ditto.
	* decNumberLocal.h (DFWORD, DFBYTE, DFWWORD): access decFloat via
	new members.
	* decBasic.c (decFloatCompareTotal): Avoid type-pun violation.
	(decNumberCompare): Ditto.

From-SVN: r141389
2008-10-27 18:16:20 +00:00
GCC Administrator
31faded600 Daily bump.
From-SVN: r141376
2008-10-27 00:16:26 +00:00
GCC Administrator
be6ed8a54b Daily bump.
From-SVN: r141366
2008-10-26 00:16:30 +00:00
Kaz Kojima
1f25355049 backport: t-sh: Use $(MULTILIB_CFLAGS) when compiling to unwind-dw2-Os-4-200.o.
Backport from mainline:
	* config/sh/t-sh: Use $(MULTILIB_CFLAGS) when compiling to
	unwind-dw2-Os-4-200.o.

From-SVN: r141364
2008-10-26 00:10:27 +00:00
GCC Administrator
a84a138d56 Daily bump.
From-SVN: r141359
2008-10-25 00:16:35 +00:00
Andrew Haley
71c025f1dd constants.c (build_constant_data_ref): Make sure we only build one copy of the decl for the constant pool.
2008-10-14  Andrew Haley  <aph@redhat.com>

        * constants.c (build_constant_data_ref): Make sure we only build
        one copy of the decl for the constant pool.

From-SVN: r141344
2008-10-24 14:21:00 +00:00
GCC Administrator
22f5c80bc5 Daily bump.
From-SVN: r141331
2008-10-24 00:16:39 +00:00
GCC Administrator
e6fd15a7ea Daily bump.
From-SVN: r141314
2008-10-23 00:16:20 +00:00
Chao-ying Fu
9d32e4996b mips.opt (msmartmips): Accept -mno-smartmips.
2008-10-22  Chao-ying Fu  <fu@mips.com>

	* config/mips/mips.opt (msmartmips): Accept -mno-smartmips.

From-SVN: r141310
2008-10-22 22:31:03 +00:00
Jakub Jelinek
1e455047f3 re PR middle-end/37882 (Bitfield miscompilation)
PR middle-end/37882
	* fold-const.c (build_range_type): For 1 .. signed_max
	range call build_nonstandard_inter_type if signed_type_for
	returned a type with bigger precision.

	* gcc.c-torture/execute/pr37882.c: New test.

From-SVN: r141306
2008-10-22 22:08:01 +02:00
Richard Guenther
9ee9060c5f tree-ssa-alias-warnings.c (skip_this_pointer): Skip pointers for which we merged aliases of SMTs into their points-to sets.
2008-10-22  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-alias-warnings.c (skip_this_pointer): Skip pointers
	for which we merged aliases of SMTs into their points-to sets.
	* real.c (vax_f_format): Add missing initializer.

From-SVN: r141291
2008-10-22 11:33:04 +00:00
GCC Administrator
02cbe3b292 Daily bump.
From-SVN: r141285
2008-10-22 00:17:22 +00:00
Richard Guenther
c1c385d05c alias-19.c: New testcase.
2008-10-21  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/tree-ssa/alias-19.c: New testcase.

From-SVN: r141262
2008-10-21 12:16:49 +00:00
GCC Administrator
d3686e9809 Daily bump.
From-SVN: r141256
2008-10-21 00:16:36 +00:00
GCC Administrator
96fbd81755 Daily bump.
From-SVN: r141235
2008-10-20 00:16:26 +00:00
Richard Guenther
4b17819760 tree-ssa-alias.c (may_alias_p): Remove bogus shortcut.
2008-10-19  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-alias.c (may_alias_p): Remove bogus shortcut.

From-SVN: r141230
2008-10-19 17:08:15 +00:00
Jerry DeLisle
a1ff62f7fe re PR libfortran/37707 (Namelist read of array of derived type incorrect)
2008-10-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org

	PR libfortran/37707
	* gfortran.dg/namelist_54.f90: New test.

From-SVN: r141228
2008-10-19 15:30:32 +00:00
Jerry DeLisle
397cd77c11 backport PRs 37707, 37863
2008-10-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org

	PR libfortran/37863
	Backport from trunk.
	* io/write_float.def (WRITE_FLOAT): Round to 1.0 correctly.

2008-10-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org

	PR libfortran/37707
	Backport from trunk.
	* io/list_read.c (nml_get_obj_data): If the first namelist object rank
	is greater than zero, call nml_object_read with the first object rather
	than the sub-object.

From-SVN: r141227
2008-10-19 15:28:25 +00:00
Paul Thomas
fa1163584b re PR fortran/37723 (wrong result for left-right hand side array overlap and (possibly) negative strides)
2008-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37723
        * dependency.c (gfc_dep_resolver ): If we find equal array
	element references, go on to the next reference.

2008-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37723
        * gfortran.dg/dependency_22.f90: New test.

From-SVN: r141222
2008-10-19 12:56:41 +00:00
Paul Thomas
48586d5d3e re PR fortran/37787 (right-left hand side overlap not recognized with EQUIVALENCEd array assignment)
2008-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37787
        * dependency.c (gfc_are_equivalenced_arrays): Look in symbol
        namespace rather than current namespace, if it is available.

2008-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37787
        * gfortran.dg/module_equivalence_5.f90: New test.

From-SVN: r141219
2008-10-19 07:50:35 +00:00
GCC Administrator
d56a1a5f48 Daily bump.
From-SVN: r141216
2008-10-19 00:16:20 +00:00
GCC Administrator
09f0893697 Daily bump.
From-SVN: r141204
2008-10-18 00:16:28 +00:00
Andrew MacLeod
6af0be9fe0 re PR tree-optimization/37102 (out-of-SSA is broken)
fix PR tree-optimization/37102

2008-10-17  Andrew MacLeod  <amacleod@redhat.com>

	PR tree-optimization/37102
	* tree-outof-ssa.c (remove_gimple_phi_args): Remove all the PHI args  
	from a node. Check to see if another PHI is dead.
	(eliminate_useless_phis): Rename from eliminate_virtual_phis and remove
	real PHIs which have no uses.
	(rewrite_out_of_ssa): Call eliminate_useless_phis.

2008-10-17  Andrew MacLeod  <amacleod@redhat.com>

	PR tree-optimization/37102
	* gcc.c-torture/execute/pr37102.c: New Test.

From-SVN: r141195
2008-10-17 17:35:58 +00:00
GCC Administrator
2027cdca01 Daily bump.
From-SVN: r141184
2008-10-17 00:16:27 +00:00
GCC Administrator
6489893e43 Daily bump.
From-SVN: r141156
2008-10-16 00:16:22 +00:00
GCC Administrator
6b8f8cd1c6 Daily bump.
From-SVN: r141125
2008-10-15 00:16:21 +00:00
GCC Administrator
07a5724e7a Daily bump.
From-SVN: r141098
2008-10-14 00:16:28 +00:00
GCC Administrator
d8e05bd793 Daily bump.
From-SVN: r141081
2008-10-13 00:16:24 +00:00
GCC Administrator
23f6e5fec6 Daily bump.
From-SVN: r141069
2008-10-12 00:17:02 +00:00
Paul Thomas
dae71e6f53 re PR fortran/37794 (Fortran module overloading regression)
2008-10-11  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/37794
	* module.c (check_for_ambiguous): Remove redundant code.

2008-10-11  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/37794
	* gfortran.dg/used_types_24.f90: New test.

From-SVN: r141058
2008-10-11 12:36:13 +00:00
Paul Thomas
1d30ce7fd3 re PR fortran/35680 (ICE on invalid transfer in variable declaration)
2008-10-11  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/35680
	* gfortran.h : Add 'error' bit field to gfc_expr structure.
	* expr.c (check_inquiry): When checking a restricted expression
	check that arguments are either variables or restricted.
	(check_restricted): Do not emit error if the expression has
	'error' set.  Clean up detection of host-associated variable.

2008-10-11  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/35680
	* gfortran.dg/transfer_array_intrinsic_5.f90: New test.

From-SVN: r141056
2008-10-11 09:58:38 +00:00
GCC Administrator
72ac11635b Daily bump.
From-SVN: r141052
2008-10-11 00:17:36 +00:00
GCC Administrator
da706314aa Daily bump.
From-SVN: r141013
2008-10-10 00:16:36 +00:00
GCC Administrator
c1b7197f45 Daily bump.
From-SVN: r140991
2008-10-09 00:16:32 +00:00
Simon Martin
a14d925cb4 re PR c/35437 (ICE with struct containing incomplete type)
gcc/

2008-10-08  Simon Martin  <simartin@users.sourceforge.net>

        PR c/35437
        * expr.c (count_type_elements): Handle ERROR_MARK.

gcc/testsuite/

2008-10-08  Simon Martin  <simartin@users.sourceforge.net>

        PR c/35437
        * gcc.dg/struct-parse-2.c: New test.
        * g++.dg/parse/struct-4.C: New test.

From-SVN: r140961
2008-10-08 04:17:27 +00:00
GCC Administrator
162ddf02a8 Daily bump.
From-SVN: r140957
2008-10-08 00:16:21 +00:00
H.J. Lu
a7832a322c backport: re PR middle-end/37731 (long long may not work correctly on 32bit host)
gcc/

2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/37731
	* expmed.c (expand_mult): Properly check DImode constant in
	CONST_DOUBLE.

gcc/testsuite/

2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/37731
	* gcc.dg/torture/pr37731-1.c: New.
	* gcc.dg/torture/pr37731-2.c: Likewise.

From-SVN: r140949
2008-10-07 11:48:59 -07:00
Eric Botcazou
f857bc16cd tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Return true for non-addressable GIMPLE operands.
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p) <VIEW_CONVERT_EXPR>:
	Return true for non-addressable GIMPLE operands.

From-SVN: r140942
2008-10-07 17:33:28 +00:00
GCC Administrator
8b45fb7ff7 Daily bump.
From-SVN: r140919
2008-10-07 00:16:39 +00:00
Eric Botcazou
4ffea38d1a utils.c (can_fold_for_view_convert_p): New predicate.
* utils.c (can_fold_for_view_convert_p): New predicate.
	(unchecked_convert): Use it to disable problematic folding with
	VIEW_CONVERT_EXPR in the general case.  Always disable it for the
	special VIEW_CONVERT_EXPR built for integral types and cope with
	its addressability issues by preserving the first conversion.

From-SVN: r140903
2008-10-06 07:10:31 +00:00
GCC Administrator
ec92566d93 Daily bump.
From-SVN: r140897
2008-10-06 00:16:36 +00:00