Commit Graph

93979 Commits

Author SHA1 Message Date
Alexander Strange
2771246a53 re PR tree-optimization/36318 (SRA pessimizes struct copies without -Os)
2009-06-05  Alexander Strange <astrange@ithinksw.com>

	PR tree-optimization/36318
	* gcc.dg/tree-ssa/sra-7.c: New test.

From-SVN: r148203
2009-06-05 08:30:21 +00:00
Alexandre Oliva
90f0624882 dwarf2out.c (deferred_asm_name): New.
* dwarf2out.c (deferred_asm_name): New.
(add_name_and_src_coords_attributes): Defer creation of
DW_AT_MIPS_linkage_name attribute if DECL_ASSEMBLER_NAME was not
computed yet.
(move_linkage_attr): New.
(dwarf2out_finish): Revisit deferrals and emit attributes at the
right place.

From-SVN: r148199
2009-06-05 06:18:50 +00:00
Alexandre Oliva
c10348e5af tree-nested.c (finalize_nesting_tree_1): Declare the frame_decl in the binding tree.
* tree-nested.c (finalize_nesting_tree_1): Declare the
frame_decl in the binding tree.

From-SVN: r148198
2009-06-05 06:17:51 +00:00
Alexandre Oliva
d560566ab0 trans-decl.c (gfc_build_qualified_array): Don't skip generation of range types.
* trans-decl.c (gfc_build_qualified_array): Don't skip generation
of range types.
* trans.h (struct lang_type): Add base_decls.
(GFC_TYPE_ARRAY_BASE_DECL): New.
* trans-types.c (gfc_get_array_type_bounds): Initialize base decls
proactively and excessively.
(gfc_get_array_descr_info): Use existing base decls if available.

From-SVN: r148197
2009-06-05 06:09:43 +00:00
GCC Administrator
faef1e6d29 Daily bump.
From-SVN: r148196
2009-06-05 00:16:56 +00:00
Cary Coutant
6c52e687e4 basic-block.h (struct basic_block_def): Add discriminator field.
* basic-block.h (struct basic_block_def): Add discriminator field.
	* dbxout.c (dbxout_source_line): Add new parameter.  Change all
	callers.
	* debug.c (do_nothing_debug_hooks): Add additional entry.
	(debug_nothing_int_charstar_int): New function.
	* debug.h (struct gcc_debug_hooks): Add parameter to source_line
	hook.
	(debug_nothing_int_charstar_int): New declaration.
	* dwarf2out.c (dwarf2out_source_line): Add new parameter.  Write
	discriminator value in .loc directive.
	* final.c (last_discriminator): New variable.
	(discriminator): New variable.
	(final_start_function): Initialize above variables, pass current
	discriminator to debug hook.
	(notice_source_line): Check for discriminator change.
	* gimple-pretty-print.c (dump_bb_header): Print discriminator value.
	* sdbout.c (sdbout_source_line): New parameter.
	* tree-cfg.c (struct locus_discrim_map): New structure type.
	(discriminator_per_locus): New hash table.
	(build_gimple_cfg): Allocate and free discriminator hash table.
	(make_edges): Call assign_discriminator.
	(locus_map_hash): New function.
	(locus_map_eq): New function.
	(next_discriminator_for_locus): New function.
	(same_line_p): New function.
	(assign_discriminator): New function.
	(make_cond_expr_edges): Call assign_discriminator.
	(make_gimple_switch_edges): Likewise.
	(first_non_label_stmt): New function.
	* vmsdbgout.c (vmsdbgout_source_line): Add new parameter.  Change
	all callers.
	* xcoffout.c (xcoffout_source_line): Add new parameter.

	* configure.ac (gcc_cv_as_discriminator): New configury check for
	gas support for discriminator.
	* configure: Regenerate.
	* config.in: Regenerate.

