OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago2008-01-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 21 Jan 2008 15:54:41 +0000 (15:54 +0000)]
2008-01-21  H.J. Lu  <hongjiu.lu@intel.com>

* regmove.c (fixup_match_1): Update call crossed frequencies.

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

16 years ago2008-01-21 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 21 Jan 2008 14:25:46 +0000 (14:25 +0000)]
2008-01-21  Richard Guenther  <rguenther@suse.de>

PR c/34885
* tree-inline.c (setup_one_parameter): Deal with mismatched
types using a VIEW_CONVERT_EXPR.

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

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

16 years agoUpdate copyright year.
ebotcazou [Mon, 21 Jan 2008 12:05:13 +0000 (12:05 +0000)]
Update copyright year.

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

16 years ago * trans.c (gnat_to_gnu) <N_Free_Statement>: Use POINTER_PLUS_EXPR
ebotcazou [Mon, 21 Jan 2008 11:58:53 +0000 (11:58 +0000)]
* trans.c (gnat_to_gnu) <N_Free_Statement>: Use POINTER_PLUS_EXPR
in pointer arithmetics.
* utils2.c (build_allocator): Likewise.

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

16 years ago * de.po: Update.
jsm28 [Mon, 21 Jan 2008 10:33:38 +0000 (10:33 +0000)]
* de.po: Update.

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

16 years ago2008-01-21 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 21 Jan 2008 09:34:19 +0000 (09:34 +0000)]
2008-01-21  Richard Guenther  <rguenther@suse.de>

PR c++/34850
cp/
* error.c (cp_print_error_function): Deal with recursive
BLOCK trees.

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

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

16 years ago2008-01-21 Alon Dayan <alond@il.ibm.com>
olga [Mon, 21 Jan 2008 09:07:12 +0000 (09:07 +0000)]
2008-01-21  Alon Dayan  <alond@il.ibm.com>
    Olga Golovanevsky  <olga@il.ibm.com>

PR tree-optimization/34701
* gcc.dg/struct/wo_prof_array_field.c: New test.

2008-01-21  Alon Dayan  <alond@il.ibm.com>
    Olga Golovanevsky  <olga@il.ibm.com>

PR tree-optimization/34701
* ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
when the structure size is not a power of 2.

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

16 years ago/cp
paolo [Mon, 21 Jan 2008 02:30:31 +0000 (02:30 +0000)]
/cp
2008-01-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34891
        * error.c (dump_expr): Deal with VIEW_CONVERT_EXPR.

/testsuite
2008-01-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34891
        * g++.dg/ext/vector9.C: New.

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

16 years ago/cp
paolo [Mon, 21 Jan 2008 01:49:29 +0000 (01:49 +0000)]
/cp
2008-01-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34776
PR c++/34486
        * name-lookup.c (do_class_using_decl): Do not call constructor_name_p
on non-IS_AGGR_TYPE type scope.
(constructor_name_p): Assert IS_AGGR_TYPE.

/testsuite
2008-01-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34776
PR c++/34486
        * g++.dg/template/crash75.C: New.
        * g++.dg/template/crash76.C: Likewise.

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

16 years ago2008-01-20 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Mon, 21 Jan 2008 01:09:04 +0000 (01:09 +0000)]
2008-01-20  Kenneth Zadeck <zadeck@naturalbridge.com>

* doc/install.texi: Add doc for --enable-checking=df.

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

16 years agoDaily bump.
gccadmin [Mon, 21 Jan 2008 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR rtl-optimization/34808
kkojima [Mon, 21 Jan 2008 00:04:23 +0000 (00:04 +0000)]
PR rtl-optimization/34808
* emit-rtl.c (try_split): Handle REG_RETVAL notes.
* gcc.c-torture/compile/pr34808.c: New test.

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

16 years ago2008-01-20 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 20 Jan 2008 16:58:15 +0000 (16:58 +0000)]
2008-01-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34861
* resolve.c (resolve_entries): Do not do an array bounds check
if the result symbols are the same.

PR fortran/34854
* module.c (read_module) : Hide the symtree of the previous
version of the symbol if this symbol is renamed.

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

PR fortran/34784
* gfortran.dg/mapping_2.f90: Correct ubound expression for h4.

PR fortran/34861
* gfortran.dg/entry_array_specs_3.f90: New test.

PR fortran/34854
* gfortran.dg/use_rename_1.f90: New test.

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

16 years ago * sv.po: Update.
jsm28 [Sun, 20 Jan 2008 14:53:58 +0000 (14:53 +0000)]
* sv.po: Update.

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

