OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years ago2008-01-17 H.J. Lu <hjl.tools@gmail.com>
hjl [Thu, 17 Jan 2008 23:44:24 +0000 (23:44 +0000)]
2008-01-17  H.J. Lu  <hjl.tools@gmail.com>

* MAINTAINERS: Update my email address.

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

13 years ago PR target/34814
janis [Thu, 17 Jan 2008 22:29:46 +0000 (22:29 +0000)]
PR target/34814
* gcc.target/powerpc/ppc32-abi-dfp-1.c: Enable checks that will fail
until 34814 is fixed.

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

13 years agohttp://gcc.gnu.org/ml/gcc-patches/2008-01/msg00764.html
amacleod [Thu, 17 Jan 2008 21:37:14 +0000 (21:37 +0000)]
gcc.gnu.org/ml/gcc-patches/2008-01/msg00764.html

Teach SCCVN that throwing expressions are not to be regenerated.

2008-01-17  Andrew MacLeod  <amacleod@redhat.com>

* tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying. * gcc.c-torture/compile/pr34648.c: New testcase.

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

13 years ago * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
aesok [Thu, 17 Jan 2008 20:52:27 +0000 (20:52 +0000)]
* config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
* config/avr/avr.opt (mrelax, mpmem-wrap-around): Add.

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

13 years ago2008-01-17 Seongbae Park <seongbae.park@gmail.com>
spark [Thu, 17 Jan 2008 20:02:56 +0000 (20:02 +0000)]
2008-01-17  Seongbae Park  <seongbae.park@gmail.com>

PR rtl-optimization/34400
* df-core.c (df_worklist_dataflow_overeager,
df_worklist_dataflow_doublequeue): New functions.
(df_worklist_dataflow): Two different worklist solvers.
* params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR):
New param.

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

13 years ago2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
spop [Thu, 17 Jan 2008 18:00:41 +0000 (18:00 +0000)]
2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>

PR testsuite/34821
* doc/invoke.texi: Document the dependence on pthread for fopenmp
and ftree-parallelize-loops.

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

13 years ago2008-01-17 Sebastian Pop <sebastian.pop@amd.com>
spop [Thu, 17 Jan 2008 17:54:56 +0000 (17:54 +0000)]
2008-01-17  Sebastian Pop  <sebastian.pop@amd.com>

PR testsuite/34821
* gcc.dg/autopar/autopar.exp: New.
* g++.dg/tree-ssa/pr34355.C: Require pthread.
* lib/target-supports.exp (check_effective_target_pthread): New.

* gcc.dg/tree-ssa/parallelization-1.c: Moved to gcc.dg/autopar.
* gcc.dg/tree-ssa/reduc-1short.c: Same.
* gcc.dg/tree-ssa/reduc-1.c: Same.
* gcc.dg/tree-ssa/reduc-2short.c: Same.
* gcc.dg/tree-ssa/reduc-2.c: Same
* gcc.dg/tree-ssa/reduc-3.c: Same.
* gcc.dg/tree-ssa/reduc-1char.c: Same.
* gcc.dg/tree-ssa/reduc-6.c: Same.
* gcc.dg/tree-ssa/reduc-7.c: Same.
* gcc.dg/tree-ssa/reduc-2char.c: Same.
* gcc.dg/tree-ssa/reduc-8.c: Same.
* gcc.dg/tree-ssa/reduc-9.c: Same.

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

13 years agoFix 34826
revitale [Thu, 17 Jan 2008 17:49:32 +0000 (17:49 +0000)]
Fix 34826

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

13 years ago2008-01-17 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Thu, 17 Jan 2008 16:18:59 +0000 (16:18 +0000)]
2008-01-17  Andreas Krebbel  <krebbel1@de.ibm.com>

* global.c (find_reg): Mark the eh regs as used if necessary.
* ra-conflict.c (global_conflicts): Set no_eh_reg flag.
* ra.h (struct allocno): no_eh_reg field added.  Changed
no_stack_reg type to bitfield.

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

13 years ago * tree.c (substitute_in_expr): Add missing 'break'.
ebotcazou [Thu, 17 Jan 2008 16:04:10 +0000 (16:04 +0000)]
    * tree.c (substitute_in_expr): Add missing 'break'.
ada/
        * utils.c (build_function_stub): Properly build the call expression.

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

13 years ago * gcc.c-torture/compile/20080114-1.c: Use empty asm statements.
ebotcazou [Thu, 17 Jan 2008 12:42:20 +0000 (12:42 +0000)]
* gcc.c-torture/compile/20080114-1.c: Use empty asm statements.

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

13 years ago2008-01-17 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 17 Jan 2008 12:17:24 +0000 (12:17 +0000)]
2008-01-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34825
* tree-ssa-math-opts.c (is_division_by): Do not recognize
x / x as division to handle.

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

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

13 years ago2008-01-17 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 17 Jan 2008 12:13:53 +0000 (12:13 +0000)]
2008-01-17  Richard Guenther  <rguenther@suse.de>

        * gcc.c-torture/execute/20080117-1.c: New testcase.

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

13 years agoFix pr30957-1.c testcase
revitale [Thu, 17 Jan 2008 10:19:58 +0000 (10:19 +0000)]
Fix pr30957-1.c testcase

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

