OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years ago * decl.c (next_initializable_field): No longer static.
jason [Thu, 1 Apr 2010 18:48:46 +0000 (18:48 +0000)]
* decl.c (next_initializable_field): No longer static.
* cp-tree.h: Declare it.
* call.c (build_aggr_conv): Fail if there are more initializers
than initializable fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157927 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node
jason [Thu, 1 Apr 2010 18:48:34 +0000 (18:48 +0000)]
* semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node
instead of void_zero_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157926 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * MAINTAINERS (Plugin): Add myself and Le-Chun Wu.
dnovillo [Thu, 1 Apr 2010 18:35:28 +0000 (18:35 +0000)]
* MAINTAINERS (Plugin): Add myself and Le-Chun Wu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157925 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-04-01 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 1 Apr 2010 18:22:00 +0000 (18:22 +0000)]
2010-04-01  Paul Thomas  <pault@gcc.gnu.org>

* io/transfer.c : Update copyright.
* io/unix.c : ditto
* io/read.c : ditto
* io/io.h : ditto
* io/unix.h : ditto
* io/inquire.c : ditto
* io/format.c : ditto
* io/list_read.c : ditto
* runtime/error.c : ditto
* libgfortran.h : ditto
* intrinsics/date_and_time.c: ditto
* intrinsics/args.c : ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157924 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * cgraph.c (cgraph_add_function_insertion_hook): Update comment.
aldyh [Thu, 1 Apr 2010 17:33:32 +0000 (17:33 +0000)]
    * cgraph.c (cgraph_add_function_insertion_hook): Update comment.
        (cgraph_remove_function_insertion_hook): Same.
        (cgraph_call_function_insertion_hooks): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157920 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago/:
rwild [Thu, 1 Apr 2010 16:32:38 +0000 (16:32 +0000)]
/:
PR bootstrap/43615
PR bootstrap/43328

Revert:

2010-03-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs.  Accept explicitly passed
--enable_multilib.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157916 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoPR libfortran/43605 Fix FTELL for formatted files
jb@138bc75d-0d04-0410-961f-82ee72b054a4 [Thu, 1 Apr 2010 16:22:57 +0000 (16:22 +0000)]
PR libfortran/43605 Fix FTELL for formatted files

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157914 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-04-01 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 1 Apr 2010 16:18:07 +0000 (16:18 +0000)]
2010-04-01  Richard Guenther  <rguenther@suse.de>

PR middle-end/43614
* tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
and TREE_THIS_VOLATILE.
(copy_ref_info): Likewise.
* tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
* tree.c (build6_stat): Ignore side-effects of all but arg5
for TARGET_MEM_REF.  Set TREE_THIS_VOLATILE from arg5 of
TARGET_MEM_REF.

* gcc.c-torture/compile/pr43614.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157913 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-04-01 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 1 Apr 2010 14:05:49 +0000 (14:05 +0000)]
2010-04-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43607
* ipa-type-escape.c (check_call): Do not access non-existing
arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157911 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-04-01 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 1 Apr 2010 13:31:53 +0000 (13:31 +0000)]
2010-04-01  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/43141
* testsuite/gcc.dg/guality/pr43141.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157909 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-04-01 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 1 Apr 2010 13:24:58 +0000 (13:24 +0000)]
2010-04-01  Richard Guenther  <rguenther@suse.de>

        PR middle-end/43602
        Revert
        2010-03-30  Seongbae Park <seongbae.park@gmail.com>
            Jack Howarth <howarth@bromo.med.uc.edu>

        * tree-profile.c (tree_init_ic_make_global_vars): Make static
        variables TLS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157907 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Thu, 1 Apr 2010 12:43:04 +0000 (12:43 +0000)]
