OSDN Git Service

pf3gnuchains/gcc-fork.git
9 years ago * configure.ac: Redirect $JAR -cf@ output to /dev/null.
ro [Mon, 4 Apr 2011 16:01:54 +0000 (16:01 +0000)]
* configure.ac: Redirect $JAR -cf@ output to /dev/null.
* configure: Regenerate.

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

9 years ago * gfortran.dg/bessel_6.f90: Use dg-add-options ieee.
ro [Mon, 4 Apr 2011 15:53:46 +0000 (15:53 +0000)]
* gfortran.dg/bessel_6.f90: Use dg-add-options ieee.
* gfortran.dg/bessel_7.f90: Likewise.

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

9 years ago * optc-gen.awk: Always remove type from Variable entry before
jsm28 [Mon, 4 Apr 2011 14:18:31 +0000 (14:18 +0000)]
* optc-gen.awk: Always remove type from Variable entry before
recording in var_seen.

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

9 years ago * cfghooks.c (tidy_fallthru_edges): Add ??? comment.
ebotcazou [Mon, 4 Apr 2011 12:34:29 +0000 (12:34 +0000)]
* cfghooks.c (tidy_fallthru_edges): Add ??? comment.
* tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove
call to tidy_fallthru_edges.

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

9 years ago * doc/options.texi (ToLower): Document.
jsm28 [Mon, 4 Apr 2011 10:17:11 +0000 (10:17 +0000)]
* doc/options.texi (ToLower): Document.
* opt-functions.awk (switch_bit_fields): Initialize cl_tolower
field.
* opts-common.c (decode_cmdline_option): Handle cl_tolower.
* opts.h (cl_option): Add cl_tolower field.
* config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu=
arguments with lowercase strings.
* config/rx/rx.opt (mcpu=): Add ToLower.
* config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu=
argument.

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

9 years ago PR debug/48401
jakub [Mon, 4 Apr 2011 09:48:45 +0000 (09:48 +0000)]
PR debug/48401
* cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment.
Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC.

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

9 years agogcc/
rsandifo [Mon, 4 Apr 2011 08:11:37 +0000 (08:11 +0000)]
gcc/
* config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete.

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

9 years agogcc/
rsandifo [Mon, 4 Apr 2011 08:09:34 +0000 (08:09 +0000)]
gcc/
* config/vax/vax.c: Include reload.h.

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

9 years ago * gcc/ChangeLog: Fix formatting.
uros [Mon, 4 Apr 2011 07:37:46 +0000 (07:37 +0000)]
* gcc/ChangeLog: Fix formatting.

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

9 years ago2011-04-04 Kai Tietz <ktietz@redhat.com>
ktietz [Mon, 4 Apr 2011 07:31:11 +0000 (07:31 +0000)]
2011-04-04  Kai Tietz  <ktietz@redhat.com>

        PR ada/47163
        * s-oscons-tmplt.c (MSG_WAITALL): Define it for native windows
        targets to flag value.

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

9 years ago * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove.
aesok [Mon, 4 Apr 2011 07:11:51 +0000 (07:11 +0000)]
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove.
* config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
(sparc_preferred_reload_class): New function.

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

9 years ago PR debug/48404
jakub [Mon, 4 Apr 2011 07:02:50 +0000 (07:02 +0000)]
PR debug/48404
* cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment.
Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC.

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

9 years ago * tree.h (struct tree_const_decl): Inherit from tree_decl_common.
froydnj [Mon, 4 Apr 2011 01:40:17 +0000 (01:40 +0000)]
* tree.h (struct tree_const_decl): Inherit from tree_decl_common.
* tree.c (initialize_tree_contains_struct): Adjust accordingly.

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

9 years agoDaily bump.
gccadmin [Mon, 4 Apr 2011 00:17:50 +0000 (00:17 +0000)]
Daily bump.

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

9 years agoStart using backend interface separate from gofrontend.
ian [Sun, 3 Apr 2011 22:44:18 +0000 (22:44 +0000)]
Start using backend interface separate from gofrontend.

* go-gcc.cc: New file.
* Make-lang.in (GO_OBJS): Add go/go-gcc.o.
(go/go-gcc.o): New target.
(go/go.o): Depend on go/gofrontend/backend.h.
(go/statements.o): Likewise.

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

9 years ago2011-04-03 Kai Tietz <ktietz@redhat.com>
ktietz [Sun, 3 Apr 2011 20:09:46 +0000 (20:09 +0000)]
2011-04-03  Kai Tietz  <ktietz@redhat.com>

        PR middle-end/48422
        * Make-lang.in (f95-lang.o): Add some missing dependencies.

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

9 years ago * config/avr/avr.h (ASM_OUTPUT_BSS): Remove.
aesok [Sun, 3 Apr 2011 19:43:49 +0000 (19:43 +0000)]
* config/avr/avr.h (ASM_OUTPUT_BSS): Remove.
(ASM_OUTPUT_ALIGNED_BSS): Define.

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

9 years ago2011-04-03 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 3 Apr 2011 18:45:16 +0000 (18:45 +0000)]
2011-04-03  Tobias Burnus  <burnus@net-b.de>

       PR fortran/48311
       * libquadmath.texi (strtoflt128): Fix typo.
       (quadmath_snprintf): Move note up, make @item.

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

9 years agoMark as executable in SVN.
ian [Sun, 3 Apr 2011 16:14:19 +0000 (16:14 +0000)]
Mark as executable in SVN.

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

