OSDN Git Service

pf3gnuchains/gcc-fork.git
10 years ago PR rtl-optimization/42216
bernds [Wed, 17 Mar 2010 09:25:35 +0000 (09:25 +0000)]
PR rtl-optimization/42216
* regrename.c (create_new_chain): New function, broken out from...
(scan_rtx_reg): ... here.  Call it.  Handle the case where we are
appending a use to an empty chain.
(build_def_use): Remove previous changes that convert OP_INOUT to
OP_OUT operands; instead detect the case where an OP_INOUT operand
uses a previously untracked register and create an empty chain for
it.

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

10 years agoRewrite unfinished sentence in documentation.
rwild [Wed, 17 Mar 2010 06:18:19 +0000 (06:18 +0000)]
Rewrite unfinished sentence in documentation.

gcc/:
* doc/extend.texi (Function Attributes): Rewrite unfinished
sentence in ms_abi documentation.

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

10 years ago * config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var.
amodra [Wed, 17 Mar 2010 04:44:37 +0000 (04:44 +0000)]
* config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var.
* config/rs6000/linux64.h (TARGET_PROFILE_KERNEL): Define.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Don't use SET_PROFILE_KERNEL.
* config/rs6000/rs6000.c (SET_PROFILE_KERNEL): Don't define.

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

10 years ago2010-03-17 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Wed, 17 Mar 2010 00:36:05 +0000 (00:36 +0000)]
2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>

* doc/xml/manual/debug_mode.xml: Correct debug headers.

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

10 years ago * gcc.dg/graphite/block-3.c: Add dg-timeout-factor.
uros [Wed, 17 Mar 2010 00:30:23 +0000 (00:30 +0000)]
* gcc.dg/graphite/block-3.c: Add dg-timeout-factor.

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

10 years ago2010-03-17 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Wed, 17 Mar 2010 00:22:56 +0000 (00:22 +0000)]
2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/43397
* include/std/functional (_Mem_fn): Use perfect forwarding.
* testsuite/20_util/function/43397.cc: New.

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

10 years agoDaily bump.
gccadmin [Wed, 17 Mar 2010 00:16:36 +0000 (00:16 +0000)]
Daily bump.

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

10 years agoUpdate email address.
amodra [Wed, 17 Mar 2010 00:02:21 +0000 (00:02 +0000)]
Update email address.

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

10 years ago PR middle-end/43365
rth [Tue, 16 Mar 2010 23:02:35 +0000 (23:02 +0000)]
    PR middle-end/43365
        * tree-eh.c (replace_goto_queue): Also replace in the eh_seq.
        (lower_try_finally): Save and restore eh_seq around the expansion
        of the try-finally.

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

10 years ago2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 16 Mar 2010 23:01:28 +0000 (23:01 +0000)]
2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/43394
* include/parallel/compatibility.h: Add __k8 and __core2 among the
i386 targets supporting atomic operations.

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

10 years ago2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 16 Mar 2010 22:34:53 +0000 (22:34 +0000)]
2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/backward/hash_map: Use consistently the _BACKWARD_*
prefix for the include guard.
* include/backward/hash_fun.h: Likewise.
* include/backward/hashtable.h: Likewise.
* include/backward/auto_ptr.h: Likewise.
* include/backward/strstream: Likewise.
* include/backward/binders.h: Likewise.
* include/backward/hash_set: Likewise.

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

10 years ago * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
aldyh [Tue, 16 Mar 2010 20:04:04 +0000 (20:04 +0000)]
    * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
        statements before splitting block.

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

10 years ago2010-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
janis [Tue, 16 Mar 2010 17:17:33 +0000 (17:17 +0000)]
2010-03-16  Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* doc/sourcebuild.texi (Testsuites): Fix markup.
Use pathnames relative to gcc/testsuite.
(Test Directives): Move description of how timeout is determined.
(Ada Tests): Favor gnat.exp over ada/acats/tests/gcc.
(C Tests): Correct gcc.misc-tests directory.
Framework tests now live in gcc.test-framework.

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

10 years ago * MAINTAINERS: Remove Dan Hipschman, William Maddox and Chris
dnovillo [Tue, 16 Mar 2010 16:57:44 +0000 (16:57 +0000)]
* MAINTAINERS: Remove Dan Hipschman, William Maddox and Chris
Matthews.

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