* g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.
* g++.dg/eh/spbp.C: Likewise.
* g++.dg/ext/label13.C (C::C): xfail dg-bogus on alpha*-dec-osf*.
* g++.dg/other/pragma-ep-1.C: Properly define p, remove
superfluous casts.
* gcc.dg/mtune.c: Add dg-bogus "mcpu".
* objc.dg/dwarf-1.m: Skip on  alpha*-dec-osf*.
* objc.dg/dwarf-2.m: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157905 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/install.texi (Prerequisites): Document libelf usability on
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Thu, 1 Apr 2010 12:33:35 +0000 (12:33 +0000)]
* doc/install.texi (Prerequisites): Document libelf usability on
IRIX 5/6 and Solaris 2.
(Specific, i?86-*-solaris2.10): No 64-bit default configuration.
Update GNU as, GNU ld requirements.
(Specific, *-*-solaris2*): Document Solaris 7 obsoletion, removal.
Document Sun Studio compiler download.
Update and simplify as, ld recommendations.
(Specific, *-*-solaris2.7): Note obsoletion, removal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157904 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config.guess (i[34567]86-*-solaris2*): Default with_arch_32,
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Thu, 1 Apr 2010 10:32:10 +0000 (10:32 +0000)]
* config.guess (i[34567]86-*-solaris2*): Default with_arch_32,
with_tune_32 to pentium4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157903 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment.
uros [Thu, 1 Apr 2010 09:57:12 +0000 (09:57 +0000)]
* config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157902 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/install.texi (Specific, mips-sgi-irix5): Document IRIX 5
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Thu, 1 Apr 2010 08:05:04 +0000 (08:05 +0000)]
* doc/install.texi (Specific, mips-sgi-irix5): Document IRIX 5
obsoletion, removal.
Update IDO URL.
Document GNU as requirement.
Update configure requirements.
(Specific, mips-sgi-irix6): Document IRIX 6 < 6.5 obsoletion,
removal.
Recomment IRIX 6.5.18+.
Document IDF/IDL requirement.
Document GNU as requirement.
Document GNU ld bootstrap failure.
Remove freeware.sgi.com reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157901 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/install.texi (Specific, alpha*-dec-osf*): Document Tru64
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Thu, 1 Apr 2010 07:58:25 +0000 (07:58 +0000)]
* doc/install.texi (Specific, alpha*-dec-osf*): Document Tru64
UNIX V4.0, V5.0 obsoletion, removal.
Remove --with-gc=simple reference.
Update VM requirements during bootstrap.
Remove -oldas bootstrap description.
Update binutils reference.
Remove comparison failure note.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157900 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Thu, 1 Apr 2010 00:17:32 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157899 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-31 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 31 Mar 2010 20:42:19 +0000 (20:42 +0000)]
2010-03-31  Paul Thomas  <pault@gcc.gnu.org>

* ioparm.def : Update copyright.
* lang.opt : ditto
* trans-array.c : ditto
* trans-array.h : ditto
* expr.c: ditto
* trans-types.c: ditto
* dependency.c : ditto
* gfortran.h : ditto
* options.c : ditto
* trans-io.c : ditto
* trans-intrinsic.c : ditto
* libgfortran.h : ditto
* invoke.texi : ditto
* intrinsic.texi : ditto
* trans.c : ditto
* trans.h : ditto
* intrinsic.c : ditto
* interface.c : ditto
* iresolve.c : ditto
* trans-stmt.c : ditto
* trans-stmt.h : ditto
* parse,c : ditto
* match.h : ditto
* error.c : ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157895 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * MAINTAINERS (CPU Port Maintainers): Add myself for spu port.
uweigand [Wed, 31 Mar 2010 19:39:56 +0000 (19:39 +0000)]
* MAINTAINERS (CPU Port Maintainers): Add myself for spu port.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157893 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAdd ChangeLog entries.
spop [Wed, 31 Mar 2010 18:37:50 +0000 (18:37 +0000)]
Add ChangeLog entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157890 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix PR43464: copyprop should maintain loop close phi nodes with multiple arguments.
spop [Wed, 31 Mar 2010 18:37:41 +0000 (18:37 +0000)]
Fix PR43464: copyprop should maintain loop close phi nodes with multiple arguments.

2010-03-30  Richard Guenther  <rguenther@suse.de>
    Zdenek Dvorak  <ook@ucw.cz>
    Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43464
* tree-ssa-copy.c (init_copy_prop): Handle loop close phi nodes
with multiple arguments.
(execute_copy_prop): Remove call to rewrite_into_loop_closed_ssa.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157889 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAdd a verbosity parameter to clean up the comments of pretty printers.
spop [Wed, 31 Mar 2010 18:37:35 +0000 (18:37 +0000)]
Add a verbosity parameter to clean up the comments of pretty printers.

2010-03-23  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-dependences.c (print_pddr): Call print_pdr with an
extra argument.
* graphite-poly.c (debug_pdr): Add an extra argument for the
verbosity level.
(print_pdr): Same.
(print_pbb_domain): Same.
(print_pbb): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_cloog): Same.
(debug_pbb_domain): Same.
(debug_pbb): Same.
(print_pdrs): Same.
(debug_pdrs): Same.
(debug_scop_context): Same.
(debug_scop): Same.
(debug_cloog): Same.
(print_scop_params): Same.
(debug_scop_params): Same.
(print_iteration_domain): Same.
(print_iteration_domains): Same.
(debug_iteration_domain): Same.
(debug_iteration_domains): Same.
(print_scattering_function): Same.
(print_scattering_functions): Same.
(debug_scattering_function): Same.
(debug_scattering_functions): Same.
* graphite-poly.h (debug_pdr): Update declaration.
(print_pdr): Same.
(print_pbb_domain): Same.
(print_pbb): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_cloog): Same.
(debug_pbb_domain): Same.
(debug_pbb): Same.
(print_pdrs): Same.
(debug_pdrs): Same.
(debug_scop_context): Same.
(debug_scop): Same.
(debug_cloog): Same.
(print_scop_params): Same.
(debug_scop_params): Same.
(print_iteration_domain): Same.
(print_iteration_domains): Same.
(debug_iteration_domain): Same.
(debug_iteration_domains): Same.
(print_scattering_function): Same.
(print_scattering_functions): Same.
(debug_scattering_function): Same.
(debug_scattering_functions): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157888 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoPrint SCoPs under CLooG format.
spop [Wed, 31 Mar 2010 18:37:28 +0000 (18:37 +0000)]
Print SCoPs under CLooG format.

