OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years agogcc/
steven [Sun, 26 Feb 2006 20:23:40 +0000 (20:23 +0000)]
gcc/
* common.opt (-floop-optimize, -frerun-loop-opt): Remove.
* tree-pass.h (pass_loop_optimize): Remove.
* passes.c (pass_loop_optimize): Never run it.
* toplev.c (backend_init): Don't call init_loop.
* opts.c (flag_loop_optimize_set): Remove.
(decode_options): Never set flag_loop_optimize or flag_rerun_loop_opt.
(common_handle_option) <OPT_floop_optimize>: Remove.  Don't disable
the old RTL loop optimizer when profiling enabled.
* predict.c (tree_estimate_probability): Always strip builtin_expect.
* cfgcleanup.c (try_forward_edges): Don't avoid killing loop
pre-headers for the sake of the old RTL loop optimizer.
* Makefile.in: Remove all references to loop.o.

* doc/invoke.texi: Remove all references to -floop-optimize
and -frerun-loop-opt.

testsuite/
* gcc.dg/20031201-1.c: Don't use -frerun-loop-opt.
* g++.old-deja/g++.robertl/eb132.C: Likewise.

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

14 years ago * doc/md.texi (Machine Constraints): Refer to all files with paths
zack [Sun, 26 Feb 2006 19:32:37 +0000 (19:32 +0000)]
* doc/md.texi (Machine Constraints): Refer to all files with paths
relative to gcc directory (i.e. config/CPU/file).  Add missing
@table @code ... @end table to M32C subsection.

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

14 years ago2006-02-26 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 26 Feb 2006 18:42:29 +0000 (18:42 +0000)]
2006-02-26  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/cmath: Add templates (8.16.3).
* include/tr1/cstbool: New.
* include/tr1/stdbool.h: Likewise.
* include/Makefile.am: Add.
* testsuite/tr1/8_c_compatibility/cmath/templates.cc: New.
* testsuite/tr1/headers.cc: Update.
* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdbool.h> check.
* docs/html/ext/tr1.html: Update.
* include/Makefile.in: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.

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

14 years ago * fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & 1) ^ 1 as
sayle [Sun, 26 Feb 2006 16:10:30 +0000 (16:10 +0000)]
* fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & 1) ^ 1 as
(X & 1) == 0.
<BIT_AND_EXPR>: Fold (X ^ 1) & 1 and ~X & 1 as (X & 1) == 0.

* gcc.dg/fold-even-1.c: New test case.

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

14 years ago2006-02-26 Roger Sayle <roger@eyesopen.com>
sayle [Sun, 26 Feb 2006 15:36:52 +0000 (15:36 +0000)]
2006-02-26  Roger Sayle  <roger@eyesopen.com>
    James A. Morrison  <phython@gcc.gnu.org>

PR middle-end/21137
* fold-const.c (fold_binary) <EQ_EXPR>:  Fold ((X>>C1)&C2) eq/ne 0,
when C2 is a power of two, as either (X&(C2<<C1)) eq/ne 0 if the
new constant C2<<C1, or as (X<0) or (X,false) depending upon the
signedness of the shift operation.

* gcc.dg/fold-eqandshift-1.c: New test case.

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

14 years ago PR tree-optimization/25125
dorit [Sun, 26 Feb 2006 12:55:43 +0000 (12:55 +0000)]
    PR tree-optimization/25125
        * gcc.dg/vect/wrapv-vect-7.c, gcc.dg/vect/wrapv-vect-reduc-2char.c,
        gcc.dg/vect/wrapv-vect-reduc-2short.c: New tests.

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

14 years ago PR tree-optimization/26359
dorit [Sun, 26 Feb 2006 09:27:35 +0000 (09:27 +0000)]
    PR tree-optimization/26359
        * tree-ssa-alias.c (new_type_alias): Set fields for new tag.

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

14 years agoDaily bump.
gccadmin [Sun, 26 Feb 2006 00:17:47 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * simplify-rtx.c (simplify_relational_operation_1): Simplify
sayle [Sat, 25 Feb 2006 22:29:48 +0000 (22:29 +0000)]
* simplify-rtx.c (simplify_relational_operation_1):  Simplify
(X^Y) == 0 as X == Y and (X^Y) != 0 as X != Y.  Simplify (X^Y) == Y
as X == 0, and some symmetry related transformations.
Simplify (X^C1) == C2 as X == (C1^C2).  Split long comment line.

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

14 years ago PR middle-end/23673
sayle [Sat, 25 Feb 2006 22:27:54 +0000 (22:27 +0000)]
PR middle-end/23673
* fold-const.c (fold_binary) <EQ_EXPR>:  Fold (X^Y) == 0 as X == Y
and (X^Y) != 0 as X != Y.  Fold (X^Y) == Y as X == 0, and some
symmetry related transformations.  Fold (X^C1) == C2 as
X == (C1^C2).

* gcc.dg/fold-eqxor-1.c: New test case.
* gcc.dg/fold-eqxor-2.c: Likewise.
* gcc.dg/fold-eqxor-3.c: Likewise.

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

14 years ago2006-02-25 Shantonu Sen <ssen@opendarwin.org>
andreast [Sat, 25 Feb 2006 21:23:09 +0000 (21:23 +0000)]
2006-02-25  Shantonu Sen  <ssen@opendarwin.org>

* config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
* config/posix/sem.c: Implement the above.

2006-02-25  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
define HAVE_BROKEN_POSIX_SEMAPHORES.
* configure: Rebuilt.
* config.h.in: Rebuilt.

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

14 years ago2006-02-25 Juergen Weigert <jw@suse.de>
rguenth [Sat, 25 Feb 2006 21:01:55 +0000 (21:01 +0000)]
2006-02-25  Juergen Weigert  <jw@suse.de>
Richard Guenther  <rguenther@suse.de>

* scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.

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

14 years ago2006-02-25 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Sat, 25 Feb 2006 10:32:19 +0000 (10:32 +0000)]
2006-02-25  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/23092
* trans-intrinsic.c (gfc_conv_intrinsic_arith):  If the
mask expression exists and has rank 0, enclose the generated
loop in an "if (mask)".
* (gfc_conv_intrinsic_minmaxloc):  Likewise.