From-SVN: r148191
2009-06-04 16:12:27 -07:00
Daniel Franke
535ff342b7 re PR fortran/37203 (Check ORDER= of RESHAPE)
gcc/fortran/
2009-06-04  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/37203
        * check.c (gfc_check_reshape): Additional checks for the
        SHAPE and ORDER arguments.
        * simplify.c (gfc_simplify_reshape): Converted argument checks
        to asserts.

gcc/testsuite/
2009-06-04  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/37203
        * gfortran.dg/reshape_order_5.f90: New.
        * gfortran.dg/reshape_shape_1.f90: New.

From-SVN: r148190
2009-06-04 23:52:32 +02:00
Jason Merrill
efd7670918 pt.c (dependent_type_p_push): New fn.
* pt.c (dependent_type_p_push): New fn.
        * cp-tree.h: Declare it.
        * tree.c (canonical_type_variant): Use TYPE_CANONICAL.

From-SVN: r148189
2009-06-04 17:39:15 -04:00
Andrew Haley
90409e4c8a ffitarget.h, [...]: Back out stdcall changes.
2009-06-04  Andrew Haley  <aph@redhat.com>

	* src/x86/ffitarget.h, src/x86/win32.S, src/x86/ffi.c: Back out
	stdcall changes.

From-SVN: r148178
2009-06-04 17:08:10 +00:00
Steve Ellcey
d46c937c39 vect-42.c: Modify vect_no_align case.
2009-06-04  Steve Ellcey  <sje@cup.hp.com>

	* gcc.dg/vect/vect-42.c: Modify vect_no_align case.
	* gcc.dg/vect/no-vfa-vect-43.c: Ditto.

From-SVN: r148177
2009-06-04 17:03:27 +00:00
Andrew Haley
b139375003 [multiple changes]
2008-02-26  Anthony Green  <green@redhat.com>
            Thomas Heller  <theller@ctypes.org>

        * src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C
        comment.

2008-02-03  Timothy Wall  <twall@users.sf.net>

        * src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL): Calculate jump return
          offset based on code pointer, not data pointer.

2008-01-31  Timothy Wall <twall@users.sf.net>

        * testsuite/libffi.call/closure_stdcall.c: Add test for stdcall
        closures.
        * src/x86/ffitarget.h: Increase size of trampoline for stdcall
        closures.
        * src/x86/win32.S: Add assembly for stdcall closure.
        * src/x86/ffi.c: Initialize stdcall closure trampoline.

From-SVN: r148174
2009-06-04 16:02:47 +00:00
Andrew Haley
96baa25172 ffi.h.in: Change void (*)() to void (*)(void).
2009-06-04  Andrew Haley  <aph@redhat.com>

	* include/ffi.h.in: Change void (*)() to void (*)(void).
	* src/x86/ffi.c: Likewise.

From-SVN: r148173
2009-06-04 15:50:24 +00:00
Andrew Haley
7446546ab0 [multiple changes]
2009-06-04  Andrew Haley  <aph@redhat.com>

	* src/powerpc/ppc_closure.S: Insert licence header.
	* src/powerpc/linux64_closure.S: Likewise.
	* src/m68k/sysv.S: Likewise.

	* src/sh64/ffi.c: Change void (*)() to void (*)(void).
	* src/powerpc/ffi.c: Likewise.
	* src/powerpc/ffi_darwin.c: Likewise.
	* src/m32r/ffi.c: Likewise.
	* src/sh64/ffi.c: Likewise.
	* src/x86/ffi64.c: Likewise.
	* src/alpha/ffi.c: Likewise.
	* src/alpha/osf.S: Likewise.
	* src/frv/ffi.c: Likewise.
	* src/s390/ffi.c: Likewise.
	* src/pa/ffi.c: Likewise.
	* src/pa/hpux32.S: Likewise.
	* src/ia64/unix.S: Likewise.
	* src/ia64/ffi.c: Likewise.
	* src/sparc/ffi.c: Likewise.
	* src/mips/ffi.c: Likewise.
	* src/sh/ffi.c: Likewise.

