OSDN Git Service

pf3gnuchains/gcc-fork.git
10 years ago * config/rs6000/predicates.md (word_offset_memref_op): Handle
amodra [Sat, 26 Mar 2011 05:46:00 +0000 (05:46 +0000)]
* config/rs6000/predicates.md (word_offset_memref_op): Handle
cmodel medium addresses.
* config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned
64-bit gpr loads and stores.
(rs6000_secondary_reload_ppc64): New function.
* config/rs6000/rs6000-protos.h: Declare it.
* config/rs6000/rs6000.md (reload_di_store, reload_di_load): New.

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

10 years agoBetter error when setting const to nil.
ian [Sat, 26 Mar 2011 05:45:31 +0000 (05:45 +0000)]
Better error when setting const to nil.

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

10 years agoCorrectly parse select case <-c <- v.
ian [Sat, 26 Mar 2011 05:32:46 +0000 (05:32 +0000)]
Correctly parse select case <-c <- v.

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

10 years ago PR target/47487
amodra [Sat, 26 Mar 2011 01:34:14 +0000 (01:34 +0000)]
PR target/47487
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support
GNU Go in traceback table.

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

10 years agoDaily bump.
gccadmin [Sat, 26 Mar 2011 00:19:05 +0000 (00:19 +0000)]
Daily bump.

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

10 years ago * expr.c (emit_block_move_via_movmem): Only use 6 operand variant
rth [Fri, 25 Mar 2011 23:17:26 +0000 (23:17 +0000)]
    * expr.c (emit_block_move_via_movmem): Only use 6 operand variant
        if there are exactly 6 operands.
        (set_storage_via_setmem): Similarly.

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

10 years ago2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Fri, 25 Mar 2011 23:16:09 +0000 (23:16 +0000)]
2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/future (future::share): Add.
(packaged_task::result_type): Remove as per LWG 2030.
(packaged_task::packaged_task): Remove redundant constructors, as per
LWG 1514.
* testsuite/30_threads/future/members/share.cc: New.
* testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.

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

10 years ago2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Fri, 25 Mar 2011 22:50:47 +0000 (22:50 +0000)]
2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>

* testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
members which require a fully established result state.
* testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.

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

10 years agoClean up handling of undefined types.
ian [Fri, 25 Mar 2011 20:42:20 +0000 (20:42 +0000)]
Clean up handling of undefined types.

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

10 years ago * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
jakub [Fri, 25 Mar 2011 20:12:37 +0000 (20:12 +0000)]
* printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
mempcpy.

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

10 years agoAvoid overflow error after negative shift count error.
ian [Fri, 25 Mar 2011 19:23:10 +0000 (19:23 +0000)]
Avoid overflow error after negative shift count error.

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

10 years agoChangelog c-family/
ktietz [Fri, 25 Mar 2011 19:20:52 +0000 (19:20 +0000)]
Changelog c-family/

2011-03-25  Kai Tietz  <ktietz@redhat.com>

* c-ada-spec.c (compare_comment): Use filename_cmp
instead of strcmp for filename.

Changelog fortran/

2011-03-25  Kai Tietz  <ktietz@redhat.com>

* scanner.c (preprocessor_line): Use filename_cmp
instead of strcmp.

Changelog gcc/

2011-03-25  Kai Tietz  <ktietz@redhat.com>

* collect2.c (write_c_file_stat): Handle backslash
as right-hand directory separator.
(resolve_lib_name): Use IS_DIR_SEPARATOR instead of
checking just for slash.
* coverage.c (coverage_init): Use IS_ABSOLUTE_PATH
instead of checking for trailing slash.
* gcc.c (record_temp_file): Use filename_cmp instead
of strcmp.
(do_spec_1): Likewise.
(replace_outfile_spec_function): Likewise.
(is_directory): Use filename_ncmp instead of strncmp.
(print_multilib_info): Likewise.
* gcov.c (find_source): Use filename_cmp instead
instead of strcmp.
(make_gcov_file_name): Fix order of slash/backslash
checks.
* incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp.
(add_standard_paths): Likewise.
* mips-tfile.c (saber_stop): Handle backslash.
* prefix.c (update_path): Use filename_ncmp instead of
strncmp.
* profile.c (output_location): Use filename_cmp instead
of strcmp.
* read-md.c (handle_toplevel_file): Handle backslash.
* tlink.c (frob_extension):  Likewise.
* tree-cfg.c (same_line_p): Use filename_cmp instead of
strcmp.
* tree-dump.c (dequeue_and_dump): Handle backslash.
* tree.c (get_file_function_name): Likewise.
* gengtype.c (read_input_list): Likewise.
(get_file_realbasename): Likewise.
(get_output_file_with_visibility): Use filename_cmp
instead of strcmp.

ChangeLog java/

2011-03-25  Kai Tietz  <ktietz@redhat.com>

* jcf-parse.c (java_read_sourcefilenames): Use filename_cmp
instead of strcmp.
(set_source_filename): Likewise.
* win32-host.c (jcf_open_exact_case): Likewise.

ChangeLog lto/

2011-03-25  Kai Tietz  <ktietz@redhat.com>

* lto.c (lto_resolution_read): Use filename_cmp instead
of strcmp.
(lto_read_section_data): Likewise.

ChangeLog cp/

2011-03-25  Kai Tietz  <ktietz@redhat.com>

* lex.c (interface_strcmp): Handle dos-paths.
(handle_pragma_implementation): Use filename_cmp instead of
strcmp.
(in_main_input_context): Likewise.

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