16 years ago2008-01-20 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 20 Jan 2008 10:26:42 +0000 (10:26 +0000)]
2008-01-20  Paul Thomas  <pault@gcc.gnu.org>

* trans-array.c (gfc_add_loop_ss_code) :  Correct whitespace.

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

16 years agogcc/
rsandifo [Sun, 20 Jan 2008 08:47:14 +0000 (08:47 +0000)]
gcc/
* global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
input.

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

16 years ago2008-01-20 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 20 Jan 2008 08:22:56 +0000 (08:22 +0000)]
2008-01-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34784
* array.c (gfc_check_constructor_type): Clear the expression ts
so that the checking starts from the deepest level of array
constructor.
* primary.c (match_varspec): If an unknown type is changed to
default character and the attempt to match a substring fails,
change it back to unknown.

PR fortran/34785
* trans-array.c (gfc_add_loop_ss_code) : If ss->string_length is
NULL for an array constructor, use the cl.length expression to
build it.
(gfc_conv_array_parameter): Change call to gfc_evaluate_now to
a tree assignment.

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

PR fortran/34784
* gfortran.dg/array_constructor_20.f90: New test.
* gfortran.dg/mapping_2.f90: Correct ubound expression for h4.

PR fortran/34785
* gfortran.dg/array_constructor_21.f90: New test.

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

16 years ago Fix it.
jvdelisle [Sun, 20 Jan 2008 06:55:46 +0000 (06:55 +0000)]
Fix it.

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

16 years ago2008-01-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 20 Jan 2008 06:48:39 +0000 (06:48 +0000)]
2008-01-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/34795
* gfortran.dg/inquire_13.f90: New test.

PR libfortran/34659
* gfortran.dg/continuation_9.f90: New test.

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

16 years ago2008-01-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 20 Jan 2008 06:33:49 +0000 (06:33 +0000)]
2008-01-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* io/inquire.c (inquire_via_unit): If a unit is opened, return values
according to the open action for DIRECT, FORMATTED, and UNFORMATTED.
(inquire_via_filename): Return "UNKNOWN" for SEQUENTIAL, DIRECT,
FORAMATTED, and UNFORMATTED inquiries.
* io/unix.c (inquire_sequential): Return "UNKNOWN" when appropriate
for files that are not opened. (inquire_direct): Same.
(inquire_formatted): Same.

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

16 years ago2008-01-19 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 20 Jan 2008 01:48:44 +0000 (01:48 +0000)]
2008-01-19  Paolo Carlini  <pcarlini@suse.de>

* configure: Regenerate.
* Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* aclocal.m4: Likewise.

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

16 years ago2008-01-19 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Sun, 20 Jan 2008 01:48:25 +0000 (01:48 +0000)]
2008-01-19  Kenneth Zadeck <zadeck@naturalbridge.com>

PR rtl-optimization/26854
PR rtl-optimization/34400
* ddg.c (create_ddg_dep_from_intra_loop_link): Do not use
DF_RD->gen.
* df.h (df_changeable_flags.DF_RD_NO_TRIM): New.
(df_rd_bb_info.expanded_lr_out): New.
* loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag.
* loop_iv.c (iv_analysis_loop_init): Ditto.
* df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
Added code to allocate, initialize or free expanded_lr_out.
(df_rd_bb_local_compute_process_def): Restructured to make
more understandable.
(df_rd_confluence_n): Add code to do nothing with fake edges and
code to no apply invalidate_by_call sets if the sets are being trimmed.
(df_lr_local_finalize): Renamed to df_lr_finalize.
(df_live_local_finalize): Renamed to df_live_finalize.

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

16 years ago * de.po: Restore to current version from TP site.
jsm28 [Sun, 20 Jan 2008 00:18:42 +0000 (00:18 +0000)]
* de.po: Restore to current version from TP site.

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