2006-02-25  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/23092
* scalar_mask_1.f90:  New test.

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

14 years ago * combine.c (gen_lowpart_or_truncate): Call
nemet [Sat, 25 Feb 2006 01:35:08 +0000 (01:35 +0000)]
* combine.c (gen_lowpart_or_truncate): Call
simplify_gen_unary(TRUNCATE, ...) instead of gen_rtx_TRUNCATE.

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

14 years agoDaily bump.
gccadmin [Sat, 25 Feb 2006 00:17:37 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * doc/invoke.texi: Move -fopenmp description to "Options for
dnovillo [Fri, 24 Feb 2006 22:56:57 +0000 (22:56 +0000)]
* doc/invoke.texi: Move -fopenmp description to "Options for
Code Generation".
Remove reference to -lgomp.

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

14 years ago * doc/install.texi: Require GNU tar version 1.14.
dje [Fri, 24 Feb 2006 21:52:14 +0000 (21:52 +0000)]
    * doc/install.texi: Require GNU tar version 1.14.

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

14 years agoIndex: gcc/ChangeLog
geoffk [Fri, 24 Feb 2006 21:43:01 +0000 (21:43 +0000)]
Index: gcc/ChangeLog
2006-02-24  Geoffrey Keating  <geoffk@apple.com>

* doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS.
* doc/invoke.texi (C++ Dialect Options): Document
-fno-use-cxa-get-exception-ptr.
* configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1.
* configure: Regenerate.
* c.opt (fuse-cxa-get-exception-ptr): New.
* c-opts.c (c_common_handle_option): Handle
OPT_fuse_cxa_get_exception_ptr.
* c-common.c (flag_use_cxa_atexit): Update documentation.
(flag_use_cxa_get_exception_ptr): New.
* c-common.h (flag_use_cxa_get_exception_ptr): New.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve
documentation.
(C_COMMON_OVERRIDE_OPTIONS): New.

Index: gcc/testsuite/ChangeLog
2006-02-24  Geoffrey Keating  <geoffk@apple.com>

* g++.dg/eh/uncaught1.C: Add dg-options for ppc-darwin.
* g++.dg/eh/uncaught2.C: New.
* g++.dg/eh/uncaught3.C: New.

Index: gcc/cp/ChangeLog
2006-02-24  Geoffrey Keating  <geoffk@apple.com>

* except.c (expand_start_catch_block): Handle
flag_use_cxa_get_exception_ptr.

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

14 years ago PR middle-end/24952
sayle [Fri, 24 Feb 2006 19:29:34 +0000 (19:29 +0000)]
PR middle-end/24952
* combine.c (try_combine): Explicitly check whether GET_CODE is
a SET or a CLOBBER, instead on checking that it isn't a USE.

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

14 years ago2006-02-24 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 24 Feb 2006 19:13:49 +0000 (19:13 +0000)]
2006-02-24  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/array (array<>::swap, assign): Implement.
* include/tr1/array (operator==, operator!=, operator<,
operator>, operator>=, operator<=, swap, get): Inline.
* testsuite/tr1/6_containers/array/requirements/member_swap.cc: New.
* testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
* testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
Likewise.

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

14 years ago * fold-const.c (fold_comparison): New subroutine of fold_binary
sayle [Fri, 24 Feb 2006 18:56:31 +0000 (18:56 +0000)]
* fold-const.c (fold_comparison): New subroutine of fold_binary
containing transformations common to both the equality and
ordering relational operators, factored out of fold_binary.
(fold_binary): Separate out the equality operators (EQ_EXPR
and NE_EXPR) from the ordering operators (LT_EXPR, GT_EXPR,
LE_EXPR and GE_EXPR), calling fold_comparison to perform the
transformations common to both.
(fold_div_compare): Fix latent bugs in the previously unreachable
LT_EXPR and GE_EXPR cases.

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

14 years ago2006-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 24 Feb 2006 18:23:38 +0000 (18:23 +0000)]
2006-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/26423
* gfortran.dg/read_many_1.f: New test.

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

14 years ago2006-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 24 Feb 2006 18:16:25 +0000 (18:16 +0000)]
2006-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/26423
* io/unix.c (fd_seek): Revert change from 25949.
(fd_read): Same.
(fd_write): Same.

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

14 years ago * config/rs6000/rs6000.c (rs6000_init_builtins): Change
dje [Fri, 24 Feb 2006 15:50:10 +0000 (15:50 +0000)]
* config/rs6000/rs6000.c (rs6000_init_builtins): Change
decl libname for clog to __clog on AIX.

* config/rs6000/xcoff.h (MAX_OFILE_ALIGNMENT): Define.

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

14 years ago2006-02-24 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 24 Feb 2006 13:54:06 +0000 (13:54 +0000)]
2006-02-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/26409
* resolve.c (resolve_contained_functions, resolve_types,
gfc_resolve): Revert patch of 2006-02-19.

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

14 years ago2006-02-24 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 24 Feb 2006 10:51:42 +0000 (10:51 +0000)]
2006-02-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24519
* dependency.c (gfc_is_same_range): Correct typo.
(gfc_check_section_vs_section): Call gfc_is_same_range.