2008-02-15  David Daney  <ddaney@avtrex.com>

        * src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE):
        Define (conditionally), and use it to include cachectl.h.
        (ffi_prep_closure_loc): Fix cache flushing.
        * src/mips/ffitarget.h (_ABIN32, _ABI64, _ABIO32): Define.

From-SVN: r148172
2009-06-04 15:43:03 +00:00
Andrew Haley
5f933ef0d8 2009-06-04 Andrew Haley <aph@redhat.com>
include/ffi.h.in,
        src/arm/ffitarget.h,
        src/arm/ffi.c,
        src/arm/sysv.S,
        src/powerpc/ffitarget.h,
        src/closures.c,
        src/sh64/ffitarget.h,
        src/sh64/ffi.c,
        src/sh64/sysv.S,
        src/types.c,
        src/x86/ffi64.c,
        src/x86/ffitarget.h,
        src/x86/win32.S,
        src/x86/darwin.S,
        src/x86/ffi.c,
        src/x86/sysv.S,
        src/x86/unix64.S,
        src/alpha/ffitarget.h,
        src/alpha/ffi.c,
        src/alpha/osf.S,
        src/m68k/ffitarget.h,
        src/frv/ffitarget.h,
        src/frv/ffi.c,
        src/s390/ffitarget.h,
        src/s390/sysv.S,
        src/cris/ffitarget.h,
        src/pa/linux.S,
        src/pa/ffitarget.h,
        src/pa/ffi.c,
        src/raw_api.c,
        src/ia64/ffitarget.h,
        src/ia64/unix.S,
        src/ia64/ffi.c,
        src/ia64/ia64_flags.h,
        src/java_raw_api.c,
        src/debug.c,
        src/sparc/v9.S,
        src/sparc/ffitarget.h,
        src/sparc/ffi.c,
        src/sparc/v8.S,
        src/mips/ffitarget.h,
        src/mips/n32.S,
        src/mips/o32.S,
        src/mips/ffi.c,
        src/prep_cif.c,
        src/sh/ffitarget.h,
        src/sh/ffi.c,
        src/sh/sysv.S: Update license text.

From-SVN: r148171
2009-06-04 15:11:12 +00:00
Ramana Radhakrishnan
e07e020bbc arm.c (thumb2_legitimate_index_p): Initialize val after checking for integers.
2009-06-04  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.c (thumb2_legitimate_index_p): Initialize
	val after checking for integers.

From-SVN: r148170
2009-06-04 14:59:12 +00:00
Richard Guenther
4970671dca re PR c++/39371 (Incorrectly rejects switch((unsigned int)boolvar))
2009-06-04  Richard Guenther  <rguenther@suse.de>

	PR c++/39371
	* g++.dg/torture/pr40335.C: New testcase.

From-SVN: r148167
2009-06-04 12:41:31 +00:00
Uros Bizjak
72fa360537 i386.h (X86_64_MS_REGPARM_MAX): Rename from X64_REGPARM_MAX.
* config/i386/i386.h (X86_64_MS_REGPARM_MAX): Rename from
	X64_REGPARM_MAX.
	(REGPARM_MAX): Use X86_64_MS_REGPARM_MAX.
	(X86_64_MS_SSE_REGPARM_MAX): Rename from X64_SSE_REGPARM_MAX.
	(SSE_REGPARM_MAX): Use X86_64_MS_SSE_REGPARM_MAX.
	* config/i386/i386.c: Use X86_64_MS_REGPARM_MAX instead of
	X64_REGPARM_MAX.  Use X86_64_MS_SSE_REGPARM_MAX instead of
	X64_SSE_REGPARM_MAX.
	* config/i386/i386.md: Use X86_64_MS_SSE_REGPARM_MAX instead of
	X64_SSE_REGPARM_MAX.