13 years ago2008-01-17 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 17 Jan 2008 07:19:04 +0000 (07:19 +0000)]
2008-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34429
PR fortran/34431
PR fortran/34471
* decl.c : Remove gfc_function_kind_locus and
gfc_function_type_locus. Add gfc_matching_function.
(match_char_length): If matching a function and the length
does not match, return MATCH_YES and try again later.
(gfc_match_kind_spec): The same.
(match_char_kind): The same.
(gfc_match_type_spec): The same for numeric and derived types.
(match_prefix): Rename as gfc_match_prefix.
(gfc_match_function_decl): Except for function valued character
lengths, defer applying kind, type and charlen info until the
end of specification block.
gfortran.h (gfc_statement): Add ST_GET_FCN_CHARACTERISTICS.
parse.c (decode_specification_statement): New function.
(decode_statement): Call it when a function has kind = -1. Set
and reset gfc_matching function, as function statement is being
matched.
(match_deferred_characteristics): Simplify with a single call
to gfc_match_prefix. Do appropriate error handling. In any
case, make sure that kind = -1 is reset or corrected.
(parse_spec): Call above on seeing ST_GET_FCN_CHARACTERISTICS.
Throw an error if kind = -1 after last specification statement.
parse.h : Prototype for gfc_match_prefix.

2008-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34429
* gfortran.dg/function_charlen_1.f90: New test.

PR fortran/34431
* gfortran.dg/function_types_1.f90: New test.
* gfortran.dg/function_types_2.f90: New test.

PR fortran/34471
* gfortran.dg/function_kinds_4.f90: New test.
* gfortran.dg/function_kinds_5.f90: New test.

* gfortran.dg/defined_operators_1.f90: Errors now at function
declarations.
* gfortran.dg/private_type_4.f90: The same.
* gfortran.dg/interface_15.f90: The same.
* gfortran.dg/elemental_args_check_2.f90: The same.
* gfortran.dg/auto_internal_assumed.f90: The same.

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

13 years ago Log entry for last change.
danglin [Thu, 17 Jan 2008 04:36:40 +0000 (04:36 +0000)]
Log entry for last change.

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

13 years ago * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or
danglin [Thu, 17 Jan 2008 03:55:34 +0000 (03:55 +0000)]
* pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or
"-pthread" is specified.
* pa-hpux11.h (LIB_SPEC): Likewise.

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

13 years ago PR rtl-optimization/33796
bergner [Thu, 17 Jan 2008 03:21:36 +0000 (03:21 +0000)]
PR rtl-optimization/33796
* sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc.

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

13 years ago PR libgfortran/34699
danglin [Thu, 17 Jan 2008 02:48:20 +0000 (02:48 +0000)]
PR libgfortran/34699
* pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
static links.
* pa-hpux10.h (LINK_SPEC): Likewise.
* pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.

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

13 years agoDaily bump.
gccadmin [Thu, 17 Jan 2008 00:17:29 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago * gnat.dg/sizetype.adb: New test.
ebotcazou [Wed, 16 Jan 2008 22:14:43 +0000 (22:14 +0000)]
* gnat.dg/sizetype.adb: New test.

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

13 years ago2008-01-16 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 16 Jan 2008 21:51:57 +0000 (21:51 +0000)]
2008-01-16  Richard Guenther  <rguenther@suse.de>

PR middle-end/32628
* fold-const.c (fold_convert_const_int_from_int): Do not
set overflow if that occured only because of a sign extension
change when converting from/to a sizetype with the same
precision and signedness.

* gcc.dg/overflow-warn-7.c: New testcase.

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

13 years ago PR debug/34249
uros [Wed, 16 Jan 2008 21:20:39 +0000 (21:20 +0000)]
    PR debug/34249
        * dwarf2out.c (output_call_frame_info): Move output of FDE initial
        location address to the correct place.  Update copyright year.

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

13 years ago2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 16 Jan 2008 19:26:26 +0000 (19:26 +0000)]
2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>

* lambda-code.c (lambda_transform_legal_p): Handle the case of
no dependences in the dependence_relations vector.

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

13 years ago PR rtl-optimization/31396
hubicka [Wed, 16 Jan 2008 16:32:05 +0000 (16:32 +0000)]
PR rtl-optimization/31396
* regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED.
* cfg.c (dump_reg_info): Print it.
* regs.h (struct reg_info_t): add freq_calls_crossed.
(REG_FREQ_CALLS_CROSSED): New macro.
* global.c (global_alloc): Compute freq_calls_crossed for allocno.
(find_reg): Update call of CALLER_SAVE_PROFITABLE.
* regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
regmove_optimize): Update call crossed frequencies.
* local-alloc.c (struct qty): Add freq_calls_crossed.
(alloc_qty): Copute freq_calls_crossed.
(update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED.
(find_free_reg): Update call of CALLER_SAVE_PROFITABLE.
* ra.h (struct allocno): Add freq_calls_crossed.

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

13 years ago * gcc.dg/tree-ssa/loop-19.c: Require nonpic.
ghazi [Wed, 16 Jan 2008 16:29:11 +0000 (16:29 +0000)]
* gcc.dg/tree-ssa/loop-19.c: Require nonpic.

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

13 years ago * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for
spop [Wed, 16 Jan 2008 16:23:20 +0000 (16:23 +0000)]
* gcc.c (LINK_COMMAND_SPEC): Add includes and link options for
libgomp when compiling with ftree-parallelize-loops.
(GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops.

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

13 years ago2008-01-16 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 16 Jan 2008 16:00:17 +0000 (16:00 +0000)]
2008-01-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34769
* tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458.
* tree.c (int_cst_value): Instead make this function more
permissive in what it accepts as valid input.  Document this
function always sign-extends the value.

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

13 years ago2008-01-16 Jakub Jelinek <jakub@redhat.com>
rguenth [Wed, 16 Jan 2008 13:41:13 +0000 (13:41 +0000)]
2008-01-16  Jakub Jelinek  <jakub@redhat.com>
Richard Guenther  <rguenther@suse.de>

PR c/34668
* gimplify.c (fold_indirect_ref_rhs): Rename to ...
(gimple_fold_indirect_ref_rhs): ... this.
(gimple_fold_indirect_ref): New function with foldings
that preserve lvalueness.
(gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs.
* tree-flow.h (gimple_fold_indirect_ref): Declare.
* tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref
to fold an INDIRECT_REF, fall back to the old use of
fold_indirect_ref_1.

* gcc.dg/pr34668-1.c: New test.
* gcc.dg/pr34668-2.c: Likewise.

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

13 years ago2008-01-16 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 16 Jan 2008 13:16:50 +0000 (13:16 +0000)]
2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>

* tree-data-ref.c (subscript_dependence_tester_1): Call
free_conflict_function.
(compute_self_dependence): Same.

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

13 years ago PR debug/34249
uros [Wed, 16 Jan 2008 11:10:27 +0000 (11:10 +0000)]
PR debug/34249
* debug.h (dwarf2out_switch_text_section): Move declaration from ...
* dwarf2out.c (dwarf2out_switch_text_section): ... here.  Make
function global.
* final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]:
Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section
for DWARF2_UNWIND_INFO targets.

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

