Commit Graph

92062 Commits

Author SHA1 Message Date
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
Ulrich Weigand
3a695389b3 re PR middle-end/38028 (eh failures on spu-elf)
PR middle-end/38028
	* function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to
	determine alignment passed to assign_stack_local.
	(assign_parms_unsplit_complex): Likewise.
	* except.c (sjlj_build_landing_pads): Likewise.

From-SVN: r144696
2009-03-07 16:02:30 +00:00
H.J. Lu
d97817522c re PR target/37520 (NO_DOLLAR_IN_LABEL should be defined on x86 targets)
2009-03-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/37520
	* cp-tree.h: Check NO_DOT_IN_LABEL before NO_DOLLAR_IN_LABEL
	when mangling symbols.

From-SVN: r144692
2009-03-06 17:47:25 -08:00
GCC Administrator
c2a19d8c82 Daily bump.
From-SVN: r144690
2009-03-07 00:16:35 +00:00
Paolo Carlini
d8b4270d0c re PR c++/33492 (Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr)
/cp
2009-03-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/33492
	* error.c (dump_expr): Don't try to print THROW_EXPRs in full.

/testsuite
2009-03-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/33492
	* g++.dg/other/error32.C: New.

From-SVN: r144686
2009-03-06 23:52:02 +00:00
Jakub Jelinek
65401a0ba3 re PR middle-end/39360 (ICE in referenced_var_lookup, at tree-dfa.c:563)
PR middle-end/39360
	* tree-flow.h (add_referenced_var): Return bool instead of void.
	* tree-dfa.c (add_referenced_var): Return result of
	referenced_var_check_and_insert call.
	* tree-inline.c (expand_call_inline): Call add_referenced_var instead
	of referenced_var_check_and_insert.

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

From-SVN: r144683
2009-03-06 23:51:28 +01:00
Jakub Jelinek
9f0e7885bb re PR debug/39372 (Missing DW_AT_location for constructor static variable)
PR debug/39372
	* dwarf2out.c (add_abstract_origin_attribute): Return
	origin_die.
	(gen_variable_die): Emit DW_AT_location on abstract static variable's
	DIE, don't emit it if abstract origin already has it.
	* tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
	BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.

	* g++.dg/debug/dwarf2/static-local-var-in-ctor.C: New test.

From-SVN: r144682
2009-03-06 23:49:39 +01:00
Jan-Benedict Glaw
3b664bd1da genpreds.c: (needs_variable): Fix parentheses at variable name detection.
* genpreds.c: (needs_variable): Fix parentheses at variable name
	detection.
	(write_tm_constrs_h): Indent generated code.

From-SVN: r144679
2009-03-06 19:13:04 +00:00
Ramana Radhakrishnan
d8f8ca8097 Fix isr documentation for ARM
From-SVN: r144668
2009-03-06 11:40:21 +00:00
Jakub Jelinek
6c3d550c4a re PR debug/39387 (Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions)
PR debug/39387
	* dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
	take locus from its DECL_SOURCE_LOCATION instead of input_location.

From-SVN: r144666
2009-03-06 10:48:25 +01:00
Alexandre Oliva
2dc6d6660a decl.c (record_builtin_java_type): Use canonicalized integer types.
* decl.c (record_builtin_java_type): Use canonicalized integer
types.

From-SVN: r144664
2009-03-06 09:10:46 +00:00
Alexandre Oliva
47ed69db7e simplify.c (gfc_simplify_transfer): Zero-initialize the buffer.
* simplify.c (gfc_simplify_transfer): Zero-initialize the
buffer.

From-SVN: r144663
2009-03-06 09:06:51 +00:00
GCC Administrator
8ae5dff133 Daily bump.
From-SVN: r144656
2009-03-06 00:16:51 +00:00
Bernd Schmidt
f9e967516f bfin.c (bfin_discover_loop): When retrying fails, mark the loop as bad.
* config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
	the loop as bad.

From-SVN: r144645
2009-03-05 15:09:22 +00:00
Jason Merrill
2588c9e970 re PR c++/38908 (Unexplained "'<anonymous>' is used uninitialized in this function" warning in cc1plus -m64)
PR c++/38908
        * class.c (is_really_empty_class): New fn.
        * cp-tree.h: Declare it.
        * cp-objcp-common.c (cp_expr_size): Use it.

From-SVN: r144643
2009-03-05 09:10:07 -05:00
Jakub Jelinek
ee0ee7e2c1 re PR debug/39379 (DW_TAG_imported* no longer emitted)
PR debug/39379
	* tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
	with blocks containing IMPORTED_DECLs in BLOCK_VARS.

	* g++.dg/debug/dwarf2/imported-module-3.C: New test.
	* g++.dg/debug/dwarf2/imported-module-4.C: New test.

From-SVN: r144640
2009-03-05 13:50:36 +01:00
Uros Bizjak
6c6094f12f i386.md (R8_REG, R9_REG): New constants.
* config/i386/i386.md (R8_REG, R9_REG): New constants.
	* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
	constants instead of magic numbers.
	(HARD_REGNO_CALLER_SAVE_MODE): Ditto.
	(QI_REG_P): Ditto.
	* config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
	(x86_64_ms_abi_int_parameter_registers): Ditto.
	(x86_64_int_return_registers): Ditto.
	(ix86_expand_call): Ditto for clobbered_registers array.
	(ix86_hard_regno_mode_ok): Ditto.
	(x86_extended_QIreg_mentioned_p): Ditto.

From-SVN: r144638
2009-03-05 08:34:16 +01:00
Jason Merrill
d095e03c25 re PR c++/13549 (Problem compiling Boost.Python test)
PR c++/13549
        * semantics.c (perform_koenig_lookup): Handle TEMPLATE_ID_EXPR.
        * parser.c (cp_parser_postfix_expression): Call it for
        TEMPLATE_ID_EXPR.
        * tree.c (is_overloaded_fn): Look through TEMPLATE_ID_EXPR.
        (get_first_fn): Likewise.

From-SVN: r144636
2009-03-04 21:49:13 -05:00
Joern Rennecke
4a1f5eeddb Fix bugzilla references in ChangeLog for last recent checkins.
From-SVN: r144635
2009-03-05 02:07:26 +00:00
J"orn Rennecke
1f3ad3f0f6 * cse.c (cse_insn): Fix loop to stop at VOIDmode.
From-SVN: r144634
2009-03-05 01:21:13 +00:00