PR fortran/25395
* trans-common.c (add_equivalences): Add a new flag that is set when
an equivalence is seen that prevents more from being reset until the
start of a new traversal of the list, thus ensuring completion of
all the equivalences.

2006-02-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24519
* gfortran.dg/dependency_3.f90: New test.
* gfortran.fortran-torture/execute/vect-3.f90: Remove two of the
XFAILs.

PR fortran/25395
* gfortran.dg/equiv_6.f90: New test.

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

14 years ago PR target/26453
amodra [Fri, 24 Feb 2006 06:30:51 +0000 (06:30 +0000)]
PR target/26453
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
output traceback table for thunks.  Localise rs6000_stack_info call.

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

14 years ago * gthr-posix.h (__gthrw): Fix typo in comment.
sayle [Fri, 24 Feb 2006 04:00:07 +0000 (04:00 +0000)]
* gthr-posix.h (__gthrw): Fix typo in comment.

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

14 years agoDaily bump.
gccadmin [Fri, 24 Feb 2006 00:17:56 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * doc/cpp.texi (Character sets): Document that we do support
geoffk [Fri, 24 Feb 2006 00:00:51 +0000 (00:00 +0000)]
* doc/cpp.texi (Character sets): Document that we do support
input files to be in any character set.

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

14 years ago * tree.h (PHI_ARG_NONZERO): Remove.
law [Thu, 23 Feb 2006 22:58:23 +0000 (22:58 +0000)]
    * tree.h (PHI_ARG_NONZERO): Remove.
        * tree-phinodes.c (add_phi_arg): No longer initialize PHI_ARG_NONZERO.
        (remove_phi_arg_num): No longer copy PHI_ARG_NONZERO from the old
        node to the new node.

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

14 years ago PR tree-optimization/26425
law [Thu, 23 Feb 2006 22:47:58 +0000 (22:47 +0000)]
PR tree-optimization/26425
* tree-vrp.c (vrp_visit_assignment): If the LHS's type has a NULL
min/max, then assume its varying.

* gcc.c-torture/compile/pr26425.c: New test.

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

14 years ago2006-02-23 Erik Edelmann <eedelman@gcc.gnu.org>
eedelman [Thu, 23 Feb 2006 21:58:58 +0000 (21:58 +0000)]
2006-02-23  Erik Edelmann  <eedelman@gcc.gnu.org>

        * module.c (read_module): Remove redundant code lines.

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

14 years ago PR rtl-optimization/26316
rakdver [Thu, 23 Feb 2006 21:03:05 +0000 (21:03 +0000)]
PR rtl-optimization/26316
* rtlanal.c (enum may_trap_p_flags): New.
(may_trap_p_1): Take flags instead of unaligned_mems argument.  Ignore
MEM_NOTRAP_P if flags & MTP_AFTER_MOVE.
(may_trap_p, may_trap_or_fault_p): Pass flags to may_trap_p_1.
(may_trap_after_code_motion_p): New function.
* loop-invariant.c (find_identical_invariants): Fix dump formating.
(find_invariant_insn): Use may_trap_after_code_motion_p.
* rtl.h (may_trap_after_code_motion_p): Declare.

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

14 years ago * emit-rtl.c (immed_double_const): Cleanup.
rakdver [Thu, 23 Feb 2006 20:55:21 +0000 (20:55 +0000)]
* emit-rtl.c (immed_double_const): Cleanup.

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

14 years ago2006-02-23 Scott Gilbertson <scottg@mantatest.com>
sgilbertson [Thu, 23 Feb 2006 20:50:49 +0000 (20:50 +0000)]
2006-02-23  Scott Gilbertson  <scottg@mantatest.com>

* gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
before returning, handle null clip.
(getClipBounds): Handle null clip.
* gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
* gnu/awt/xlib/XCanvasPeer.java ():
(getLocationOnScreen): Implement.
* classpath/gnu/java/awt/peer/GLightweightPeer.java
(repaint): Merged with Classpath.
* classpath/java/awt/Graphics.java (hitClip): Merged with
Classpath.

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

14 years agoadd missing full stops in the changelog of a previous patch
espindola [Thu, 23 Feb 2006 20:32:24 +0000 (20:32 +0000)]
add missing full stops in the changelog of a previous patch

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

14 years ago2006-02-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 23 Feb 2006 20:20:57 +0000 (20:20 +0000)]
2006-02-23  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/codecvt/in/wchar_t/1.cc (test01): Change int
to size_t. Use explicit static_cast for casts.
* testsuite/22_locale/codecvt/in/wchar_t/6.cc (test06): Same.
* testsuite/22_locale/codecvt/in/wchar_t/5.cc (test05): Same.
* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc (test01): Same.

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

14 years ago2006-02-23 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 23 Feb 2006 18:16:12 +0000 (18:16 +0000)]
2006-02-23  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/26376
* tree-ssa-structalias.c (find_func_aliases):  Use get_id_for_tree,
remove assert.

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

14 years ago PR middle-end/26412
jakub [Thu, 23 Feb 2006 18:06:21 +0000 (18:06 +0000)]
PR middle-end/26412
* gimplify.c (omp_add_variable): Guard variable size decl test with
DECL_SIZE (decl) check.

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

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

14 years ago2006-02-23 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 23 Feb 2006 16:03:47 +0000 (16:03 +0000)]
2006-02-23  Richard Guenther  <rguenther@suse.de>

PR middle-end/26439
* tree-ssa-structalias.c (find_func_aliases): Handle complex types
like aggregate types.

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

