Commit Graph

92181 Commits

Author SHA1 Message Date
GCC Administrator
2a50b3bc21 Daily bump.
From-SVN: r144829
2009-03-13 00:16:38 +00:00
David Ayers
faef499bdf re PR libobjc/27466 (RFE: Support for libobjc equivalent of std::set_unexpected)
libobjc/

2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
	    David Ayers  <ayers@fsfe.org>

	PR libobjc/27466
	* objc/objc-api.h (_objc_unexpected_exception): Declare
	new hook.  Update copyright dates.
	* exception.c (objc_exception_throw): Use hook.  Update
	copyright dates.
	* libobjc.def (_objc_unexpected_exception): Export hook.
	Update copyright dates.
	
gcc/testsuite/

2009-03-12  David Ayers  <ayers@fsfe.org>

	PR libobjc/27466
	* objc/execute/exceptions/handler-1.m. New test.

From-SVN: r144826
2009-03-12 22:28:15 +00:00
Jakub Jelinek
03a181983d re PR target/39431 (ICE in spill_failure, at reload1.c:2093)
PR target/39431
	* config/i386/predicates.md (cmpxchg8b_pic_memory_operand): New
	predicate.
	* config/i386/sync.md (sync_compare_and_swap<mode>,
	sync_compare_and_swap_cc<mode>): For DImode with -m32 -fpic check
	if operands[1] is cmpxchg8b_pic_memory_operand, if not force address
	into a register.
	(sync_double_compare_and_swapdi_pic,
	sync_double_compare_and_swap_ccdi_pic): Require operand 1 to be
	cmpxchg8b_pic_memory_operand instead of just memory_operand.

	* gcc.target/i386/pr39431.c: New test.

From-SVN: r144825
2009-03-12 21:45:39 +01:00
H.J. Lu
122c59c73b re PR target/39445 (failure of SSE2 tests)
gcc/

2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39445
	* config/i386/i386.c (ix86_expand_push): Don't set memory
	alignment.

gcc/testsuite/

2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39445
	* gcc.target/i386/pr39445.c: New.

	* gcc.target/i386/push-1.c: XFAIL.

From-SVN: r144823
2009-03-12 12:56:34 -07:00
H.J. Lu
cec8874f89 re PR target/39327 (Incorrect addsub/unpck patterns in sse.md)
2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39327
	* config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
	(avx_addsubv4df3): Likewise.
	(*avx_addsubv4sf3): Likewise.
	(sse3_addsubv4sf3): Likewise.

From-SVN: r144819
2009-03-12 10:43:14 -07:00
Andrew Haley
2e95a6c358 [multiple changes]
2009-03-11  Andrew Haley  <aph@redhat.com>

	* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Clear
	INTERPRETED access modifier.

2009-03-11  Tom Tromey  <tromey@redhat.com>

	* link.cc (_Jv_Linker::find_field): Pass the field_type to
	_Jv_CheckOrCreateLoadingConstraint, not the class that is
	requesting the field.

From-SVN: r144818
2009-03-12 16:13:19 +00:00
H.J. Lu
bbb52802a1 re PR target/38824 (performance regression of sse code from 4.2/4.3)
2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38824
	* config/i386/i386.md: Compare REGNO on the new peephole2
	patterns.

From-SVN: r144817
2009-03-12 09:08:02 -07:00
Vladimir Makarov
a812fb0792 re PR debug/39432 (gdb.base/store.exp failures)
2009-03-12  Vladimir Makarov  <vmakarov@redhat.com>

	PR debug/39432
	* ira-int.h (struct allocno): Fix comment for calls_crossed_num.
	* ira-conflicts.c (ira_build_conflicts): Prohibit call used
	registers for allocnos created from user-defined variables.

From-SVN: r144812
2009-03-12 14:39:55 +00:00
Ulrich Weigand
4caab5ba57 re PR target/39181 (complex int arguments cause ICE)
PR target/39181
	* config/spu/spu.c (spu_expand_mov): Handle invalid subregs
	of non-integer mode as well.

From-SVN: r144811
2009-03-12 14:00:21 +00:00
Joern Rennecke
fec7f2457f * MAINTAINERS: Move myself into the write after approval list.
From-SVN: r144810
2009-03-12 12:57:32 +00:00
Adam Nemet
498e51cabb gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P for functions for which the parameter types are...
* gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
	for functions for which the parameter types are unknown.