13 years ago2008-01-16 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 16 Jan 2008 09:46:29 +0000 (09:46 +0000)]
2008-01-16  Richard Guenther  <rguenther@suse.de>

PR c++/33819
* typeck.c (is_bitfield_expr_with_lowered_type): Recurse
for conversions to type variants.

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

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

13 years ago2008-01-16 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 16 Jan 2008 09:44:23 +0000 (09:44 +0000)]
2008-01-16  Richard Guenther  <rguenther@suse.de>

PR c/34768
* c-typeck.c (common_pointer_type): Do not merge inconsistent
type qualifiers for function types.

* gcc.c-torture/execute/pr34768-1.c: New testcase.
* gcc.c-torture/execute/pr34768-2.c: Likewise.

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

13 years ago2008-01-16 Steven Bosscher <steven@gcc.gnu.org>
burnus [Wed, 16 Jan 2008 09:13:39 +0000 (09:13 +0000)]
2008-01-16  Steven Bosscher  <steven@gcc.gnu.org>

        PR libfortran/34669
        * mk-kinds-h.sh: Compile with -S to avoid calling the assembler,
        to avoid piping the -fdump-parse-tree output to the assembler
        when configuring with -pipe.
        * mk-sik-inc.sh: Likewise.
        * mk-srk-inc.sh: Likewise.

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

13 years ago2008-01-16 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 16 Jan 2008 07:12:00 +0000 (07:12 +0000)]
2008-01-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34796
        * interface.c (compare_parameter): Allow AS_DEFERRED array
        elements and reject attr.pointer array elemenents.
        (get_expr_storage_size): Return storage size of elements of
        assumed-shape and pointer arrays.

2008-01-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34796
        * gfortran.dg/argument_checking_13.f90: New.
        * gfortran.dg/argument_checking_14.f90: New.

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

13 years ago2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 16 Jan 2008 04:17:49 +0000 (04:17 +0000)]
2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>

* tree-parloops (gen_parallel_loop): Revert my fix.

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

13 years ago2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 16 Jan 2008 04:14:21 +0000 (04:14 +0000)]
2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>

* tree-parloops.c (gen_parallel_loop): Fix previous change, declare li.

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

13 years ago2008-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 16 Jan 2008 04:04:37 +0000 (04:04 +0000)]
2008-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for
loop_iterator li from previous commit.

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

13 years ago2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 16 Jan 2008 02:46:46 +0000 (02:46 +0000)]
2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>

* tree-parloops.c (gen_parallel_loop): Free loop bound estimations.

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

13 years ago2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 16 Jan 2008 02:44:04 +0000 (02:44 +0000)]
2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>

* tree-parloops.c (loop_has_blocks_with_irreducible_flag): New.
(parallelize_loops): Don't parallelize irreducible components.

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

13 years agoDaily bump.
gccadmin [Wed, 16 Jan 2008 00:17:28 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 15 Jan 2008 23:45:28 +0000 (23:45 +0000)]
2008-01-15  Sebastian Pop  <sebastian.pop@amd.com>

* f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins
for flag_tree_parallelize_loops.

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

13 years ago2008-01-15 Andreas Tobler <a.tobler@schweiz.org>
rguenth [Tue, 15 Jan 2008 22:58:02 +0000 (22:58 +0000)]
2008-01-15  Andreas Tobler  <a.tobler@schweiz.org>

        * parser.c (cp_parser_template_parameter): Fix C90 issue with mixing
        declaration and code.  Update copyright year.

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

13 years ago2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Tue, 15 Jan 2008 21:22:07 +0000 (21:22 +0000)]
2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34671
* gfortran.am: Added _gfortran_all_l1, _gfortran_all_l2,
_gfortran_any_l1, _gfortran_any_l2, -28,15 _gfortran_count_1_l,
_gfortran_count_16_l, _gfortran_count_2_l, _gfortran_count_4_l and
_gfortran_count_8_l Removed _gfortran_count_16_l16,
_gfortran_count_16_l4, _gfortran_count_16_l8,
_gfortran_count_4_l16, _gfortran_count_4_l4, _gfortran_count_4_l8,
_gfortran_count_8_l16, _gfortran_count_8_l4 and
_gfortran_count_8_l8.
* Makefile.am: Added generated/any_l1.c and generated/any_l2.c to
i_any_c.  Added generated/all_l1. and generated/all_l2.c to
i_all_c.  Removed generated/count_4_l4.c, generated/count_8_l4.c,
generated/count_16_l4.c, generated/count_4_l8.c,
generated/count_8_l8.c, generated/count_16_l8.c,
generated/count_4_l16.c, generated/count_8_l16.c, and
generated/count_16_l16.c from i_count_c.  Added count_1_l.c,
count_2_l.c, count_4_l.c, count_8_l.c and count_16_l.c to
i_count_c.  I_M4_DEPS2 depends on ifunction_logical.m4, for
any of the files generated from all.m4, any.m4 and count.m4.
* Makefile.in:  Regenerated.
* m4/ifunction_logical.m4:  New file.  Use
GFC_LOGICAL_1 pointer for access to source arrays.
* m4/any.m4:  Include ifunction_logical.m4 instead of
ifunction.m4.  Don't check atype_name.
* m4/all.m4:  Likewise.
* m4/count.m4:  Likewise.
* generated/any_l1.c:  New file.
* generated/any_l2.c:  New file.
* generated/all_l1.c:  New file.
* generated/count_1_l.c:  New file.
* generated/count_2_l.c:  New file.
* generated/count_4_l.c:  New file.
* generated/count_8_l.c:  New file.
* generated/count_16_l.c:  New file.
* generated/any_l4.c:  Regenerated.
* generated/any_l8.c:  Regenerated.
* generated/any_l16.c:  Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/all_l16.c: Regenerated.
* generated/count_4_l4.c:  Removed.
* generated/count_4_l8.c:  Removed.
* generated/count_4_l16.c:  Removed.
* generated/count_8_l4.c:  Removed.
* generated/count_8_l8.c:  Removed.
* generated/count_8_l16.c:  Removed.
* generated/count_16_l4.c:  Removed.
* generated/count_16_l8.c:  Removed.
* generated/count_16_l16.c:  Removed.