2010-03-23  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-poly.c (print_scattering_function_1): New.
(print_scattering_function): Call it.
(print_scop_params): Remove spaces at the end of lines.
(print_cloog): New.
(debug_cloog): New.
* graphite-poly.h (print_cloog): Declared.
(debug_cloog): Declared.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157887 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAdd testcases for PR43464.
spop [Wed, 31 Mar 2010 18:37:22 +0000 (18:37 +0000)]
Add testcases for PR43464.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157886 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agocanonicalize_loop_ivs should add the IV bump in loop->header.
spop [Wed, 31 Mar 2010 18:37:13 +0000 (18:37 +0000)]
canonicalize_loop_ivs should add the IV bump in loop->header.

2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump
in loop->header.
* tree-flow.h (canonicalize_loop_ivs): Updated declaration.
* tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch.
* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter
to switch between adding the IV bump in loop->latch or in loop->header.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157885 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAdd pass_copy_prop after Graphite.
spop [Wed, 31 Mar 2010 18:37:06 +0000 (18:37 +0000)]
Add pass_copy_prop after Graphite.

2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>

* passes.c (init_optimization_passes): Add pass_copy_prop
after Graphite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157884 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoMake print_scop output the scoplib format.
spop [Wed, 31 Mar 2010 18:36:54 +0000 (18:36 +0000)]
Make print_scop output the scoplib format.

2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-poly.c (print_scattering_function): Pretty print following
the scoplib format.
(print_pdr): Same.
(print_pbb_domain): Same.
(dump_gbb_cases): Same.
(dump_gbb_conditions): Same.
(print_pdrs): Same.
(print_pbb): Same.
(print_scop_params): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_pbb_body): New.
(lst_indent_to): New.
(print_lst): Start new lines with a #.
* graphite-poly.h (pbb_bb): New.
(pbb_index): Use pbb_bb.
* graphite-ppl.c (ppl_print_powerset_matrix): Print the number of
disjuncts.
* tree-data-ref.c (dump_data_reference): Start new lines with a #.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157883 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAdd testcase for PR43351.
spop [Wed, 31 Mar 2010 18:36:45 +0000 (18:36 +0000)]
Add testcase for PR43351.

2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43351
* gcc.dg/graphite/id-pr43351.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157882 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * MAINTAINERS: Remove myself.
janis [Wed, 31 Mar 2010 17:05:37 +0000 (17:05 +0000)]
* MAINTAINERS: Remove myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157877 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gcc_release (build_tarfiles): Make directories mode 755, not
jsm28 [Wed, 31 Mar 2010 16:26:13 +0000 (16:26 +0000)]
* gcc_release (build_tarfiles): Make directories mode 755, not
777.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157874 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Wed, 31 Mar 2010 15:50:45 +0000 (15:50 +0000)]
2010-03-31  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

PR testsuite/35165
* obj-c++.dg/try-catch-9.mm: Don't XFAIL m32 NeXT runtime.
* obj-c++.dg/try-catch-2.mm: Ditto.
* obj-c++.dg/lookup-2.mm: Ditto.
* obj-c++.dg/encode-8.m: Ditto.
* obj-c++.dg/cxx-ivars-2.mm: Ditto.
* obj-c++.dg/cxx-ivars-3.mm: Skip for GNU, XFail for m64 NeXT.
* obj-c++.dg/const-str-10.mm: Skip for GNU, match .quad for m64 NeXT.
* obj-c++.dg/const-str-11.mm: Ditto.
* obj-c++.dg/const-str-9.mm: Ditto.
* obj-c++.dg/bitfield-3.mm: Skip for GNU runtime.
* obj-c++.dg/bitfield-2.mm: XFAIL run for m64 NeXT runtime.
* obj-c++.dg/except-1.mm: Ditto.
* obj-c++.dg/const-str-7.mm: Ditto.
* obj-c++.dg/cxx-ivars-1.mm: Ditto.
* obj-c++.dg/const-str-3.mm: Ditto.
* obj-c++.dg/const-str-7.mm: Ditto.
* obj-c++.dg/stubify-2.mm: Change dump file name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157873 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Wed, 31 Mar 2010 15:47:42 +0000 (15:47 +0000)]
2010-03-31  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