From-SVN: r148163
2009-06-04 10:32:52 +02:00
Alexandre Oliva
bdde878c07 gcc.c (report_times_to_file): New.
* gcc.c (report_times_to_file): New.
(execute): Implement it.
(process_command): Support -time=.
* doc/invoke.texi: Document it.

From-SVN: r148162
2009-06-04 05:53:38 +00:00
Alexandre Oliva
2ce59df73d tree-ssa-live.c (remove_unused_scope_block_p): Keep variables that have value exprs.
* tree-ssa-live.c (remove_unused_scope_block_p): Keep variables
that have value exprs.

From-SVN: r148161
2009-06-04 05:52:03 +00:00
Alexandre Oliva
78bd9046a8 dwarf2asm.c (dw2_force_const_mem): Defer creation of declarations for constants until...
* dwarf2asm.c (dw2_force_const_mem): Defer creation of
declarations for constants until...
(dw2_output_indirect_constant_1): ... this point.

From-SVN: r148160
2009-06-04 05:50:34 +00:00
GCC Administrator
4cbc7f7a21 Daily bump.
From-SVN: r148159
2009-06-04 00:16:49 +00:00
Richard Earnshaw
e63d4106ad re PR target/10242 ([ARM] subsequent use of plus and minus operators could be improved)
PR target/10242
	* arm.md (arm_addsi3): Don't try to split an add with an
	eliminable register until after reload has completed.

From-SVN: r148156
2009-06-03 23:31:12 +00:00
Janne Blomqvist
0c40d2340a re PR libfortran/40330 (incorrect IO)
PR libfortran/40330

Use heap memory for cached format strings.

From-SVN: r148149
2009-06-04 00:07:19 +03:00
Tobias Burnus
9e0667cd3a gfortran.texi: Add mixed-language programming...
2009-06-03  Tobias Burnus  <burnus@net-b.de>

        * gfortran.texi: Add mixed-language programming, mention
        varying string lengths, some clean up of introduction parts.
        * intrinsic.texi (instrinsic modules): Create @menu for
        * subsections.
        (ISO_C_BINDING): Support ISOCBINDING_INT_FAST128_T.
        * libgfortran.h: Comment to rember to keep gfortran.texi in
        * sync.
        * iso-c-binding.def: Support ISOCBINDING_INT_FAST128_T.

From-SVN: r148147
2009-06-03 22:32:23 +02:00
Ian Lance Taylor
6bc7bc1477 ansidecl.h (EXPORTED_CONST): Define.
include/:
	* ansidecl.h (EXPORTED_CONST): Define.
gcc/:
	* dummy-checksum.c (executable_checksum): Use EXPORTED_CONST.
	* genattrtab.c (write_length_unit_log): Likewise.
	* genchecksum.c (dosum): Likewise.
	* gengtype.c (write_rtx_next): Likewise.
	(finish_root_table, write_roots): Likewise.
	* gimple.c (gimple_ops_offset_): Likewise.
	* tree-nomudflap.c (gt_ggc_r_gt_tree_mudflap_h): Likewise.
	* config/arc/arc.c (arc_attribute_table): Likewise.
	* config/arm/arm.c (arm_attribute_table): Likewise.
	* config/avr/avr.c (avr_attribute_table): Likewise.
	* config/crx/crx.c (crx_attribute_table): Likewise.
	* config/m32r/m32r.c (m32r_attribute_table): Likewise.
	* config/m68hc11/m68hc11.c (m68hc11_attribute_table): Likewise.
	* config/mcore/mcore.c (mcore_attribute_table): Likewise.
	* config/rs6000/rs6000.c (rs6000_attribute_table): Likewise.
	* config/sh/sh.c (sh_attribute_table): Likewise.
	* config/sparc/sparc.c (sparc_attribute_table): Likewise.
	* config/spu/spu.c (spu_attribute_table): Likewise.
	* config/v850/v850.c (v850_attribute_table): Likewise.

	* config/alpha/alpha.c (vms_attribute_table): Make static.
	* config/bfin/bfin.c (bfin_attribute_table): Likewise.
	* config/h8300/h8300.c (h8300_attribute_table): Likewise.
	* config/mips/mips.c (mips_attribute_table): Likewise.

	* Makefile.in (dummy-checksum.o): Depend upon $(CONFIG_H) and
	$(SYSTEM_H).
	(cc1-checksum.o): Likewise.