2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34671
* iresolve.c (gfc_resolve_all):  Call resolve_mask_arg.
(gfc_resolve_any):  Likewise.
(gfc_resolve_count):  Likewise.  Don't append kind of
argument to function name.

2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34671
* gfortran.dg/anyallcount_1.f90:  New test.

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

13 years ago2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Tue, 15 Jan 2008 20:56:55 +0000 (20:56 +0000)]
2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34399
* friend.c (do_friend): Don't query TYPE_BEING_DEFINED unless we
know we have a class type.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34399
* g++.dg/cpp0x/vt-34399.C: New.
* g++.dg/template/friend50.C: New.

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

13 years agoClarify the second argument usage for "c-fix"-es.
korbb [Tue, 15 Jan 2008 19:44:03 +0000 (19:44 +0000)]
Clarify the second argument usage for "c-fix"-es.

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

13 years agoClarify the second argument usage for "c-fix"-es.
korbb [Tue, 15 Jan 2008 19:14:28 +0000 (19:14 +0000)]
Clarify the second argument usage for "c-fix"-es.

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

13 years ago2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Tue, 15 Jan 2008 18:49:47 +0000 (18:49 +0000)]
2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34751
* pt.c (coerce_template_parameter_pack): When substituting into
the type of a non-type template parameter pack. use the
deduced/substituted arguments.
* parser.c (declarator_can_be_parameter_pack): A pointer-to-member
can be a parameter pack with the ellipsis following it.  When we
have an erroneous declaration, allow it to be a parameter pack.
(cp_parser_template_parameter): Complain about default
arguments on non-type template parameter packs, and parse them
using the new cp_parser_default_argument.
(cp_parser_parameter_declaration): Complain about parameter packs
with default arguments. Move parsing of default arguments into a
new function, cp_parser_default_argument.
(cp_parser_default_argument): New; extracted from
cp_parser_parameter_declaration.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34751
* g++.dg/cpp0x/vt-34751.C: New.

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

13 years ago2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Tue, 15 Jan 2008 18:08:00 +0000 (18:08 +0000)]
2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34051
PR c++/34055
PR c++/34102
PR c++/34103
* typeck.c (check_return_expr): If there are bare parameter packs
in the return value, set it to error_mark_node.
* tree.c (cp_walk_subtrees): Walk USING_DECL nodes.
* pt.c (find_parameter_packs_r): Look at the type of
IDENTIFIER_NODEs (e.g., for user-defined conversions).
(check_for_bare_parameter_packs): Flip the result: now returns
TRUE when there were bare parameter packs, FALSE otherwise.
(push_template_decl_real): Deal with flipped result of
check_for_bare_parameter_packs.
* semantics.c (finish_cond): If there are bare parameter packs in
the conditional, set it to error_mark_node.
(finish_expr_stmt): If there are bare parameter packs in the
expression, set it to error_mark_node.
(finish_for_expr): Ditto.
(finish_switch_cond): If there are bare parameter packs in
the conditional, set it to error_mark_node.
(finish_mem_initializers): If there are bare parameter packs in
the member initializer, set it to error_mark_node.
(finish_member_declaration): Check the attributes of the
declaration for bare parameter packs, and remove the attributes if
any have bare parameter packs.
* parser.c (cp_parser_using_declaration): Check the using
declaration for bare parameter packs.
(cp_parser_base_clause): If there are bare parameter packs in a
base specifier, don't add it to the chain.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34051
PR c++/34055
PR c++/34102
PR c++/34103
* g++.dg/cpp0x/vt-34051-2.C: New.
* g++.dg/cpp0x/vt-34102.C: New.
* g++.dg/cpp0x/vt-34051.C: New.
* g++.dg/cpp0x/vt-34055.C: New.
* g++.dg/cpp0x/vt-34103.C: New.

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

13 years ago2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Tue, 15 Jan 2008 17:59:44 +0000 (17:59 +0000)]
2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/34314
       * error.c (dump_simple_decl): Display ellipsis for template
       non-type parameter packs.
       (dump_decl): Display ellipsis for template type parameter packs.
       (dump_template_decl): Display ellipsis for template template
       parameter packs.
       * pt.c (redeclare_class_template): When redeclaring a class
       template, check for collisions between template parameters and
       template parameter packs.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/34314
       * g++.dg/cpp0x/vt-34314.C: New.
       * g++.dg/cpp0x/variadic79.C: Fix the error message to reflect
       reality (the error message was wrong previously).

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