PR objc++/23613
* gcc/testsuite/objc-obj-c++-shared/next-mapping.h (CLASSPTRFIELD):
New macro.
* gcc/testsuite/obj-c++.dg/isa-field-1.mm: Use new CLASSPTRFIELD macro.
Remove dg-xfail-if.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157872 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * dwarf2out.c (size_of_die): For -gdwarf-4 use
jakub [Wed, 31 Mar 2010 15:37:03 +0000 (15:37 +0000)]
* dwarf2out.c (size_of_die): For -gdwarf-4 use
uleb128 size instead of fixed 1 or 2 for dw_val_class_loc
and 0 instead of 1 for dw_val_class_flag.
(value_format): For -gdwarf-4 use DW_FORM_sec_offset for
dw_val_class_range_list, dw_val_class_loc_list,
dw_val_class_lineptr and dw_val_class_macptr, use
DW_FORM_flag_present for dw_val_class_flag and
DW_FORM_exprloc for dw_val_class_loc.
(output_die): For -gdwarf-4 print dw_val_class_loc
size as uleb128 instead of 1 or 2 bytes and don't print
anything for dw_val_class_flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157871 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn
jakub [Wed, 31 Mar 2010 15:27:41 +0000 (15:27 +0000)]
* var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn
instead of cselib_lookup following by tweaking locs->setting_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157870 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR bootstrap/43596
jakub [Wed, 31 Mar 2010 15:26:57 +0000 (15:26 +0000)]
PR bootstrap/43596
* cselib.c (cselib_process_insn): Clear cselib_current_insn
even before returning from label, setjmp call or volatile asm
handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157869 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-31 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 31 Mar 2010 13:20:19 +0000 (13:20 +0000)]
2010-03-31  Richard Guenther  <rguenther@suse.de>

PR middle-end/43600
* cgraphunit.c (cgraph_output_in_order): Do not allocate
temporary data on stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157867 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-31 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 31 Mar 2010 11:29:03 +0000 (11:29 +0000)]
2010-03-31  Martin Jambor  <mjambor@suse.cz>

* gcc.dg/guality/inline-params.c: Disable early inlining.  Xfail run
only with -O2, -O3 or -Os and not with -fwhopr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157863 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Wed, 31 Mar 2010 10:42:56 +0000 (10:42 +0000)]
* config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
(PUSHSECTION_ASM_OP): Remove.
(POPSECTION_ASM_OP): Remove.
(PUSHSECTION_FORMAT): Remove.
* config/sol2.h (PUSHSECTION_FORMAT): Define.
* config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine.
* config/sol2.c (solaris_output_init_fini): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157861 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR 43574
jiez [Wed, 31 Mar 2010 09:57:03 +0000 (09:57 +0000)]
PR 43574
* opt-functions.awk (var_type_struct): Use signed char type
for simple variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157859 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * inclhack.def (alpha_assert): Allow for more whitespace in
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Wed, 31 Mar 2010 09:26:05 +0000 (09:26 +0000)]
* inclhack.def (alpha_assert): Allow for more whitespace in
select.
* fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157858 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix PR c++/43558
dodji [Wed, 31 Mar 2010 09:21:02 +0000 (09:21 +0000)]
Fix PR c++/43558

gcc/cp/ChangeLog:
PR c++/43558
* cp-tree.h (TEMPLATE_TYPE_PARM_SIBLING_PARMS): New accessor macro.
* pt.c (end_template_parm_list): Store sibling template parms of
each TEMPLATE_TYPE_PARMs into its TEMPLATE_TYPE_PARM_SIBLING_PARMS.
(push_template_decl_real): Don't store the containing template decl
into the DECL_CONTEXT of TEMPLATE_TYPE_PARMs anymore.
* typeck.c (get_template_parms_of_dependent_type): Get sibling parms
of a TEMPLATE_TYPE_PARM from TEMPLATE_TYPE_PARM_SIBLING_PARMS.
Simplify the logic.

gcc/testsuite/ChangeLog:
PR c++/43558
* g++.dg/template/typedef31.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157857 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago gcc:
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Wed, 31 Mar 2010 09:19:20 +0000 (09:19 +0000)]
gcc:
* config/sol2.c: Include output.h.
(solaris_assemble_visibility): New function.
* config/t-sol2 (sol2.o): Add output.h dependency.
* config/sol2-protos.h (solaris_assemble_visibility): Declare.
* config/sol2.h [!USE_GAS] (TARGET_ASM_ASSEMBLE_VISIBILITY):
Redefine.