testsuite/
	* gcc.dg/inline-33.c: New test.

From-SVN: r144801
2009-03-12 01:02:16 +00:00
Nathan Froyd
22571318a9 vect-82.c: Combine dg-do and dg-require-effective-target into dg-skip-if.
* gcc.dg/vect/vect-82.c: Combine dg-do and
	dg-require-effective-target into dg-skip-if.
	* gcc.dg/vect/vect-83.c: Likewise.

From-SVN: r144800
2009-03-12 00:54:48 +00:00
GCC Administrator
a113ef8e54 Daily bump.
From-SVN: r144799
2009-03-12 00:16:57 +00:00
Jakub Jelinek
9bfaf89d4f re PR target/39137 (-mpreferred-stack-boundary=2 causes lots of dynamic realign)
PR target/39137
	* cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT
	macro.
	* defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined.
	* config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define.
	* config/i386/i386.c (ix86_local_alignment): For
	-m32 -mpreferred-stack-boundary=2 use 32-bit alignment for
	long long variables on the stack to avoid dynamic realignment.
	Allow the first argument to be a decl rather than type.
	* doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document.

	* gcc.target/i386/stackalign/longlong-1.c: New test.
	* gcc.target/i386/stackalign/longlong-2.c: New test.

From-SVN: r144792
2009-03-11 22:12:33 +01:00
Ulrich Weigand
8a9ceef2cc * g++.old-deja/g++.jason/thunk2.C: Skip on SPU.
From-SVN: r144785
2009-03-11 17:52:06 +00:00
Nick Clifton
40190a7696 re PR target/5362 (Undocumented target options)
PR target/5362
        * config/mcore/mcore.opt: Remove deprecated m4align and m8align
        options.
        Add description to mno-lsim option.
        * config/mcore/mcore.h: Remove comment about deprecated m4align
        option.
        (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
        * doc/invoke.texi: Add description of mno-lsim and
        mstack-increment options.

From-SVN: r144783
2009-03-11 16:57:01 +00:00
Nick Clifton
18a3bdcbe2 re PR target/5362 (Undocumented target options)
PR target/5362
        * config/fr30/fr30.opt: Document the -mno-lsim option.
        * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
        and -mno-lsim options.

From-SVN: r144780
2009-03-11 16:08:41 +00:00
Ulrich Weigand
dc21578563 fold-const.c (fold_comparison): Only call fold_inf_compare if the mode supports infinities.
ChangeLog:

	* fold-const.c (fold_comparison): Only call fold_inf_compare
	if the mode supports infinities.

testsuite/ChangeLog:

	* gcc.c-torture/execute/ieee/inf-3.c: New test.
	* gcc.c-torture/execute/ieee/inf-2.c: Fix typo.

From-SVN: r144779
2009-03-11 15:24:00 +00:00
Jonathan Wakely
32fdf2f406 shared_ptr.h: Add include guards.
2009-03-11  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/bits/shared_ptr.h: Add include guards.
	* include/tr1/shared_ptr.h: Likewise.

From-SVN: r144778
2009-03-11 15:18:12 +00:00
Jonathan Wakely
5df9ac4b39 iostream: Fix doxygen link.
2009-03-11  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/std/iostream: Fix doxygen link.
	* include/bits/forward_list.h: Fix doxygen markup.
	* include/ext/vstring.h: Escape backslash in doxygen comment.
	* include/bits/basic_string.h: Likewise.

From-SVN: r144777
2009-03-11 15:16:21 +00:00
Nicola Pero
6d40129473 Updated my email address
From-SVN: r144776
2009-03-11 14:40:29 +00:00
Olivier Hainque
76761bbdc1 Move Ada ChangeLog entry to proper place.
From-SVN: r144775
2009-03-11 14:22:30 +00:00
Olivier Hainque
9ee309d44a trans.c (gnat_to_gnu): In range check processing...
ada/
	* gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range
	check processing, remove unintended TREE_TYPE walk on index type
	to get to base type.

	testsuite/
	* gnat.dg/slice_enum.adb: New test.

From-SVN: r144774
2009-03-11 14:20:07 +00:00
Dorit Nuzman
07c9707667 MAINTAINERS: Remove myself as auto-vectorizer maintainer.
2009-03-11  Dorit Nuzman  <dorit@il.ibm.com>

        * MAINTAINERS: Remove myself as auto-vectorizer maintainer.

From-SVN: r144773
2009-03-11 07:09:15 +00:00
Jason Merrill
7716876bbd re PR debug/39086 (ICE in decl_ultimate_origin, at dwarf2out.c:5770 when compiling with -fno-tree-sra)
PR debug/39086
        * tree-nrv.c (tree_nrv): Don't do this optimization if the front
        end already did.  Notice GIMPLE_CALL modifications of the result.
        Don't copy debug information from an ignored decl or a decl from
        another function.

From-SVN: r144772
2009-03-11 01:01:30 -04:00
Paolo Carlini
874b0a9e62 faq.xml: Fix links to implementation status pages.
2009-03-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* doc/xml/faq.xml: Fix links to implementation status pages.

From-SVN: r144771
2009-03-11 02:11:08 +00:00
Paolo Carlini
23cdf8e8f6 complex (operator+(const complex<>&, const _Tp&), [...]): Do not assume real() returns a reference (against DR 387).
2009-03-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/complex (operator+(const complex<>&, const _Tp&),
	operator+(const _Tp&, const complex<>&),
	operator-(const complex<>&, const _Tp&),
	operator-(const _Tp&, const complex<>&)): Do not assume real()
	returns a reference (against DR 387).
	* testsuite/26_numerics/complex/dr387_2.cc: New.

From-SVN: r144770
2009-03-11 01:51:59 +00:00
GCC Administrator
b1ab21e7f5 Daily bump.
From-SVN: r144768
2009-03-11 00:16:57 +00:00
Dorit Nuzman
004d29f899 Remove myself as vectorizer maintainer
From-SVN: r144760
2009-03-10 20:55:06 +00:00
Ira Rosen
480a5329ae re PR testsuite/39422 (Failing SPU vectorizer testcases)
PR tree-optimization/39422
	* gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c: Move
	constant array with static initialization to global memory.
	* gcc.dg/vect/costmodel/spu/costmodel-vect-76c.c: Likewise.

From-SVN: r144754
2009-03-10 17:29:21 +00:00
Hariharan Sandanagobalane
23b27c8198 pr39339.c: Bitfield sizes changed to avoid padding.
* gcc.c-torture/execute/pr39339.c: Bitfield sizes changed to avoid padding.

From-SVN: r144752
2009-03-10 16:25:28 +00:00
Richard Guenther
ddef83d233 re PR middle-end/37850 (infinite recursive call to __mulsc3 when multiplying not-constant complexs)
PR middle-end/37850
	* libgcc2.c (__mulMODE3): Use explicit assignments to form the
	result.
	(__divMODE3): Likewise.

Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>

From-SVN: r144751
2009-03-10 15:42:51 +00:00
Ira Rosen
bb947fd1d9 MAINTAINERS: Add myself as auto-vectorizer maintainer.
2009-03-10  Ira Rosen <irar@il.ibm.com>

	* MAINTAINERS: Add myself as auto-vectorizer maintainer.

From-SVN: r144747
2009-03-10 14:37:15 +00:00
Uros Bizjak
c634c1ef52 * libgcc/config/i386/t-cygming: Remove executable property.
From-SVN: r144742
2009-03-10 11:37:33 +01:00
GCC Administrator
3ece1b9742 Daily bump.
From-SVN: r144738
2009-03-10 00:16:38 +00:00
Jakub Jelinek
8c30a5105f re PR c++/39371 (Incorrectly rejects switch((unsigned int)boolvar))
PR c++/39371
	* semantics.c (finish_switch_cond): Don't call get_unwidened.
	* decl.c (finish_case_label): Pass SWITCH_STMT_TYPE as 3rd argument
	instead of TREE_TYPE (cond).

	* g++.dg/opt/switch2.C: Add -w to dg-options.
	* g++.dg/warn/Wswitch-1.C: Adjust expected warnings.
	* g++.dg/warn/switch1.C: New test.
	* g++.dg/other/switch3.C: New test.

From-SVN: r144732
2009-03-09 20:34:10 +01:00
Jakub Jelinek
9a9ba8d9b1 re PR tree-optimization/39394 (ICE in copy_tree_body_r)
PR tree-optimization/39394
	* gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and
	DECL_SIZE_UNIT of variable length FIELD_DECLs.

	* gcc.c-torture/compile/pr39394.c: New test.

From-SVN: r144727
2009-03-09 15:01:29 +01:00
Andreas Krebbel
929b7fc3c0 recog.c (verfiy_changes): Disallow renaming of hard regs in inline asms for register asm ("") declarations.
2009-03-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* recog.c (verfiy_changes): Disallow renaming of hard regs in
	inline asms for register asm ("") declarations.

2009-03-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.target/s390/20090223-1.c: New testcase.

From-SVN: r144726
2009-03-09 13:30:19 +00:00
Eric Botcazou
1803581d76 * fold-const.c (fold_unary): Fix comment.
From-SVN: r144723
2009-03-09 12:06:23 +00:00
Jerry DeLisle
b958b842c0 Fix PR number reference in ChangeLog from 39409 to 39402.
From-SVN: r144720
2009-03-09 04:57:34 +00:00
Jerry DeLisle
1915e66b17 re PR libfortran/39402 (gfortran 20090306: internal write of 0.0 with F0.3 gives **)
2009-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/39402
	* gfortran.dg/fmt_f0_1.f90: New test.

From-SVN: r144719
2009-03-09 04:54:50 +00:00
Jerry DeLisle
d53cb9ea60 re PR libfortran/39402 (gfortran 20090306: internal write of 0.0 with F0.3 gives **)
2009-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/39409
	* io/write_float.def (output_float): Handle F0.d formatting correctly
	for any d when value is 0.0.

From-SVN: r144718
2009-03-09 04:47:51 +00:00
GCC Administrator
18c95304c7 Daily bump.
From-SVN: r144716
2009-03-09 00:16:46 +00:00
Jan Hubicka
8454d27e6e re PR target/39361 (Many new neon test failures)
PR target/39361
	* tree-inline.c (setup_one_parameter): Do replacement of const argument
	by constant in SSA form.

From-SVN: r144713
2009-03-08 22:37:26 +00:00
H.J. Lu
ae9b2a481c re PR c++/39060 (ICE with lots of invalid member functions)
gcc/cp/

2009-03-08  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/39060
	* parser.c (cp_parser_late_parsing_default_args): Continue
	the loop when cp_parser_assignment_expression returns
	error_mark_node.

gcc/testsuite/

2009-03-08  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/39060
	* g++.dg/other/new1.C: Adjusted.
	* g++.dg/parse/crash40.C: Likewise.
	* g++.dg/parse/defarg12.C: Likewise.
	* g++.dg/template/error15.C: Likewise.

	* g++.dg/other/pr39060.C: New.

From-SVN: r144710
2009-03-08 10:29:12 -07:00
Laurent Guerby
975a4fd69f (Add missing PR reference)
2009-02-25  Laurent GUERBY  <laurent@guerby.net>

	PR ada/39221
	* a-teioed.adb (Expand): Fix Result overflow.

From-SVN: r144708
2009-03-08 09:41:17 +00:00
Uros Bizjak
09f8a8d312 i386.c (ix86_maybe_switch_abi): Use named constants instead of magic numbers.
* config/i386/i386.c (ix86_maybe_switch_abi): Use named
	constants instead of magic numbers.

From-SVN: r144706
2009-03-08 08:24:32 +01:00
GCC Administrator
3bb3cf2509 Daily bump.
From-SVN: r144705
2009-03-08 00:16:42 +00:00
H.J. Lu
dbb306a0f8 Correct filename.
From-SVN: r144702
2009-03-07 11:08:02 -08:00
Jason Merrill
9207099bd3 re PR c++/39367 (ICE at tree-inline.c:1042 with -O)
PR c++/39367
        * init.c (build_new_1): Don't use a VLA type.
        (build_vec_init): Handle getting a pointer for BASE.

From-SVN: r144697
2009-03-07 11:21:05 -05:00