10 years ago2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 16 Mar 2010 16:14:00 +0000 (16:14 +0000)]
2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/random.h (operator==(const uniform_int_distribution<>&,
const uniform_int_distribution<>&), operator==(const
uniform_real_distribution<>&, const uniform_real_distribution<>&),
operator==(const lognormal_distribution<>&,
const lognormal_distribution<>&), operator==(const
chi_squared_distribution<>&, const chi_squared_distribution<>&),
operator==(const cauchy_distribution<>&, const cauchy_distribution<>&),
operator==(const fisher_distribution<>&, const fisher_distribution<>&),
operator==(const student_t_distribution<>&,
const student_t_distribution<>&), operator==(const
bernoulli_distribution<>&, const bernoulli_distribution<>&),
operator==(const binomial_distribution<>&, const
binomial_distribution<>&), operator==(const geometric_distribution<>&,
const geometric_distribution<>&), operator==(const
negative_binomial_distribution<>&, const
negative_binomial_distribution<>&), operator==(const
poisson_distribution<>&, const poisson_distribution<>&),
operator==(const exponential_distribution<>&,
const exponential_distribution<>&), operator==(const
gamma_distribution<>&, const gamma_distribution<>&), operator==(const
weibull_distribution<>&, const weibull_distribution<>&),
operator==(const extreme_value_distribution<>&,
const extreme_value_distribution<>&), operator==(const
discrete_distribution<>&, const discrete_distribution<>&),
operator==(const piecewise_constant_distribution<>&,
const piecewise_constant_distribution<>&), operator==(const
piecewise_linear_distribution<>&, const
piecewise_linear_distribution<>&)): Add, likewise for operator!=.
(operator!=(const independent_bits_engine<>&, const
independent_bits_engine<>&), operator!=(const
subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&),
operator!=(const discard_block_engine<>&, const
discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&,
const mersenne_twister_engine<>&), operator!=(const
linear_congruential_engine<>&, const linear_congruential_engine<>&),
operator!=(const shuffle_order_engine<>&, const
shuffle_order_engine<>&): Add.
* include/bits/random.tcc (operator==(const normal_distribution<>&,
const normal_distribution<>&)): Add.
* testsuite/26_numerics/random/uniform_real_distribution/operators/
inequal.cc: New.
* testsuite/26_numerics/random/uniform_real_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
operators/inequal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/inequal.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
operators/inequal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/operators/
equal.cc: Likewise.

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

10 years ago * MAINTAINERS (Write After Approval): Remove Jim Blandy, Daniel
jsm28 [Tue, 16 Mar 2010 15:43:25 +0000 (15:43 +0000)]
* MAINTAINERS (Write After Approval): Remove Jim Blandy, Daniel
Gutson, Jeffrey D. Oldham and Mark Shinwell.

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

10 years ago * ada/acats/run_all.sh: Log start and end times.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Tue, 16 Mar 2010 14:46:43 +0000 (14:46 +0000)]
* ada/acats/run_all.sh: Log start and end times.

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

10 years ago * gnat.dg/socket1.adb: Disable on *-*-solaris2*.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Tue, 16 Mar 2010 14:43:43 +0000 (14:43 +0000)]
* gnat.dg/socket1.adb: Disable on *-*-solaris2*.

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

10 years agoDelete temporary output files.
hjl [Tue, 16 Mar 2010 14:06:40 +0000 (14:06 +0000)]
Delete temporary output files.

2010-03-16  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

PR lto/43336
* lto-plugin.c (cleanup_handler): Delete temporary output files.

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

10 years ago * MAINTAINERS: Update my email address.
jsm28 [Tue, 16 Mar 2010 14:00:48 +0000 (14:00 +0000)]
* MAINTAINERS: Update my email address.

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

10 years ago * MAINTAINERS: Update my email address.
drow [Tue, 16 Mar 2010 13:45:56 +0000 (13:45 +0000)]
* MAINTAINERS: Update my email address.

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

10 years agoAdd missing ChangeLog entries.
hjl [Tue, 16 Mar 2010 12:58:10 +0000 (12:58 +0000)]
Add missing ChangeLog entries.

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

10 years ago2010-03-16 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 16 Mar 2010 12:31:38 +0000 (12:31 +0000)]
2010-03-16  Richard Guenther  <rguenther@suse.de>

PR middle-end/43379
* tree-cfg.c (gimple_merge_blocks): When propagating virtual
PHI operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI
properly.

* gcc.dg/pr43379.c: New testcase.

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

10 years ago PR tree-optimization/42917
aldyh [Tue, 16 Mar 2010 11:33:45 +0000 (11:33 +0000)]
    PR tree-optimization/42917
        * lambda-code.c (remove_iv): Skip debug statements.
        (lambda_loopnest_to_gcc_loopnest): Likewise.
        (not_interesting_stmt): Debug statements are not interesting.

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