gcc/cp/:
	* Make-lang.in (cc1plus-checksum.o): Depend upon $(CONFIG_H) and
	$(SYSTEM_H).
gcc/objc/:
	* Make-lang.in (cc1obj-checksum.o): Depend upon $(CONFIG_H) and
	$(SYSTEM_H).
gcc/objcp/:
	* Make-lang.in (cc1objplus-checksum.o): Depend upon $(CONFIG_H)
	and $(SYSTEM_H).

From-SVN: r148146
2009-06-03 20:19:55 +00:00
Francois-Xavier Coudert
54f806c7a2 iso-c-binding.def: Use INTMAX_TYPE instead of
2009-06-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>

        * iso-c-binding.def: Use INTMAX_TYPE instead of
        * intmax_type_node.
        * trans-types.c (init_c_interop_kinds): Remove intmax_type_node.


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r148145
2009-06-03 21:44:43 +02:00
Alexandre Oliva
c75b7ed799 * module.c (mio_f2k_derived): Initialize cur.
From-SVN: r148144
2009-06-03 19:42:57 +00:00
Steve Ellcey
19d892fdb3 vect.md (*movv2sf_internal): Handle big endian case.
2009-06-03  Steve Ellcey  <sje@cup.hp.com>

	* config/ia64/vect.md (*movv2sf_internal): Handle big endian case.

From-SVN: r148142
2009-06-03 19:35:23 +00:00
Benjamin Kosnik
b49e9f7a3d 6.cc: Adjust test name.
2009-06-03  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/23_containers/list/cons/6.cc: Adjust test name.

From-SVN: r148140
2009-06-03 17:44:43 +00:00
Jakub Jelinek
ff35822bca rs6000.c (rs6000_emit_stack_reset): Return generated insn if it is changing sp.
* config/rs6000/rs6000.c (rs6000_emit_stack_reset): Return generated
	insn if it is changing sp.  Use gen_add3_insn instead of
	conditionally gen_addsi3 and gen_adddi3.
	(offset_below_red_zone_p): New static inline function.
	(rs6000_emit_epilogue): Emit needed epilogue unwind info.
	Use gen_add3_insn instead of conditionally gen_addsi3 and gen_adddi3.
	* config/rs6000/ppc-asm.h: Include auto-host.h.
	(CFI_STARTPROC, CFI_ENDPROC, CFI_DEF_CFA_REGISTER, CFI_OFFSET,
	CFI_RESTORE): Define.
	* config/rs6000/crtresxgpr.asm: Add unwind info.
	* config/rs6000/crtresxfpr.asm: Likewise.
	* config/rs6000/crtresgpr.asm: Likewise.
	* config/rs6000/crtresfpr.asm: Likewise.
	* config/rs6000/crtsavgpr.asm: Likewise.
	* config/rs6000/crtsavfpr.asm: Likewise.

From-SVN: r148138
2009-06-03 19:28:00 +02:00
Jakub Jelinek
679f33542d dwarf2out.c (output_cfi_directive): Pass 1 instead of 0 to second argument of DWARF2_FRAME_REG_OUT macros.
* dwarf2out.c (output_cfi_directive): Pass 1 instead of
	0 to second argument of DWARF2_FRAME_REG_OUT macros.