14 years ago2006-02-20 Andrew Haley <aph@redhat.com>
aph [Thu, 23 Feb 2006 10:34:38 +0000 (10:34 +0000)]
2006-02-20  Andrew Haley  <aph@redhat.com>

        * jcf-parse.c (parse_class_file): Set input_location from
        current_class.

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

14 years ago2006-02-23 Jakub Jelinek <jakub@redhat.com>
jakub [Thu, 23 Feb 2006 08:58:22 +0000 (08:58 +0000)]
2006-02-23  Jakub Jelinek  <jakub@redhat.com>

* configure.ac: Add --with{,out}-long-double-128 configure option.
(TARGET_DEFAULT_LONG_DOUBLE_128): New test.
* configure: Rebuilt.
* config.in: Rebuilt.
* doc/install.texi (Options specification): Document
--with-long-double-128.

* config/rs6000/linux.h [TARGET_DEFAULT_LONG_DOUBLE_128]
(RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128.
* config/rs6000/linux64.h [TARGET_DEFAULT_LONG_DOUBLE_128]
(RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128.

2006-02-23  Aldy Hernandez  <aldyh@redhat.com>

* config/s390/s390.c (override_options): Handle
TARGET_DEFAULT_LONG_DOUBLE_128.

* config/alpha/alpha.c (override_options): Handle
TARGET_DEFAULT_LONG_DOUBLE_128.

* config/sparc/sparc.c (sparc_override_options): Handle
TARGET_DEFAULT_LONG_DOUBLE_128.

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

14 years agoDaily bump.
gccadmin [Thu, 23 Feb 2006 00:17:51 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR).
drow [Wed, 22 Feb 2006 20:21:14 +0000 (20:21 +0000)]
* Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR).
(real-install-headers-tar, real-install-headers-cpio)
(real-install-headers-cp): New targets.

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

14 years ago2006-02-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Feb 2006 20:02:37 +0000 (20:02 +0000)]
2006-02-22  Paolo Carlini  <pcarlini@suse.de>

* Adjust last ChangeLog.

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

14 years ago * tree.h (variable_section): Delete.
rsandifo [Wed, 22 Feb 2006 19:58:37 +0000 (19:58 +0000)]
* tree.h (variable_section): Delete.
* varasm.c (variable_section): Delete.

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

14 years ago2006-02-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Feb 2006 19:58:08 +0000 (19:58 +0000)]
2006-02-22  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_node_iterator.html:
Fix links.
* docs/html/ext/pb_assoc/hash_based_containers.html: Likewise.
* docs/html/ext/pb_assoc/hash_standard_resize_policy.html: Likewise.
* docs/html/ext/pb_assoc/interface.html: Likewise..
* docs/html/ext/pb_assoc/list_updates.html: Likewise.
* docs/html/ext/pb_assoc/resize_policies.html: Likewise.
* docs/html/ext/pb_assoc/sample_probe_fn.html: Likewise.
* docs/html/ext/pb_assoc/sample_range_hashing.html: Likewise.
* docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: Likewise.
* docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: Likewise.
* docs/html/ext/pb_assoc/sample_resize_policy.html: Likewise.
* docs/html/ext/pb_assoc/tree_assoc_cntnr_const_node_iterator.html:
Likewise.
* docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: Likewise.

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

14 years ago PR c++/26291
reichelt [Wed, 22 Feb 2006 17:22:08 +0000 (17:22 +0000)]
PR c++/26291
* decl.c (grok_op_properties): Check for ellipsis in arguments of
        operators.

* g++.dg/other/ellipsis1.C: New test.
* g++.dg/parse/operator4.C: Adjust error marker.

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

14 years ago2006-02-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Feb 2006 17:05:58 +0000 (17:05 +0000)]
2006-02-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/26132
* include/tr1/hashtable (hashtable<>::rehash): Define.
* testsuite/tr1/6_containers/unordered/hashtable/26132.cc: New.

* include/tr1/hashtable: Trivial formatting and stylistic fixes.

* testsuite/tr1/headers.cc: remove <tr1/hashtable>, not a tr1 header,
only an implementation detail.

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

14 years ago2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 22 Feb 2006 16:59:45 +0000 (16:59 +0000)]
2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>

PR target/25603
* gfortran.dg/pr25603.f: New testcase.

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

14 years ago2006-02-22 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 22 Feb 2006 13:36:31 +0000 (13:36 +0000)]
2006-02-22  Paolo Bonzini  <bonzini@gnu.org>

* install.texi: Add notes on install.texi2html.
(Building in parallel): Do not use footnotes.

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

14 years ago * src/sh/sysv.S: Fix register numbers in the FDE for
kkojima [Wed, 22 Feb 2006 11:26:05 +0000 (11:26 +0000)]
* src/sh/sysv.S: Fix register numbers in the FDE for
ffi_closure_SYSV.

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

14 years ago2006-02-22 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Feb 2006 10:20:09 +0000 (10:20 +0000)]
2006-02-22  Paolo Carlini  <pcarlini@suse.de>

* include/debug/list (splice): Remove splice_alloc check, redundant
after implementing the splice bits of N1599.

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

14 years ago * gcc.dg/bf-spl1.c: Don't specify -m68000.
nathan [Wed, 22 Feb 2006 09:05:07 +0000 (09:05 +0000)]
* gcc.dg/bf-spl1.c: Don't specify -m68000.
* g++.old-deja/g++.pt/static11.C: Xfail for m68k-elf

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

14 years ago2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 22 Feb 2006 02:26:47 +0000 (02:26 +0000)]
2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
_GLIBCXX_END_NAMESPACE.

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

