redi [Wed, 11 Mar 2009 15:18:12 +0000 (15:18 +0000)]
2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/shared_ptr.h: Add include guards.
* include/tr1/shared_ptr.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144778
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Wed, 11 Mar 2009 15:16:21 +0000 (15:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144777
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Wed, 11 Mar 2009 14:40:29 +0000 (14:40 +0000)]
Updated my email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144776
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Wed, 11 Mar 2009 14:22:30 +0000 (14:22 +0000)]
Move Ada ChangeLog entry to proper place.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144775
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Wed, 11 Mar 2009 14:20:07 +0000 (14:20 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144774
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 11 Mar 2009 07:09:15 +0000 (07:09 +0000)]
2009-03-11 Dorit Nuzman <dorit@il.ibm.com>
* MAINTAINERS: Remove myself as auto-vectorizer maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144773
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 11 Mar 2009 05:01:30 +0000 (05:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144772
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 11 Mar 2009 02:11:08 +0000 (02:11 +0000)]
2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
* doc/xml/faq.xml: Fix links to implementation status pages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144771
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 11 Mar 2009 01:51:59 +0000 (01:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144770
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 11 Mar 2009 00:16:57 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144768
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Tue, 10 Mar 2009 20:55:06 +0000 (20:55 +0000)]
Remove myself as vectorizer maintainer
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144760
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Tue, 10 Mar 2009 17:29:21 +0000 (17:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144754
138bc75d-0d04-0410-961f-
82ee72b054a4
hariharans [Tue, 10 Mar 2009 16:25:28 +0000 (16:25 +0000)]
* gcc.c-torture/execute/pr39339.c: Bitfield sizes changed to avoid padding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144752
138bc75d-0d04-0410-961f-
82ee72b054a4
froydnj [Tue, 10 Mar 2009 15:42:51 +0000 (15:42 +0000)]
PR middle-end/37850
* libgcc2.c (__mulMODE3): Use explicit assignments to form the
result.
(__divMODE3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144751
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Tue, 10 Mar 2009 14:37:15 +0000 (14:37 +0000)]
2009-03-10 Ira Rosen <irar@il.ibm.com>
* MAINTAINERS: Add myself as auto-vectorizer maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144747
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 10 Mar 2009 10:37:33 +0000 (10:37 +0000)]
* libgcc/config/i386/t-cygming: Remove executable property.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144742
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 10 Mar 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144738
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 9 Mar 2009 19:34:10 +0000 (19:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144732
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 9 Mar 2009 14:01:29 +0000 (14:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144727
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Mon, 9 Mar 2009 13:30:19 +0000 (13:30 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144726
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 9 Mar 2009 12:06:23 +0000 (12:06 +0000)]
* fold-const.c (fold_unary): Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144723
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 9 Mar 2009 04:57:34 +0000 (04:57 +0000)]
Fix PR number reference in ChangeLog from 39409 to 39402.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144720
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 9 Mar 2009 04:54:50 +0000 (04:54 +0000)]
2009-03-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/39402
* gfortran.dg/fmt_f0_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144719
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 9 Mar 2009 04:47:51 +0000 (04:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144718
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 9 Mar 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144716
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 8 Mar 2009 22:37:26 +0000 (22:37 +0000)]
PR target/39361
* tree-inline.c (setup_one_parameter): Do replacement of const argument
by constant in SSA form.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144713
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sun, 8 Mar 2009 17:29:12 +0000 (17:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144710
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Sun, 8 Mar 2009 09:41:17 +0000 (09:41 +0000)]
(Add missing PR reference)
2009-02-25 Laurent GUERBY <laurent@guerby.net>
PR ada/39221
* a-teioed.adb (Expand): Fix Result overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144708
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 8 Mar 2009 07:24:32 +0000 (07:24 +0000)]
* config/i386/i386.c (ix86_maybe_switch_abi): Use named
constants instead of magic numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144706
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 8 Mar 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144705
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 7 Mar 2009 19:08:02 +0000 (19:08 +0000)]
Correct filename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144702
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 7 Mar 2009 16:21:05 +0000 (16:21 +0000)]
PR c++/39367
* init.c (build_new_1): Don't use a VLA type.
(build_vec_init): Handle getting a pointer for BASE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144697
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sat, 7 Mar 2009 16:02:30 +0000 (16:02 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144696
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 7 Mar 2009 01:47:25 +0000 (01:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144692
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 7 Mar 2009 00:16:35 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144690
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 6 Mar 2009 23:52:02 +0000 (23:52 +0000)]
/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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144686
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 6 Mar 2009 22:51:28 +0000 (22:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144683
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 6 Mar 2009 22:49:39 +0000 (22:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144682
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 6 Mar 2009 19:13:04 +0000 (19:13 +0000)]
* genpreds.c: (needs_variable): Fix parentheses at variable name
detection.
(write_tm_constrs_h): Indent generated code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144679
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Fri, 6 Mar 2009 11:40:21 +0000 (11:40 +0000)]
Fix isr documentation for ARM
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144668
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 6 Mar 2009 09:48:25 +0000 (09:48 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144666
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 6 Mar 2009 09:10:46 +0000 (09:10 +0000)]
* decl.c (record_builtin_java_type): Use canonicalized integer
types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144664
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 6 Mar 2009 09:06:51 +0000 (09:06 +0000)]
* simplify.c (gfc_simplify_transfer): Zero-initialize the
buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144663
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 6 Mar 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144656
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 5 Mar 2009 15:09:22 +0000 (15:09 +0000)]
* config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
the loop as bad.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144645
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 5 Mar 2009 14:10:07 +0000 (14:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144643
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 5 Mar 2009 12:50:36 +0000 (12:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144640
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 5 Mar 2009 07:34:16 +0000 (07:34 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144638
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 5 Mar 2009 02:49:13 +0000 (02:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144636
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 5 Mar 2009 02:07:26 +0000 (02:07 +0000)]
Fix bugzilla references in ChangeLog for last recent checkins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144635
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 5 Mar 2009 01:21:13 +0000 (01:21 +0000)]
* cse.c (cse_insn): Fix loop to stop at VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144634
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 5 Mar 2009 00:16:48 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144633
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 5 Mar 2009 00:16:04 +0000 (00:16 +0000)]
* combine.c (gen_lowpart_for_combine): Use omode when generating
clobber.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144630
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 4 Mar 2009 23:26:51 +0000 (23:26 +0000)]
2009-03-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/torture/predcom-1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144629
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 4 Mar 2009 23:22:22 +0000 (23:22 +0000)]
PR39235:
* loop-iv.c (get_simple_loop_desc): Use XCNEW.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144628
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Wed, 4 Mar 2009 23:04:03 +0000 (23:04 +0000)]
* graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144627
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 4 Mar 2009 23:00:25 +0000 (23:00 +0000)]
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39362
* tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
that occur in abnormal PHIs should be varying.
* g++.dg/torture/pr39362.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144626
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 4 Mar 2009 18:44:24 +0000 (18:44 +0000)]
add DR note
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144619
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 4 Mar 2009 18:42:17 +0000 (18:42 +0000)]
PR c++/9634
PR c++/29469
PR c++/29607
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144618
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Wed, 4 Mar 2009 17:50:20 +0000 (17:50 +0000)]
* tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
Extend comments.
(simple_iv): Take loop as an argument instead of statement.
* tree-scalar-evolution.h (simple_iv): Declaration changed.
* tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
to simple_iv.
* tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
Ditto.
* tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
* matrix-reorg.c (analyze_transpose): Ditto.
* tree-data-ref.c (dr_analyze_innermost): Ditto.
* tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
* tree-predcom.c (ref_at_iteration): Ditto.
* tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144615
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Wed, 4 Mar 2009 17:25:16 +0000 (17:25 +0000)]
PR testsuite/39357
* gcc.dg/vect-iv-6.c (dg-require-effective-target): Change from
vect_int to vect_int_mult.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144614
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 4 Mar 2009 12:36:56 +0000 (12:36 +0000)]
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39358
* tree-ssa-structalias.c (do_sd_constraint): Fix check for
escaped_id and callused_id.
(solve_graph): Likewise.
* g++.dg/warn/Wstrict-aliasing-bogus-escape-2.C: New testcase.
* g++.dg/warn/Wstrict-aliasing-bogus-escape-3.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144602
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 4 Mar 2009 10:48:40 +0000 (10:48 +0000)]
* es.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144600
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 4 Mar 2009 09:02:59 +0000 (09:02 +0000)]
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39339
* tree-sra.c (try_instantiate_multiple_fields): Make it
no longer ICE on the above.
* gcc.c-torture/execute/pr39339.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144598
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 4 Mar 2009 01:57:29 +0000 (01:57 +0000)]
* emit-rtl.c (adjust_address_1): Reduce offset to a signed value
that fits within Pmode.
testsuite:
* gcc.c-torture/compile/
20090303-1.c,
gcc.c-torture/compile/
20090303-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144595
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 4 Mar 2009 00:16:45 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144594
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 3 Mar 2009 22:48:24 +0000 (22:48 +0000)]
* es.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144591
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Tue, 3 Mar 2009 18:33:40 +0000 (18:33 +0000)]
PR middle-end/10109
* tm.texi (LIBCALL_VALUE): Update description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144586
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Tue, 3 Mar 2009 18:27:42 +0000 (18:27 +0000)]
PR middle-end/34443
* doc/extend.texi (section): Update description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144582
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 3 Mar 2009 18:08:01 +0000 (18:08 +0000)]
2009-03-03 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/39345
* tree-inline.c (remapped_type): New.
(can_be_nonlocal): Call remapped_type instead of remap_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144581
138bc75d-0d04-0410-961f-
82ee72b054a4
gandalf [Tue, 3 Mar 2009 17:03:51 +0000 (17:03 +0000)]
Cleanup new JDK directory support in GCJ.
2009-03-03 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
Remove dangling src.zip and javac symlinks.
Fix java.security symlink to use toolexeclibdir
as classpath/resource/Makefile.am does.
* Makefile.in,
* configure: Regenerated.
* configure.ac: Drop hard-coded prefix,
thus removing sdk_dir and making jre_dir="jre".
Map x86_64 to amd64 as used by OpenJDK.
* gcj/Makefile.in,
* include/Makefile.in,
* testsuite/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144576
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 3 Mar 2009 16:43:42 +0000 (16:43 +0000)]
PR fortran/39354
* gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
* gfortran.dg/gomp/pr39354.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144575
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 3 Mar 2009 13:05:53 +0000 (13:05 +0000)]
2009-03-03 Richard Guenther <rguenther@suse.de>
PR middle-end/39272
* tree.c (tree_nonartificial_location): New function.
* tree.h (tree_nonartificial_location): Declare.
* builtins.c (expand_builtin_memory_chk): Provide location
of the call location for artificial function pieces.
(maybe_emit_chk_warning): Likewise.
(maybe_emit_sprintf_chk_warning): Likewise.
(maybe_emit_free_warning): Likewise.
* expr.c (expand_expr_real_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144573
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 3 Mar 2009 11:29:51 +0000 (11:29 +0000)]
PR tree-optimization/39343
* tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
COMPONENT_REF t has ARRAY_TYPE.
* gcc.dg/pr39343.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144571
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Tue, 3 Mar 2009 07:42:26 +0000 (07:42 +0000)]
PR tree-optimization/39248
* gcc.dg/vect/vect-complex-1.c: Add attribute aligned
to the arrays.
* gcc.dg/vect/vect-iv-6.c: Don't expect to fail to vectorize
on targets without vector misalignment support.
* lib/target-supports.exp
(check_effective_target_vect_short_mult): Add
check_effective_target_arm32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144569
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Tue, 3 Mar 2009 03:47:22 +0000 (03:47 +0000)]
2009-03-02 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39335
* tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
when the type precision of the induction variable should be
larger than the type precision of nit.
(gen_parallel_loop): Update use of canonicalize_loop_ivs.
* graphite.c (graphite_loop_normal_form): Same.
* tree-flow.h (canonicalize_loop_ivs): Update declaration.
* testsuite/gcc.dg/graphite/pr39335_1.c: New.
* testsuite/gcc.dg/graphite/pr39335.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144564
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Tue, 3 Mar 2009 00:35:19 +0000 (00:35 +0000)]
fix ChangeLog date
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144561
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 3 Mar 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144560
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 2 Mar 2009 20:58:39 +0000 (20:58 +0000)]
* config/i386/i386.md (ST?_REG, MM?_REG): New constants.
(*call_1_rex64_ms_sysv): Use named constants instead of magic
numbers to describe clobbbered registers.
(*call_value_0_rex64_ms_sysv): Ditto.
* config/i386/mmx.md (emms): Ditto.
(femms): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144554
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 2 Mar 2009 20:26:22 +0000 (20:26 +0000)]
gcc/
* config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
of ABI_64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144552
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 2 Mar 2009 19:32:05 +0000 (19:32 +0000)]
* config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
(spu_section_type_flags): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144550
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 2 Mar 2009 18:55:54 +0000 (18:55 +0000)]
2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/thread/pthread4.cc: Move...
* testsuite/21_strings/basic_string/pthread4.cc: ...here.
* testsuite/thread/pthread5.cc: Move...
* testsuite/23_containers/list/pthread5.cc: ...here.
* testsuite/thread/pthread6.cc: Move...
* testsuite/23_containers/map/pthread6.cc: ...here.
* testsuite/thread/pthread7-rope.cc: Move...
* testsuite/ext/rope/pthread7-rope.cc: ...here.
* testsuite/thread/guard.cc: Move...
* testsuite/18_support/pthread_guard.cc: ...here.
* testsuite/thread/18185.cc: Move...
* testsuite/21_strings/basic_string/pthread18185.cc: ...here.
* testsuite/thread/pthread1.cc: Move...
* testsuite/23_containers/list/pthread1.cc: ...here.
* testsuite/thread/pthread2.cc: Move...
* testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
* testsuite/thread/pthread3.cc: Move...
* testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
* testsuite/libstdc++-dg/conformance.exp: Remove thread directory.
* testsuite/thread: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144547
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 2 Mar 2009 18:49:03 +0000 (18:49 +0000)]
2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/thread/pthread4.cc: Move...
* testsuite/21_strings/basic_string/pthread4.cc: ...here.
* testsuite/thread/pthread5.cc: Move...
* testsuite/23_containers/list/pthread5.cc: ...here.
* testsuite/thread/pthread6.cc: Move...
* testsuite/23_containers/map/pthread6.cc: ...here.
* testsuite/thread/pthread7-rope.cc: Move...
* testsuite/ext/rope/pthread7-rope.cc: ...here.
* testsuite/thread/guard.cc: Move...
* testsuite/18_support/pthread_guard.cc: ...here.
* testsuite/thread/18185.cc: Move...
* testsuite/21_strings/basic_string/pthread18185.cc: ...here.
* testsuite/thread/pthread1.cc: Move...
* testsuite/23_containers/list/pthread1.cc: ...here.
* testsuite/thread/pthread2.cc: Move...
* testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
* testsuite/thread/pthread3.cc: Move...
* testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144546
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 2 Mar 2009 17:58:10 +0000 (17:58 +0000)]
2009-03-02 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/stackalign/return-4.c: Scan andl/andq instead
of andl.
* gcc.target/i386/stackalign/return-5.c: Likewise.
* gcc.target/i386/stackalign/return-6.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144544
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 2 Mar 2009 13:46:05 +0000 (13:46 +0000)]
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
reg_class_contents of FLOAT_REGS into a temporary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144542
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Mon, 2 Mar 2009 11:52:15 +0000 (11:52 +0000)]
2009-03-02 Richard Guenther <rguenther@suse.de>
Ira Rosen <irar@il.ibm.com>
PR tree-optimization/39318
* tree-vect-transform.c (vectorizable_call): Transfer the EH region
information to the vectorized statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144541
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 2 Mar 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144538
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 1 Mar 2009 23:04:50 +0000 (23:04 +0000)]
Fix latest entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144534
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 1 Mar 2009 21:58:31 +0000 (21:58 +0000)]
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use defined
names instead of magic constants for REX SSE registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144533
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 1 Mar 2009 21:30:24 +0000 (21:30 +0000)]
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not
shadow "i" variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144532
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sun, 1 Mar 2009 20:49:14 +0000 (20:49 +0000)]
2009-03-01 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39331
* omp-low.c (lower_send_shared_vars): Do not receive new
values for the reference of DECL_BY_REFERENCE parms or results.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144531
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 1 Mar 2009 19:01:14 +0000 (19:01 +0000)]
Fix long lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144530
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 1 Mar 2009 18:47:08 +0000 (18:47 +0000)]
PR debug/39267
* tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
BLOCK_NONLOCALIZED_VAR): New macros.
(tree_block): Add nonlocalized_vars.
* dwarf2out.c (gen_formal_parameter_die, gen_variable_die, gen_decl_die): Add
origin argument; allow generation of die with origin at hand only.
(gen_member_die, gen_type_die_with_usage, force_decl_die,
declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use of gen_*.
(gen_block_die): Fix checking for unused blocks.
(process_scope_var): Break out from .... ; work with origins only.
(decls_for_scope) ... here; process nonlocalized list.
(dwarf2out_ignore_block): Look for nonlocalized vars.
* tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized vars.
(dump_scope_block): Dump them.
* tree-inline.c (remap_decls): Handle nonlocalized vars.
(remap_block): Likewise.
(can_be_nonlocal): New predicate.
(copy_bind_expr, copy_gimple_bind): Update use of remap_block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144529
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 1 Mar 2009 17:49:31 +0000 (17:49 +0000)]
Backport from git Libtool:
2009-01-19 Robert Millan <rmh@aybabtu.com>
Support GNU/kOpenSolaris.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
GNU/kOpenSolaris.
libjava/classpath/
* configure: Regenerate.
libjava/
* configure: Regenerate.
libssp/
* configure: Regenerate.
libobjc/
* configure: Regenerate.
libstdc++-v3/
* configure: Regenerate.
libgfortran/
* configure: Regenerate.
boehm-gc/
* configure: Regenerate.
gcc/
* configure: Regenerate.
libmudflap/
* configure: Regenerate.
zlib/
* configure: Regenerate.
libffi/
* configure: Regenerate.
libgomp/
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144527
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 1 Mar 2009 12:20:33 +0000 (12:20 +0000)]
gcc/
* optc-gen.awk: No need to duplicate option flags twice.
Reuse help texts for duplicate options which do not have
any.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144526
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 1 Mar 2009 11:29:32 +0000 (11:29 +0000)]
gcc/
* gcc.c (display_help): Document --version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144525
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 1 Mar 2009 11:27:41 +0000 (11:27 +0000)]
gcc/
* gcc.c (main): If print_help_list and verbose_flag, ensure
driver output comes before subprocess output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144524
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 1 Mar 2009 11:26:06 +0000 (11:26 +0000)]
gcc/
* optc-gen.awk: Assign all remaining fields to help string,
space-separated, for multi-line help in *.opt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144523
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 1 Mar 2009 11:24:03 +0000 (11:24 +0000)]
contrib/
* check_warning_flags.sh: Update flag exceptions.
gcc/
* doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
-Wno-pedantic-ms-format is for MinGW targets only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144522
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sun, 1 Mar 2009 11:21:16 +0000 (11:21 +0000)]
gcc/
* doc/options.texi (Option file format): Fix bad indentation,
restoring dropped sentence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144518
138bc75d-0d04-0410-961f-
82ee72b054a4