From-SVN: r148137
2009-06-03 19:26:48 +02:00
Julian Brown
2e94c12d07 arm.c (arm_hard_regno_mode_ok): Permit values of four words or less (including TImode) in core registers.
* config/arm/arm.c (arm_hard_regno_mode_ok): Permit values of four
	words or less (including TImode) in core registers.

From-SVN: r148135
2009-06-03 16:01:38 +00:00
Richard Guenther
3111cce0d9 re PR middle-end/40328 (internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811)
2009-06-03  Richard Guenther  <rguenther@suse.de>

	PR middle-end/40328
	* fold-const.c (fold_convert): Fold the build COMPLEX_EXPR.

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

From-SVN: r148134
2009-06-03 15:30:52 +00:00
Andrey Belevantsev
5e1b50f68b statistics.c (statistics_counter_event): Do not record event in pass dump if its number == -1.
* statistics.c (statistics_counter_event): Do not record event
        in pass dump if its number == -1.
        (curr_statistics_hash): Add assert that we never get passes
        with static number == -1.

From-SVN: r148131
2009-06-03 18:36:47 +04:00
Richard Guenther
6f11d6900d cfgexpand.c (discover_nonconstant_array_refs_r): Make only non-BLKmode arrays addressable.
2009-06-03  Richard Guenther  <rguenther@suse.de>
            Andrey Belevantsev  <abel@ispras.ru>

        * cfgexpand.c (discover_nonconstant_array_refs_r): Make only
        non-BLKmode arrays addressable.


Co-Authored-By: Andrey Belevantsev <abel@ispras.ru>

From-SVN: r148130
2009-06-03 18:33:31 +04:00
Maxim Kuvyrkov
8896147199 linux.h (HAVE_GAS_BALIGN_AND_P2ALIGN): Move to ...
* config/m68k/linux.h (HAVE_GAS_BALIGN_AND_P2ALIGN): Move to ...
	* config/m68k/m68k.h: ... here.
	* testsuite/gcc.dg/falign-labels.c (dg-options): Don't restrict for
	m68k and fido.