13 years ago2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Tue, 15 Jan 2008 16:09:28 +0000 (16:09 +0000)]
2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/33964
       * pt.c (process_partial_specialization): Don't mark template
       parameters that occur in non-deduced contexts.
       (struct pair_fn_data): Add include_nondeduced_p.
       (for_each_template_parm_r): Only visit non-deduced contexts if
       include_nondeduced_p is set.
       (for_each_template_parm): Added parameter include_nondeduced_p,
       which states whether template parameters found in non-deduced
       contexts should be visited.
       (uses_template_parms): Visit all template parameters, even those
       in non-deduced contexts.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/33964
       * g++.dg/cpp0x/vt-33964.C: New.
       * g++.dg/template/partial5.C: New.

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

13 years ago2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Tue, 15 Jan 2008 16:06:48 +0000 (16:06 +0000)]
2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/34052
       * pt.c (check_default_tmpl_args): Check for parameter packs that
       aren't at the end of a primary template.
       (push_template_decl_real): Remove check for parameter packs that
       aren't at the end of a primary template; that now happens in
       check_default_tmpl_args.
       * semantics.c (finish_template_template_parm): Use
       check_default_tmpl_args to check for errors in the template
       parameter list.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/34052
       * g++.dg/cpp0x/vt-34052.C: New.
       * g++.dg/template/ttp26.C: New.

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

13 years ago2008-01-14 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 15 Jan 2008 02:06:31 +0000 (02:06 +0000)]
2008-01-14  Paolo Carlini  <pcarlini@suse.de>

* include/parallel/list_partition.h: Formatting fixes, inline tweaks.
* include/parallel/numeric: Likewise.
* include/parallel/balanced_quicksort.h: Likewise.
* include/parallel/unique_copy.h: Likewise.
* include/parallel/algobase.h: Likewise.
* include/parallel/algo.h: Likewise.

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

13 years agoDaily bump.
gccadmin [Tue, 15 Jan 2008 00:17:35 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago2008-01-14 Seongbae Park <seongbae.park@gmail.com>
spark [Tue, 15 Jan 2008 00:15:43 +0000 (00:15 +0000)]
2008-01-14  Seongbae Park <seongbae.park@gmail.com>

* crossconfig.m4: Add missing header checks, C99 TR1 check,
and sigsetjmp check.

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

13 years agoFix oversight.
ebotcazou [Mon, 14 Jan 2008 19:33:47 +0000 (19:33 +0000)]
Fix oversight.

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

13 years ago * decl.c (gnat_to_gnu_entity) <object>: Process renamings
ebotcazou [Mon, 14 Jan 2008 19:32:10 +0000 (19:32 +0000)]
* decl.c (gnat_to_gnu_entity) <object>: Process renamings
before converting the expression to the type of the object.
* trans.c (maybe_stabilize_reference) <CONSTRUCTOR>: New case.
Stabilize constructors for special wrapping types.

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

13 years ago2008-01-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Mon, 14 Jan 2008 19:21:38 +0000 (19:21 +0000)]
2008-01-14  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/24924
* c-opts (c_common_post_options): Do not enable CPP
flag_pedantic_errors by default.
testsuite/
* g++.dg/cpp/pedantic-errors.C: Delete.
* g++.dg/cpp/permissive.C: Delete.

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

13 years ago2008-01-14 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 14 Jan 2008 18:08:39 +0000 (18:08 +0000)]
2008-01-14  Paolo Carlini  <pcarlini@suse.de>

* include/parallel/tree.h: Remove.
* include/Makefile.am: Update.
* include/Makefile.in: Rebuild.

* src/Makefile.am: Remove spurious trailing backslash.
* src/Makefile.in: Rebuild.
* po/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* aclocal.m4: Likewise.
* Makefile.in: Likewise.
* configure: Likewise.

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

13 years ago PR rtl-optimization/31944
ebotcazou [Mon, 14 Jan 2008 12:16:58 +0000 (12:16 +0000)]
PR rtl-optimization/31944
* cse.c (remove_pseudo_from_table): New function.
(merge_equiv_classes): Use above function to remove pseudo-registers.
(invalidate): Likewise.

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

13 years agoRemove control characters.
schwab [Mon, 14 Jan 2008 10:22:43 +0000 (10:22 +0000)]
Remove control characters.

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