14 years ago2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 22 Feb 2006 00:57:24 +0000 (00:57 +0000)]
2006-02-21  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Simplify debug namespaces.
* include/ext/hash_set: Specialize insert_iterator after norm,
debug containers have been (optionally) declared. Use nested
namespaces.
* include/ext/hash_map: Same.
* include/debug/hash_map.h (insert): Add specialization for value
pointer types.
* include/debug/hash_set.h (insert): Same.
* include/debug/hash_multimap.h: Change __gnu_debug_def to __debug.
* include/debug/set.h: Same.
* include/debug/bitset: Same.
* include/debug/multiset.h: Same.
* include/debug/hash_multiset.h: Same.
* include/debug/vector: Same.
* include/debug/map.h: Same.
* include/debug/deque: Same.
* include/debug/list: Same.
* include/debug/multimap.h. Same.
* include/debug/macros.h: Use __gnu_debug.
* include/debug/debug.h: Same.
* include/debug/formatter.h: Same.
* include/debug/safe_sequence.h: Same.
* include/debug/functions.h: Same.
* include/debug/safe_base.h: Same.
* include/debug/safe_iterator.h: Same.
* include/debug/safe_iterator.tcc: Same.
(_M_invalidate): Adjust compare order.
* include/debug/string: Change std::__gnu_debug to __gnu_debug.
* include/ext/hashtable.h: Formatting fixes.
* include/bits/stl_map.h: Formatting fixes.
* src/compatibility.cc: Adjust compatibility symbols for old debug
mode model.
* src/debug_list.cc: Tweak.
* src/debug.cc: Adjust namespaces.
* docs/html/debug_mode.html: Adjust namespace names.
* testsuite/25_algorithms/heap/heap.cc: Restore _GLIBCXX_DEBUG
macro guards, as count values differ when in debug mode.
* testsuite/23_containers/vector/26412.cc: Move to...
* testsuite/23_containers/vector/26412-1.cc: ... here.
* testsuite/23_containers/vector/26412-2.cc: Add.

* include/ext/pb_assoc/detail/standard_policies.hpp
(PB_ASSOC_HASH_NAMESPACE): Remove, use __gnu_cxx::hash_map and
std::equal_to.

* configure.ac (libtool_VERSION): To 6:8:0.
* configure: Regenerate.
* config/abi/pre/gnu.ver: Revert to exporting __gnu_debug symbols.
(GLIBCXX_3.4.8): New.
* testsuite/testsuite_abi.cc: Add GLIBCXX_3.4.8 to known versions.

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

14 years ago2006-02-21 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 22 Feb 2006 00:42:04 +0000 (00:42 +0000)]
2006-02-21  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/hashtable: Trivial formatting fixes.

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

14 years agoDaily bump.
gccadmin [Wed, 22 Feb 2006 00:17:53 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR libgomp/26234
aldyh [Tue, 21 Feb 2006 21:53:21 +0000 (21:53 +0000)]
PR libgomp/26234
* doc/install.texi (Configuration): Document --disable-libgomp.

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

14 years ago * config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
geoffk [Tue, 21 Feb 2006 20:36:35 +0000 (20:36 +0000)]
* config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.

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

14 years ago2006-02-21 Erik Edelmann <eedelman@gcc.gnu.org>
eedelman [Tue, 21 Feb 2006 20:28:06 +0000 (20:28 +0000)]
2006-02-21  Erik Edelmann  <eedelman@gcc.gnu.org>

        * MAINTAINERS (Write After Approval):  Remove myself.
        (Language Front End Maintainers):  Add myself as fortran 95 maintainer.

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

14 years ago* config/i386/sse.md (vec_extractv2df_1_sse): New.
aoliva [Tue, 21 Feb 2006 19:24:48 +0000 (19:24 +0000)]
* config/i386/sse.md (vec_extractv2df_1_sse): New.
(vec_extractv2df_0_sse): New.

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

14 years ago* defaults.h (CFA_FRAME_BASE_OFFSET): Define.
aoliva [Tue, 21 Feb 2006 19:21:21 +0000 (19:21 +0000)]
* defaults.h (CFA_FRAME_BASE_OFFSET): Define.
* config/ia64/ia64.h (CFA_FRAME_BASE_OFFSET): Override.
* doc/tm.texi (CFA_FRAME_BASE_OFFSET): Document.
* dwarf2out.c (build_cfa_loc): New offset parameter.  Add it
to the result of the expression.
(def_cfa_1): Adjust.
(frame_pointer_cfa_offset): Rename to...
(frame_pointer_fb_offset): ... this.  Adjust all uses.
(convert_cfa_to_loc_list): Rename to...
(convert_cfa_to_fb_loc_list): ... this.  New offset parameter.
Pass it on to build_cfa_loc.
(compute_frame_pointer_to_cfa_displacement): Rename to...
(compute_frame_pointer_to_fb_displacement): ... this.  New
offset parameter.  Use it in computation.
(gen_subprogram_die): Compute cfa_fb_offset with the new
macro, and use it to compute the fb loc list and the
displacement.

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

14 years ago PR libobjc/26309
ro [Tue, 21 Feb 2006 19:13:21 +0000 (19:13 +0000)]
PR libobjc/26309
* thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.

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

14 years ago * config/bfin/predicates.md (cc_operand): Delete predicate. All uses
bernds [Tue, 21 Feb 2006 15:32:21 +0000 (15:32 +0000)]
* config/bfin/predicates.md (cc_operand): Delete predicate.  All uses
replaced with register_operand.
* config/bfin/bfin.c (bfin_register_move_cost): Moving CC to any
non-DREG is expensive.
* config/bfin/bfin.h (FIXED_REGISTERS): CC isn't fixed.
* config/bfin/bfin.md (movbi): Fix constraints and template for moves
involving memory.

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

14 years ago * Makefile.tpl (BUILD_CONFIGDIRS): Remove
espindola [Tue, 21 Feb 2006 13:57:53 +0000 (13:57 +0000)]
   * Makefile.tpl  (BUILD_CONFIGDIRS): Remove
       (TARGET_CONFIGDIRS): Remove
       * configure.in: Remove AC_SUBST(target_configdirs)
       * Makefile.in, configure: Regenerated

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

14 years ago * doc/install.texi2html: Use set -e.
jsm28 [Tue, 21 Feb 2006 12:06:31 +0000 (12:06 +0000)]
* doc/install.texi2html: Use set -e.

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

14 years ago2006-02-21 Robert Schuster <robertschuster@fsfe.org>
rschuster [Tue, 21 Feb 2006 10:32:31 +0000 (10:32 +0000)]
2006-02-21  Robert Schuster  <robertschuster@fsfe.org>

        * link.cc: Added variant of create_error_method that
        will not complain about unused parameter if compiled with
        USE_LIBFFI not being defined.
        (_Jv_Linker::find_field_helper): Fixed indentation.
        (_Jv_Linker::create_error_method): Fixed indentation.
        (_Jv_Linker::link_symbol_table): Fixed indentation.

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

14 years ago * doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
rsandifo [Tue, 21 Feb 2006 08:51:26 +0000 (08:51 +0000)]
* doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
(ASM_OUTPUT_SHARED_LOCAL): Delete.
* doc/invoke.texi (-fshared-data): Delete.
* common.opt (fshared-data): Delete.
* varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling.
(assemble_static_space): Remove #if 0 code.
* system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
(ASM_OUTPUT_SHARED_LOCAL): Poison.
* config/cris/cris.h: Remove FIXME.

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

14 years ago2006-02-21 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 21 Feb 2006 08:45:09 +0000 (08:45 +0000)]
2006-02-21  Paolo Bonzini  <bonzini@gnu.org>