10 years ago2011-03-25 Kai Tietz <ktietz@redhat.com>
ktietz [Fri, 25 Mar 2011 19:11:26 +0000 (19:11 +0000)]
2011-03-25  Kai Tietz  <ktietz@redhat.com>

* files.c (file_hash_eq): Use filename_cmp
instead of strcmp.
(nonexistent_file_hash_eq): Likewise.
(remap_filename): Likewise.
Handle absolute DOS-path,
(append_file_to_dir): Check for IS_DIR_SEPARATOR
instead of slash.
(read_name_map): Likewise.
* linemap.c (linemap_add): Use filename_cmp
instead of strcmp.
* mkdeps.c (apply_vpath): Use filename_ncmp
instead of strncmp.
(deps_restore): Use filename_cmp instead of
strcmp.
* init.c (read_original_directory): Use
IS_DIR_SEPARATOR instead of checking for slash.

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

10 years agogcc/
rsandifo [Fri, 25 Mar 2011 18:26:40 +0000 (18:26 +0000)]
gcc/
* config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS
case to VFPv1.

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

10 years ago2011-03-25 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 25 Mar 2011 17:53:35 +0000 (17:53 +0000)]
2011-03-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48174
        PR fortran/45304
        * trans-types.c (gfc_get_function_type): Don't use varargs if
        * the
        procedure is known to have no arguments.

2011-03-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48174
        PR fortran/45304
        * gfortran.dg/ishft_4.f90: Adapt scan-tree-dump-times.
        * gfortran.dg/leadz_trailz_3.f90: Ditto

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

10 years agoGive an error if a label is defined but not used.
ian [Fri, 25 Mar 2011 17:34:44 +0000 (17:34 +0000)]
Give an error if a label is defined but not used.

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

10 years agoChangeLog for last change.
ro [Fri, 25 Mar 2011 17:12:10 +0000 (17:12 +0000)]
ChangeLog for last change.

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

10 years ago2011-03-25 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 25 Mar 2011 17:08:57 +0000 (17:08 +0000)]
2011-03-25  Martin Jambor  <mjambor@suse.cz>

* gcc.c-torture/compile/pr44686.c: Do not explicitely specify -O2.

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

10 years ago PR boehm-gc/11412
ro [Fri, 25 Mar 2011 17:04:16 +0000 (17:04 +0000)]
PR boehm-gc/11412
* configure.ac (THREADCFLAGS): New variable.
Use it instead of INCLUDES, AM_CPPFLAGS.
<*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS.
Remove DG/UX support.
(AC_CONFIG_FILES): Add testsuite/Makefile.
* Makefile.am (AUTOMAKE_OPTIONS): Use foreign instead of cygnus.
(SUBDIRS): Add testsuite.
(libgcjgc_la_LIBADD): Remove $(UNWINDLIBS).
(AM_CXXFLAGS): Add $(THREADCFLAGS).
(AM_CFLAGS): Likewise.
Remove TESTS related variables.
* Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am: New file.
* testsuite/Makefile.in: New file.
* testsuite/lib/boehm-gc.exp: New file.
* testsuite/config/default.exp: New file.
* testsuite/boehm-gc.c/c.exp: New file.
* testsuite/boehm-gc.lib/lib.exp: New file.
* tests/test.c: Move ...
* testsuite/boehm-gc.c/gctest.c: ... here.
* tests/leak_test.c, tests/middle.c, tests/thread_leak_test.c,
tests/trace_test.c: Move ...
* testsuite/boehm-gc.c: ... here.
* testsuite/boehm-gc.c/trace_test.c: Skip everywhere.
* tests/staticrootslib.c, tests/staticrootstest.c: Move ...
* testsuite/boehm-gc.lib: ... here.
* testsuite/boehm-gc.lib/staticrootstest.c: Use dg-add-shlib
staticrootslib.c.
* tests/test_cpp.cc: Move ...
* testsuite/boehm-gc.c++: ... here.

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

10 years ago * fold-const.c (expr_location_or): New function.
froydnj [Fri, 25 Mar 2011 16:53:14 +0000 (16:53 +0000)]
* fold-const.c (expr_location_or): New function.
(fold_truth_not_expr): Call it.

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

10 years ago * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing
law [Fri, 25 Mar 2011 16:39:10 +0000 (16:39 +0000)]
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing
va_end.
* c-family/c-common.c (def_fn_type): Likewise.
* ada/gcc-interface/utils.c (def_fn_type): Likewise.
* emit-rtl.c (gen_rtvec): Likewise.
* lto/lto-lang.c (def_fn_type): Likewise.

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

10 years ago2011-03-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Mar 2011 16:28:15 +0000 (16:28 +0000)]
2011-03-25  Richard Guenther  <rguenther@suse.de>

* tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants
also generate copies.
(fini_copy_prop): Handle constant values properly.

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

10 years ago * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare
jakub [Fri, 25 Mar 2011 16:22:00 +0000 (16:22 +0000)]
* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare
mode size instead of bitsize with DWARF2_ADDR_SIZE.
(hash_loc_operands, compare_loc_operands): Handle
DW_OP_GNU_entry_value.

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

10 years ago Core 1135
jason [Fri, 25 Mar 2011 16:17:08 +0000 (16:17 +0000)]
Core 1135
* method.c (defaulted_late_check): Check for exception spec mismatch.
(defaultable_fn_check): Allow exception spec and virtual.
* class.c (check_for_override): A virtual dtor is non-trivial.

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