10 years ago PR debug/43051
jakub [Tue, 16 Mar 2010 10:50:42 +0000 (10:50 +0000)]
PR debug/43051
PR debug/43092
* cselib.c (cselib_preserve_constants,
cfa_base_preserved_val): New static variables.
(preserve_only_constants): New function.
(cselib_reset_table): If cfa_base_preserved_val is non-NULL, don't
clear its REG_VALUES.  If cselib_preserve_constants, don't
empty the whole hash table, but preserve there VALUEs with constants,
cfa_base_preserved_val and cfa_base_preserved_val plus constant.
(cselib_preserve_cfa_base_value): New function.
(cselib_invalidate_regno): Don't invalidate cfa_base_preserved_val.
(cselib_init): Change argument to int bitfield.  Set
cselib_preserve_constants to whether CSELIB_PRESERVE_CONSTANTS
is in it.
(cselib_finish): Clear cselib_preserve_constants and
cfa_base_preserved_val.
* cselib.h (enum cselib_record_what): New enum.
(cselib_init): Change argument to int.
(cselib_preserve_cfa_base_value): New prototype.
* postreload.c (reload_cse_regs_1): Adjust cselib_init caller.
* dse.c (dse_step1): Likewise.
* cfgcleanup.c (thread_jump): Likewise.
* sched-deps.c (sched_analyze): Likewise.
* gcse.c (local_cprop_pass): Likewise.
* simplify-rtx.c (simplify_replace_fn_rtx): Add argument to callback.
If FN is non-NULL, call the callback always and whenever it returns
non-NULL just return that.  Only do rtx_equal_p if FN is NULL.
* rtl.h (simplify_replace_fn_rtx): Add argument to callback.
* combine.c (propagate_for_debug_subst): Add old_rtx argument,
compare from with old_rtx and if it isn't rtx_equal_p, return NULL.
* Makefile.in (var-tracking.o): Depend on $(RECOG_H).
* var-tracking.c: Include recog.h.
(bb_stack_adjust_offset): Remove.
(vt_stack_adjustments): Don't call it, instead just gather the
adjustments using insn_stack_adjust_offset_pre_post on each bb insn.
(adjust_stack_reference): Remove.
(compute_cfa_pointer): New function.
(hard_frame_pointer_adjustment, cfa_base_rtx): New static variables.
(struct adjust_mem_data): New type.
(adjust_mems, adjust_mem_uses, adjust_mem_stores, adjust_insn): New
functions.
(get_address_mode): New function.
(replace_expr_with_values): Use it.
(use_type): Don't do cselib_lookup for VAR_LOC_UNKNOWN_P.
Use get_address_mode.  For cfa_base_rtx return MO_CLOBBER.
(adjust_sets): Remove.
(add_uses): Don't add extra MO_VAL_USE for cfa_base_rtx plus constant.
Use get_address_mode.
(get_adjusted_src): Remove.
(add_stores): Don't call it.  Never reuse expr SET.  Don't add extra
MO_VAL_USE for cfa_base_rtx plus constant.  Use get_address_mode.
(add_with_sets): Don't call adjust_sets.
(fp_setter, vt_init_cfa_base): New functions.
(vt_initialize): Change return type to bool.  Move most of pool etc.
initialization to the beginning of the function from end.  Pass
CSELIB_RECORD_MEMORY | CSELIB_PRESERVE_CONSTANTS to cselib_init.
If !frame_pointer_needed, call vt_stack_adjustment before mos
vector is filled, call vt_init_cfa_base if argp/framep has been
eliminated to sp.  If frame_pointer_needed and argp/framep has
been eliminated to hard frame pointer, set
hard_frame_pointer_adjustment and call vt_init_cfa_base after
encountering fp setter in the prologue.  For MO_ADJUST, call
log_op_type before pusing the op into mos vector, not afterwards.
Call adjust_insn before cselib_process_insn/add_with_sets,
call cancel_changes (0) afterwards.
(variable_tracking_main_1): Adjust for vt_initialize calling
vt_stack_adjustments and returning whether it succeeded or not.

* gcc.dg/guality/pr43051-1.c: New test.

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

10 years ago * testsuite/libmudflap.c/pass54-frag.c: Add explicit return from
davem [Tue, 16 Mar 2010 04:01:12 +0000 (04:01 +0000)]
* testsuite/libmudflap.c/pass54-frag.c: Add explicit return from
main.

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

10 years ago2010-03-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 16 Mar 2010 01:32:53 +0000 (01:32 +0000)]
2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.tcc (_Fwd_list_node_base::
_M_transfer_after): Return _Fwd_list_node_base*.
(forward_list<>::_M_splice_after): Add.
(forward_list<>::insert_after(const_iterator, size_type, const _Tp&),
insert_after(const_iterator, _InputIterator, _InputIterator),
insert_after(const_iterator, initializer_list<>)): Use the above,
implement DR 1278 ([Ready] in Pittsburgh).
* include/bits/forward_list.h (insert_after(const_iterator,
size_type, const _Tp&), insert_after(const_iterator, _InputIterator,
_InputIterator), insert_after(const_iterator, initializer_list<>)):
Only declare.
* testsuite/23_containers/forward_list/modifiers/2.cc: Adjust.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.

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

10 years agoDaily bump.
gccadmin [Tue, 16 Mar 2010 00:16:42 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago PR testsuite/43363
janis [Mon, 15 Mar 2010 21:27:23 +0000 (21:27 +0000)]
PR testsuite/43363
* g++.dg/ext/altivec-17.C: Handle changes to error message.

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

10 years ago * configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Mon, 15 Mar 2010 19:36:26 +0000 (19:36 +0000)]
* configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
* configure: Regenerate.
* fficonfig.h.in: Regenerate.
* libffi/src/x86/unix64.S (.eh_frame)
[HAVE_AS_X86_64_UNWIND_SECTION_TYPE]: Use @unwind section type.

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

10 years ago * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip
aldyh [Mon, 15 Mar 2010 19:18:49 +0000 (19:18 +0000)]
    * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip
        debug statements.

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

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

      * Complete last ChangeLog entry.

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