9 years ago2011-04-03 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 3 Apr 2011 16:04:25 +0000 (16:04 +0000)]
2011-04-03  Tobias Burnus  <burnus@net-b.de>

       * gfortran.dg/bessel_6.f90: Reduce mymax for Tru64.

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

9 years ago2011-04-04 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 3 Apr 2011 15:44:02 +0000 (15:44 +0000)]
2011-04-04  Tobias Burnus  <burnus@net-b.de>

        * unix.c: Adapt stat DEFINEs since MinGW64 supports LFS.
        (fallback_access, open_internal4, compare_file_filename,
        find_file, file_size, inquire_sequential, inquire_direct,
        inquire_formatted): Use "struct stat" instead of gfstat_t.

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

9 years ago * be.po, ca.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po,
jsm28 [Sun, 3 Apr 2011 11:33:31 +0000 (11:33 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po,
ja.po, nl.po, ru.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po,
zh_TW.po: Update.

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

9 years ago * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
jsm28 [Sun, 3 Apr 2011 11:30:18 +0000 (11:30 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
Update.

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

9 years ago * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets
matz [Sun, 3 Apr 2011 11:21:06 +0000 (11:21 +0000)]
* lto-streamer.h (struct lto_streamer_cache_d): Remove offsets
and next_slot members.
(lto_streamer_cache_insert, lto_streamer_cache_insert_at,
lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes.
(lto_streamer_cache_append): Declare.
* lto-streamer.c (lto_streamer_cache_add_to_node_array): Use
unsigned index, remove offset parameter, ensure that we append
or update existing entries.
(lto_streamer_cache_insert_1): Use unsigned index, remove offset_p
parameter, update next_slot for append.
(lto_streamer_cache_insert): Use unsigned index, remove offset_p
parameter.
(lto_streamer_cache_insert_at): Likewise.
(lto_streamer_cache_append): New function.
(lto_streamer_cache_lookup): Use unsigned index.
(lto_streamer_cache_get): Likewise.
(lto_record_common_node): Don't test tree_node_can_be_shared.
(preload_common_node): Adjust call to lto_streamer_cache_insert.
(lto_streamer_cache_delete): Don't free offsets member.
* lto-streamer-out.c (eq_string_slot_node): Use memcmp.
(lto_output_string_with_length): Use lto_output_data_stream.
(lto_output_tree_header): Remove ix parameter, don't write it.
(lto_output_builtin_tree): Likewise.
(lto_write_tree): Adjust callers to above, don't track and write
offset, write unsigned index.
(output_unreferenced_globals): Don't emit all global vars.
(write_global_references): Use unsigned indices.
(lto_output_decl_state_refs): Likewise.
(write_symbol): Likewise.
* lto-streamer-in.c (lto_input_chain): Move earlier.
(input_function): Use unsigned index.
(input_alias_pairs): Don't read and then ignore all global vars.
(lto_materialize_tree): Remove ix_p parameter, don't read index,
don't pass it back, use lto_streamer_cache_append.
(lto_register_var_decl_in_symtab): Use unsigned index.
(lto_register_function_decl_in_symtab): Likewise.
(lto_get_pickled_tree): Don't read in or handle offset, read unsigned
index.
(lto_get_builtin_tree): Don't read index, use
lto_streamer_cache_append.
(lto_read_tree): Adjust call to lto_materialize_tree.

* ipa-inline.c (cgraph_edge_badness): Move growth calculaton,
don't use function calls in arguments to MIN.

* varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC
twice.

* gimple.c (gimple_type_leader_entry): Mark deletable.

lto/
* lto.c (lto_materialize_function): Don't read and then discard
sections in WPA mode.
(lto_read_in_decl_state): Adjust call to lto_streamer_cache_get.

* lto-lang.c (registered_builtin_fndecls): Remove.
(lto_getdecls): Return NULL_TREE.
(lto_builtin_function): Don't remember in registered_builtin_fndecls.

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

9 years ago * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM.
amodra [Sun, 3 Apr 2011 11:16:20 +0000 (11:16 +0000)]
* dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM.

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

9 years ago * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not
matz [Sun, 3 Apr 2011 11:14:14 +0000 (11:14 +0000)]
* tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not
an integer.
* tree.h (tree_decl_non_common.vindex): Adjust comment.

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

9 years ago * cgraphbuild.c (record_reference): Canonicalize constructor
matz [Sun, 3 Apr 2011 11:13:09 +0000 (11:13 +0000)]
* cgraphbuild.c (record_reference): Canonicalize constructor
values.
* gimple-fold.c (canonicalize_constructor_val): Accept being called
without function context.
* cgraphunit.c (cgraph_finalize_compilation_unit): Clear
current_function_decl and cfun.

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

9 years ago * tree.c (decl_init_priority_insert): Don't create entry for
matz [Sun, 3 Apr 2011 11:11:25 +0000 (11:11 +0000)]
* tree.c (decl_init_priority_insert): Don't create entry for
default priority.
(decl_fini_priority_insert): Ditto.
(fields_compatible_p, find_compatible_field): Remove.
* tree.h (fields_compatible_p, find_compatible_field): Remove.
* gimple.c (gimple_compare_field_offset): Adjust block comment.

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

9 years ago * combine.c (try_combine): Remove useless local variable.
ebotcazou [Sun, 3 Apr 2011 09:19:26 +0000 (09:19 +0000)]
* combine.c (try_combine): Remove useless local variable.

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

9 years ago * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all
irar [Sun, 3 Apr 2011 08:30:53 +0000 (08:30 +0000)]
* tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all
non-variable offsets and compare the remaining bases of the two
accesses instead of looking for exact same data-ref.

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

9 years agoDaily bump.
gccadmin [Sun, 3 Apr 2011 00:17:58 +0000 (00:17 +0000)]
Daily bump.

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

9 years ago2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
redi [Sat, 2 Apr 2011 19:32:15 +0000 (19:32 +0000)]
2011-04-02  Jonathan Wakely  <redi@gcc.gnu.org>

PR libstdc++/48398
* include/bits/unique_ptr.h (__tuple_type): Store pointer type.
* testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
* testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
unused parameter name.

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

9 years agoAdd missing change log for r171531
redi [Sat, 2 Apr 2011 19:31:04 +0000 (19:31 +0000)]
Add missing change log for r171531

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

9 years ago2011-04-02 Kai Tietz <ktietz@redhat.com>
ktietz [Sat, 2 Apr 2011 18:41:49 +0000 (18:41 +0000)]
2011-04-02  Kai Tietz  <ktietz@redhat.com>

        PR target/48416
        * i386.c (ix86_function_arg_boundary): Fix printf formatter.

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

9 years agoRestore old state for accidentially escaped local change.
ktietz [Sat, 2 Apr 2011 18:37:54 +0000 (18:37 +0000)]
Restore old state for accidentially escaped local change.

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

9 years ago2011-04-02 Kai Tietz <ktietz@redhat.com>
ktietz [Sat, 2 Apr 2011 17:08:33 +0000 (17:08 +0000)]
2011-04-02  Kai Tietz  <ktietz@redhat.com>

* i386.c (ix86_is_msabi_thiscall): New helper function.
(ix86_is_type_thiscall): New helper function.
(ix86_comp_type_attributes): Handle thiscall for method-functions
special.
(init_cumulative_args): Likewise.
(find_drap_reg): Likewise.
(ix86_static_chain): Likewise.
(x86_this_parameter): Likewise.
(x86_output_mi_thunk): Likewise.

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

9 years ago * gcc-interface/utils2.c (build_allocator): In the unconstrained array
ebotcazou [Sat, 2 Apr 2011 09:38:22 +0000 (09:38 +0000)]
* gcc-interface/utils2.c (build_allocator): In the unconstrained array
type case, do not strip a padding type around the array type.

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

9 years ago * gcc-interface/utils.c (update_pointer_to): Finalize named pointer
ebotcazou [Sat, 2 Apr 2011 09:20:38 +0000 (09:20 +0000)]
* gcc-interface/utils.c (update_pointer_to): Finalize named pointer
types.

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

9 years ago * gcc-interface/lang.opt (feliminate-unused-debug-types): Delete.
ebotcazou [Sat, 2 Apr 2011 09:08:37 +0000 (09:08 +0000)]
* gcc-interface/lang.opt (feliminate-unused-debug-types): Delete.
* gcc-interface/misc.c (gnat_handle_option): Remove special handling
code for -feliminate-unused-debug-types
(gnat_post_options): Likewise.

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

9 years ago * gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
ebotcazou [Sat, 2 Apr 2011 08:59:45 +0000 (08:59 +0000)]
* gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
declaration of a pointer type, then set DECL_ORIGINAL_TYPE to a
distinct copy.

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

9 years ago * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the
ebotcazou [Sat, 2 Apr 2011 08:54:18 +0000 (08:54 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity): Do not force the
DECL_ARTIFICIAL flag on enumeration types.

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

9 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not make
ebotcazou [Sat, 2 Apr 2011 08:50:32 +0000 (08:50 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not make
fat pointer types artificial unconditionally.
<E_Array_Subtype>: Attach the base array type as a parallel type if it
isn't artificial.

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

9 years ago * gcc-interface/gigi.h (get_dummy_type): Declare.
ebotcazou [Sat, 2 Apr 2011 08:44:43 +0000 (08:44 +0000)]
* gcc-interface/gigi.h (get_dummy_type): Declare.
(build_dummy_unc_pointer_types): Likewise.
(finish_fat_pointer_type): Likewise.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If a dummy
fat pointer type has been built, complete it in place.
<E_Access_Type>: Call build_dummy_unc_pointer_types to build dummy fat
and thin pointers.  Remove useless variable.
(finish_fat_pointer_type): Make global and move to...
* gcc-interface/utils.c (finish_fat_pointer_type): ...here.
(get_dummy_type): New function.
(build_dummy_unc_pointer_types): Likewise.
(gnat_pushdecl): Propage the name to the anonymous variants only.
(update_pointer_to): Only adjust the pointer types in the unconstrained
array case.

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

9 years ago * gcc-interface/ada-tree.h (DECL_TAFT_TYPE_P): New flag.
ebotcazou [Sat, 2 Apr 2011 08:36:32 +0000 (08:36 +0000)]
* gcc-interface/ada-tree.h (DECL_TAFT_TYPE_P): New flag.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Incomplete_Type>: Set it
if this is a Taft amendment type and the full declaration is available.
* gcc-interface/trans.c (process_type): Likewise.
If there is an old type, mark the new one as used if DECL_TAFT_TYPE_P.
(process_freeze_entity): Likewise.
* gcc-interface/utils.c (dummy_global): New static variable.
(gnat_write_global_declarations): If there are types declared as used
at the global level, insert them in the global hash table.

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

9 years ago * gcc-interface/gigi.h (record_builtin_type): Add ARTIFICIAL_P param.
ebotcazou [Sat, 2 Apr 2011 08:28:21 +0000 (08:28 +0000)]
* gcc-interface/gigi.h (record_builtin_type): Add ARTIFICIAL_P param.
* gcc-interface/utils.c (gnat_pushdecl): If this is a non-artificial
declaration of an array type, then set DECL_ORIGINAL_TYPE to a distinct
copy.
(record_builtin_type): Add ARTIFICIAL_P parameter.  Set DECL_ARTIFICIAL
flag of the type accordingly.
* gcc-interface/trans.c (gigi): Adjust calls to record_builtin_type.

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

9 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer
ebotcazou [Sat, 2 Apr 2011 08:16:29 +0000 (08:16 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer
finalizing types when updating the pointers to the designated type.
<all>: Finalize the deferred types even if we didn't defer processing
of incomplete types in this invocation.

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

9 years agolibgo: Sort test output in libgo.sum and libgo.log.
ian [Sat, 2 Apr 2011 00:29:49 +0000 (00:29 +0000)]
libgo: Sort test output in libgo.sum and libgo.log.

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

9 years agoDaily bump.
gccadmin [Sat, 2 Apr 2011 00:18:10 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type.
ebotcazou [Fri, 1 Apr 2011 23:38:57 +0000 (23:38 +0000)]
* dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type.
(add_gnat_descriptive_type_attribute): New function.
(gen_array_type_die): Call it.
(gen_enumeration_type_die): Likewise.
(gen_struct_or_union_type_die): Likewise.
(modified_type_die): Likewise.
* langhooks.h (lang_hooks_for_types): New descriptive_type hook.
* langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE.
ada/
* gcc-interface/misc.c (gnat_descriptive_type): New function.
(LANG_HOOKS_DESCRIPTIVE_TYPE): Redefine to gnat_descriptive_type.

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

9 years ago * go.test/go-test.exp (go-set-goarch): Recognize alpha*-*-*.
ian [Fri, 1 Apr 2011 23:03:54 +0000 (23:03 +0000)]
* go.test/go-test.exp (go-set-goarch): Recognize alpha*-*-*.

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

9 years agolibgo: Support for alpha.
ian [Fri, 1 Apr 2011 23:02:16 +0000 (23:02 +0000)]
libgo: Support for alpha.

From Uros Bizjak.

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

9 years agolibgo: Try to guess the right type for select bits in mksysinfo.
ian [Fri, 1 Apr 2011 22:53:54 +0000 (22:53 +0000)]
libgo: Try to guess the right type for select bits in mksysinfo.

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

9 years ago PR bootstrap/48148
jakub [Fri, 1 Apr 2011 21:14:36 +0000 (21:14 +0000)]
PR bootstrap/48148
* dwarf2out.c (resolve_addr): Don't call force_decl_die
if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN.

Revert:
2011-03-17  Richard Guenther  <rguenther@suse.de>

PR bootstrap/48148
* lto-cgraph.c (input_overwrite_node): Clear the abstract
origin for decls in other ltrans units.
(input_varpool_node): Likewise.

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

9 years ago PR middle-end/48335
jakub [Fri, 1 Apr 2011 21:13:29 +0000 (21:13 +0000)]
PR middle-end/48335
* expr.c (expand_assignment): Handle all possibilities
if TO_RTX is CONCAT.
* expmed.c (store_bit_field_1): Avoid trying to create
invalid SUBREGs.
(store_split_bit_field): If SUBREG_REG (op0) or
op0 itself has smaller mode than word, return it
for offset 0 and const0_rtx for out-of-bounds stores.
If word is const0_rtx, skip it.

* gcc.c-torture/compile/pr48335-1.c: New test.
* gcc.dg/pr48335-1.c: New test.
* gcc.dg/pr48335-2.c: New test.
* gcc.dg/pr48335-3.c: New test.
* gcc.dg/pr48335-4.c: New test.
* gcc.dg/pr48335-5.c: New test.
* gcc.dg/pr48335-6.c: New test.
* gcc.dg/pr48335-7.c: New test.
* gcc.dg/pr48335-8.c: New test.
* gcc.target/i386/pr48335-1.c: New test.

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

9 years ago * config/h8300/h8300.c (print_operand_address): Rename to...
aesok [Fri, 1 Apr 2011 20:47:28 +0000 (20:47 +0000)]
* config/h8300/h8300.c (print_operand_address): Rename to...
(h8300_print_operand_address): ...this. Make static. Adjust comments.
Call h8300_print_operand and h8300_print_operand_address instead of
print_operand and print_operand_address. Declare.
(print_operand): Renake to...
(h8300_print_operand): ...this. Make static. Adjust comments.
Call h8300_print_operand instead of print_operand. Declare.
(h8300_print_operand_punct_valid_p): Moved from h8300.h file.
(h8300_register_move_cost): Likewise.
(TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND
TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define.
* config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND
PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete.
* config/h8300/h8300-protos.h (print_operand): Delete.
(print_operand_address): Delete.

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

9 years agoPR 48400
rth [Fri, 1 Apr 2011 20:23:00 +0000 (20:23 +0000)]
PR 48400
* dwarf2out.c (dwarf2out_source_line): Disable discriminators
in strict mode before dwarf4.  Re-order tests to early out
before switching sections.

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

9 years ago * config/h8300/constraints.md: New file.
froydnj [Fri, 1 Apr 2011 20:08:22 +0000 (20:08 +0000)]
* config/h8300/constraints.md: New file.
* config/h8300/h8300.md: Include it.  Use satisfies_constraint_J,
satisfies_constraint_L, and satisfies_constraint_N for peephole2s.
(*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U.
* config/h8300/predicates.md (bit_operand): Likewise.
(incdec_operand): Use satisfies_constraint_M and
satisfies_constraint_O.  Don't use C code block.
* config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete.
* config/h8300/h8300.c (h8300_reg_class_from_letter): Delete.
(compute_mov_length): Use satisfies_constraint_G.
(fix_bit_operand): Use satisfies_constraint_U.
* config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete.
(CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete.
(CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete.
(CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete.
(CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete.
(CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete.
(CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
(OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete.
(OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete.
(OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete.
(EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete.
(EXTRA_MEMORY_CONSTRAINT): Delete.

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

9 years ago2011-04-01 Vincent Lefevre <vincent+gcc@vinc17.org>
jsm28 [Fri, 1 Apr 2011 19:36:23 +0000 (19:36 +0000)]
2011-04-01  Vincent Lefevre  <vincent+gcc@vinc17.org>

PR c/36299
* gcc.dg/Waddress.c: New test.

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

9 years ago2011-04-01 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Fri, 1 Apr 2011 19:31:23 +0000 (19:31 +0000)]
2011-04-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48352
* frontend-passes (cfe_register_funcs):  Don't
register functions if they appear as iterators in DO loops.

2011-04-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48352
* gfortran.dg/function_optimize_3.f90:  New test.

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

9 years ago * configure.ac (avr-*-*): Add comment about why libssp is disabled.
jsm28 [Fri, 1 Apr 2011 19:14:48 +0000 (19:14 +0000)]
* configure.ac (avr-*-*): Add comment about why libssp is disabled.
(microblaze*): Don't disable libssp.
* configure: Regenerate.

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

9 years agoFix 48262
meissner [Fri, 1 Apr 2011 18:36:17 +0000 (18:36 +0000)]
Fix 48262

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

9 years agoDon't add DW_AT_low_pc if the CU has no associated code.
mark [Fri, 1 Apr 2011 18:24:52 +0000 (18:24 +0000)]
Don't add DW_AT_low_pc if the CU has no associated code.

        * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or
        high_pc attribute if the CU has no associated code. Only output
        DW_AT_entry_pc for CU if not generating strict dwarf and
        dwarf_version < 4.

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

9 years ago * haifa-sched.c (prune_ready_list): New function, broken out of
bernds [Fri, 1 Apr 2011 17:48:35 +0000 (17:48 +0000)]
* haifa-sched.c (prune_ready_list): New function, broken out of
schedule_block.
(schedule_block): Use it.

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

9 years ago * g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic".
bernds [Fri, 1 Apr 2011 17:47:12 +0000 (17:47 +0000)]
* g++.dg/lto/20091002-1_0.C: Use "dg-require-effective-target fpic".
* g++.dg/lto/20091002-2_0.C: Likewise.
* g++.dg/lto/20090303_0.c: Likewise.
* g++.dg/lto/20091004-1_0.C: Likewise.
* g++.dg/lto/20091002-3_0.C: Likewise.
* g++.dg/lto/20091004-2_0.C: Likewise.
* g++.dg/lto/20081123_0.C: Likewise.
* g++.dg/lto/20090313_0.C: Likewise.
* g++.dg/lto/20081109-1_0.C: Likewise.
* g++.dg/lto/20081219_0.C: Likewise.
* g++.dg/lto/20081204-1_0.C: Likewise.
* g++.dg/lto/20090302_0.C: Likewise.
* g++.dg/lto/20081119-1_0.C: Likewise.
* g++.dg/lto/20081118_0.C: Likewise.
* gcc.dg/lto/20091020-2_0.c: Likewise.
* gcc.dg/lto/20090210_0.c: Likewise.
* gcc.dg/lto/20081204-1_0.c: Likewise.
* gcc.dg/lto/20081224_0.c: Likewise.
* gcc.dg/lto/20090219_0.c: Likewise.
* gcc.dg/lto/20091014-1_0.c: Likewise.
* gcc.dg/lto/20091016-1_0.c: Likewise.
* gcc.dg/lto/20090206-2_0.c: Likewise.
* gcc.dg/lto/20090116_0.c: Likewise.
* gcc.dg/lto/20091013-1_0.c: Likewise.
* gcc.dg/lto/20091015-1_0.c: Likewise.
* gcc.dg/lto/20090126-2_0.c: Likewise.

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

9 years ago * sched-ebb.c (begin_schedule_ready): Remove second argument.
bernds [Fri, 1 Apr 2011 17:46:17 +0000 (17:46 +0000)]
* sched-ebb.c (begin_schedule_ready): Remove second argument.
Split most of the code into...
(begin_move_insn): ... here.  New function.
(ebb_sched_info): Add a pointer to it.
* haifa-sched.c (scheduled_insns): New static variable.
(sched_extend_ready_list): Allocate it.
(schedule_block): Use it to record the order of scheduled insns.
Perform RTL changes to move insns only after all scheduling
decisions have been made.
* modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the
begin_move_insn field.
* sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise.
* sched-int.h (struct haifa_sched_info): Remove second argument
from begin_schedule_ready hook.  Add new member begin_move_insn.
* sched-rgn.c (begin_schedule_ready): Remove second argument.
(rgn_const_sched_info): Add NULL entry for the begin_move_insn field.

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

9 years ago * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag.
bernds [Fri, 1 Apr 2011 17:42:35 +0000 (17:42 +0000)]
* sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag.

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

9 years ago * haifa-sched.c (queue_insn): New arg REASON. All callers
bernds [Fri, 1 Apr 2011 17:41:18 +0000 (17:41 +0000)]
* haifa-sched.c (queue_insn): New arg REASON.  All callers
changed.  Print it in debugging output.

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

9 years ago * ifcvt.c (cond_exec_process_insns): Disallow converting a block
bernds [Fri, 1 Apr 2011 17:40:27 +0000 (17:40 +0000)]
* ifcvt.c (cond_exec_process_insns): Disallow converting a block
that contains the prologue.

* gcc.c-torture/compile/20110401-1.c: New test.

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

9 years ago * dwarf2out.h (dwarf2out_frame_debug_init): Declare.
bernds [Fri, 1 Apr 2011 17:35:13 +0000 (17:35 +0000)]
* dwarf2out.h (dwarf2out_frame_debug_init): Declare.
* dwarf2out.c (dwarf2out_frame_debug_init): New function, broken
out of ...
(dwarf2out_frame_debug): ... here. Don't handle a NULL argument.
* final.c (final_start_function): Call the new function rather
than using a NULL argument for dwarf2out_frame_debug.

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

9 years ago * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>.
uweigand [Fri, 1 Apr 2011 17:16:47 +0000 (17:16 +0000)]
* config/spu/t-spu-elf (dp-bit.c): Use > instead of >>.

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

9 years agoAnd last the ChangeLog
ktietz [Fri, 1 Apr 2011 16:02:30 +0000 (16:02 +0000)]
And last the ChangeLog

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

9 years agoMissing new files from previous patch.
ktietz [Fri, 1 Apr 2011 14:59:25 +0000 (14:59 +0000)]
Missing new files from previous patch.

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

9 years ago2011-04-01 Kai Tietz <ktietz@redhat.com>
ktietz [Fri, 1 Apr 2011 14:43:22 +0000 (14:43 +0000)]
2011-04-01  Kai Tietz  <ktietz@redhat.com>

* config.gcc (*-*-mingw*): Allow as option the
posix threading model.
* config/i386/mingw32.h ( SPEC_PTHREAD1,  SPEC_PTHREAD2):
New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT
definition.
(CPP_SPEC): Add pthread/no-pthread handling.
(LIB_SPEC): Likewise.
* config/i386/mingw-w64.h (CPP_SPEC):Likewise.
(LIB_SPEC): Likewise.
* config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New
flag to pass -pthread option for shared libgcc build.
(SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread
for shared libgcc build.
* config/i386/t-mingw-pthread: New file.
* config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT):
New define to enable use of library pthread by default.
* config/i386/mingw.opt (pthread): New driver option.
(no-pthread): New driver option.
* config/i386/cygming.opt: Make sure trailing empty line
is retained.
* config/i386/mingw-w64.opt: Likewise.

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

9 years ago2011-04-01 Gary Funck <gary@intrepid.com>
gfunck [Fri, 1 Apr 2011 14:07:52 +0000 (14:07 +0000)]
2011-04-01  Gary Funck <gary@intrepid.com>

* c-decl.c (grokdeclarator): Fix formatting.

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

9 years ago * configure.ac: Remove code setting CONFIG_SHELL, config_shell and
jsm28 [Fri, 1 Apr 2011 13:43:39 +0000 (13:43 +0000)]
* configure.ac: Remove code setting CONFIG_SHELL, config_shell and
moveifchange.
* configure: Regenerate.
* Makefile.tpl: Use @SHELL@ not @config_shell@.
* Makefile.in: Regenerate.

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

9 years ago * configure.ac (*-*-sysv4*): Don't enable libgomp.
jsm28 [Fri, 1 Apr 2011 13:40:46 +0000 (13:40 +0000)]
* configure.ac (*-*-sysv4*): Don't enable libgomp.
(alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*,
powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*,
powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*,
xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*,
*-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove
md_exec_prefix cases.
* configure: Regenerate.

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

9 years ago * configure.ac: Separate cases disabling target-libssp,
jsm28 [Fri, 1 Apr 2011 11:59:22 +0000 (11:59 +0000)]
* configure.ac: Separate cases disabling target-libssp,
target-libiberty, target-libstdc++-v3 and Fortran from general
case over targets.
* configure: Regenerate.

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

9 years ago * configure.ac (*-*-chorusos): Don't disable libgcj.
jsm28 [Fri, 1 Apr 2011 11:57:09 +0000 (11:57 +0000)]
* configure.ac (*-*-chorusos): Don't disable libgcj.
(*-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*):
Remove case.
(*-*-kaos*): Don't disable GCC libraries, zlib or fastjar.
(arm-*-coff): Don't disable libgcj.
(arm*-*-linux-gnueabi): Remove useless assignment.
(arm-*-riscix*): Don't disable libgcj.
(bfin-*-*): Don't enable target-bsp and target-cygmon depending on
configuration.
(c4x-*-* | tic4x-*-*): Don't disable GCC libraries.
(c54x*-*-*): Remove case.
(tic54x-*-*): Don't disable GCC or GCC libraries.
(cris-*-* | crisv32-*-*): Don't handle *-*-aout.  Change *-*-elf
to *.
(d10v-*-*): Don't disable GCC libraries.
(d30v-*-*): Don't disable libgcj.
(h8500-*-*): Don't disable GCC libraries.
(i960-*-*): Don't disable libgcj.
(i[[3456789]]86-*-linux*): Don't handle *-*-*libc1*.
(i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
i[[3456789]]86-*-sysv4*, i[[3456789]]86-*-beos*): Don't disable
libgcj.
(m68k-*-coff*): Remove case.
(mmix-*-*): Don't disable libgloss on host.
(mn10200-*-*, mn10300-*-*): Remove cases.
(powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
powerpc-*-beos*, m68k-apollo-*, mips*-*-irix5*, mips*-*-bsd*):
Don't disable libgcj.
(romp-*-*): Remove case.
(sparclite-*-*, sparc-*-sunos4*): Don't disable libgcj.
(sparc-*-solaris2.[[0-6]] | sparc-*-solaris2.[[0-6]].*): Remove
case.
(v810-*-*): Don't disable GCC libraries.
(v850*-*-*, vax-*-vms, xtensa*-*-*): Remove cases.
(ip2k-*-*): Don't disable GCC libraries.
* configure: Regenerate.

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

9 years agogcc/
rsandifo [Fri, 1 Apr 2011 08:19:13 +0000 (08:19 +0000)]
gcc/
* expr.c (emit_block_move_via_movmem): Use n_generator_args
instead of n_operands.
(set_storage_via_setmem): Likewise.
* optabs.c (maybe_gen_insn): Likewise.
* config/arm/arm.c (arm_init_neon_builtins): Likewise.
* config/mips/mips.c (mips_expand_builtin_compare_1): Likewise.
(mips_expand_builtin_direct): Likewise.
* config/spu/spu.c (expand_builtin_args): Likewise.

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

9 years agogcc/
rsandifo [Fri, 1 Apr 2011 08:16:47 +0000 (08:16 +0000)]
gcc/
* recog.h (insn_data_d): Add n_generator_args.
* genoutput.c (data): Likewise.
(output_insn_data): Print it.
(max_opno, num_dups): Delete.
(scan_operands): Just fill in "d->operand[...]".
(gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats.

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

9 years agogcc/
rsandifo [Fri, 1 Apr 2011 08:15:08 +0000 (08:15 +0000)]
gcc/
* gensupport.h (pattern_stats): New structure.
* gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions.
* genemit.c (max_opno, max_dupno, max_scratch_opno): Delete.
(max_operand_1, max_operand_vec): Delete.
(gen_insn, gen_expand, gen_split): Use get_pattern_stats.

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

9 years agolibgo: Support Solaris 8/9.
ian [Fri, 1 Apr 2011 05:11:23 +0000 (05:11 +0000)]
libgo: Support Solaris 8/9.

From Rainer Orth.

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

9 years ago * emit-rtl.c (emit_pattern_after_setloc): New function.
froydnj [Fri, 1 Apr 2011 03:05:36 +0000 (03:05 +0000)]
* emit-rtl.c (emit_pattern_after_setloc): New function.
(emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it.
(emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise.
(emit_pattern_after): New function.
(emit_insn_after, emit_jump_insn_after): Call it.
(emit_call_insn_after, emit_debug_insn_after): Likewise.
(emit_pattern_before_setloc): New function.
(emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it.
(emit_call_insn_before_setloc, emit_debug_insn_before_setloc):
Likewise.
(emit_pattern_before): New function.
(emit_insn_before, emit_jump_insn_before): Call it.
(emit_call_insn_before, emit_debug_insn_before): Likewise.

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

9 years ago * dwarf2out.c (dw_separate_line_info_ref): Remove.
rth [Fri, 1 Apr 2011 02:41:12 +0000 (02:41 +0000)]
    * dwarf2out.c (dw_separate_line_info_ref): Remove.
        (dw_separate_line_info_entry): Remove.
        (enum dw_line_info_opcode): New.
        (dw_line_info_entry): Use it.
        (dw_line_info_table, dw_line_info_table_p): New.
        (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes.
        (line_info_table, line_info_label_num): Remove.
        (line_info_table_in_use): Remove.
        (separate_line_info_table): Remove.
        (separate_line_info_table_allocated): Remove.
        (separate_line_info_table_in_use): Remove.
        (LINE_INFO_TABLE_INCREMENT): Remove.
        (line_info_label_num): New.
        (cur_line_info_table): New.
        (text_section_line_info, cold_text_section_line_info): New.
        (separate_line_info): New.
        (SEPARATE_LINE_CODE_LABEL): Remove.
        (print_dwarf_line_table): Remove.
        (debug_dwarf): Don't dump it.
        (output_one_line_info_table): New.
        (output_line_info): Use it.
        (new_line_info_table): New.
        (set_cur_line_info_table): New.
        (dwarf2out_switch_text_section): Use it.
        (dwarf2out_begin_function): Likewise.
        (push_dw_line_info_entry): New.
        (dwarf2out_source_line): Rewrite for new line info tables.
        (dwarf2out_init): Remove dead initailizations.

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

9 years ago * go.test/go-test.exp (go-set-goarch): Recognize MIPS ABIs.
ian [Fri, 1 Apr 2011 00:27:59 +0000 (00:27 +0000)]
* go.test/go-test.exp (go-set-goarch): Recognize MIPS ABIs.

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

9 years agoDaily bump.
gccadmin [Fri, 1 Apr 2011 00:19:02 +0000 (00:19 +0000)]
Daily bump.

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

9 years agolibgo: Recognize MIPS ABIs.
ian [Fri, 1 Apr 2011 00:17:10 +0000 (00:17 +0000)]
libgo: Recognize MIPS ABIs.

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

9 years agoexception_ptr.h needs the forward declaration because it's
jyasskin [Thu, 31 Mar 2011 23:56:01 +0000 (23:56 +0000)]
exception_ptr.h needs the forward declaration because it's
included from <typeinfo> before <typeinfo> defines std::type_info.

Tested:
  bootstrap + make check-c++ on x86_64.

libstdc++-v3/ChangeLog:

2011-03-31  Jeffrey Yasskin  <jyasskin@google.com>

* libsupc++/exception_ptr.h: Forward-declare std::type_info.
* libsupc++/nested_exception.h (__throw_with_nested): Remove a
redundant default argument from std::__throw_with_nested.

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

9 years ago PR go/47515
ian [Thu, 31 Mar 2011 23:55:21 +0000 (23:55 +0000)]
PR go/47515
libgo: Add Irix support.

From Rainer Orth.

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

9 years agolibgo: Set name of test when using DejaGNU tests.
ian [Thu, 31 Mar 2011 23:03:20 +0000 (23:03 +0000)]
libgo: Set name of test when using DejaGNU tests.

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

9 years ago * opts.h (cl_option): Add comments to fields. Add bit-fields for
jsm28 [Thu, 31 Mar 2011 22:37:14 +0000 (22:37 +0000)]
* opts.h (cl_option): Add comments to fields.  Add bit-fields for
various flags.
(CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK,
CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE,
CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK,
CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove.
(CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions.
* opt-functions.awk (flag_init, switch_bit_fields): New.
(switch_flags): Don't handle flags moved to bit-fields.  Don't
generate CL_MISSING_OK or CL_SAVE.
* optc-gen.awk: Update to generate bit-field output as well as
flags field.
* gcc.c (driver_wrong_lang_callback): Use cl_reject_driver
bit-field instead of CL_REJECT_DRIVER flag.
* opts-common.c (generate_canonical_option,
decode_cmdline_option): Use bit-fields instead of CL_* flags.
* opts.c (maybe_default_option): Use cl_reject_negative bit-field
instead of CL_REJECT_NEGATIVE flag.
* toplev.c (print_switch_values): Use cl_report bit-field instead
of CL_REPORT flag.

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

9 years ago PR go/48242
ian [Thu, 31 Mar 2011 22:36:10 +0000 (22:36 +0000)]
PR go/48242
libgo: Add timeout for tests.

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

9 years agolibgo: Remove unnecessary EINTR checks.
ian [Thu, 31 Mar 2011 22:19:54 +0000 (22:19 +0000)]
libgo: Remove unnecessary EINTR checks.

We always use SA_RESTART with signals, so
read/write/etc. should never return EINTR.

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

9 years ago PR c++/48277
jason [Thu, 31 Mar 2011 22:03:50 +0000 (22:03 +0000)]
PR c++/48277
* semantics.c (finish_call_expr): Remove assert.

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

9 years ago * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop
ebotcazou [Thu, 31 Mar 2011 20:52:41 +0000 (20:52 +0000)]
* tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop
a zero minimum index only if it is redundant.

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

9 years agolibgo/syscalls: Use _C_long as the type of the select bits array.
ian [Thu, 31 Mar 2011 20:37:31 +0000 (20:37 +0000)]
libgo/syscalls: Use _C_long as the type of the select bits array.

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

9 years ago PR c++/48280
jason [Thu, 31 Mar 2011 20:29:49 +0000 (20:29 +0000)]
PR c++/48280
* method.c (defaultable_fn_check): Templates are not defaultable.

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

9 years ago * parser.c (cp_parser_init_declarator): Avoid redundant
jason [Thu, 31 Mar 2011 20:28:31 +0000 (20:28 +0000)]
* parser.c (cp_parser_init_declarator): Avoid redundant
cp_finish_decl for member declarations.

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

9 years ago2011-03-31 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Thu, 31 Mar 2011 19:54:02 +0000 (19:54 +0000)]
2011-03-31  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/48381
* ira-color.c (assign_hard_reg): Use hard reg set intersection
instead of ira_class_hard_reg_index for calculating conflicting
hard registers.

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

9 years ago * cprop.c: Clean up hash table building.
steven [Thu, 31 Mar 2011 19:48:11 +0000 (19:48 +0000)]
* cprop.c: Clean up hash table building.
(reg_avail_info): Remove.
(oprs_available_p): Remove.
(record_last_reg_set_info): Remove.
(record_last_set_info): Remove.
(reg_available_p): New function.
(gcse_constant_p): Do not treat unfolded conditions as constants.
(make_set_regs_unavailable): New function.
(hash_scan_set): Simplify with new reg_available_p.
(compute_hash_table_work): Traverse insns stream only once.
Do not compute reg_avail_info. Traverse insns in reverse order.
Record implicit sets after recording explicit sets from the block.

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