Paolo Carlini [Mon, 27 Feb 2006 12:38:49 +0000 (12:38 +0000)]
re PR libstdc++/14866 (27_io/ios_base/sync_with_stdio/1.cc is broken on simulator testglue targets)
2006-02-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14866
* testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect
stderr instead.
From-SVN: r111474
Paolo Carlini [Mon, 27 Feb 2006 09:40:31 +0000 (09:40 +0000)]
2006-02-27 Paolo Carlini <pcarlini@suse.de>
* Add <tr1/cstdbool> and <tr1/stdbool.h>, missing from
the last commit.
From-SVN: r111472
Roger Sayle [Mon, 27 Feb 2006 03:22:18 +0000 (03:22 +0000)]
fold-const.c (fold_binary): Fold (~X & C) eq/ne 0 as (X & C) ne/eq 0, where C is a single bit, i.e.
* fold-const.c (fold_binary) <EQ_EXPR>: Fold (~X & C) eq/ne 0 as
(X & C) ne/eq 0, where C is a single bit, i.e. a power of two.
Fold both "((X & C) ^ C) eq/ne 0" and "((X ^ C) & C) eq/ne 0"
as (X & C) ne/eq 0.
* gcc.dg/fold-eqandnot-1.c: New test case.
From-SVN: r111471
Roger Sayle [Mon, 27 Feb 2006 02:25:57 +0000 (02:25 +0000)]
re PR middle-end/19983 (__builtin_nan should allow 0X as well as 0x)
PR middle-end/19983
* real.c (real_nan): Allow both 0x and 0X as hexadecimal prefixes.
* gcc.c-torture/execute/ieee/builtin-nan-1.c: New test case.
From-SVN: r111470
Zdenek Dvorak [Mon, 27 Feb 2006 01:32:56 +0000 (02:32 +0100)]
opts.c (decode_options): Do not handle flag_strength_reduce.
* opts.c (decode_options): Do not handle flag_strength_reduce.
(common_handle_option): Handle OPT_floop_optimize, OPT_frerun_loop_opt
and OPT_fstrength_reduce.
* tree-ssa-loop.c (tree_ssa_loop_prefetch): Only test
flag_prefetch_loop_arrays for being nonzero.
* common.opt (floop-optimize, frerun-loop-opt): Resurrected as
no-ops.
(fprefetch-loop-arrays-rtl): Removed.
(flag_prefetch_loop_arrays): Do not specify the value.
* doc/passes.texi: Update documentation of loop optimizer
passes.
* doc/invoke.texi (-fstrength-reduce, -fprefetch-loop-arrays-rtl,
-frerun-loop-opt): Remove.
* gcc.target/i386/
20000614-2.c: Do not use -fno-strength-reduce.
* gcc.dg/
20030324-1.c: Do not use -fstrength-reduce.
From-SVN: r111469
GCC Administrator [Mon, 27 Feb 2006 00:17:43 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r111467
Richard Guenther [Sun, 26 Feb 2006 21:02:43 +0000 (21:02 +0000)]
re PR tree-optimization/26421 (tree-ssa-alias.c:find_used_portions considers foo(&var) use all elements of var)
2006-02-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/26421
* tree-ssa-alias.c (find_used_portions): Don't treat parameters
in function calls that are ADDR_EXPRs as using the whole structure.
* gcc.dg/tree-ssa/pr26421.c: New testcase.
From-SVN: r111461
Steven Bosscher [Sun, 26 Feb 2006 20:23:40 +0000 (20:23 +0000)]
common.opt (-floop-optimize, [...]): Remove.
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.
From-SVN: r111459
Zack Weinberg [Sun, 26 Feb 2006 19:32:37 +0000 (19:32 +0000)]
md.texi (Machine Constraints): Refer to all files with paths relative to gcc directory (i.e.
* 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.
From-SVN: r111457
Paolo Carlini [Sun, 26 Feb 2006 18:42:29 +0000 (18:42 +0000)]
cmath: Add templates (8.16.3).
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.
From-SVN: r111456
Roger Sayle [Sun, 26 Feb 2006 16:10:30 +0000 (16:10 +0000)]
fold-const.c (fold_binary): Fold (X & 1) ^ 1 as (X & 1) == 0.
* 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.
From-SVN: r111454
Roger Sayle [Sun, 26 Feb 2006 15:36:52 +0000 (15:36 +0000)]
re PR tree-optimization/21137 (Convert (a >> 2) & 1 != 0 into a & 4 != 0)
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.
Co-Authored-By: James A. Morrison <phython@gcc.gnu.org>
From-SVN: r111453
Dorit Nuzman [Sun, 26 Feb 2006 12:55:43 +0000 (12:55 +0000)]
re PR middle-end/25125 ((short) ((int)(unsigned short) + (int)) is done in the wrong type)
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.
From-SVN: r111452
Dorit Nuzman [Sun, 26 Feb 2006 09:27:35 +0000 (09:27 +0000)]
re PR tree-optimization/26359 (Over optimization of loop when using -ftree-vectorize)
PR tree-optimization/26359
* tree-ssa-alias.c (new_type_alias): Set fields for new tag.
From-SVN: r111451
GCC Administrator [Sun, 26 Feb 2006 00:17:47 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r111449
Roger 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-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.
From-SVN: r111443
Roger Sayle [Sat, 25 Feb 2006 22:27:54 +0000 (22:27 +0000)]
re PR middle-end/23673 (fold does not fold (a^b) != 0 to a != b)
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.
From-SVN: r111442
Andreas Tobler [Sat, 25 Feb 2006 21:23:09 +0000 (22:23 +0100)]
[multiple changes]
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.
From-SVN: r111441
Juergen Weigert [Sat, 25 Feb 2006 21:01:55 +0000 (21:01 +0000)]
scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.
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.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r111440
Thomas Koenig [Sat, 25 Feb 2006 10:32:19 +0000 (10:32 +0000)]
re PR fortran/23092 ([4.1 only] scalar mask for minval/maxval/sum/product)
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.
From-SVN: r111438
Adam 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.
* combine.c (gen_lowpart_or_truncate): Call
simplify_gen_unary(TRUNCATE, ...) instead of gen_rtx_TRUNCATE.
From-SVN: r111437
GCC Administrator [Sat, 25 Feb 2006 00:17:37 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r111435
Diego Novillo [Fri, 24 Feb 2006 22:56:57 +0000 (22:56 +0000)]
invoke.texi: Move -fopenmp description to "Options for Code Generation".
* doc/invoke.texi: Move -fopenmp description to "Options for
Code Generation".
Remove reference to -lgomp.
From-SVN: r111429
David Edelsohn [Fri, 24 Feb 2006 21:52:14 +0000 (21:52 +0000)]
* doc/install.texi: Require GNU tar version 1.14.
From-SVN: r111428
Geoffrey Keating [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.
From-SVN: r111427
Roger Sayle [Fri, 24 Feb 2006 19:29:34 +0000 (19:29 +0000)]
re PR middle-end/24952 (ICE: RTL check: expected code 'set' or 'clobber', have 'unspec' in try_combine, at combine.c:2898)
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.
From-SVN: r111425
Paolo Carlini [Fri, 24 Feb 2006 19:13:49 +0000 (19:13 +0000)]
array (array<>::swap, assign): Implement.
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.
From-SVN: r111424
Roger 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...
* 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.
From-SVN: r111423
Jerry DeLisle [Fri, 24 Feb 2006 18:23:38 +0000 (18:23 +0000)]
re PR libfortran/26423 (Error on binary I/O for large array)
2006-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26423
* gfortran.dg/read_many_1.f: New test.
From-SVN: r111421
Jerry DeLisle [Fri, 24 Feb 2006 18:16:25 +0000 (18:16 +0000)]
re PR libfortran/26423 (Error on binary I/O for large array)
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.
From-SVN: r111420
David Edelsohn [Fri, 24 Feb 2006 15:50:10 +0000 (15:50 +0000)]
rs6000.c (rs6000_init_builtins): Change decl libname for clog to __clog on AIX.
* config/rs6000/rs6000.c (rs6000_init_builtins): Change
decl libname for clog to __clog on AIX.
* config/rs6000/xcoff.h (MAX_OFILE_ALIGNMENT): Define.
From-SVN: r111418
Paul Thomas [Fri, 24 Feb 2006 13:54:06 +0000 (13:54 +0000)]
re PR fortran/26409 (ICE on Assumed shape nested subroutine)
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.
From-SVN: r111417
Paul Thomas [Fri, 24 Feb 2006 10:51:42 +0000 (10:51 +0000)]
re PR fortran/24519 (gfortran slow because of incomplete dependency checking)
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.
From-SVN: r111416
Alan Modra [Fri, 24 Feb 2006 06:30:51 +0000 (06:30 +0000)]
re PR target/26453 (Segfault with -m64 -mtraceback=full)
PR target/26453
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
output traceback table for thunks. Localise rs6000_stack_info call.
From-SVN: r111415
Roger Sayle [Fri, 24 Feb 2006 04:00:07 +0000 (04:00 +0000)]
gthr-posix.h (__gthrw): Fix typo in comment.
* gthr-posix.h (__gthrw): Fix typo in comment.
From-SVN: r111414
GCC Administrator [Fri, 24 Feb 2006 00:17:56 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r111407
Geoffrey Keating [Fri, 24 Feb 2006 00:00:51 +0000 (00:00 +0000)]
cpp.texi (Character sets): Document that we do support input files to be in any character set.
* doc/cpp.texi (Character sets): Document that we do support
input files to be in any character set.
From-SVN: r111401
Jeff Law [Thu, 23 Feb 2006 22:58:23 +0000 (15:58 -0700)]
tree.h (PHI_ARG_NONZERO): Remove.
* 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.
From-SVN: r111400
Jeff Law [Thu, 23 Feb 2006 22:47:58 +0000 (15:47 -0700)]
re PR tree-optimization/26425 (ice on valid C code with flag -Os)
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.
From-SVN: r111399
Erik Edelmann [Thu, 23 Feb 2006 21:58:58 +0000 (21:58 +0000)]
module.c (read_module): Remove redundant code lines.
2006-02-23 Erik Edelmann <eedelman@gcc.gnu.org>
* module.c (read_module): Remove redundant code lines.
From-SVN: r111398
Zdenek Dvorak [Thu, 23 Feb 2006 21:03:05 +0000 (22:03 +0100)]
re PR middle-end/26316 (loop-invariant miscompiles openmp.c)
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.
From-SVN: r111397
Zdenek Dvorak [Thu, 23 Feb 2006 20:55:21 +0000 (21:55 +0100)]
emit-rtl.c (immed_double_const): Cleanup.
* emit-rtl.c (immed_double_const): Cleanup.
From-SVN: r111396
Scott Gilbertson [Thu, 23 Feb 2006 20:50:49 +0000 (20:50 +0000)]
IntegerGraphicsState.java (getClip): Clone clip before returning, handle null clip.
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.
From-SVN: r111395
Rafael Espindola [Thu, 23 Feb 2006 20:32:24 +0000 (20:32 +0000)]
add missing full stops in the changelog of a previous patch
From-SVN: r111394
Benjamin Kosnik [Thu, 23 Feb 2006 20:20:57 +0000 (20:20 +0000)]
1.cc (test01): Change int to size_t.
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.
From-SVN: r111393
Daniel Berlin [Thu, 23 Feb 2006 18:16:12 +0000 (18:16 +0000)]
re PR tree-optimization/26376 (K+R style function compiled with -fipa-pta ICEs)
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.
From-SVN: r111392
Jakub Jelinek [Thu, 23 Feb 2006 18:06:21 +0000 (19:06 +0100)]
re PR middle-end/26412 (ICE with external arrays using OpenMP)
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.
From-SVN: r111391
Richard Guenther [Thu, 23 Feb 2006 16:03:47 +0000 (16:03 +0000)]
re PR middle-end/26439 (missing VOPs for complex assignments)
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.
From-SVN: r111389
Andrew Haley [Thu, 23 Feb 2006 10:34:38 +0000 (10:34 +0000)]
jcf-parse.c (parse_class_file): Set input_location from current_class.
2006-02-20 Andrew Haley <aph@redhat.com>
* jcf-parse.c (parse_class_file): Set input_location from
current_class.
From-SVN: r111383
Jakub Jelinek [Thu, 23 Feb 2006 08:58:22 +0000 (09:58 +0100)]
[multiple changes]
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.
From-SVN: r111381
GCC Administrator [Thu, 23 Feb 2006 00:17:51 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r111378
Daniel Jacobowitz [Wed, 22 Feb 2006 20:21:14 +0000 (20:21 +0000)]
Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR).
* Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR).
(real-install-headers-tar, real-install-headers-cpio)
(real-install-headers-cp): New targets.
From-SVN: r111372
Paolo Carlini [Wed, 22 Feb 2006 20:02:37 +0000 (20:02 +0000)]
2006-02-22 Paolo Carlini <pcarlini@suse.de>
* Adjust last ChangeLog.
From-SVN: r111370
Richard Sandiford [Wed, 22 Feb 2006 19:58:37 +0000 (19:58 +0000)]
tree.h (variable_section): Delete.
* tree.h (variable_section): Delete.
* varasm.c (variable_section): Delete.
From-SVN: r111369
Paolo Carlini [Wed, 22 Feb 2006 19:58:08 +0000 (19:58 +0000)]
basic_tree_assoc_cntnr_node_iterator.html: Fix links.
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.
From-SVN: r111368
Volker Reichelt [Wed, 22 Feb 2006 17:22:08 +0000 (17:22 +0000)]
re PR c++/26291 (Invalid ellipsis in operator not diagnosed)
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.
From-SVN: r111367
Paolo Carlini [Wed, 22 Feb 2006 17:05:58 +0000 (17:05 +0000)]
re PR libstdc++/26132 (tr1/hashtable: rehash not implemented)
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.
From-SVN: r111366
H.J. Lu [Wed, 22 Feb 2006 16:59:45 +0000 (16:59 +0000)]
re PR target/25603 (Miscompiled FORTRAN program)
2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
PR target/25603
* gfortran.dg/pr25603.f: New testcase.
From-SVN: r111365
Paolo Bonzini [Wed, 22 Feb 2006 13:36:31 +0000 (13:36 +0000)]
install.texi: Add notes on install.texi2html.
2006-02-22 Paolo Bonzini <bonzini@gnu.org>
* install.texi: Add notes on install.texi2html.
(Building in parallel): Do not use footnotes.
From-SVN: r111363
Kaz Kojima [Wed, 22 Feb 2006 11:26:05 +0000 (11:26 +0000)]
sysv.S: Fix register numbers in the FDE for ffi_closure_SYSV.
* src/sh/sysv.S: Fix register numbers in the FDE for
ffi_closure_SYSV.
From-SVN: r111362
Paolo Carlini [Wed, 22 Feb 2006 10:20:09 +0000 (10:20 +0000)]
list (splice): Remove splice_alloc check, redundant after implementing the splice bits of N1599.
2006-02-22 Paolo Carlini <pcarlini@suse.de>
* include/debug/list (splice): Remove splice_alloc check, redundant
after implementing the splice bits of N1599.
From-SVN: r111361
Nathan Sidwell [Wed, 22 Feb 2006 09:05:07 +0000 (09:05 +0000)]
bf-spl1.c: Don't specify -m68000.
* gcc.dg/bf-spl1.c: Don't specify -m68000.
* g++.old-deja/g++.pt/static11.C: Xfail for m68k-elf
From-SVN: r111360
Benjamin Kosnik [Wed, 22 Feb 2006 02:26:47 +0000 (02:26 +0000)]
cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE.
2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
_GLIBCXX_END_NAMESPACE.
From-SVN: r111357
Benjamin Kosnik [Wed, 22 Feb 2006 00:57:24 +0000 (00:57 +0000)]
c++config: Simplify debug namespaces.
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.
From-SVN: r111356
Paolo Carlini [Wed, 22 Feb 2006 00:42:04 +0000 (00:42 +0000)]
hashtable: Trivial formatting fixes.
2006-02-21 Paolo Carlini <pcarlini@suse.de>
* include/tr1/hashtable: Trivial formatting fixes.
From-SVN: r111355
GCC Administrator [Wed, 22 Feb 2006 00:17:53 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r111353
Aldy Hernandez [Tue, 21 Feb 2006 21:53:21 +0000 (21:53 +0000)]
re PR libgomp/26234 (--disable-libgomp is not documented)
PR libgomp/26234
* doc/install.texi (Configuration): Document --disable-libgomp.
From-SVN: r111345
Geoffrey Keating [Tue, 21 Feb 2006 20:36:35 +0000 (20:36 +0000)]
* config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
From-SVN: r111344
Erik Edelmann [Tue, 21 Feb 2006 20:28:06 +0000 (20:28 +0000)]
MAINTAINERS (Write After Approval): Remove myself.
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.
From-SVN: r111343
Alexandre Oliva [Tue, 21 Feb 2006 19:24:48 +0000 (19:24 +0000)]
sse.md (vec_extractv2df_1_sse): New.
* config/i386/sse.md (vec_extractv2df_1_sse): New.
(vec_extractv2df_0_sse): New.
From-SVN: r111342
Alexandre Oliva [Tue, 21 Feb 2006 19:21:21 +0000 (19:21 +0000)]
defaults.h (CFA_FRAME_BASE_OFFSET): Define.
* 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.
From-SVN: r111341
Rainer Orth [Tue, 21 Feb 2006 19:13:21 +0000 (19:13 +0000)]
re PR libobjc/26309 (libobjc bootstrap failure on Tru64 UNIX V4.0F)
PR libobjc/26309
* thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
From-SVN: r111339
Bernd Schmidt [Tue, 21 Feb 2006 15:32:21 +0000 (15:32 +0000)]
predicates.md (cc_operand): Delete predicate.
* 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.
From-SVN: r111336
Rafael Espindola [Tue, 21 Feb 2006 13:57:53 +0000 (13:57 +0000)]
Makefile.tpl (BUILD_CONFIGDIRS): Remove
* Makefile.tpl (BUILD_CONFIGDIRS): Remove
(TARGET_CONFIGDIRS): Remove
* configure.in: Remove AC_SUBST(target_configdirs)
* Makefile.in, configure: Regenerated
From-SVN: r111334
Joseph Myers [Tue, 21 Feb 2006 12:06:31 +0000 (12:06 +0000)]
* doc/install.texi2html: Use set -e.
From-SVN: r111332
Robert Schuster [Tue, 21 Feb 2006 10:32:31 +0000 (10:32 +0000)]
link.cc: Added variant of create_error_method that will not complain about unused...
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.
From-SVN: r111331
Richard Sandiford [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.
From-SVN: r111330
Paolo Bonzini [Tue, 21 Feb 2006 08:45:09 +0000 (08:45 +0000)]
sourcebuild.texi (Front End Directory): No more double-colon hooks.
2006-02-21 Paolo Bonzini <bonzini@gnu.org>
* doc/sourcebuild.texi (Front End Directory): No more double-colon
hooks.
From-SVN: r111329
Jakub Jelinek [Tue, 21 Feb 2006 08:09:08 +0000 (09:09 +0100)]
re PR middle-end/26379 (ICE on vector shift RTL simplification)
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.
From-SVN: r111328
Roger Sayle [Tue, 21 Feb 2006 02:28:03 +0000 (02:28 +0000)]
re PR tree-optimization/26361 (bootstrap failure on Alpha: xgcc runs out of memory compiling libiberty/md5.c)
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.
From-SVN: r111327
Ben Elliston [Tue, 21 Feb 2006 02:21:44 +0000 (02:21 +0000)]
* pexecute.c (pwait): Syntax fix for previous change.
From-SVN: r111326
Uttam Pawar [Tue, 21 Feb 2006 01:21:49 +0000 (01:21 +0000)]
pexecute.c (pwait): Free vector pointer.
* pexecute.c (pwait): Free vector pointer.
* partition.c (partition_print): Free class_elements pointer.
From-SVN: r111325
GCC Administrator [Tue, 21 Feb 2006 00:18:04 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r111323
Steven G. Kargl [Mon, 20 Feb 2006 21:46:36 +0000 (21:46 +0000)]
MAINTAINERS (Write After Approval): Remove myself.
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.
From-SVN: r111315
Andreas Tobler [Mon, 20 Feb 2006 21:10:14 +0000 (22:10 +0100)]
libffi: testsuite fix for ix86.
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.
From-SVN: r111314
Sebastian Pop [Mon, 20 Feb 2006 20:25:54 +0000 (21:25 +0100)]
tree-chrec.c (eq_evolutions_p): New.
* 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.
From-SVN: r111312
Diego Novillo [Mon, 20 Feb 2006 19:52:56 +0000 (19:52 +0000)]
ipa-type-escape.c: Tidy some comments and white space.
* ipa-type-escape.c: Tidy some comments and white space.
* tree-ssa-operands.c: Likewise.
From-SVN: r111310
Andrew Pinski [Mon, 20 Feb 2006 18:01:59 +0000 (18:01 +0000)]
complex-3.c: Split out first part into ...
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.
From-SVN: r111309
Andrew Pinski [Mon, 20 Feb 2006 17:47:34 +0000 (09:47 -0800)]
re PR tree-optimization/25879 (TDF_CHAIN makes -fdump-tree-all-all useless)
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.
From-SVN: r111308
Rafael Espindola [Mon, 20 Feb 2006 17:17:04 +0000 (17:17 +0000)]
Make-lang.in (OBJC): Remove
* 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
From-SVN: r111307
Andrew Haley [Mon, 20 Feb 2006 16:16:34 +0000 (16:16 +0000)]
class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.
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.
From-SVN: r111306
Roger Sayle [Mon, 20 Feb 2006 15:05:15 +0000 (15:05 +0000)]
re PR middle-end/26236 (CHAR_TYPE is still referenced in c-tree.texi)
PR middle-end/26236
* doc/c-tree.texi (INTEGER_TYPE): Remove reference to the now
deprecated CHAR_TYPE tree code.
From-SVN: r111305
Paolo Bonzini [Mon, 20 Feb 2006 14:50:08 +0000 (14:50 +0000)]
configure.ac (target_list): Add install-info, dvi, html.
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.
From-SVN: r111304
Roger 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.
* 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.
From-SVN: r111303
Paolo Carlini [Mon, 20 Feb 2006 14:20:51 +0000 (14:20 +0000)]
Revert recent commit for libstdc++/26211, now suspended waiting for DR 342 (reopened) to reach a new resolution.
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.
From-SVN: r111302
Roger 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.
* 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.
From-SVN: r111301
Daniel Berlin [Mon, 20 Feb 2006 13:38:01 +0000 (13:38 +0000)]
tree.h (struct tree_memory_tag): Add is_used_alone member.
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.
From-SVN: r111300
Angel Nunez Mencias [Mon, 20 Feb 2006 08:42:27 +0000 (08:42 +0000)]
s390.c (legitimize_pic_address): Assertions checking for non tls symbols added.
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.
From-SVN: r111296
Paolo Bonzini [Mon, 20 Feb 2006 08:29:17 +0000 (08:29 +0000)]
re PR bootstrap/25670 (build fail with 'make all-gcc')
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.
From-SVN: r111295
Roger Sayle [Mon, 20 Feb 2006 00:34:12 +0000 (00:34 +0000)]
re PR middle-end/19543 ([4.1 only] fortran LOGICAL*8 not consistently distinguished from 32 bit integers)
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.
From-SVN: r111294