10 years ago * dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg
jakub [Mon, 15 Mar 2010 17:03:02 +0000 (17:03 +0000)]
* dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg
has been set.
(based_loc_descr): Use DW_OP_fbreg for vdrap_reg even when
drap_reg has not been set.

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

10 years ago2010-03-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 15 Mar 2010 17:02:16 +0000 (17:02 +0000)]
2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>

Revert:
2008-11-11  Bob Walters  <bob.s.walters@gmail.com>

* include/bits/forward_list.h: Support non-standard pointer types
(_Fwd_list_node_base): Add _Alloc template parameter.
(_Fwd_list_node<>): Likewise.
(_Fwd_list_iterator<>): Likewise.
(_Fwd_list_const_iterator<>): Likewise.
(_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
Use _Alloc<_Tp>::pointer.
(_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
(_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
_M_insert_after, _M_put_node, _M_erase_after): Likewise.
(_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
(forward_list<>): Use __static_pointer_cast in place of static_cast,
and __const_pointer_cast in place of const_cast.
* include/bits/forward_list.tcc
(_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
of standard pointers, __static_pointer_cast in place of static_cast.
(_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
Likewise.
(forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
splice_after, remove, remove_if, merge): Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/23_containers/forward_list/ext_pointer/requirements/
explicit_instantiation/3.cc: Likewise.
* testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.

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

10 years ago PR middle-end/43300
matz [Mon, 15 Mar 2010 16:13:28 +0000 (16:13 +0000)]
PR middle-end/43300
* tree-outof-ssa.c (emit_partition_copy): New argument sizeexp,
use it to expand block copies.
(insert_partition_copy_on_edge, insert_rtx_to_part_on_edge,
insert_part_to_rtx_on_edge): Adjust callers of emit_partition_copy.
(insert_value_copy_on_edge): Use store_expr for BLKmode values.

testsuite/
* gcc.dg/pr43300.c: New testcase.

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

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

PR tree-optimization/43367
* tree-cfg.c (gimple_can_merge_blocks_p): Simplify PHI
elimination check.

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

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

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

PR tree-optimization/43317
* ipa-struct-reorg.c (create_new_general_access): Update stmt.

* gcc.dg/pr43317.c: New testcase.

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

10 years ago2010-03-15 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 15 Mar 2010 11:43:04 +0000 (11:43 +0000)]
2010-03-15  Martin Jambor  <mjambor@suse.cz>

PR tree/optimization/43141
* tree-sra.c (create_abstract_origin): New function.
(modify_function): Call create_abstract_origin.

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

10 years ago * MAINTAINERS: Update my email address.
bernds [Mon, 15 Mar 2010 10:45:27 +0000 (10:45 +0000)]
* MAINTAINERS: Update my email address.

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

10 years ago2010-03-15 Chris Demetriou <cgd@google.com>
cgd [Mon, 15 Mar 2010 08:51:56 +0000 (08:51 +0000)]
2010-03-15  Chris Demetriou  <cgd@google.com>

        * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it
        wasn't copied.

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

10 years agoDaily bump.
gccadmin [Mon, 15 Mar 2010 00:16:38 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago * Fix previous ChangeLog entry.
uros [Sun, 14 Mar 2010 17:17:24 +0000 (17:17 +0000)]
* Fix previous ChangeLog entry.

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

10 years ago * g++.dg/abi/packed1.C: Expect warning on the alpha*-*-*.
uros [Sun, 14 Mar 2010 17:16:20 +0000 (17:16 +0000)]
* g++.dg/abi/packed1.C: Expect warning on the alpha*-*-*.

* g++.dg/graphite/pr43026.C (dg-options): Remove -m32.

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

10 years ago2010-03-14 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 14 Mar 2010 13:18:28 +0000 (13:18 +0000)]
2010-03-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43362
        * resolve.c (resolve_structure_cons): Add missing PURE
        * constraint.
        (resolve_ordinary_assign): Add check to avoid segfault.

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

        PR fortran/43362
        * gfortran.dg/impure_constructor_1.f90: New test.

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

10 years agoDaily bump.
gccadmin [Sun, 14 Mar 2010 00:16:41 +0000 (00:16 +0000)]
Daily bump.

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

10 years agoAdd ChangeLog entries.
spop [Sat, 13 Mar 2010 17:35:52 +0000 (17:35 +0000)]
Add ChangeLog entries.

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

10 years agoFix PR43354: Correctly handle default definitions.
spop [Sat, 13 Mar 2010 17:35:45 +0000 (17:35 +0000)]
Fix PR43354: Correctly handle default definitions.

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

PR middle-end/43354
* graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Do not
call insert_out_of_ssa_copy for default definitions.
* gfortran.dg/graphite/id-pr43354.f: New.

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

10 years agoAdd testcase from PR43349.
spop [Sat, 13 Mar 2010 17:35:37 +0000 (17:35 +0000)]
Add testcase from PR43349.

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

PR middle-end/43349
* gfortran.dg/graphite/pr43349.f: New.

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

10 years agoUse ssizetype when long_long_integer_type_node is NULL.
spop [Sat, 13 Mar 2010 17:35:29 +0000 (17:35 +0000)]
Use ssizetype when long_long_integer_type_node is NULL.

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

* graphite-clast-to-gimple.c (my_long_long): Defined.
(gcc_type_for_cloog_iv): Use it instead of long_long_integer_type_node.
* graphite-sese-to-poly.c (my_long_long): Defined.
(scop_ivs_can_be_represented): Use it.

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

10 years agoFix documentation of the new parameters.
spop [Sat, 13 Mar 2010 17:35:22 +0000 (17:35 +0000)]
Fix documentation of the new parameters.

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

* doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params,
graphite-max-bbs-per-function, and loop-block-tile-size.
* params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal"
with "maximum".
(PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same.

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

10 years agoCleanup: remove FIXMEs, add new function.
spop [Sat, 13 Mar 2010 17:35:15 +0000 (17:35 +0000)]
Cleanup: remove FIXMEs, add new function.

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

* graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove
forward declaration.
* graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment.
(add_upper_bounds_from_estimated_nit): New.
(build_loop_iteration_domains): Use it.

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

10 years agoDocument PARAM_LOOP_BLOCK_TILE_SIZE.
spop [Sat, 13 Mar 2010 17:35:08 +0000 (17:35 +0000)]
Document PARAM_LOOP_BLOCK_TILE_SIZE.

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

* doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document.

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

10 years agoFix PR43306: correct evolution_function_right_is_integer_cst.
spop [Sat, 13 Mar 2010 17:34:59 +0000 (17:34 +0000)]
Fix PR43306: correct evolution_function_right_is_integer_cst.

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

PR middle-end/43306
* tree-chrec.c (evolution_function_right_is_integer_cst): CHREC_RIGHT
should be an INTEGER_CST.  Also handle CASE_CONVERT.
* gcc.dg/graphite/pr43306.c: New.

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

10 years agoAdd PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.
spop [Sat, 13 Mar 2010 17:34:51 +0000 (17:34 +0000)]
Add PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.

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

* graphite.c (graphite_initialize): To bound the number of bbs per
function, use PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.
* params.def (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Declared.
* doc/invoke.texi: Document it.

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

10 years agoMake build_poly_scop not return a bool.
spop [Sat, 13 Mar 2010 17:34:44 +0000 (17:34 +0000)]
Make build_poly_scop not return a bool.

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

* graphite-sese-to-poly.c (build_poly_scop): Do not return bool.
* graphite-sese-to-poly.h (build_poly_scop): Same.

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

10 years agoLimit the number of parameters per SCoP.
spop [Sat, 13 Mar 2010 17:34:38 +0000 (17:34 +0000)]
Limit the number of parameters per SCoP.

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

* graphite-sese-to-poly.c (build_poly_scop): Limit scops following
the number of parameters in the scop.  Use as an upper bound
PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS.
* params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Declared.
* doc/invoke.texi: Document it.

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

10 years agoCorrect ChangeLog entry.
hjl [Sat, 13 Mar 2010 16:39:48 +0000 (16:39 +0000)]
Correct ChangeLog entry.

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

10 years ago2010-03-13 Matthias Klose <doko@ubuntu.com>
doko [Sat, 13 Mar 2010 14:27:27 +0000 (14:27 +0000)]
2010-03-13  Matthias Klose  <doko@ubuntu.com>

        PR libgcj/42676
        * Regenerate .h files for anonymous inner classes.

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

10 years ago2010-03-13 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sat, 13 Mar 2010 12:47:09 +0000 (12:47 +0000)]
2010-03-13  Paolo Carlini  <paolo.carlini@oracle.com>

* include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.

* include/bits/stl_algo.h: Improve comment.

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

10 years ago2010-03-13 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sat, 13 Mar 2010 05:38:08 +0000 (05:38 +0000)]
2010-03-13  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi.
* doc/c-tree.texi: Remove.
* doc/generic.texi: Merge c-tree.texi here.
* doc/gccint.texi (Trees): Remove menu entry.
(c-tree.texi): Remove @include.
* doc/rtl.texi (Reading RTL): Update pxref from Trees to GENERIC.
* doc/languages.texi (Reading RTL): Ditto.

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

10 years ago * gcc.dg/lto/20090313_0.c: Add -mcpu=v9 to dg-lto-options on
davem [Sat, 13 Mar 2010 01:32:32 +0000 (01:32 +0000)]
* gcc.dg/lto/20090313_0.c: Add -mcpu=v9 to dg-lto-options on
sparc.

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

10 years ago * gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code.
ghazi [Sat, 13 Mar 2010 01:27:06 +0000 (01:27 +0000)]
* gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code.

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

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

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

10 years ago2010-03-12 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 12 Mar 2010 22:00:52 +0000 (22:00 +0000)]
2010-03-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43291
PR fortran/43326
* resolve.c (resolve_compcall): Add new boolean dummy argument
'class_members'. Only resolve expression at end if false.
Remove redundant, static variable 'class_object'.
(check_class_members): Add extra argument to call of
resolve_compcall.
(resolve_typebound_function): Renamed resolve_class_compcall.
Do all the detection of class references here. Correct calls to
resolve_compcall for extra argument.
(resolve_typebound_subroutine): resolve_class_typebound_call
renamed. Otherwise same as resolve_typebound_function.
(gfc_resolve_expr): Call resolve_typebound_function.
(resolve_code): Call resolve_typebound_subroutine.

2010-03-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43291
PR fortran/43326
* gfortran.dg/dynamic_dispatch_7.f03: New test.

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

10 years ago2010-03-12 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 12 Mar 2010 18:19:14 +0000 (18:19 +0000)]
2010-03-12  Steve Ellcey  <sje@cup.hp.com>

PR target/42869
* config/ia64/sync.md (sync_compare_and_swap): Move memory fence.

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

10 years ago2010-03-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 12 Mar 2010 17:35:19 +0000 (17:35 +0000)]
2010-03-12  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Adjust.
* doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
* doc/xml/api.xml: Update.
* doc/Makefile.am: Re-do stamp rules.
* doc/Makefile.in: Regenerate.

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

10 years agoRemove band-aid no longer needed by the fix in PR 43431
meissner [Fri, 12 Mar 2010 15:11:25 +0000 (15:11 +0000)]
Remove band-aid no longer needed by the fix in PR 43431

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

10 years ago2010-03-12 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 12 Mar 2010 14:43:55 +0000 (14:43 +0000)]
2010-03-12  Kai Tietz  <kai.tietz@onevision.com>

        PR/42950
        * io/format.c (parse_format_list): Add to ERROR, WARNING,
        SILENT enumerators NOTIFICATION_ prefix.
        * runtime/error.c (notification_std): Likewise.
        * libgfortran.h (notification): Likewise.
        (GFC_LARGEST_BUF): Check for HAVE_GFC_INTEGER_16.

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