* doc/sourcebuild.texi (Front End Directory): No more double-colon
hooks.

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

14 years ago PR middle-end/26379
jakub [Tue, 21 Feb 2006 08:09:08 +0000 (08:09 +0000)]
PR middle-end/26379
* combine.c (simplify_shift_const_1): Disable nested shifts
optimization for vector shifts.

* gcc.target/i386/mmx-7.c: New test.

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

14 years ago PR tree-optimization/26361
sayle [Tue, 21 Feb 2006 02:28:03 +0000 (02:28 +0000)]
PR tree-optimization/26361
* tree-vrp.c (extract_range_from_unary_expr): Handle NEGATE_EXPR
of unsigned integer types.

* gcc.dg/tree-ssa/vrp27.c: New test case.

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

14 years ago * pexecute.c (pwait): Syntax fix for previous change.
bje [Tue, 21 Feb 2006 02:21:44 +0000 (02:21 +0000)]
* pexecute.c (pwait): Syntax fix for previous change.

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

14 years ago* pexecute.c (pwait): Free vector pointer.
dj [Tue, 21 Feb 2006 01:21:49 +0000 (01:21 +0000)]
* pexecute.c (pwait): Free vector pointer.
* partition.c (partition_print): Free class_elements pointer.

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

14 years agoDaily bump.
gccadmin [Tue, 21 Feb 2006 00:18:04 +0000 (00:18 +0000)]
Daily bump.

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

14 years ago2006-02-20 Steven G. Kargl <kargls@comcast.net>
kargl [Mon, 20 Feb 2006 21:46:36 +0000 (21:46 +0000)]
2006-02-20  Steven G. Kargl  <kargls@comcast.net>

    * MAINTAINERS (Write After Approval):  Remove myself.
    (Language Front End Maintainers):  Add myself as fortran 95 maintainer.

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

14 years ago2006-02-20 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Mon, 20 Feb 2006 21:10:14 +0000 (21:10 +0000)]
2006-02-20  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/return_fl2.c (return_fl): Remove static
declaration to avoid a false negative on ix86. See PR323.

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