10 years ago PR c++/48289
jason [Fri, 25 Mar 2011 16:16:53 +0000 (16:16 +0000)]
PR c++/48289
* pt.c (build_non_dependent_expr): Keep dereferences outside the
NON_DEPENDENT_EXPR.

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

10 years ago * c.opt: Add -std=c++03.
jason [Fri, 25 Mar 2011 16:16:40 +0000 (16:16 +0000)]
* c.opt: Add -std=c++03.

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

10 years ago2011-03-25 Kai Tietz <ktietz@redhat.com>
ktietz [Fri, 25 Mar 2011 16:10:56 +0000 (16:10 +0000)]
2011-03-25  Kai Tietz  <ktietz@redhat.com>

* config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment.
(STACK_BOUNDARY): Check for bit-ness in case of MS_ABI.
* config/i386/i386.c (ix86_conditional_register_usage): Adjust
comment and use macro TARGET_64BIT_MS_ABI instead.
(ix86_keep_aggregate_return_pointer): Optimize for 64-bit case
and change default behavior for 32-bit MS_ABI.
(ix86_reg_parm_stack_space): Check additionally for bit-ness.
(ix86_function_type_abi): Allow check for ms_abi/sysv_abi for
32-bit, too.
(ix86_cfun_abi): Likewise.
(ix86_maybe_switch_abi): Adjust comment.
(init_cumulative_args): Check for bit-ness in MS_ABI case.
(ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI
instead of checking for SYSV_ABI.
(ix86_nsaved_sseregs): Likewise.
(ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment
to 16 bytes.
(ix86_expand_call): Use TARGET_64BIT_MS_ABI macro.
* config/i386.h (TARGET_32BIT_MS_ABI): New macro.
(ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI.
(OUTGOING_REG_PARM_STACK_SPACE): Likewise.
* config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI.

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

10 years ago PR target/48287
irar [Fri, 25 Mar 2011 16:08:40 +0000 (16:08 +0000)]
    PR target/48287
        * gcc.dg/vect/vect-cselim-1.c: Fail for vect_no_align.

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

10 years ago * gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options
ro [Fri, 25 Mar 2011 15:38:27 +0000 (15:38 +0000)]
* gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options
for mips-sgi-irix6.5.
Replace snprintf prototype by <stdio.h>.

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

10 years ago2011-03-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Mar 2011 15:05:00 +0000 (15:05 +0000)]
2011-03-25  Richard Guenther  <rguenther@suse.de>

* tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg.
(verify_types_in_gimple_seq): Rename to verify_gimple_in_seq.
(verify_gimple): Remove.
* tree-cfg.c (verify_gimple_call): Merge verification
from verify_stmts.
(verify_gimple_phi): Merge verification from verify_stmts.
(verify_gimple_label): New function.
(verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2.
(verify_types_in_gimple_seq): Rename to verify_gimple_in_seq.
(verify_stmt): Merge into verify_gimple_in_cfg and callees.
(verify_stmts): Rename to verify_gimple_in_cfg.
(verify_gimple_in_cfg): New function.
* passes.c (execute_function_todo): Call verify_gimple_in_cfg.
* tree-ssa.c (verify_ssa): Likewise.
* gimplify.c (gimplify_body): Call verify_gimple_in_seq.

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

10 years ago * configure.ac (native_only): Remove.
jsm28 [Fri, 25 Mar 2011 13:06:37 +0000 (13:06 +0000)]
* configure.ac (native_only): Remove.
(i[[3456789]]86-*-msdosdjgpp*): Don't disable expect dejagnu
send-pr uudecode guile gnuserv on host.
(x86_64-*-mingw*): Don't disable expect dejagnu autoconf automake
send-pr rcs guile perl texinfo libtool on host.
(i[[3456789]]86-*-mingw32*): Don't disable expect dejagnu autoconf
automake send-pr rcs guile perl texinfo libtool on host.
(*-*-cygwin*, *-*-netbsd*): Remove host cases.
(*-*-kaos*): Don't disable target-examples target-gperf on target.
(alpha*-dec-osf*): Don't disable fileutils on target.
(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't disable target-examples
texinfo send-pr expect dejagnu on target.
(arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi): Don't disable
target-qthreads on target.
(hppa*-hp-hpux11*, hppa*-*-*): Don't disable shellutils on target.
(ia64*-*-elf*, ia64*-*-*vms*): Don't disable mmalloc on target.
(i[[3456789]]86-w64-mingw*, i[[3456789]]86-*-mingw*,
x86_64-*-mingw*): Don't disable expect on target.
(*-*-cygwin*): Don't disable target-gperf on target.
(powerpc*-*-winnt* | powerpc*-*-pe*): Don't disable make expect
gnuserv on target.
(powerpcle-*-solaris*): Don't disable make expect gnuserv on
target.
* configure: Regenerate.

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

10 years ago PR testsuite/48283
ro [Fri, 25 Mar 2011 13:02:24 +0000 (13:02 +0000)]
PR testsuite/48283
* gcc.dg/graphite/block-3.c: Add dg-require-effective-target
run_expensive_tests.
* gcc.dg/graphite/block-4.c: Likewise.
* gcc.dg/graphite/block-7.c: Likewise.
* gcc.dg/graphite/block-8.c: Likewise.

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

10 years ago2011-03-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Mar 2011 11:59:19 +0000 (11:59 +0000)]
2011-03-25  Richard Guenther  <rguenther@suse.de>

* passes.c (init_optimization_passes): Add FRE pass after
early SRA.

* g++.dg/tree-ssa/pr41186.C: Scan the appropriate FRE dump.
* g++.dg/tree-ssa/pr8781.C: Likewise.
* gcc.dg/ipa/ipa-pta-13.c: Likewise.
* gcc.dg/ipa/ipa-pta-3.c: Likewise.
* gcc.dg/ipa/ipa-pta-4.c: Likewise.
* gcc.dg/tree-ssa/20041122-1.c: Likewise.
* gcc.dg/tree-ssa/alias-18.c: Likewise.
* gcc.dg/tree-ssa/foldstring-1.c: Likewise.
* gcc.dg/tree-ssa/forwprop-10.c: Likewise.
* gcc.dg/tree-ssa/forwprop-9.c: Likewise.
* gcc.dg/tree-ssa/fre-vce-1.c: Likewise.
* gcc.dg/tree-ssa/loadpre6.c: Likewise.
* gcc.dg/tree-ssa/pr21574.c: Likewise.
* gcc.dg/tree-ssa/ssa-dom-cse-1.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-1.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-11.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-12.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-13.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-14.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-15.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-16.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-17.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-18.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-19.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-21.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-22.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-23.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-24.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-25.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-26.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-27.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-4.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-5.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-6.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-7.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-8.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-9.c: Likewise.
* gcc.dg/tree-ssa/ssa-pre-10.c: Likewise.
* gcc.dg/tree-ssa/ssa-pre-26.c: Likewise.
* gcc.dg/tree-ssa/ssa-pre-7.c: Likewise.
* gcc.dg/tree-ssa/ssa-pre-8.c: Likewise.
* gcc.dg/tree-ssa/ssa-pre-9.c: Likewise.
* gcc.dg/tree-ssa/ssa-sccvn-1.c: Likewise.
* gcc.dg/tree-ssa/ssa-sccvn-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-sccvn-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-sccvn-4.c: Likewise.
* gcc.dg/tree-ssa/struct-aliasing-1.c: Likewise.
* gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise.
* c-c++-common/pr46562-2.c: Likewise.
* gfortran.dg/pr42108.f90: Likewise.
* gcc.dg/torture/pta-structcopy-1.c: Scan ealias dump, force
foo to be inlined even at -O1.
* gcc.dg/tree-ssa/ssa-dce-4.c: Disable FRE.
* gcc.dg/ipa/ipa-pta-14.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-1.c: Adjust.
* gcc.dg/matrix/matrix.exp: Disable FRE.

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

10 years ago2011-03-25 Bernd Schmidt <bernds@codesourcery.com>
ams [Fri, 25 Mar 2011 11:57:29 +0000 (11:57 +0000)]
2011-03-25  Bernd Schmidt  <bernds@codesourcery.com>
    Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning
for Cortex-A8.
(arm_movdi_vfp_cortexa8): New pattern.
* config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon,
iordi3_neon, xordi3_neon): Add alternatives to discourage Neon
instructions when tuning for Cortex-A8.  Set attribute "arch".
* config/arm/arm.md: Move include arm-tune.md up a bit.
(define_attr "arch"): Add "onlya8" and "nota8" values.
(define_attr "arch_enabled"): Handle "onlya8" and "nota8".

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

10 years agofix typo in ChangeLog
froydnj [Fri, 25 Mar 2011 11:48:29 +0000 (11:48 +0000)]
fix typo in ChangeLog

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

10 years ago PR bootstrap/4828
froydnj [Fri, 25 Mar 2011 11:47:13 +0000 (11:47 +0000)]
PR bootstrap/4828
Revert:
2011-03-24  Nathan Froyd  <froydnj@codesourcery.com>

* function.c (instantiate_virtual_regs): Use FOR_EACH_BB and
FOR_BB_INSNS_SAFE to iterate through insns.  Re-indent.
(pass_instantiate_virtual_regs): Require PROP_cfglayout.
* passes.c (init_optimization_passes): Move
pass_instantiate_virtual_regs after pass_into_cfg_layout_mode.

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

10 years ago * configure.ac (target_tools): Remove target-groff.
jsm28 [Fri, 25 Mar 2011 11:13:08 +0000 (11:13 +0000)]
* configure.ac (target_tools): Remove target-groff.
(native_only): Remove target-groff.
(hppa*64*-*-*): Don't disable byacc.
(i[[3456789]]86-*-mingw32*): Remove commented-out noconfigdirs
setting.
(*-*-kaos*): Don't skip target-librx and target-groff.
(*-*-netware*): Don't skip target-libmudflap.
(*-*-tpf*): Don't skip target-libmudflap.
(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't condition configured
directories on the host.
(ia64*-*-*vms*): Don't skip tix.
(sh-*-* | sh64-*-*): Don't condition skipped directories on the
host.
* configure: Regenerate.

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

10 years agoChangeLog gcc/
ktietz [Fri, 25 Mar 2011 10:28:12 +0000 (10:28 +0000)]
ChangeLog gcc/
2011-03-25  Kai Tietz  <ktietz@redhat.com>

* c-typeck.c (comptypes_internal): Replace target
hook call of comp_type_attributes by version in tree.c file.
* gimple.c (gimple_types_compatible_p_1): Likewise.
* tree-ssa.c (useless_type_conversion_p): Likewise.
* tree.c (build_type_attribute_qual_variant): Likewise.
(attribute_value_equal): New static helper function.
(comp_type_attributes): New function.
(merge_attributes): Use attribute_value_equal for comparison.
(attribute_list_contained): Likewise.
* tree.h (comp_type_attributes): New prototype.

ChangeLog cp/
2011-03-25  Kai Tietz  <ktietz@redhat.com>

        * decl.c (decls_match): Replace target hook
        call of comp_type_attributes by version in tree.c file.
        * search.c (check_final_overrider): Likewise.
        * typeck.c (structural_comptypes): Likewise.

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

10 years ago2011-03-25 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 25 Mar 2011 10:16:02 +0000 (10:16 +0000)]
2011-03-25  Richard Guenther  <rguenther@suse.de>

* tree-cfg.c (verify_gimple_assign_unary): Drop special casing
of complex types at -O0.
(verify_gimple_assign_binary): Likewise.
(verify_gimple_assign_ternary): Likewise.

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

10 years ago2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 25 Mar 2011 10:06:33 +0000 (10:06 +0000)]
2011-03-25  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/random.h (negative_binomial_distribution<>::
negative_binomial_distribution(_IntType, double),
negative_binomial_distribution<>::
negative_binomial_distribution(const param_type&)): Tweak
construction of _M_gd.
* include/bits/random.tcc (negative_binomial_distribution<>::
operator()): Adjust.

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

10 years agoRemove deprecated DW_FORM_sig8 define.
mark [Fri, 25 Mar 2011 10:06:13 +0000 (10:06 +0000)]
Remove deprecated DW_FORM_sig8 define.

    * dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.

    * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8.
    (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8.

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

10 years agoPR debug/48041
mark [Fri, 25 Mar 2011 09:35:41 +0000 (09:35 +0000)]
PR debug/48041
* dwarf2out.c (output_abbrev_section): Only write table when
abbrev_die_table_in_use > 1.

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

10 years agoRemove closed function. Fix tuple receive in select.
ian [Fri, 25 Mar 2011 05:14:57 +0000 (05:14 +0000)]
Remove closed function.  Fix tuple receive in select.

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

10 years agoalpha: Use byte-manipulation helper expanders more often.
rth [Fri, 25 Mar 2011 00:52:40 +0000 (00:52 +0000)]
alpha: Use byte-manipulation helper expanders more often.

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

10 years agoalpha: Remove all big-endian code.
rth [Fri, 25 Mar 2011 00:52:34 +0000 (00:52 +0000)]
alpha: Remove all big-endian code.

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

10 years agoalpha: Unify movdi patterns with enabled attribute.
rth [Fri, 25 Mar 2011 00:35:01 +0000 (00:35 +0000)]
alpha: Unify movdi patterns with enabled attribute.

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

10 years agoalpha: Unify SF, DF, QI, HI, SI mode moves with enabled attribute.
rth [Fri, 25 Mar 2011 00:34:56 +0000 (00:34 +0000)]
alpha: Unify SF, DF, QI, HI, SI mode moves with enabled attribute.

For floating-point, this involves in addition conditionalizing the
definition of the "f" register constraint.

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

10 years agoalpha: Cleanup sign extension patterns.
rth [Fri, 25 Mar 2011 00:34:46 +0000 (00:34 +0000)]
alpha: Cleanup sign extension patterns.

Don't bother implementing sub-word sign-extensions for !BWX,
since we need to use DImode intermediates anyway.

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

10 years agoDaily bump.
gccadmin [Fri, 25 Mar 2011 00:18:41 +0000 (00:18 +0000)]
Daily bump.

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

10 years agoalpha: Unify zero_extend patterns with attribute enabled.
rth [Fri, 25 Mar 2011 00:09:36 +0000 (00:09 +0000)]
alpha: Unify zero_extend patterns with attribute enabled.

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

10 years agoalpha: Revert change to input_operand for 32-bit vms.
rth [Fri, 25 Mar 2011 00:04:19 +0000 (00:04 +0000)]
alpha: Revert change to input_operand for 32-bit vms.

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

10 years agoUpdate to current version of Go library.
ian [Thu, 24 Mar 2011 23:46:17 +0000 (23:46 +0000)]
Update to current version of Go library.

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

10 years ago * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and
froydnj [Thu, 24 Mar 2011 23:37:02 +0000 (23:37 +0000)]
* function.c (instantiate_virtual_regs): Use FOR_EACH_BB and
FOR_BB_INSNS_SAFE to iterate through insns.  Re-indent.
(pass_instantiate_virtual_regs): Require PROP_cfglayout.
* passes.c (init_optimization_passes): Move
pass_instantiate_virtual_regs after pass_into_cfg_layout_mode.

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

10 years ago * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases.
ebotcazou [Thu, 24 Mar 2011 21:56:38 +0000 (21:56 +0000)]
* dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases.

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

10 years ago * config/i386/i386.md (ix86_print_operand): Output DFmode const_double
uros [Thu, 24 Mar 2011 20:52:09 +0000 (20:52 +0000)]
* config/i386/i386.md (ix86_print_operand): Output DFmode const_double
correctly.

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

10 years ago PR debug/48204
jakub [Thu, 24 Mar 2011 18:58:58 +0000 (18:58 +0000)]
PR debug/48204
* simplify-rtx.c (simplify_const_unary_operation): Call
real_convert when changing mode class with FLOAT_EXTEND.

* gcc.dg/dfp/pr48204.c: New test.

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

10 years ago2011-03-24 Paolo Bonzini <pbonzini@redhat.com>
bonzini [Thu, 24 Mar 2011 17:47:30 +0000 (17:47 +0000)]
2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>

        * configure.ac: Remove references to mt-mep, mt-netware,
        mt-wince.
        * Makefile.def: Add all-utils soft dependencies.
        * Makefile.tpl: Remove GDB_NLM_DEPS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

config:
2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>

        * mt-mep: Remove, obsolete.
        * mt-netware: Remove, obsolete.
        * mt-wince: Remove, obsolete.
        * mt-v810: Remove, unused.

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

10 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:29:51 +0000 (17:29 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Do not include mh-x86omitfp.
* configure: Regenerate.

config:
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-x86omitfp: Remove.

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

10 years ago * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define.
nickc [Thu, 24 Mar 2011 17:25:28 +0000 (17:25 +0000)]
* config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define.
(ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
* config/rx/rx.c (rx_option_override): Set align_jumps,
align_loops and align_labels if not set by the user.
(rx_align_for_label): New function.
(rx_max_skip_for_label): New function.
(TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define.
(TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define.
(TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define.
(TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define.
* config/rx/rx-protos.h (rx_align_for_label): Add prototype.

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

10 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:23:41 +0000 (17:23 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove empty cases.
* configure: Regenerate.

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

10 years agogcc/
rsandifo [Thu, 24 Mar 2011 17:23:18 +0000 (17:23 +0000)]
gcc/
PR rtl-optimization/48263
* optabs.c (expand_binop_directly): Reinstate convert_modes code
and original commutative_p handling.  Use maybe_gen_insn.

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

10 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:11:26 +0000 (17:11 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def: Add dependency from termcap to gdb.
* Makefile.in: Regenerate.

config:
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

        * mh-cygwin: Remove obsolete variables and dependencies.

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

10 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:07:44 +0000 (17:07 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove all mentions of mh-sysv4 and mh-solaris.
* configure: Regenerate.
* Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.

config:
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove.
* mh-solaris: Remove.

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

10 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 16:58:56 +0000 (16:58 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove all mentions of tentative_cc.
* configure: Regenerate.

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

10 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 16:53:52 +0000 (16:53 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove AR_CFLAGS.

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

10 years ago2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 24 Mar 2011 16:50:31 +0000 (16:50 +0000)]
2011-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* reload.c (find_reloads_subreg_address): Add address_reloaded
parameter and return true there if the full address has been
reloaded.
(find_reloads_toplev): Pass address_reloaded flag.
(find_reloads_address_1): Don't use address_reloaded parameter.

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

10 years ago * configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
jsm28 [Thu, 24 Mar 2011 16:49:56 +0000 (16:49 +0000)]
* configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*,
m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*,
m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*,
mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*,
i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*,
i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*,
i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*,
hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*,
*-*-rhapsody*): Remove host cases.
* configure: Regenerate.

config:
* mh-cxux, mh-decstation, mh-dgux386, mh-lynxrs6k, mh-ncr3000,
mh-necv4, mh-sco, mh-sysv5: Remove.

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

10 years ago2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 24 Mar 2011 16:49:19 +0000 (16:49 +0000)]
2011-03-24  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/random.h (negative_binomial_distribution<>::
negative_binomial_distribution(_IntType, double),
negative_binomial_distribution<>::
negative_binomial_distribution(const param_type&)): Fix
construction of _M_gd.
* include/bits/random.tcc (negative_binomial_distribution<>::
operator()): Fix computation, per Leger's algorithm.
* testsuite/util/testsuite_random.h (discrete_pdf,
negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
(binomial_pdf): Swap last two parameters.
* testsuite/26_numerics/random/discrete_distribution/
operators/values.cc: New.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/values.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/
operators/values.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
operators/values.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
operators/values.cc: Adjust.

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

10 years ago * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but
law [Thu, 24 Mar 2011 16:44:17 +0000 (16:44 +0000)]
* tree-ssa-live.c (remove_unused_scope_block_p): Remove set but
unused variable "ann".
(remove_unused_locals): Likewise.

* tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless
statement.

* cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL
after it is freed.

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

10 years ago * gcc.pot: Regenerate.
jsm28 [Thu, 24 Mar 2011 16:43:55 +0000 (16:43 +0000)]
* gcc.pot: Regenerate.

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

10 years ago * cpplib.pot: Regenerate.
jsm28 [Thu, 24 Mar 2011 16:43:18 +0000 (16:43 +0000)]
* cpplib.pot: Regenerate.

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

10 years ago2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 24 Mar 2011 16:38:24 +0000 (16:38 +0000)]
2011-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS
for invalid symbolic addresses.
(s390_secondary_reload): Don't use s390_check_symref_alignment for
larl operands.

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

10 years ago2011-03-24 Steve Ellcey <sje@cup.hp.com>
sje [Thu, 24 Mar 2011 16:29:18 +0000 (16:29 +0000)]
2011-03-24  Steve Ellcey  <sje@cup.hp.com>

PR target/48209
* gcc.c-torture/execute/pr47917.c: Move this...
* gcc.dg/torture/pr47917.c: to here and add xfails.

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

10 years ago * fold-const.c (fold_ternary_loc): Preserve the location (if any) of
ebotcazou [Thu, 24 Mar 2011 16:15:22 +0000 (16:15 +0000)]
* fold-const.c (fold_ternary_loc): Preserve the location (if any) of
the argument in calls to fold_truth_not_expr.

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

10 years ago * einfo.ads (Size_Depends_On_Discriminant): Adjust description.
ebotcazou [Thu, 24 Mar 2011 16:08:50 +0000 (16:08 +0000)]
* einfo.ads (Size_Depends_On_Discriminant): Adjust description.
* layout.adb (Compute_Size_Depends_On_Discriminant): New procedure
to compute Set_Size_Depends_On_Discriminant.
(Layout_Type): Call it on array types in back-end layout mode.
* sem_util.adb (Requires_Transient_Scope): Return true for array
types only if the size depends on the value of discriminants.
* gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Use the RHS
type if the RHS is a call to a function that returns an unconstrained
type with default discriminant.

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

10 years ago2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 24 Mar 2011 15:57:57 +0000 (15:57 +0000)]
2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
Copyright years.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
Likewise.

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

10 years ago * tree.c (record_node_allocation_statistics): New function.
froydnj [Thu, 24 Mar 2011 15:23:23 +0000 (15:23 +0000)]
* tree.c (record_node_allocation_statistics): New function.
(make_node_stat, copy_node_stat, build_string): Call it.
(make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise.
(build1_stat, build_omp_clause): Likewise.

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

10 years ago * gcc-interface/trans.c (gnat_to_gnu): Remove obsolete case of
ebotcazou [Thu, 24 Mar 2011 15:15:44 +0000 (15:15 +0000)]
* gcc-interface/trans.c (gnat_to_gnu): Remove obsolete case of
non-conversion to the nominal result type at the end.

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

10 years agogcc/
rsandifo [Thu, 24 Mar 2011 15:13:45 +0000 (15:13 +0000)]
gcc/
* builtins.c (expand_movstr): Fix endp == 1 adjustment after
last commit.

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

10 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 14:43:16 +0000 (14:43 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48271
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup
blocks that still exist.

* g++.dg/torture/pr48271.C: New testcase.

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

10 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 14:39:36 +0000 (14:39 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48270
* tree-ssa-phiopt.c (cond_if_else_store_replacement): Do
not free datarefs before ddrs.

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

10 years ago * tree-sra.c (build_ref_for_offset): Strip useless type conversions
ebotcazou [Thu, 24 Mar 2011 14:21:27 +0000 (14:21 +0000)]
* tree-sra.c (build_ref_for_offset): Strip useless type conversions
from the address built for a reference with variable offset.

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

10 years ago PR target/48237
uros [Thu, 24 Mar 2011 13:35:26 +0000 (13:35 +0000)]
PR target/48237
* config/i386/i386.md (*movdf_internal_rex64): Do not split
alternatives that can be handled with movq or movabsq insn.
(*movdf_internal): Disable for !TARGET_64BIT.
(*movdf_internal_nointeger): Ditto.
* config/i386/i386.c (ix86_print_operand): Handle DFmode immediates.

testsuite/ChangeLog:

PR target/48237
* gcc.target/i386/pr48237.c: New test.

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

10 years ago * configure.ac (ppc*-*-pe): Remove host case.
jsm28 [Thu, 24 Mar 2011 13:24:31 +0000 (13:24 +0000)]
* configure.ac (ppc*-*-pe): Remove host case.
(strongarm-*-coff | xscale-*-coff, strongarm-*-elf* |
xscale-*-elf*, thumb-*-coff, thumb-*-elf, thumb-*-pe, ep9312-*-elf
| ep9312-*-coff, parisc*64*-*-linux*, ppc*-*-pe): Remove target
cases.
* configure: Regenerate.

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

10 years ago * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison.
froydnj [Thu, 24 Mar 2011 13:03:06 +0000 (13:03 +0000)]
* system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison.
(FUNCTION_ARG_ADVANCE): Likewise.
* tm.texi.in: Change references to them to hook references.
* tm.texi: Regenerate.
* targhooks.c (default_function_arg): Eliminate check for target
macro.
(default_function_incoming_arg): Likewise.
(default_function_arg_advance): Likewise.
* target.def (function_arg, function_incoming_arg): Change to
DEFHOOK.
(function_arg_advance): Likewise.
* target-def.h: Eliminate FUNCTION_INCOMING_ARG check.

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

10 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 12:44:58 +0000 (12:44 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR middle-end/48269
* tree-object-size.c (addr_object_size): Do not double-account
for MEM_REF offsets.

* gcc.dg/builtin-object-size-10.c: New testcase.

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

10 years ago * lto-opts.c (input_data_block): Move to lto-streamer-in.c.
dnovillo [Thu, 24 Mar 2011 12:39:59 +0000 (12:39 +0000)]
* lto-opts.c (input_data_block): Move to lto-streamer-in.c.
* lto-streamer-in.c (input_string_internal): Add clarifying
comments.
(lto_input_data_block): Move from lto-opts.c.  Make extern.
Update all users.
(lto_input_string): Rename from input_string.  Make extern.
Update all users.
* lto-streamer-out.c (lto_output_string_with_length): Rename from
output_string_with_length.
Output 0 to indicate a non-NULL string.  Update all callers to
not emit 0.
(lto_output_string): Rename from output_string.  Make extern.
Update all users.
(lto_output_decl_state_streams): Make extern.
(lto_output_decl_state_refs): Make extern.
* lto-streamer.h (lto_input_string): Declare.
(lto_input_data_block): Declare.
(lto_output_string): Declare.
(lto_output_string_with_length): Declare.
(lto_output_decl_state_streams): Declare.
(lto_output_decl_state_refs): Declare.

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

10 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 11:23:29 +0000 (11:23 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46562
* tree.c (build_invariant_address): New function.
* tree.h (build_invariant_address): Declare.
* tree-dfa.c (get_addr_base_and_unit_offset): Wrap around
a renamed function moved ...
* tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here.
Take valueization callback parameter.
* tree-flow.h (gimple_fold_stmt_to_constant): Declare.
* gimple-fold.h: New file.
* tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1.
(ccp_fold, fold_const_aggregate_ref,
fold_ctor_reference, fold_nonarray_ctor_reference,
fold_array_ctor_reference, fold_string_cst_ctor_reference,
get_base_constructor): Move ...
* gimple-fold.c: ... here.
(gimple_fold_stmt_to_constant_1): New function
split out from ccp_fold.  Take a valueization callback parameter.
Valueize all operands.
(gimple_fold_stmt_to_constant): New wrapper function.
(fold_const_aggregate_ref_1): New function split out from
fold_const_aggregate_ref.  Take a valueization callback parameter.
(fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1.
* tree-ssa-sccvn.c (simplify_binary_expression): Simplify
invariant POINTER_PLUS_EXPRs to invariant form.
(vn_valueize): New function.
(try_to_simplify): Simplify by using gimple_fold_stmt_to_constant.
* tree-vrp.c (vrp_valueize): New function.
(vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant
to fold statements to constants.
* tree-ssa-pre.c (eliminate): Properly guard propagation of
function declarations.
* Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o,
tree-ssa-ccp.o): Add gimple-fold.h dependencies.

* c-c++-common/pr46562-2.c: New testcase.
* c-c++-common/pr46562.c: Likewise.

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

10 years ago * config.sub: Update to version 2011-03-23.
jsm28 [Thu, 24 Mar 2011 11:12:27 +0000 (11:12 +0000)]
* config.sub: Update to version 2011-03-23.

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

10 years agogcc/
rsandifo [Thu, 24 Mar 2011 10:03:40 +0000 (10:03 +0000)]
gcc/
* config/h8300/predicates.md (jump_address_operand): Fix register
mode check.

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

10 years ago * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
ro [Thu, 24 Mar 2011 09:26:46 +0000 (09:26 +0000)]
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

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

10 years ago * doc/invoke.texi (max-stores-to-sink): Document.
irar [Thu, 24 Mar 2011 08:23:39 +0000 (08:23 +0000)]
    * doc/invoke.texi (max-stores-to-sink): Document.
        * params.h (MAX_STORES_TO_SINK): Define.
        * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0
        if either vectorization or if-conversion is disabled.
        * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from
        tree-vect-data-refs.c vect_equal_offsets.
        (dr_equal_offsets_p): New function.
        (find_data_references_in_bb): Remove static.
        * tree-data-ref.h (find_data_references_in_bb): Declare.
        (dr_equal_offsets_p): Likewise.
        * tree-vect-data-refs.c (vect_equal_offsets): Move to
        tree-data-ref.c.
        (vect_drs_dependent_in_basic_block): Update calls to
        vect_equal_offsets.
        (vect_check_interleaving): Likewise.
        * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h.
        (cond_if_else_store_replacement): Rename to...
        (cond_if_else_store_replacement_1): ... this.  Change arguments
        and documentation.
        (cond_if_else_store_replacement): New function.
        * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies.
        * params.def (PARAM_MAX_STORES_TO_SINK): Define.

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

10 years agoTuple receives indicate whether channel is closed.
ian [Thu, 24 Mar 2011 06:01:27 +0000 (06:01 +0000)]
Tuple receives indicate whether channel is closed.

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

10 years ago2011-03-23 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Thu, 24 Mar 2011 02:47:55 +0000 (02:47 +0000)]
2011-03-23  Chung-Lin Tang  <cltang@codesourcery.com>

PR target/46934
* config/arm/arm.md (casesi): Use the gen_int_mode() function
to subtract lower bound instead of GEN_INT().

testsuite/
* gcc.target/arm/pr46934.c: New.

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

10 years ago2011-03-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 24 Mar 2011 01:48:57 +0000 (01:48 +0000)]
2011-03-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/48030
* io/read.c (read_x): Re-implement using fbuf_getc.

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

10 years agoCondition in if statement is not optional.
ian [Thu, 24 Mar 2011 00:40:21 +0000 (00:40 +0000)]
Condition in if statement is not optional.

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

10 years agoDaily bump.
gccadmin [Thu, 24 Mar 2011 00:18:27 +0000 (00:18 +0000)]
Daily bump.

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

10 years agoChange c <- v from an expression to a statement.
ian [Thu, 24 Mar 2011 00:01:44 +0000 (00:01 +0000)]
Change c <- v from an expression to a statement.
Don't do anything special if we don't use the value of <-c.
Fix sending an untyped constant in a select statement.

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

10 years ago * go.test/go-test.exp (errchk): Ignore lines containing ////.
ian [Wed, 23 Mar 2011 23:59:46 +0000 (23:59 +0000)]
* go.test/go-test.exp (errchk): Ignore lines containing ////.

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

10 years agoSend on a closed channel panics.
ian [Wed, 23 Mar 2011 21:13:57 +0000 (21:13 +0000)]
Send on a closed channel panics.
Calling close on a closed channel panics.
Don't limit number of receives on a closed channel.

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