10 years ago2010-03-12 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 12 Mar 2010 14:40:42 +0000 (14:40 +0000)]
2010-03-12  Kai Tietz  <kai.tietz@onevision.com>

        * gfortran.dg/default_format_denormal_1.f90: Don't assume
        fail for *-*-mingw* targets.

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

10 years ago * cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove.
jakub [Fri, 12 Mar 2010 13:27:43 +0000 (13:27 +0000)]
* cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove.
(cselib_preserve_definitely, cselib_clear_preserve): Remove.
(cselib_preserve_only_values): Remove retain argument, don't
traverse hash table with cselib_{preserve_definitely,clear_preserve}.
* cselib.h (cselib_preserve_only_values): Remove retain argument.
* var-tracking.c (micro_operation): Move insn field before union.
Add DEF_VEC_O and DEF_VEC_ALLOC_O for this type.
(struct variable_tracking_info_def): Remove n_mos field, change
mos into a vector of micro_operations.
(count_uses, count_uses_1, count_stores, count_with_sets): Remove.
(bb_stack_adjust_offset, log_op_type, add_uses, add_stores,
compute_bb_dataflow, emit_notes_in_bb): Adjust for VTI (bb)->mos
changing into a vector.
(add_with_sets): Likewise.  Ensure MO_VAL_USE uops from add_stores
come before all other uops generated by add_stores.
(vt_add_function_parameters): Adjust for cselib_preserve_only_values
argument removal.
(vt_initialize): Likewise.  Adjust for VTI (bb)->mos changing into
a vector.  Run just one pass over the bbs instead of separate counting
and computation phase.
(vt_finalize): Free VTI (bb)->mos vector instead of array.

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