16 years agoDaily bump.
gccadmin [Sun, 20 Jan 2008 00:17:40 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago * sv.po: Update.
jsm28 [Sun, 20 Jan 2008 00:13:43 +0000 (00:13 +0000)]
* sv.po: Update.

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

16 years ago * sv.po: Update.
jsm28 [Sun, 20 Jan 2008 00:12:09 +0000 (00:12 +0000)]
* sv.po: Update.

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

16 years agogcc/
rsandifo [Sun, 20 Jan 2008 00:05:07 +0000 (00:05 +0000)]
gcc/
PR target/34831
* config/mips/mips.md (div<mode>3): Use <recip_condition> when
deciding whether to use reciprocal instructions.

gcc/testsuite/
PR target/34831
* gcc.target/mips/pr34831.c: New test.

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

16 years ago * sv.po: Update.
jsm28 [Sat, 19 Jan 2008 23:57:18 +0000 (23:57 +0000)]
* sv.po: Update.

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

16 years ago2008-01-19 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 19 Jan 2008 22:47:47 +0000 (22:47 +0000)]
2008-01-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/34817
PR fortran/34838
* iresolve.c (gfc_resolve_all):  Remove conversion of mask
argument to kind=1 by removing call to resolve_mask_arg().
(gfc_resolve_any):  Likewise.

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

PR fortran/34817
PR fortran/34838
* gfortran.dg/any_all_1.f90:  New test.
* gfortran.dg/any_all_2.f90:  New test.

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

16 years ago * g++.dg/eh/ia64-2.C: Place "dg-do run" statement before
danglin [Sat, 19 Jan 2008 21:38:20 +0000 (21:38 +0000)]
* g++.dg/eh/ia64-2.C: Place "dg-do run" statement before
"dg-require-weak" statement.
* g++.dg/eh/weak1.C: Likewise.

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

16 years ago * dwarf2out.c (dwarf2out_switch_text_section): Do not call
uros [Sat, 19 Jan 2008 17:57:57 +0000 (17:57 +0000)]
    * dwarf2out.c (dwarf2out_switch_text_section): Do not call
        dwarf2out_note_section_used if cold_text_section is NULL.

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

16 years ago PR gcov-profile/34610
jakub [Sat, 19 Jan 2008 17:49:46 +0000 (17:49 +0000)]
PR gcov-profile/34610
* tree-cfg.c (make_edges): Mark both outgoing edges from
OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
* omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
from OMP_FOR and OMP_CONTINUE outgoing edges.

* tree-profile.c (tree_profiling): Return early if
cfun->after_tree_profile != 0.  Set cfun->after_tree_profile
at the end.
* omp-low.c (expand_omp_parallel): Copy after_tree_profile
from cfun to child_cfun.
* function.h (struct function): Add after_tree_profile bit.

* gcc.dg/gomp/pr34610.c: New test.

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

16 years ago2008-01-19 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 19 Jan 2008 15:41:04 +0000 (15:41 +0000)]
2008-01-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34760
        * primary.c (match_variable): Handle FL_UNKNOWN without
        uneducated guessing.
        (match_variable): Improve error message.

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

        PR fortran/34760
        * gfortran.dg/implicit_11.f90: New.
        * gfortran.dg/allocate_stat.f90: Update dg-error pattern.
        * gfortran.dg/entry_15.f90: Ditto.
        * gfortran.dg/func_assign.f90: Ditto.
        * gfortran.dg/gomp/reduction3.f90: Ditto.
        * gfortran.dg/proc_assign_1.f90: Ditto.

        * gfortran.dg/interface_proc_end.f90: Use dg-error instead
        of dg-excess-errors.

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

16 years ago * config/avr/avr.S (_exit): Disable interrupt.
aesok [Sat, 19 Jan 2008 12:15:02 +0000 (12:15 +0000)]
* config/avr/avr.S (_exit): Disable interrupt.

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

16 years ago2008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Sat, 19 Jan 2008 00:39:08 +0000 (00:39 +0000)]
2008-01-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR other/33768
* splay-tree.c (rotate_left): Fix minor typo in comment.
(rotate_right): Likewise.

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

16 years ago2008-01-18 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Sat, 19 Jan 2008 00:38:34 +0000 (00:38 +0000)]
2008-01-18  Kenneth Zadeck  <zadeck@naturalbridge.com>
    Steven Bosscher  <stevenb.gcc@gmail.com>

PR rtl-optimization/26854
PR rtl-optimization/34400
* df-problems.c (df_live_scratch): New scratch bitmap.
(df_live_alloc): Allocate df_live_scratch when doing df_live.
(df_live_reset): Clear the proper bitmaps.
(df_live_bb_local_compute): Only process the artificial defs once
since the order is not important.
(df_live_init): Init the df_live sets only with the variables
found live by df_lr.
(df_live_transfer_function): Use the df_lr sets to prune the
df_live sets as they are being computed.
(df_live_free): Free df_live_scratch.

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