13 years agoDaily bump.
gccadmin [Mon, 14 Jan 2008 00:17:26 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago2008-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sun, 13 Jan 2008 22:13:52 +0000 (22:13 +0000)]
2008-01-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34746
* m4/iforeach.m4 (name`'rtype_qual`_'atype_code):  Use %ld
in printf format for all bounds checking; cast all
integer-like arguments to runtime_error() to long int.
(`m'name`'rtype_qual`_'atype_code):  Likewise.
(`s'name`'rtype_qual`_'atype_code):  Likewise.
* m4/ifunction.m4 (name`'rtype_qual`_'atype_code):  Likewise.
(`m'name`'rtype_qual`_'atype_code):  Likewise.
(`s'name`'rtype_qual`_'atype_code):  Likewise.
* generated/all_l16.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_16_l16.c: Regenerated.
* generated/count_16_l4.c: Regenerated.
* generated/count_16_l8.c: Regenerated.
* generated/count_4_l16.c: Regenerated.
* generated/count_4_l4.c: Regenerated.
* generated/count_4_l8.c: Regenerated.
* generated/count_8_l16.c: Regenerated.
* generated/count_8_l4.c: Regenerated.
* generated/count_8_l8.c: Regenerated.
* generated/maxloc0_16_i1.c: Regenerated.
* generated/maxloc0_16_i16.c: Regenerated.
* generated/maxloc0_16_i2.c: Regenerated.
* generated/maxloc0_16_i4.c: Regenerated.
* generated/maxloc0_16_i8.c: Regenerated.
* generated/maxloc0_16_r10.c: Regenerated.
* generated/maxloc0_16_r16.c: Regenerated.
* generated/maxloc0_16_r4.c: Regenerated.
* generated/maxloc0_16_r8.c: Regenerated.
* generated/maxloc0_4_i1.c: Regenerated.
* generated/maxloc0_4_i16.c: Regenerated.
* generated/maxloc0_4_i2.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r10.c: Regenerated.
* generated/maxloc0_4_r16.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i1.c: Regenerated.
* generated/maxloc0_8_i16.c: Regenerated.
* generated/maxloc0_8_i2.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r10.c: Regenerated.
* generated/maxloc0_8_r16.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_16_i1.c: Regenerated.
* generated/minloc0_16_i16.c: Regenerated.
* generated/minloc0_16_i2.c: Regenerated.
* generated/minloc0_16_i4.c: Regenerated.
* generated/minloc0_16_i8.c: Regenerated.
* generated/minloc0_16_r10.c: Regenerated.
* generated/minloc0_16_r16.c: Regenerated.
* generated/minloc0_16_r4.c: Regenerated.
* generated/minloc0_16_r8.c: Regenerated.
* generated/minloc0_4_i1.c: Regenerated.
* generated/minloc0_4_i16.c: Regenerated.
* generated/minloc0_4_i2.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r10.c: Regenerated.
* generated/minloc0_4_r16.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i1.c: Regenerated.
* generated/minloc0_8_i16.c: Regenerated.
* generated/minloc0_8_i2.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r10.c: Regenerated.
* generated/minloc0_8_r16.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.

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

13 years ago2008-01-13 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 13 Jan 2008 21:35:33 +0000 (21:35 +0000)]
2008-01-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34665
        * resolve.c (resolve_actual_arglist): For expressions,
        also check for assume-sized arrays.
        * interface.c (compare_parameter): Move F2003 character checks
        here, print error messages here, reject elements of
        assumed-shape array as argument to dummy arrays.
        (compare_actual_formal): Update for the changes above.

2008-01-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34665
        * gfortran.dg/argument_checking_11.f90: New.
        * gfortran.dg/argument_checking_12.f90: New.
        * gfortran.dg/used_dummy_types_4.f90: Update dg-error.
        * gfortran.dg/c_assoc_2.f03: Update dg-error.
        * gfortran.dg/argument_checking_3.f90: Ditto.
        * gfortran.dg/pointer_intent_2.f90: Ditto.
        * gfortran.dg/import2.f90: Ditto.
        * gfortran.dg/assumed_shape_ranks_1.f90: Ditto.
        * gfortran.dg/implicit_actual.f90: Ditto.
        * gfortran.dg/used_dummy_types_3.f90: Ditto.
        * gfortran.dg/derived_comp_array_ref_6.f90: Ditto.

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

13 years ago2008-01-13 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 13 Jan 2008 21:29:49 +0000 (21:29 +0000)]
2008-01-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34763
        * decl.c (contained_procedure): Only check directly preceeding
        * state.

2008-01-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34763
        * gfortran.dg/interface_proc_end.f90: New.

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

13 years ago2008-01-13 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 13 Jan 2008 21:28:30 +0000 (21:28 +0000)]
2008-01-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34759
        * check.c (gfc_check_shape): Accept array ranges of
        assumed-size arrays.

2008-01-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34759
        * gfortran.dg/assumed_size_refs_4.f90: New.

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

13 years ago * trans.c (call_to_gnu):Invoke the addressable_p predicate only
ebotcazou [Sun, 13 Jan 2008 21:00:39 +0000 (21:00 +0000)]
* trans.c (call_to_gnu):Invoke the addressable_p predicate only
when necessary. ¬†Merge some conditional statements. ¬†Update comments.
Rename unchecked_convert_p local variable to suppress_type_conversion.
Do not suppress conversions in the In case.
(addressable_p) <VIEW_CONVERT_EXPR>: Do not take alignment issues
into account on non strict-alignment platforms.

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

13 years ago2008-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 13 Jan 2008 19:50:04 +0000 (19:50 +0000)]
2008-01-13  Richard Guenther  <rguenther@suse.de>

        * gcc.dg/struct-ret-3.c: Adjust testcase to make stack
        readable and writable again before exiting.

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

13 years agoFix nit.
ebotcazou [Sun, 13 Jan 2008 16:51:26 +0000 (16:51 +0000)]
Fix nit.

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

13 years ago2008-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 13 Jan 2008 16:30:51 +0000 (16:30 +0000)]
2008-01-13  Richard Guenther  <rguenther@suse.de>

PR middle-end/34601
* emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
instead of TYPE_MODE to deal with calls from expand_one_error_var.

* gcc.dg/noncompile/incomplete-4.c: New testcase.

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

13 years ago * gcse.c (cprop_jump): Call validate_unshare_change instead of
uros [Sun, 13 Jan 2008 12:13:35 +0000 (12:13 +0000)]
    * gcse.c (cprop_jump): Call validate_unshare_change instead of
        validate_change to unshare the source of the PC set.

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

13 years ago PR middle-end/32135
hubicka [Sun, 13 Jan 2008 11:18:08 +0000 (11:18 +0000)]
PR middle-end/32135
* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct
references above array bounds.  This might trigger bounds checks for
pointers to arrays.

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

13 years ago2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
spop [Sun, 13 Jan 2008 04:27:46 +0000 (04:27 +0000)]
2008-01-12  Sebastian Pop  <sebastian.pop@amd.com>

* tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and
new_replaceable_dependencies.

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