10 years ago PR debug/43329
jakub [Fri, 12 Mar 2010 13:04:37 +0000 (13:04 +0000)]
PR debug/43329
* tree-inline.c (remap_decls): Put old_var rather than origin_var
into *nonlocalized_list vector.
* dwarf2out.c (gen_formal_parameter_die): Call decl_ultimate_origin
even if origin is non-NULL.
(gen_variable_die): Likewise.
(process_scope_var): Don't change origin.
(gen_decl_die): Likewise.
* tree-cfgcleanup.c (remove_forwarder_block): Check single_pred_p
before adding new edges instead of after it, fix moving over
debug stmts.

* gcc.dg/guality/pr43329-1.c: New test.

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

10 years agoAdd comment about changing directory references.
korbb [Fri, 12 Mar 2010 05:21:19 +0000 (05:21 +0000)]
Add comment about changing directory references.

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

10 years agoRestore the "#undef" in the test text, too.
korbb [Fri, 12 Mar 2010 04:09:29 +0000 (04:09 +0000)]
Restore the "#undef" in the test text, too.

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

10 years agoundo some of the damage
korbb [Fri, 12 Mar 2010 04:00:32 +0000 (04:00 +0000)]
undo some of the damage

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

10 years agothe fixinc directory is now "fixincludes"
korbb [Fri, 12 Mar 2010 03:49:08 +0000 (03:49 +0000)]
the fixinc directory is now "fixincludes"

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

10 years ago * configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.
davem [Fri, 12 Mar 2010 02:54:17 +0000 (02:54 +0000)]
* configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.
* configure: Rebuild.

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