16 years agoDaily bump.
gccadmin [Sat, 19 Jan 2008 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago2008-01-18 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 18 Jan 2008 23:46:04 +0000 (23:46 +0000)]
2008-01-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/32616
        * interface.c (get_expr_storage_size): Return storage size
        for array element designators.
        (compare_actual_formal): Reject unequal string sizes for
        assumed-shape dummy arguments. And fix error message for
        array-sections with vector subscripts.

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

        PR fortran/32616
        * gfortran.dg/argument_checking_15.f90: New.
        * gfortran.dg/argument_checking_5.f90: Change TODO into
        dg-warning.

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

16 years ago2008-01-18 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 18 Jan 2008 23:04:50 +0000 (23:04 +0000)]
2008-01-18  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/enum_4.f90: Replace dg-excess-errors by dg-error.
        * gfortran.dg/enum_5.f90: Ditto.
        * gfortran.dg/enum_6.f90: Ditto.
        * gfortran.dg/bom_error.f90: Ditto.
        * gfortran.dg/func_decl_4.f90: Ditto.

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

16 years ago2007-01-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 18 Jan 2008 22:22:21 +0000 (22:22 +0000)]
2007-01-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR target/34782
* gfortran.dg/fmt_t_6.f: New test.

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

16 years ago2008-01-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 18 Jan 2008 22:19:15 +0000 (22:19 +0000)]
2008-01-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* io/transfer.c (formatted_transfer_scalar): Set max_pos to the greater
of the current max_pos or the newly calculated position.

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

16 years ago2008-01-18 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 18 Jan 2008 21:43:08 +0000 (21:43 +0000)]
2008-01-18  Tobias Burnus  <burnus@net-b.de>

        * io/write.c (write_real): Increase default precision for
        * REAL(16) by one.

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

        * gfortran.dg/large_real_kind_form_io_1.f90: Enlarge string for
        * internal I/O.

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

16 years ago2008-01-18 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Fri, 18 Jan 2008 21:18:37 +0000 (21:18 +0000)]
2008-01-18  Jonathan Wakely  <jwakely.gcc@gmail.com>

* g++.dg/lookup/two-stage2.C: fix comment.

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

16 years agoPR c++/33887
aoliva [Fri, 18 Jan 2008 19:11:15 +0000 (19:11 +0000)]
PR c++/33887
* link.cc (_Jv_Linker::prepare_constant_time_tables):
has_interfaces is boolean, treat it as such.

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

16 years agoDocument -fno-merge-debug-strings rather than -fmerge-debug-strings.
ian [Fri, 18 Jan 2008 16:21:13 +0000 (16:21 +0000)]
Document -fno-merge-debug-strings rather than -fmerge-debug-strings.

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

16 years ago./:
ian [Fri, 18 Jan 2008 15:46:43 +0000 (15:46 +0000)]
./:
* common.opt: Add fmerge-debug-strings.
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test
flag_merge_debug_strings rather than flag_merge_constants.
* doc/invoke.texi (Option Summary): Mention
-fmerge-debug-strings.
(Debugging Options): Document -fmerge-debug-strings.
testsuite/:
* gcc.dg/debug/dwarf2/var1.c: Add -fno-merge-debug-strings.

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

16 years ago PR c++/33407
ian [Fri, 18 Jan 2008 15:25:02 +0000 (15:25 +0000)]
PR c++/33407
./:
* tree.h (DECL_IS_OPERATOR_NEW): Define.
(struct tree_function_decl): Add new field operator_new_flag.
* tree-inline.c (expand_call_inline): When inlining a call to
operator new, force the return value to go into a variable, and
set DECL_NO_TBAA_P on that variable.
* c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag.
cp/:
* decl.c (duplicate_decls): Copy DECL_IS_OPERATOR_NEW flag.
(grok_op_properties): For NEW_EXPR and VEC_NEW_EXPR set
DECL_IS_OPERATOR_NEW flag.
testsuite/:
* g++.dg/init/new26.C: New test.

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

16 years ago2008-01-18 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 18 Jan 2008 12:57:42 +0000 (12:57 +0000)]
2008-01-18  Richard Guenther   <rguenther@suse.de>

PR middle-end/34801
* gcc.dg/Warray-bounds.c: XFAIL two tests, remove one
redundant one.

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

16 years ago * g++.dg/tree-ssa/pr34355.C: Correct order of dg-do and
hp [Fri, 18 Jan 2008 11:17:04 +0000 (11:17 +0000)]
* g++.dg/tree-ssa/pr34355.C: Correct order of dg-do and
dg-require-effective-target.

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