13 years ago2008-01-12 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 13 Jan 2008 01:34:58 +0000 (01:34 +0000)]
2008-01-12  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/34730
* include/debug/functions.h (__check_sorted_set,
__check_sorted_set_aux): Add.
(__check_sorted): Check StrictWeakOrdering.
* include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
__glibcxx_check_strict_weak_ordering_pred): Remove.
(__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
(__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
* include/debug/debug.h (__glibcxx_requires_sorted_set,
__glibcxx_requires_sorted_set_pred): Add.
* include/bits/stl_algo.h (merge, includes, set_union,
set_intersection, set_difference, set_symmetric_difference):
Adjust, use __glibcxx_requires_sorted_set* instead.
* testsuite/25_algorithms/set_intersection/34730.cc: New.

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

13 years agoChangeLog:
dougkwan [Sun, 13 Jan 2008 00:22:38 +0000 (00:22 +0000)]
ChangeLog:

2008-01-12  Doug Kwan  <dougkwan@google.com>

* c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
instead of OPT_Wreturn_type in warning due to ignored return type
qualifiers.
* c-opt.c (c_common_post_option): Add -Wignored-qualifiers to
options included in -Wextra.
* c.opt: New option -Wignored_qualifiers.
* doc/invoke.texi (Warning Options, -Wextra): Add new option
-Wignore_qualifiers.
(-Wignored-qualifiers): Document.
(-Wreturn-type): Remove description of functionality now handled
by -Wignored-qualifiers.

cp/ChangeLog:

2008-01-12  Doug Kwan  <dougkwan@google.com>

* decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
instead of OPT_Wreturn_type in warning due to ignored return type
qualifiers.
* pt.c: (tsubst_function_type): Use OPT_Wignored_qualifiers
instead of OPT_Wreturn_type in warning due to ignored return type
qualifiers.

testsuite/ChangeLog:

2008-01-12  Doug Kwan  <dougkwan@google.com>

* gcc.dg/qual-return-1.c: Add -Wignored-qualifiers.
* g++.dg/warn/Wreturn-type-4.C: Replace -Wreturn-type by
-Wignored-qualifiers.

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

13 years ago * utils.c (aggregate_type_contains_array_p): New predicate.
ebotcazou [Sun, 13 Jan 2008 00:17:45 +0000 (00:17 +0000)]
* utils.c (aggregate_type_contains_array_p): New predicate.
(create_field_decl): In a packed record, force byte alignment
for fields without specified position that contain an array.

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

13 years agoDaily bump.
gccadmin [Sun, 13 Jan 2008 00:17:18 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago PR ada/33788
ebotcazou [Sat, 12 Jan 2008 22:39:49 +0000 (22:39 +0000)]
PR ada/33788
* fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
NOP_EXPR if it is between integral types with the same precision.

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

13 years ago PR other/28023
hubicka [Sat, 12 Jan 2008 14:02:06 +0000 (14:02 +0000)]
PR other/28023
* invoke.texi (max-inline-recursive-depth): Fix default value.

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

13 years ago * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
rakdver [Sat, 12 Jan 2008 13:43:21 +0000 (13:43 +0000)]
* tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
correct type.

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

13 years ago2008-01-12 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 12 Jan 2008 12:27:07 +0000 (12:27 +0000)]
2008-01-12  Richard Guenther  <rguenther@suse.de>

Rotate ChangeLog

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

13 years ago2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 12 Jan 2008 08:47:27 +0000 (08:47 +0000)]
2008-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34432
* gfortran.dg/parens_7.f90: New test.

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

13 years ago2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 12 Jan 2008 08:36:52 +0000 (08:36 +0000)]
2008-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34432
* match.c (gfc_match_name): Don't error if leading character is a '(',
just return MATCH_NO.

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

13 years ago2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 12 Jan 2008 08:35:25 +0000 (08:35 +0000)]
2008-01-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34722
* match.c (gfc_match_name): Don't error if leading character is a '(',
just return MATCH_NO.

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

13 years ago * gcc.dg/tree-ssa/loadpre5.c: Use static.
ghazi [Sat, 12 Jan 2008 00:21:39 +0000 (00:21 +0000)]
* gcc.dg/tree-ssa/loadpre5.c: Use static.
* gcc.dg/tree-ssa/loadpre8.c: Likewise.

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

13 years agoDaily bump.
gccadmin [Sat, 12 Jan 2008 00:17:20 +0000 (00:17 +0000)]
Daily bump.

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

13 years ago * gcc.dg/pr33826.c: Require nonpic.
ghazi [Sat, 12 Jan 2008 00:10:30 +0000 (00:10 +0000)]
* gcc.dg/pr33826.c: Require nonpic.

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

13 years ago * config/xtensa/xtensa.c (override_options): Set flag_shlib.
bwilson [Fri, 11 Jan 2008 22:44:47 +0000 (22:44 +0000)]
* config/xtensa/xtensa.c (override_options): Set flag_shlib.

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

13 years agoPR target/26015
wilson [Fri, 11 Jan 2008 21:42:03 +0000 (21:42 +0000)]
PR target/26015
* config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.

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

13 years ago2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 11 Jan 2008 21:18:10 +0000 (21:18 +0000)]
2008-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34722
* gfortran.dg//inquire_12.f90: New test.

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

13 years ago2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 11 Jan 2008 21:15:41 +0000 (21:15 +0000)]
2008-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34722
* trans-io.c (create_dummy_iostat): Commit the symbol.

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

13 years ago * config/avr/avr.c (expand_prologue, expand_epilogue): Don't
aesok [Fri, 11 Jan 2008 20:33:50 +0000 (20:33 +0000)]
* config/avr/avr.c (expand_prologue, expand_epilogue): Don't
save/restore frame pointer register and don't use 'call-prologues'
optimization in function with "OS_task" attribute.

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