gcc/testsuite:
* g++.dg/ext/visibility/pragma-override1.C: Allow for .hidden in
assembler output on *-*-solaris2*.
* g++.dg/ext/visibility/pragma-override2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157856 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAdded forgotten ChangeLog entry.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Wed, 31 Mar 2010 09:16:24 +0000 (09:16 +0000)]
Added forgotten ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157855 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago gcc:
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Wed, 31 Mar 2010 09:03:29 +0000 (09:03 +0000)]
gcc:
PR target/39048
* config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp
and soft-fp/t-softfp to tmake_file.
* config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine.
(LIBGCC2_TF_CEXT): Define.
(TF_SIZE): Define.

libgcc:
PR target/39048
* config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
like other remaining 32-bit x86 OSes.
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
assembler syntax.
* config/i386/libgcc-sol2.ver: New file.
* config/i386/t-sol2 (SHLIB_MAPFILES): Add it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157854 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/43580
jakub [Wed, 31 Mar 2010 08:41:28 +0000 (08:41 +0000)]
PR target/43580
* config/arm/arm.c (arm_save_coproc_regs): Use Pmode instead of
V2SImode or XFmode on PRE_DEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157853 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR debug/43557
jakub [Wed, 31 Mar 2010 08:39:22 +0000 (08:39 +0000)]
PR debug/43557
* cfgexpand.c (expand_debug_expr): Handle VOIDmode mode like
BLKmode.

* gcc.dg/pr43557-1.c: New test.
* gcc.dg/pr43557-2.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157852 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix toplevel configure --enable-multilib handling.
rwild [Wed, 31 Mar 2010 05:44:30 +0000 (05:44 +0000)]
Fix toplevel configure --enable-multilib handling.

/:
PR bootstrap/43328
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs.  Accept explicitly passed
--enable_multilib.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157851 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR 43562
jiez [Wed, 31 Mar 2010 02:44:10 +0000 (02:44 +0000)]
PR 43562
* reload.h (caller_save_initialized_p): Declare.
* toplev.c (backend_init_target): Don't call
init_caller_save but set caller_save_initialized_p
to false.
* caller-save.c (caller_save_initialized_p): Define.
(init_caller_save): Check caller_save_initialized_p.
* ira.c (ira): Call init_caller_save if flag_caller_saves.

testsuite/
PR 43562
* gcc.dg/pr43562.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157849 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Wed, 31 Mar 2010 00:17:04 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157845 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/43076
jason [Tue, 30 Mar 2010 22:34:02 +0000 (22:34 +0000)]
PR c++/43076
* pt.c (push_template_decl_real): Deal better with running out of
scopes before running out of template parms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157842 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/41185
jason [Tue, 30 Mar 2010 21:19:23 +0000 (21:19 +0000)]
PR c++/41185
PR c++/41786
* parser.c (cp_parser_direct_declarator): Don't allow VLAs in
function parameter context.  Don't print an error if parsing
tentatively.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157838 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR debug/42977
jakub [Tue, 30 Mar 2010 21:00:47 +0000 (21:00 +0000)]
PR debug/42977
* cselib.c (n_useless_values): Document handling of debug locs.
(n_useless_debug_values, n_debug_values): New variables.
(new_elt_loc_list): Don't add to debug values, keep count.
(promote_debug_loc): New.
(cselib_reset_table): Zero new variables.
(entry_and_rtx_equal_p): Promote debug locs.
(discard_useless_locs): Increment n_useless_debug_values for
debug values.
(remove_useless_values): Adjust n_useless_values and n_debug_values
with n_useless_debug_values.
(add_mem_for_addr): Promote debug locs.
(cselib_lookup_mem): Likewise.
(cselib_lookup_addr): Renamed to...
(cselib_lookup_addr_1): ... this.  Promote debug locs.
Don't call...
(cselib_log_lookup): ... this.  Turn into...
(cselib_lookup_addr): ... new wrapper.
(cselib_lookup_from_insn): New.
(cselib_invalidate_regno): Increment n_useless_debug_values for
debug values.
(cselib_invalidate_mem): Likewise.
(cselib_process_insn): Take n_deleted and n_debug_values into
account to guard remove_useless_value call.
(cselib_finish): Zero n_useless_debug_values.
* cselib.h (cselib_lookup_from_insn): Declare.
* sched-deps.c (sched_analyze_1): Use cselib_lookup_from_insn.
(sched_analyze_2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157837 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * var-tracking.c (use_narrower_mode_test, use_narrower_mode): New
jakub [Tue, 30 Mar 2010 20:17:39 +0000 (20:17 +0000)]
* var-tracking.c (use_narrower_mode_test, use_narrower_mode): New
functions.
(adjust_mems): Replace narrowing SUBREG of expression containing
just PLUS, MINUS, MULT and ASHIFT of registers and constants
with operations in the narrower mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157835 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR debug/43593
jakub [Tue, 30 Mar 2010 20:16:52 +0000 (20:16 +0000)]
PR debug/43593
* var-tracking.c (dataflow_set_clear_at_call): Invalidate
just regs_invalidated_by_call instead all call_used_reg_set
registers.

* gcc.dg/guality/pr43593.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157834 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoReplace type != type comparisons with types_compatible_p.
spop [Tue, 30 Mar 2010 19:58:35 +0000 (19:58 +0000)]
Replace type != type comparisons with types_compatible_p.

2010-03-30  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43430
* tree-vect-slp.c (vect_get_and_check_slp_defs): Replace type
pointer comparisons with types_compatible_p.
* tree-vect-stmts.c (vectorizable_call): Same.
(vectorizable_condition): Same.

* gcc.dg/vect/pr43430-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157833 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/43559
jason [Tue, 30 Mar 2010 19:39:48 +0000 (19:39 +0000)]
PR c++/43559
* pt.c (more_specialized_fn): Don't control cv-qualifier check
with same_type_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157831 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-30 Johannes Singler <singler@kit.edu>
singler [Tue, 30 Mar 2010 14:50:56 +0000 (14:50 +0000)]
2010-03-30  Johannes Singler  <singler@kit.edu>

        * include/parallel/random_shuffle.h
        (__parallel_random_shuffle_drs) : Take as many threads as
        possible, i. e. favor parallelism over cache efficiency.
        Use own PRNG also for the 1 thread case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157826 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Tue, 30 Mar 2010 13:53:10 +0000 (13:53 +0000)]