From-SVN: r148127
2009-06-03 12:00:32 +00:00
Martin Jambor
9961eb4568 re PR tree-optimization/40323 (compiling just takes forever and doesn't really process)
2009-06-03  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/40323
	* ipa-prop.c (get_ssa_def_if_simple_copy): Break if not single
	assignment.

	* testsuite/g++.dg/torture/pr40323.C: New file.

From-SVN: r148126
2009-06-03 13:56:05 +02:00
Eric Botcazou
cdaa0e0b8c decl.c (gnat_to_gnu_entity): When adjusting the discriminant nodes in an extension...
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When
	adjusting the discriminant nodes in an extension, use the full view
	of the parent subtype if it is of a private kind.

From-SVN: r148125
2009-06-03 10:52:40 +00:00
Eric Botcazou
a6a29d0c39 decl.c (gnat_to_gnu_entity): Add the _Parent field, if any, to the record before adding the other fields.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the
	_Parent field, if any, to the record before adding the other fields.
	<E_Record_Subtype>: Put the _Controller field before the other fields
	except for the _Tag or _Parent fields.
	(components_to_record): Likewise.  Retrieve the _Parent field from the
	record type.

From-SVN: r148124
2009-06-03 10:39:42 +00:00
Paolo Carlini
110a123aae re PR libstdc++/40296 ([C++0x] std::exception_ptr comparisons)
2009-06-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40296
	* libsupc++/exception_ptr.h (exception_ptr::operator!,
	exception_ptr::operator __safe_bool): Only declare when
	_GLIBCXX_EH_PTR_COMPAT is undefined.
	* libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including
	exception_ptr.
	* testsuite/18_support/exception_ptr/40296.cc: New.
	* testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust.
	* testsuite/18_support/nested_exception/cons.cc: Likewise.
	* testsuite/18_support/nested_exception/nested_ptr.cc: Likewise.
	* testsuite/18_support/exception_ptr/current_exception.cc: Likewise.

From-SVN: r148122
2009-06-03 10:37:20 +00:00
Eric Botcazou
8cd281486b decl.c (substitution_list): Rename to build_subst_list, remove unused parameter and simplify.
* gcc-interface/decl.c (substitution_list): Rename to build_subst_list,
	remove unused parameter and simplify.
	(gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS.  Factor
	common predicate.  Rewrite loop for clarity.  Use GNU_TYPE directly
	as context for all discriminants.  Fix formatting nits.
	<E_Record_Subtype>: Add cosmetic 'break'.  Test Has_Discriminants
	before Discriminant_Constraint.  Adjust for above renaming.  Do not
	set GNU_TYPE more than once.
	(elaborate_entity): Test Has_Discriminants on the entity and use
	Implementation_Base_Type.
	(components_to_record): Rename component_list to gnat_component_list.
	Retrieve the _Parent field from the list.  Fix nits in comments.
	Clarify logic in loop.  Pass correct arguments to create_field_decl.

From-SVN: r148121
2009-06-03 10:26:20 +00:00
Richard Guenther
2f2c62a01c tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use DECL_SIZE consistently.
2009-06-03  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use DECL_SIZE
	consistently.

From-SVN: r148120
2009-06-03 09:54:09 +00:00
Shujing Zhao
f353609778 predicates.md: Use REG_P...
2009-06-03  Shujing Zhao  <pearly.zhao@oracle.com>

	* config/sh/predicates.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P,
	JUMP_P, CALL_P, NONJUMP_INSN_P, NOTE_P, BARRIER_P and
	JUMP_TABLE_DATA_P where applicable.
	* config/sh/sh.c: Ditto.
	* config/sh/sh.h: Ditto.
	* config/sh/sh.md: Ditto.
	* config/sh/symbian.c: Ditto.

From-SVN: r148119
2009-06-03 09:36:50 +00:00
Shujing Zhao
d6ced3b79d predicates.md: Use REG_P...
2009-06-03  Shujing Zhao  <pearly.zhao@oracle.com>

	* config/sh/predicates.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P,
	JUMP_P, CALL_P, NONJUMP_INSN_P, NOTE_P, BARRIER_P and
	JUMP_TABLE_DATA_P where applicable.
	* config/sh/sh.c: Ditto.
	* config/sh/sh.h: Ditto.
	* config/sh/sh.md: Ditto.
	* config/sh/symbian.c: Ditto.

From-SVN: r148118
2009-06-03 09:36:23 +00:00
Eric Botcazou
40d0d9e448 Fix nits
From-SVN: r148116
2009-06-03 06:51:13 +00:00
Uros Bizjak
f3afc8a7c4 driver-i386.c (describe_cache): Optimize concatenation of strings.
* config/i386/driver-i386.c (describe_cache): Optimize
	concatenation of strings.  Use snprintf instead of sprintf.
	(host_detect_local_cpu): Ditto.  Ignore -march and -mtune for native
	target when not compiling with GCC.

From-SVN: r148115
2009-06-03 08:33:31 +02:00
Jerome Guitton
394e919561 Makefile.tpl (all): Avoid a trailing backslash.
* Makefile.tpl (all): Avoid a trailing backslash.
        * Makefile.in: Regenerate.

Co-Authored-By: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

From-SVN: r148113
2009-06-03 05:41:22 +00:00
Mark Mitchell
a3a7bf5fd7 * decl.c (maybe_deduce_size_from_array_init): Use relayout_decl.
From-SVN: r148111
2009-06-03 03:07:49 +00:00
Mark Mitchell
7656ecbc77 * g++.dg/init/ref15.C: Require unwrapped targets.
From-SVN: r148110
2009-06-03 00:50:43 +00:00
GCC Administrator
d55a1c921a Daily bump.
From-SVN: r148109
2009-06-03 00:17:19 +00:00