13 years ago2008-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Fri, 11 Jan 2008 20:21:05 +0000 (20:21 +0000)]
2008-01-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34670
* m4/iparm.m4 (upcase):  New macro (copied from the m4 manual).
(u_name):  New macro for the upper case name of the intrinsic.
* m4/iforeach.m4 (name`'rtype_qual`_'atype_code):  Add
bounds checking and rank check, depending on
compile_options.bounds_check.
(`m'name`'rtype_qual`_'atype_code):  Likewise.
(`s'name`'rtype_qual`_'atype_code):  Likewise.
* m4/ifunction.m4 (name`'rtype_qual`_'atype_code):  Add
bounds checking and rank check, depending on
compile_options.bounds_check.
(`m'name`'rtype_qual`_'atype_code):  Likewise.
(`s'name`'rtype_qual`_'atype_code):  Likewise.
* generated/all_l16.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_16_l16.c: Regenerated.
* generated/count_16_l4.c: Regenerated.
* generated/count_16_l8.c: Regenerated.
* generated/count_4_l16.c: Regenerated.
* generated/count_4_l4.c: Regenerated.
* generated/count_4_l8.c: Regenerated.
* generated/count_8_l16.c: Regenerated.
* generated/count_8_l4.c: Regenerated.
* generated/count_8_l8.c: Regenerated.
* generated/maxloc0_16_i1.c: Regenerated.
* generated/maxloc0_16_i16.c: Regenerated.
* generated/maxloc0_16_i2.c: Regenerated.
* generated/maxloc0_16_i4.c: Regenerated.
* generated/maxloc0_16_i8.c: Regenerated.
* generated/maxloc0_16_r10.c: Regenerated.
* generated/maxloc0_16_r16.c: Regenerated.
* generated/maxloc0_16_r4.c: Regenerated.
* generated/maxloc0_16_r8.c: Regenerated.
* generated/maxloc0_4_i1.c: Regenerated.
* generated/maxloc0_4_i16.c: Regenerated.
* generated/maxloc0_4_i2.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r10.c: Regenerated.
* generated/maxloc0_4_r16.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i1.c: Regenerated.
* generated/maxloc0_8_i16.c: Regenerated.
* generated/maxloc0_8_i2.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r10.c: Regenerated.
* generated/maxloc0_8_r16.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_16_i1.c: Regenerated.
* generated/minloc0_16_i16.c: Regenerated.
* generated/minloc0_16_i2.c: Regenerated.
* generated/minloc0_16_i4.c: Regenerated.
* generated/minloc0_16_i8.c: Regenerated.
* generated/minloc0_16_r10.c: Regenerated.
* generated/minloc0_16_r16.c: Regenerated.
* generated/minloc0_16_r4.c: Regenerated.
* generated/minloc0_16_r8.c: Regenerated.
* generated/minloc0_4_i1.c: Regenerated.
* generated/minloc0_4_i16.c: Regenerated.
* generated/minloc0_4_i2.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r10.c: Regenerated.
* generated/minloc0_4_r16.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i1.c: Regenerated.
* generated/minloc0_8_i16.c: Regenerated.
* generated/minloc0_8_i2.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r10.c: Regenerated.
* generated/minloc0_8_r16.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.

2008-01-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34670
* all_bounds_1.f90: New test case.
* maxloc_bounds_1.f90: New test case.
* maxloc_bounds_2.f90: New test case.
* maxloc_bounds_3.f90: New test case.
* maxloc_bounds_4.f90: New test case.
* maxloc_bounds_5.f90: New test case.
* maxloc_bounds_6.f90: New test case.
* maxloc_bounds_7.f90: New test case.
* maxloc_bounds_8.f90: New test case.

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

13 years ago PR middle-end/31309
ebotcazou [Fri, 11 Jan 2008 19:44:40 +0000 (19:44 +0000)]
PR middle-end/31309
* expr.c (copy_blkmode_from_reg): Use a mode suited to the size when
copying to memory.

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

13 years agoFixed my gcc/ChangeLog entry (corrected tense and capitalization).
raksit [Fri, 11 Jan 2008 19:16:49 +0000 (19:16 +0000)]
Fixed my gcc/ChangeLog entry (corrected tense and capitalization).

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

13 years ago2008-01-11 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 11 Jan 2008 18:25:29 +0000 (18:25 +0000)]
2008-01-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34537
* simplify.c (gfc_simplify_transfer): Return NULL if the size
of the element is unavailable and only assign character length
to the result, if 'mold' is constant.

2008-01-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34537
* gfortran.dg/transfer_simplify_8.f90: New test.

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

13 years ago2008-01-11 Steven Bosscher <stevenb.gcc@gmail.com>
rguenth [Fri, 11 Jan 2008 14:55:34 +0000 (14:55 +0000)]
2008-01-11  Steven Bosscher  <stevenb.gcc@gmail.com>

PR rtl-optimization/30905
* cfgcleanup.c: Include dce.h
(crossjumps_occured): New global variable.
(try_crossjump_bb): Exit loop after finding a fallthru edge.
If something changed, set crossjumps_occured to true.
(try_optimize_cfg): Clear crossjumps_occured at the beginning.
Don't add/remove fake edges to exit here...
(cleanup_cfg): ...but do it here, when crossjumping.
Run a fast DCE when successful crossjumps occured in the latest
iteration of try_optimize_cfg.

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

13 years ago2008-01-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Jan 2008 13:36:53 +0000 (13:36 +0000)]
2008-01-11  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode.
(struct vn_unary_op_s): Likewise.
(vn_reference_insert): Free old reference on hash collision.

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

13 years ago2008-01-11 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Fri, 11 Jan 2008 08:53:25 +0000 (08:53 +0000)]
2008-01-11  Andreas Krebbel  <krebbel1@de.ibm.com>

* g++.dg/torture/pr34641.C: Add dg-require-visibility.  Define
size_t using predefined macro.

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

13 years agogcc/ChangeLog
raksit [Fri, 11 Jan 2008 04:20:32 +0000 (04:20 +0000)]
gcc/ChangeLog
       PR rtl-optimization/27971
       * combine.c (find_split_point): introduced a new split for certain
       types of mem rtx.

gcc/testsuite/ChangeLog

       PR rtl-optimization/27971
       * gcc.target/i386/pr27971.c: New testcase.

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