14 years ago * tree-chrec.c (eq_evolutions_p): New.
spop [Mon, 20 Feb 2006 20:25:54 +0000 (20:25 +0000)]
* tree-chrec.c (eq_evolutions_p): New.
* tree-chrec.h (eq_evolutions_p): Declared.
* tree-data-ref.c: Fix formatting.
(datadep_stats, dependence_stats): New.
(gcd): Moved...
(print_direction_vector): New.
(dump_data_dependence_relation): Use print_direction_vector.
(object_analysis, create_data_ref): Handle COMPONENT_REF.
(compute_subscript_distance): Static.
(initialize_data_dependence_relation): Static.  Get the number
of loops surrounding the references from the callers, and initialize
DDR_SIZE_VECT to nb_loops.  Use both base_addr_differ_p and
base_object_differ_p analyzers.
(analyze_ziv_subscript, analyze_siv_subscript_cst_affine,
compute_overlap_steps_for_affine_1_2,
analyze_subscript_affine_affine): Count the classified dependences.
Print a message when a test failed.
(can_use_analyze_subscript_affine_affine): New.
(analyze_siv_subscript): Compute the data dependences on symbolic
scevs that verify can_use_analyze_subscript_affine_affine.
(chrec_steps_divide_constant_p): Returns true, false, or unknown.
(analyze_miv_subscript): Update use of chrec_steps_divide_constant_p.
Handle symbolic scevs.
(analyze_overlapping_iterations): Let symbolic affine scevs to be
analyzed.
(subscript_dependence_tester): Moved...
(build_classic_dist_vector, build_classic_dir_vector): Don't use
lambda_vector_clear on newly allocated vectors.  Get nb_loops from
DDR_SIZE_VECT instead of getting it in parameter.
(subscript_dependence_tester): ... here.  Take as a parameter
loop_nest_depth.  Call build_classic_dist_vector and
build_classic_dir_vector.
(compute_affine_dependence): Update subscript_dependence_tester
parameters.  Update datadep_stats counters.  Call
compute_subscript_distance.
(compute_self_dependence): Save the dist and dir vectors.  Call
compute_subscript_distance.
(ddr_p, DEF_VEC_P(ddr_p), DEF_VEC_ALLOC_P(ddr_p,heap)): Moved...
(compute_all_dependences): Reorder parameters as they were before
conversion to VEC.  Pass nb_loops and loop_nest_depth.  Don't call
compute_subscript_distance.  Update the use of
compute_affine_dependence and initialize_data_dependence_relation.
(find_data_references_in_loop): Handle COMPONENT_REF.
(compute_data_dependences_for_loop): Initialize dependence_stats.
Don't call build_classic_dist_vector and build_classic_dir_vector.
Update the parameters of initialize_data_dependence_relation and
compute_all_dependences.  Print the statistics from datadep_stats.
(analyze_all_data_dependences): Static.  Not used until the pass for
checking the data dependences is contributed.
* tree-data-ref.h (ddr_p, DEF_VEC_P(ddr_p),
DEF_VEC_ALLOC_P(ddr_p,heap)): ... here.
(initialize_data_dependence_relation, compute_affine_dependence,
analyze_all_data_dependences, compute_subscript_distance): Removed.
(print_direction_vector): New.
* lambda.h (gcd): ... here.
(lambda_vector_gcd): Moved here from gcd_vector.
* lambda-code.c (gcd, gcd_vector): Removed.
(lambda_compute_target_space): Use lambda_vector_gcd.  Fix formatting.
* Makefile.in (tree-vect-patterns.o): Depends on TREE_DATA_REF_H.

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

14 years ago * ipa-type-escape.c: Tidy some comments and white space.
dnovillo [Mon, 20 Feb 2006 19:52:56 +0000 (19:52 +0000)]
* ipa-type-escape.c: Tidy some comments and white space.
* tree-ssa-operands.c: Likewise.

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

14 years ago2006-02-20 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 20 Feb 2006 18:01:59 +0000 (18:01 +0000)]
2006-02-20  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/tree-ssa/complex-3.c: Split out first part into ...
        * gcc.dg/tree-ssa/complex-4.c: Here.

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

14 years ago2006-02-20 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 20 Feb 2006 17:47:34 +0000 (17:47 +0000)]
2006-02-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/25879
        * tree-pretty-print.c (debug_tree_chain): Walk the chains.
        (dump_decl_name): Do not walk the decl tree chains.
        * tree-pass.h (TDF_CHAIN): Remove.

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

14 years ago * gcc/objc/Make-lang.in (OBJC): Remove
espindola [Mon, 20 Feb 2006 17:17:04 +0000 (17:17 +0000)]
          * gcc/objc/Make-lang.in (OBJC): Remove
              (OBJECTIVE-C): Remove
              (objective-c): Remove
              (.PHONY): Remove objective-c and ObjC
              * gcc/objcp/Make-lang.in (OBJ-C++): Remove
              (.PHONY): Remove Obj-c++ and obj-C++. Add obj-c++
              * gcc/cp/Make-lang.in (C++): Remove
              (.PHONY): Remove C++
              * gcc/ada/Make-lang.in (Ada): Remove
              (.PHONY): Remove Ada
              * gcc/fortran/Make-lang.in (FORTRAN): Remove
              (.PHONY): Remove F95 and f95. Add fortran
              * gcc/treelang/Make-lang.in (.phony): Remove TREELANG
              (TREELANG): Remove
              * gcc/Makefile.in (C): Remove
              (PROTO): Remove
              (.PHONY): Remove C and PROTO

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

14 years ago2006-02-15 Andrew Haley <aph@redhat.com>
aph [Mon, 20 Feb 2006 16:16:34 +0000 (16:16 +0000)]
2006-02-15  Andrew Haley  <aph@redhat.com>

        * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.
        (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL,
        TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here.

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

14 years ago PR middle-end/26236
sayle [Mon, 20 Feb 2006 15:05:15 +0000 (15:05 +0000)]
PR middle-end/26236
* doc/c-tree.texi (INTEGER_TYPE): Remove reference to the now
deprecated CHAR_TYPE tree code.

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

14 years ago2006-02-20 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 20 Feb 2006 14:50:08 +0000 (14:50 +0000)]
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac (target_list): Add install-info, dvi, html.
* configure: Regenerate.

* ada/Make-lang.in, cp/Make-lang.in, fortran/Make-lang.in,
java/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in,
treelang/Make-lang.in: Do not use double-colon rules.

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

14 years ago * trans-stmt.c (gfc_trans_where_2): Avoid updating unused current
sayle [Mon, 20 Feb 2006 14:22:33 +0000 (14:22 +0000)]
* trans-stmt.c (gfc_trans_where_2): Avoid updating unused current
execution mask for empty WHERE/ELSEWHERE clauses.  Don't allocate
temporary mask arrays if they won't be used.

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

14 years ago2006-02-20 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 20 Feb 2006 14:20:51 +0000 (14:20 +0000)]
2006-02-20  Paolo Carlini  <pcarlini@suse.de>

Revert recent commit for libstdc++/26211, now suspended waiting for
DR 342 (reopened) to reach a new resolution.
* include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
seekg(off_type, ios_base::seekdir)): Remove sentry.
* testsuite/27_io/basic_istream/seekg/char/26211.cc: Remove.
* testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Revert changes.
* testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.

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