16 years ago PR debug/34484
uros [Fri, 18 Jan 2008 09:55:15 +0000 (09:55 +0000)]
PR debug/34484
* dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
DWARF2_DEBUGGING_INFO.
(dwarf2out_note_section_used): Ditto.  Add prototype.
(have_multiple_function_sections, text_section_used,
cold_text_section_used, *cold_text_sections): Move declarations
before their uses.

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

16 years ago2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 18 Jan 2008 08:16:51 +0000 (08:16 +0000)]
2008-01-18  Benjamin Kosnik  <bkoz@redhat.com>

* docs/*: To...
* doc/*: ...here.
* testsuite/Makefile.am: Move doc-performance to...
* Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
* doc/Makefile.am: Consolidate documentation creation here.
(doc-doxygen-html): New.
(doc-doxygen-man): New.
(doc-performance): New.
* doc/Makefile.in: New.
* acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
* doc/doxygen/guide.html: Edit for unified html configuration.
* doc/doxygen/mainpage.html: Same.
* doc/doxygen/run_doxygen: Same, more namespace fixups for man
generation.
* doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.

* include/tr1_impl/random: Remove maint from doxygen markup.
* include/tr1_impl/functional: Same.
* include/std/tuple: Same.
* include/std/streambuf: Same.
* include/std/bitset: Same.
* include/std/limits: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/sstream: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/rc_string_base.h: Same.
* include/bits/basic_ios.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_iterator_base_types.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/postypes.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_construct.h: Same.
* include/bits/stl_relops.h: Same.
* include/tr1/tuple: Same.
* include/backward/auto_ptr.h: Same.

* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Fixups for line number changes.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/20_util/auto_ptr/assign_neg.cc: Same.

* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

* scripts/make_graphs.py: Correct paths for new layout.

2008-01-17  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (AC_LC_MESSAGES): Remove serial.
* linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
* configure: Regenerate.
* aclocal.m4: Regenerate.

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

16 years ago2007-01-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 18 Jan 2008 02:16:48 +0000 (02:16 +0000)]
2007-01-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR target/34556
* gfortran.dg/reshape_2.f90: New test.

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

16 years ago2008-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 18 Jan 2008 02:08:22 +0000 (02:08 +0000)]
2008-01-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34556
* simplify.c (is_constant_array_expr): New static function that returns
true if the given expression is an array and is constant.
(gfc_simplify_reshape): Use new function.

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

16 years ago * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
bwilson [Fri, 18 Jan 2008 01:37:53 +0000 (01:37 +0000)]
* config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
field and add signal_ra.
* config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
assignments to frame state pc.  Move end of stack check after
MD_FALLBACK_FRAME_STATE_FOR.
(uw_update_context_1): Use frame state signal_regs if set, instead
of checking signal_frame flag.
(uw_update_context): Use frame state signal_ra if set.
* config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
* config/xtensa/linux-unwind.h: New file.

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

16 years ago2008-01-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 18 Jan 2008 01:29:11 +0000 (01:29 +0000)]
2008-01-17  H.J. Lu  <hongjiu.lu@intel.com>

PR fortran/33375
* symbol.c (free_common_tree): Renamed to ...
(gfc_free_common_tree): This.  Remove static.
(gfc_free_namespace): Updated.

* gfortran.h (gfc_free_common_tree): New.

* match.c (gfc_match_common): Call gfc_free_common_tree () with
gfc_current_ns->common_root and set gfc_current_ns->common_root
to NULL on syntax error.

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

16 years ago2008-01-18 Richard Sandiford <rsandifo@nildram.co.uk>
burnus [Fri, 18 Jan 2008 00:28:28 +0000 (00:28 +0000)]
2008-01-18  Richard Sandiford  <rsandifo@nildram.co.uk>

       PR fortran/34686
       * trans-expr.c (gfc_conv_function_call): Use proper
       type for returned character pointers.

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

16 years agoDaily bump.
gccadmin [Fri, 18 Jan 2008 00:17:49 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago2008-01-18 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Fri, 18 Jan 2008 00:05:33 +0000 (00:05 +0000)]
2008-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>

* de.po: Fix typo.

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

16 years ago2007-01-18 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Fri, 18 Jan 2008 00:01:10 +0000 (00:01 +0000)]
2007-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>

* gcc.dg/20040223-1.c: Fix comment typo.

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

16 years ago2007-01-18 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Thu, 17 Jan 2008 23:57:18 +0000 (23:57 +0000)]
2007-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>

* modulo-sched.c (get_sched_window): Fix comment typo.

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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