2010-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic
stack check if the mask would be zero.

2010-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.target/s390/stackcheck1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157825 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-30 Seongbae Park <seongbae.park@gmail.com>
rguenth [Tue, 30 Mar 2010 13:10:16 +0000 (13:10 +0000)]
2010-03-30  Seongbae Park <seongbae.park@gmail.com>
    Jack Howarth <howarth@bromo.med.uc.edu>

* tree-profile.c (tree_init_ic_make_global_vars): Make static
        variables TLS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157822 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
rguenth [Tue, 30 Mar 2010 13:08:52 +0000 (13:08 +0000)]
2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>

PR c/43553
* Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
* configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
is used and substitute set_use_emutls.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157821 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR other/25232
jsm28 [Tue, 30 Mar 2010 12:35:08 +0000 (12:35 +0000)]
PR other/25232
* libgcc-std.ver (GCC_4.5.0): Define version.  Include __unordxf2
and __unordtf2.
* config/bfin/libgcc-bfin.ver (GCC_4.5.0): Define version.
Include ___unordxf2 and ___unordtf2.
* config/i386/libgcc-glibc.ver: Do not define inheritance from
GCC_4.4.0 here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157819 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-30 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 30 Mar 2010 10:59:17 +0000 (10:59 +0000)]
2010-03-30  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/unordered_map: Clean-up includes and guards.
* include/debug/unordered_set: Likewise.
* include/debug/list: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/unordered_set: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157818 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
sam [Tue, 30 Mar 2010 10:26:24 +0000 (10:26 +0000)]
2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>

    gcc/
* config/lm32/t-lm32: New file.
* config.gcc: Use the above file when targetting lm32.

    libgcc/
* config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157817 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoThe dragonegg plugin needs except.h, so add it to the list of
baldrick [Tue, 30 Mar 2010 10:03:25 +0000 (10:03 +0000)]
The dragonegg plugin needs except.h, so add it to the list of
plugin headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157816 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 30 Mar 2010 03:25:04 +0000 (03:25 +0000)]
2010-03-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43265
* gfortran.dg/read_eof_8.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157811 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 30 Mar 2010 03:22:28 +0000 (03:22 +0000)]
2010-03-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43265
* io/transfer.c (next_record_r): Only call hit_eof for specific
conditions when an EOF is encountered.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157810 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Tue, 30 Mar 2010 00:17:33 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157809 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/43458
danglin [Mon, 29 Mar 2010 23:51:05 +0000 (23:51 +0000)]
PR target/43458
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
Xfail hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157806 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gcc.dg/cpp/include6.c: Change [] to ().
jason [Mon, 29 Mar 2010 20:57:00 +0000 (20:57 +0000)]
* gcc.dg/cpp/include6.c: Change [] to ().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157805 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago More N3077 raw string changes
jason [Mon, 29 Mar 2010 20:07:29 +0000 (20:07 +0000)]
More N3077 raw string changes
* charset.c (cpp_interpret_string): Don't transform UCNs in raw
strings.
* lex.c (bufring_append): Split out from...
(lex_raw_string): ...here.  Undo trigraph and line splicing
transformations.  Do process line notes in multi-line literals.
(_cpp_process_line_notes): Ignore notes that were already handled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157804 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * c-c++-common/raw-string-1.c: Combine C and C++ raw string tests.
jason [Mon, 29 Mar 2010 19:40:36 +0000 (19:40 +0000)]
* c-c++-common/raw-string-1.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-2.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-3.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-4.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-5.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-6.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-7.c: Combine C and C++ raw string tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157803 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoImprove vectorization cost model diagnostic.
spop [Mon, 29 Mar 2010 16:38:40 +0000 (16:38 +0000)]
Improve vectorization cost model diagnostic.