14 years ago * trans-stmt.c (gfc_trans_where_assign): Remove code to handle
sayle [Mon, 20 Feb 2006 14:15:35 +0000 (14:15 +0000)]
* trans-stmt.c (gfc_trans_where_assign): Remove code to handle
traversing a linked list of MASKs.  The MASK is now always a
single element requiring no ANDing during the assignment.

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

14 years ago2006-02-20 Daniel Berlin <dberlin@dberlin.org>
dberlin [Mon, 20 Feb 2006 13:38:01 +0000 (13:38 +0000)]
2006-02-20  Daniel Berlin  <dberlin@dberlin.org>

* tree.h (struct tree_memory_tag): Add is_used_alone member.
(TMT_USED_ALONE): New macro.
* tree-pass.h (PROP_tmt_usage): New property.
(TODO_update_tmt_usage): New todo.
* tree-ssa-alias.c (updating_used_alone): New variable.
(recalculate_used_alone): New function.
(compute_may_aliases): Set updating_used_alone, call
recalculate_used_alone.
* tree-sra.c (pass_sra): Note that this pass destroys
PROP_tmt_usage, and add TODO_update_tmt_usage.
* tree-ssa-forwprop.c (pass_forwprop): Ditto.
* tree-flow.h (updating_used_alone): Prototype.
(recalculate_used_alone): Ditto.
* passes.c (execute_todo): Add code to set updating_used_alone,
and call recalculate.
* tree-ssa-operands.c (add_virtual_operand): Only append bare def
for clobber if used alone, and add assert to verify used_alone
status.

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

14 years ago2006-02-20 Angel Nunez Mencias <anunez@de.ibm.com>
krebbel [Mon, 20 Feb 2006 08:42:27 +0000 (08:42 +0000)]
2006-02-20  Angel Nunez Mencias  <anunez@de.ibm.com>

* config/s390/s390.c (legitimize_pic_address): Assertions checking
for non tls symbols added.
(legitimize_address): Do nothing for PLUS expressions if one of the
addends is a tls symbol reference.

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

14 years ago2006-02-20 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 20 Feb 2006 08:29:17 +0000 (08:29 +0000)]
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/25670

* Makefile.tpl ([+compare-target+]): Print explanation messages.

* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.

* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.

* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`.  Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.

* Makefile.in: Regenerate.
* configure: Regenerate.

gcc:
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/25476

* Makefile.in (LDFLAGS): Define from autoconf substitution.

* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.

* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured.  For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.

* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one.  Run the commands to run fixincludes in the same
subshell.

* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools.  Document toplevel bootstrap.  Document
something more about building an Ada cross-compiler.  Don't list GNU Make
requirements which affect all platforms.

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

14 years ago PR middle-end/19543
sayle [Mon, 20 Feb 2006 00:34:12 +0000 (00:34 +0000)]
PR middle-end/19543
* varasm.c (compare_constant) <INTEGER_CST>: Integer constants are
only equivalent if the have both the same mode and precision.

* gfortran.dg/logical_1.f90: New test case.

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

14 years agoDaily bump.
gccadmin [Mon, 20 Feb 2006 00:17:42 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * doc/tree-ssa.texi (Interfaces): Describe low vs. high GIMPLE.
bje [Sun, 19 Feb 2006 23:09:26 +0000 (23:09 +0000)]
* doc/tree-ssa.texi (Interfaces): Describe low vs. high GIMPLE.

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

14 years ago * gcse.c (want_to_gcse_p): On STACK_REGS targets, look through
sayle [Sun, 19 Feb 2006 22:01:17 +0000 (22:01 +0000)]
* gcse.c (want_to_gcse_p): On STACK_REGS targets, look through
constant pool references to identify stack mode constants.
* rtlanal.c (constant_pool_constant_p): New predicate to check
whether operand is a floating point constant in the pool.
* rtl.h (constant_pool_constant_p): Prototype here.
* loop.c (scan_loop): Avoid hoisting constants from the constant
pool on STACK_REGS targets.
(load_mems): Likewise.
* loop-invariant.c (get_inv_cost): Make hoisting constant pool
loads into x87 registers expensive in terms of register pressure.

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

14 years ago * gthr-posix.h: On Tru64, map __gthr_foo as a weak reference to
sayle [Sun, 19 Feb 2006 21:49:58 +0000 (21:49 +0000)]
* gthr-posix.h: On Tru64, map __gthr_foo as a weak reference to
__foo and not foo when _PTHREAD_USE_MANGLED_NAMES_ is defined.

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

14 years ago PR libfortran/21303
fxcoudert [Sun, 19 Feb 2006 21:31:02 +0000 (21:31 +0000)]
PR libfortran/21303

* gfortran.h (notification): New enumeration.
(gfc_notification_std): Prototype for the new function.
* error.c (gfc_notification_std): New function.
* io.c (check_format): Handle the case of a L format descriptor
without a width.

* runtime/error.c (notification_std): New function.
* libgfortran.h (notification): New enumeration.
* io/io.h (notification_std): Prototype for the new function.
* io/format.c (parse_format_list): Handle the case of a L format
descriptor without a width.

* gcc/testsuite/gfortran.dg/fmt_l.f90: New test.

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

14 years ago2006-02-19 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Sun, 19 Feb 2006 20:28:02 +0000 (20:28 +0000)]
2006-02-19  Thomas Koenig  <Thomas.Koenig@online.de>

        * gfortran.texi:  Document environment variables which
        influence runtime behavior.

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

14 years ago PR middle-end/26334
jakub [Sun, 19 Feb 2006 20:01:26 +0000 (20:01 +0000)]
PR middle-end/26334
* gcc.dg/20060218-1.c: Moved to...
* gcc.target/i386/20060218-1.c: ... here.  New test.

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