10 years agoDaily bump.
gccadmin [Fri, 12 Mar 2010 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago2010-03-11 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 11 Mar 2010 22:27:26 +0000 (22:27 +0000)]
2010-03-11  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/43257
* tree.c (assign_assembler_name_if_neeeded): New function.
(free_lang_data_in_cgraph): Assembler name assignment moved to the
above new function.
* tree.h (assign_assembler_name_if_neeeded): Declare.
* cgraphunit.c (cgraph_analyze_function): Create an assembler name for
the function if needed.

* testsuite/g++.dg/torture/pr43257.C: New test.

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

10 years ago2010-03-11 Chris Demetriou <cgd@google.com>
cgd [Thu, 11 Mar 2010 20:31:01 +0000 (20:31 +0000)]
2010-03-11  Chris Demetriou  <cgd@google.com>

        * Makefile.in (stmp-int-hdrs): Make include/unwind.h,
        include/stdint-gcc.h, and include/stdint.h world-readable.

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

10 years ago2010-03-11 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 11 Mar 2010 16:06:37 +0000 (16:06 +0000)]
2010-03-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43228
        * io/list_read.c (nml_parse_qualifier): Disable expanded_read
        for array sections.

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

        PR fortran/43228
        * gfortran.dg/namelist_61.f90: New test.

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

10 years ago2010-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 11 Mar 2010 15:08:24 +0000 (15:08 +0000)]
2010-03-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43255
* tree-vrp.c (process_assert_insertions_for): Do not insert
asserts for trivial conditions.

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

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

10 years ago2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 11 Mar 2010 13:51:00 +0000 (13:51 +0000)]
2010-03-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR tree-optimization/43280
* tree-ssa-math-opts.c (find_bswap_1): Modify symbolic number generation.
Move calculation of size out of the if branch.
(find_bswap): Modify compare number generation.

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

* gcc.dg/optimize-bswapdi-1.c: Add OpenSSL bswap variant.
* gcc.dg/pr43280.c: New testcase.

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

10 years ago2010-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 11 Mar 2010 13:13:53 +0000 (13:13 +0000)]
2010-03-11  Richard Guenther  <rguenther@suse.de>

PR lto/43200
* lto-streamer-in.c (maybe_fixup_decls): Simplify.
(input_gimple_stmt): Fixup handled component types during
operand read.  Also fix up decls in ADDR_EXPRs.

* gcc.dg/lto/20100227-1_0.c: New testcase.
* gcc.dg/lto/20100227-1_1.c: Likewise.

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

10 years ago Fix entry note.
jvdelisle [Thu, 11 Mar 2010 02:28:33 +0000 (02:28 +0000)]
Fix entry note.

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

10 years ago2010-03-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 11 Mar 2010 02:26:36 +0000 (02:26 +0000)]
2010-03-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43320
PR libfortran/43265
* gfortran.dg/read_eof_6.f: New test
* gfortran.dg/read_x_eof.f90: Update test.
* gfortran.dg/read_x_past.f: Update test.

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

10 years ago2010-03-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 11 Mar 2010 02:15:33 +0000 (02:15 +0000)]
2010-03-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43320
* io/transfer.c (next_record_r): Add hit_eof based on item_count
condition.

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

10 years agoDaily bump.
gccadmin [Thu, 11 Mar 2010 00:17:00 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago2010-05-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 23 May 2010 00:00:17 +0000 (00:00 +0000)]
2010-05-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/43851
* match.c (gfc_match_stopcode): Use gfc_match_init_expr. Go to cleanup
before returning MATCH_ERROR. Add check for scalar. Add check for
default integer kind.

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

10 years agogcc/ChangeLog:
steven [Sat, 22 May 2010 22:24:53 +0000 (22:24 +0000)]
gcc/ChangeLog:
* coretypes.h (struct simple_bitmap_def, sbitmap, const_sbitmap):
New core types.
* sbitmap.h (struct sbitmap_def): Do not typedef here.
* sbitmap.c: Include sbitmap.h.
* basic-block.h: Do not include bitmap.h, sbitmap.h, partition.h,
hard-reg-set.h.  Split everything related to regsets out from here...
* regset.h: ...to here.  New file.
* df.h: Include regset.h and sbitmap.h.
* tree-flow.h: Likewise.
* cfgloop.h: Likewise.
* except.h: Do not include sbitmap.h.  Include hashtab.h.
* cgraph.h: Include vec.h and function.h.
* reload.h (struct insn_chain): Change types of live_throughout
and dead_or_set from regset_head to bitmap_head.
(compute_use_by_pseudos): Be defined also if regset.h is not included.
* ira-int.h (struct ira_spilled_reg_stack_slot): Change type of
spilled_regs from regset_head to bitmap_head to avoid dependency
in regset.h.
* sel-sched-ir.h: Include regset.h.
* reload.c: Include df.h before reload.h.
* caller-save.c: Likewise.
* reload1.c: Likewise.
* ira.c: Likewise.
(mark_elimination): Update type of r to bitmap, consistent with
DF_LR_IN.
* dominance.c: Include bitmap.h.
* modulo-sched.c: Include df.h.
* cfganal.c: Include bitmap.h and sbitmap.h.
* cfgbuild.c: Include sbitmap.h.
* lcm.c: Include sbitmap.h.
* gcse.c (alloc_gcse_mem): Allocate regset with ALLOC_REG_SET.
* domwalk.c: Include sbitmap.h, exclude ggc.h.
* cfgexpand.c: Inlcude bitmap.h and sbitmap.h.
* cselib.c: Include bitmap.h.
* tree-optimize.c: Include regset.h.
* stmt.c: Include bitmap.h.
* Makefile.in: Update dependencies.