2010-03-29  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43431
* tree-vect-loop.c (vect_estimate_min_profitable_iters):
Improve vectorization cost model diagnostic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157801 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoImprove vectorization diagnostic: loop contains function calls.
spop [Mon, 29 Mar 2010 16:38:34 +0000 (16:38 +0000)]
Improve vectorization diagnostic: loop contains function calls.

2010-03-29  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43436
* tree-vect-data-refs.c (vect_analyze_data_refs): When
compute_data_dependences_for_loop returns false, early exit
and output an extra diagnostic for the failed data reference
analysis.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157800 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-29 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 29 Mar 2010 15:20:07 +0000 (15:20 +0000)]
2010-03-29  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43560
* tree-ssa-loop-im.c (ref_always_accessed_p): Add store_p
parameter.
(can_sm_ref_p): Treat stores to readonly locations as
trapping.

* gcc.dg/torture/pr43560.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157799 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago Some raw string changes from N3077
jason [Mon, 29 Mar 2010 15:00:43 +0000 (15:00 +0000)]
Some raw string changes from N3077
* charset.c (cpp_interpret_string): Change inner delimiters to ().
* lex.c (lex_raw_string): Likewise.  Also disallow '\' in delimiter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157797 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR 43564
jiez [Mon, 29 Mar 2010 13:06:50 +0000 (13:06 +0000)]
PR 43564
* toplev.c (process_options): Set optimization_default_node
and optimization_current_node.
* opts.c (decode_options): Don't set optimization_default_node
and optimization_current_node.

testsuite/
PR 43564
* gcc.dg/pr43564.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157795 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-29 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 29 Mar 2010 06:17:19 +0000 (06:17 +0000)]
2010-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43551
        * io/unix.c (buf_write): Set physical_offset after lseek.

2010-03-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43551
        * gfortran.dg/direct_io_12.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157792 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Mon, 29 Mar 2010 05:06:42 +0000 (05:06 +0000)]
2010-03-29  Ralf Corsépius  <ralf.corsepius@rtems.org>

* config/rtems.h: Abandon -qrtems_debug.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157791 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-28 Andrew Pinski <pinskia@gmail.com>
pinskia [Mon, 29 Mar 2010 05:00:30 +0000 (05:00 +0000)]
2010-03-28  Andrew Pinski  <pinskia@gmail.com>

        * MAINTAINERS (spu port): Remove me.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157790 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Mon, 29 Mar 2010 00:16:36 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157789 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR tree-optimization/43505
hubicka [Sun, 28 Mar 2010 21:46:50 +0000 (21:46 +0000)]
PR tree-optimization/43505
* cgraph.c (cgraph_clone_node): When clonning a clone, replacement
map should not be copied.
* gfortran.dg/pr43505.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157786 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-03-28 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 28 Mar 2010 16:40:50 +0000 (16:40 +0000)]
2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>

PR target/40722
* mkfixinc.sh: Revert the last change for mingw.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157784 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Sun, 28 Mar 2010 00:16:45 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157783 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR middle-end/41674
danglin [Sat, 27 Mar 2010 15:43:19 +0000 (15:43 +0000)]
PR middle-end/41674
* cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have
cdtors, set DECL_PRESERVE_P.
* ipa.c (cgraph_externally_visible_p): Return true if declaration
should be preseved.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157779 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR tree-optimization/43528
uros [Sat, 27 Mar 2010 13:40:08 +0000 (13:40 +0000)]
PR tree-optimization/43528
* stor-layout.c (place_field): Check that constant fits into
unsigned HWI when skipping calculation of MS bitfield layout.

testsuite/ChangeLog:

PR tree-optimization/43528
* gcc.target/i386/pr43528.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157776 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR middle-end/43391
hubicka [Sat, 27 Mar 2010 11:56:30 +0000 (11:56 +0000)]
PR middle-end/43391
* varasm.c (make_decl_rtl): Deal with COMMON flag to make
notice_global_symbol work.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157773 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * dwarf2out.c (dwarf2_debug_hooks): Use dwarf2out_function_decl
jakub [Sat, 27 Mar 2010 10:52:27 +0000 (10:52 +0000)]
* dwarf2out.c (dwarf2_debug_hooks): Use dwarf2out_function_decl
instead of dwarf2out_decl.
(struct var_loc_node): Remove section_label field.
(dwarf2out_function_decl): New function.
(dwarf2out_var_location): Don't set section_label field.
(dwarf2out_begin_function): Don't empty decl_loc_table here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157771 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoPR 43544, change TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION to take a tree argument
meissner [Sat, 27 Mar 2010 10:27:39 +0000 (10:27 +0000)]
PR 43544, change TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION to take a tree argument

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157770 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Sat, 27 Mar 2010 00:16:41 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157769 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c/43381
jsm28 [Fri, 26 Mar 2010 23:52:09 +0000 (23:52 +0000)]
PR c/43381
* c-decl.c (get_parm_info): Assert that decl going in OTHERS has a
nested binding iff it is a FUNCTION_DECL.
(store_parm_decls_newstyle): Pass nested=true to bind for
FUNCTION_DECLs amongst parameters.

testsuite:
* gcc.dg/parm-impl-decl-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157766 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/43509
jason [Fri, 26 Mar 2010 21:39:48 +0000 (21:39 +0000)]
PR c++/43509
* parser.c (cp_parser_qualifying_entity): Do accept enum names in
c++0x mode, but not other type-names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157765 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * var-tracking.c (vt_expand_loc_callback): Don't run
jakub [Fri, 26 Mar 2010 20:55:34 +0000 (20:55 +0000)]
* var-tracking.c (vt_expand_loc_callback): Don't run
cselib_expand_value_rtx_cb in dummy mode if
cselib_dummy_expand_value_rtx_cb returned false.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157764 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * var-tracking.c (emit_note_insn_var_location): For one part
jakub [Fri, 26 Mar 2010 20:54:43 +0000 (20:54 +0000)]
* var-tracking.c (emit_note_insn_var_location): For one part
notes with offset 0, don't add EXPR_LIST around the location.
* dwarf2out.c (loc_descriptor, dw_loc_list_1,
add_location_or_const_value_attribute): Adjust for that change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157763 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR debug/43540
jakub [Fri, 26 Mar 2010 20:53:58 +0000 (20:53 +0000)]
PR debug/43540
* dwarf2out.c (reg_save): For DW_CFA_expression put regnum
into first operand and location into second.
(dw_cfi_oprnd1_desc): Return dw_cfi_oprnd_reg_num instead of
dw_cfi_oprnd_loc for DW_CFA_expression.
(dw_cfi_oprnd2_desc): Return dw_cfi_oprnd_loc for DW_CFA_expression.
(output_cfa_loc, output_cfa_loc_raw): For DW_CFA_expression
assume first argument is regnum and second argument is location.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157762 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/42113
uros [Fri, 26 Mar 2010 18:45:56 +0000 (18:45 +0000)]
PR target/42113
* config/alpha/alpha.md (*cmp_sadd_si): Change mode
of scratch register to DImode.  Split to DImode comparison operator.
Use SImode subreg of scratch register in the multiplication.
(*cmp_sadd_sidi): Ditto.
(*cmp_ssub_si): Ditto.
(*cmp_ssub_sidi): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157759 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/43524
uros [Fri, 26 Mar 2010 18:22:37 +0000 (18:22 +0000)]
PR target/43524
* config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]:
Remove invalid assert and wrong comment.

testsuite/ChangeLog:

PR target/43524
* gcc.target/i386/pr43524.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157757 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gcc.pot: Regenerate.
jsm28 [Fri, 26 Mar 2010 17:53:13 +0000 (17:53 +0000)]
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157756 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/xml/manual/profile_mode.xml (Profile Diagnostics): Correct
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Fri, 26 Mar 2010 16:33:41 +0000 (16:33 +0000)]
* doc/xml/manual/profile_mode.xml (Profile Diagnostics): Correct
cols.
* doc/xml/manual/using.xml (C++ 1998 Library Headers): Add missing
c5 colspec.
(C++ 1998 Library Headers for C Library Facilities): Likewise.
(C++ 200x Library Headers): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157754 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR debug/43516
jakub [Fri, 26 Mar 2010 16:18:51 +0000 (16:18 +0000)]
PR debug/43516
* flags.h (final_insns_dump_p): New extern.
* final.c (final_insns_dump_p): New variable.
(rest_of_clean_state): Set it before -fdump-final-insns=
dumping, clear afterwards.
* print-rtl.c (print_rtx): If final_insns_dump_p don't dump
MEM_ALIAS_SET on MEMs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157753 138bc75d-0d04-0410-961f-82ee72b054a4