cp/ChangeLog
* semantics.c: Include bitmap.h.
* Make-lang.in: Update dependencies.

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

10 years ago2010-05-22 Janus Weil <janus@gcc.gnu.org>
janus [Sat, 22 May 2010 18:55:53 +0000 (18:55 +0000)]
2010-05-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44212
* match.c (gfc_match_select_type): On error jump back out of the local
namespace.
* parse.c (parse_derived): Defer creation of vtab symbols to resolution
stage, more precisely to ...
* resolve.c (resolve_fl_derived): ... this place.

2010-05-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44212
* gfortran.dg/class_22.f03: New.

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

10 years agodarwin assembler does not support .type
iains [Sat, 22 May 2010 17:34:46 +0000 (17:34 +0000)]
darwin assembler does not support .type

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

10 years ago * decl2.c (maybe_emit_vtables): Produce same comdat group when outputting
hubicka [Sat, 22 May 2010 14:48:40 +0000 (14:48 +0000)]
* decl2.c (maybe_emit_vtables): Produce same comdat group when outputting
comdat vtables.
(cxx_callgraph_analyze_expr): Remove code marking vtables needed.

* cgraph.h (struct varpool_node): Add same_comdat_group.
* lto-cgrpah.c (lto_output_varpool_node): Output same_comdat_group
pointer.
(output_varpool): Update call of lto_output_varpool_node.
(input_varpool): Read same_comdat_group pointer.
(input_varpool_1): Fixup same_comdat_group pointer.
* ipa.c (cgraph_remove_unreachable_nodes): WHen one of same comdat
group is needed, all are.
* varpool.c (varpool_remove_node): Remove node from same comdat group
linklist too.
(varpool_analyze_pending_decls): Walk same comdat groups.

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

10 years ago * rtl.h (union rtunion_def): Remove rt_bit member.
steven [Sat, 22 May 2010 14:15:50 +0000 (14:15 +0000)]
* rtl.h (union rtunion_def): Remove rt_bit member.
(XBITMAP, X0BITMAP, XCBITMAP): Remove.
* print-rtl (print_rtx): Do not print the member.
* gengtype.c (adjust_field_rtx_def): Do not handle it.
* gengenrtl.c (type_from_format): Likewise.
(accessor_from_format): Likewise.

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

10 years ago * dbgcnt.c: Include toplev.h instead of errors.h.
jsm28 [Sat, 22 May 2010 13:46:01 +0000 (13:46 +0000)]
* dbgcnt.c: Include toplev.h instead of errors.h.
* ira-emit.c: Don't include errors.h.
* ira.c: Include toplev.h instead of errors.h.
* lto-compress.c: Include toplev.h instead of errors.h.
* Makefile.in (lto-compress.o, lto-streamer-out.o, ira-emit.o,
ira.o, dbgcnt.o): Update dependencies.

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

10 years ago2010-05-22 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 22 May 2010 12:56:53 +0000 (12:56 +0000)]
2010-05-22  Richard Guenther  <rguenther@suse.de>

* gimple.c (gimple_types_compatible_p): Check type qualifications
before merging pointer to complete and pointer to incomplete type.
* lto-symtab.c (lto_symtab_resolve_symbols): For commons make sure
we use our own resolution algorithm.  The gold linker plugin
doesn't do the job we want it to do here.

lto/
* lto.c (read_cgraph_and_symbols): Do not collect.

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

10 years ago2010-05-22 Janus Weil <janus@gcc.gnu.org>
janus [Sat, 22 May 2010 10:21:32 +0000 (10:21 +0000)]
2010-05-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44213
* resolve.c (ensure_not_abstract): Allow abstract types with
non-abstract ancestors.

2010-05-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44213
* gfortran.dg/abstract_type_7.f03: New.

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

10 years ago * config/sparc/sparc.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
aesok [Sat, 22 May 2010 09:15:37 +0000 (09:15 +0000)]
* config/sparc/sparc.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
* config/sparc/sparc.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
(sparc_mode_dependent_address_p): New function.

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

10 years agoDaily bump.
gccadmin [Sat, 22 May 2010 00:17:24 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago * Makefile.in: Fix c-pch.o and ggc-common.o dependencies on timevars.
steven [Fri, 21 May 2010 23:00:23 +0000 (23:00 +0000)]
* Makefile.in: Fix c-pch.o and ggc-common.o dependencies on timevars.

* timevar.c: Do not include any core headers.
(timevar_print): De-i18n-ize.
(print_time): Likewise.
* timevar.h (timevar_push, timevar_pop): Make inline functions.

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

10 years ago * cxx-pretty-print.c: Correct merge error.
jsm28 [Fri, 21 May 2010 22:58:12 +0000 (22:58 +0000)]
* cxx-pretty-print.c: Correct merge error.

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