platform/upstream/gcc.git
16 years agocris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for GENNONACR_REGS.
Hans-Peter Nilsson [Fri, 22 Feb 2008 11:17:14 +0000 (11:17 +0000)]
cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for GENNONACR_REGS.

* config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for
GENNONACR_REGS.

From-SVN: r132549

16 years ago* gcc.target/cris/asm-b-1.c: New test.
Hans-Peter Nilsson [Fri, 22 Feb 2008 11:16:18 +0000 (11:16 +0000)]
* gcc.target/cris/asm-b-1.c: New test.

From-SVN: r132548

16 years agore PR c++/35282 (Template specialization rejected)
Paolo Carlini [Fri, 22 Feb 2008 11:02:00 +0000 (11:02 +0000)]
re PR c++/35282 (Template specialization rejected)

/testsuite
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
* g++.dg/template/nontype17.C: Add.

/cp
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
Revert:
2008-02-14  Paolo Carlini  <pcarlini@suse.de>

        PR c++/28743
        * pt.c (determine_specialization): In case of function templates,
when the type of DECL does not match FN there is no match.

/testsuite
2008-02-22  Paolo Carlini  <pcarlini@suse.de>

PR c++/35282
Revert:
2008-02-14  Paolo Carlini  <pcarlini@suse.de>

        PR c++/28743
* g++.dg/template/nontype17.C: New.
        * g++.dg/template/nontype16.C: Add error.

From-SVN: r132543

16 years agore PR fortran/34907 (valgrind error indication from testsuite trans-types.c: gfc_type...
Jerry DeLisle [Fri, 22 Feb 2008 06:21:47 +0000 (06:21 +0000)]
re PR fortran/34907 (valgrind error indication from testsuite trans-types.c: gfc_typenode_for_spec)

2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34907
* iresolve.c (resolve_mask_arg): Add gfc_clear_ts to initialize
structure.
(gfc_resolve_aint): Likewise.
(gfc_resolve_anint): Likewise.
(gfc_resolve_besn): Likewise.
(gfc_resolve_cshift): Likewise.
(gfc_resolve_ctime): Likewise.
(gfc_resolve_eoshift): Likewise.
(gfc_resolve_index_func): Likewise.
(gfc_resolve_isatty): Likewise.
(gfc_resolve_malloc): Likewise.
(gfc_resolve_rrspacing): Likewise.
(gfc_resolve_scale): Likewise.
(gfc_resolve_set_exponent): Likewise.
(gfc_resolve_spacing): Likewise.
(gfc_resolve_spacing): Likewise.
(gfc_resolve_fgetc): Likewise.
(gfc_resolve_fputc): Likewise.
(gfc_resolve_ftell): Likewise.
(gfc_resolve_ttynam): Likewise.
(gfc_resolve_alarm_sub): Likewise.
(gfc_resolve_mvbits): Likewise.
(gfc_resolve_getarg): Likewise.
(gfc_resolve_signal_sub): Likewise.
(gfc_resolve_exit): Likewise.
(gfc_resolve_flush): Likewise.
(gfc_resolve_free): Likewise.
(gfc_resolve_ctime_sub): Likewise.
(gfc_resolve_fgetc_sub): Likewise.
(gfc_resolve_fputc_sub): Likewise.
(gfc_resolve_fseek_sub): Likewise.
(gfc_resolve_ftell_sub): Likewise.
(gfc_resolve_ttynam_sub): Likewise.

From-SVN: r132541

16 years agore PR c/19999 (-Wfloat-equal does not warn for complex numbers)
Ralf Wildenhues [Fri, 22 Feb 2008 06:17:46 +0000 (06:17 +0000)]
re PR c/19999 (-Wfloat-equal does not warn for complex numbers)

gcc/:
PR c/19999
* c-typeck.c (build_binary_op): Warn about floating point
comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.

gcc/cp/:
* typeck.c (build_binary_op): Warn about floating point
comparisons if FLOAT_TYPE_P, not only for REAL_TYPE.

gcc/testsuite/:
* gcc.dg/Wfloat-equal-1.c: New.
* g++.dg/warn/Wfloat-equal-1.C: New.

From-SVN: r132540

16 years agogfc-internals.texi: Fix typos and markup nits.
Ralf Wildenhues [Fri, 22 Feb 2008 06:01:51 +0000 (06:01 +0000)]
gfc-internals.texi: Fix typos and markup nits.

gcc-fortran/:
* gfc-internals.texi: Fix typos and markup nits.
* gfortran.texi: Likewise.
* intrinsic.texi: Likewise.

From-SVN: r132539

16 years agore PR target/34526 (no-altivec ABI should be fixed or no longer be the default)
Janis Johnson [Fri, 22 Feb 2008 01:55:40 +0000 (01:55 +0000)]
re PR target/34526 (no-altivec ABI should be fixed or no longer be the default)

PR target/34526
* config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
(rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
add vrsave.
(rs6000_override_options): Set altivec_abi as default, not override,
for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
is used; use new member spe_abi.
(rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
spe_abi and altivec_abi.

From-SVN: r132537

16 years agoDaily bump.
GCC Administrator [Fri, 22 Feb 2008 00:18:10 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r132535

16 years ago* tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.
Tomas Bily [Thu, 21 Feb 2008 21:48:08 +0000 (22:48 +0100)]
* tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo.

From-SVN: r132531

16 years agore PR bootstrap/35273 (Bootstrap of mingw32 using non-MSYS shell broken)
Ralf Wildenhues [Thu, 21 Feb 2008 19:55:39 +0000 (19:55 +0000)]
re PR bootstrap/35273 (Bootstrap of mingw32 using  non-MSYS shell broken)

PR bootstrap/35273
* config.build (build_file_translate): Set to `CMD //c' only if
it works.
* Makefile.in (build_file_translate): Improve comment.

From-SVN: r132528

16 years agopredict.def (PRED_TREE_OPCODE_POSITIVE, [...]): Update.
Jan Hubicka [Thu, 21 Feb 2008 16:52:54 +0000 (17:52 +0100)]
predict.def (PRED_TREE_OPCODE_POSITIVE, [...]): Update.

* predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL,
PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL,
PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update.

From-SVN: r132523

16 years agore PR target/35264 (ntfs-3g miscompiled)
Michael Matz [Thu, 21 Feb 2008 12:38:35 +0000 (12:38 +0000)]
re PR target/35264 (ntfs-3g miscompiled)

        PR target/35264
        * config/i386/i386.c (ix86_expand_branch): Add missing breaks.

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

From-SVN: r132521

16 years agoi386.md (mov<mode>cc): Macroize expander from movsfcc...
Uros Bizjak [Thu, 21 Feb 2008 10:51:19 +0000 (11:51 +0100)]
i386.md (mov<mode>cc): Macroize expander from movsfcc...

* config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc,
movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P
as insn constraint.
* config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn
from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and
SSE_VEC_FLOAT_MODE_P as insn constraint.
(<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns.
(sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and
sse4a_movntdf using MODEF mode iterator.
(sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and
sse4a_vmmovntv4sf using SSEMODEF2P mode iterator.
(sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns.
(sse4_1_blendvp<ssemodesuffixf2c>): Ditto.
(sse4_1_dpp<ssemodesuffixf2c>): Ditto.
(sse4_1_roundp<ssemodesuffixf2c>): Ditto.
(sse4_1_rounds<ssemodesuffixf2c>): Ditto.

From-SVN: r132518

16 years agotree.def (PAREN_EXPR): New tree code.
Richard Guenther [Thu, 21 Feb 2008 09:38:07 +0000 (09:38 +0000)]
tree.def (PAREN_EXPR): New tree code.

2008-02-21  Richard Guenther  <rguenther@suse.de>

* tree.def (PAREN_EXPR): New tree code.
* fold-const.c (fold_unary): Remove PAREN_EXPR around constants
and PAREN_EXPR.
* tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR.
* expr.c (expand_expr_real_1): Likewise.
* tree-inline.c (estimate_num_insns_1): Likewise.
* tree-complex.c (expand_complex_move): Likewise.
* tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x)
as plain x.

* trans-expr.c (gfc_conv_expr_op): Expand INTRINSIC_PARENTHESES
as unary PAREN_EXPR for real and complex typed expressions.
(gfc_conv_unary_op): Fold the built tree.

* gfortran.dg/reassoc_1.f90: New testcase.
* gfortran.dg/reassoc_2.f90: Likewise.
* gfortran.dg/reassoc_3.f90: Likewise.

From-SVN: r132515

16 years agore PR libfortran/34974 (null bytes when reverse-tabbing long records (regression...
Jerry DeLisle [Thu, 21 Feb 2008 02:33:17 +0000 (02:33 +0000)]
re PR libfortran/34974 (null bytes when reverse-tabbing long records (regression vs. g77))

2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/34974
* gfortran.dg/fmt_t_7.f: New test.

PR libfortran/35132
* gfortran.dg/streamio_15.f90: New test.

From-SVN: r132513

16 years agore PR libfortran/35132 (Formatted stream I/O write should truncate)
Jerry DeLisle [Thu, 21 Feb 2008 02:27:07 +0000 (02:27 +0000)]
re PR libfortran/35132 (Formatted stream I/O write should truncate)

2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35132
* io/transfer.c (next_record_w): Truncate after the last record for
STREAM I/O.

PR libfortran/34954
* io/transfer.c (data_transfer_init): Initialize dtp->rec if writing.

PR libfortran/34974
* io/transfer.c (formatted_transfer_scalar): Flush the buffer if skips
is less than zero. (next_record_w): Use sseek to position the file to
the max position reached.

From-SVN: r132512

16 years agore PR fortran/35036 (illegal E format descriptor produces wrong output)
Jerry DeLisle [Thu, 21 Feb 2008 02:22:45 +0000 (02:22 +0000)]
re PR fortran/35036 (illegal E format descriptor produces wrong output)

2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35036
* gfortran.dg/fmt_zero_digits.f90: Revise test.

From-SVN: r132511

16 years agore PR fortran/35036 (illegal E format descriptor produces wrong output)
Jerry DeLisle [Thu, 21 Feb 2008 02:20:27 +0000 (02:20 +0000)]
re PR fortran/35036 (illegal E format descriptor produces wrong output)

2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/35036
* write_float.def (output_float):  Add error checks for zero digits
after decimal point in E and D format specifiers.

From-SVN: r132510

16 years agoDaily bump.
GCC Administrator [Thu, 21 Feb 2008 00:17:40 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r132507

16 years agore PR target/35225 (gcc segfaults when building GTK+ code with -O2 -fPIC for SH4)
Kaz Kojima [Wed, 20 Feb 2008 23:37:58 +0000 (23:37 +0000)]
re PR target/35225 (gcc segfaults when building GTK+ code with -O2 -fPIC for SH4)

PR target/35225
* config/sh/sh.c (find_barrier): Don't go past 'from' argument.

From-SVN: r132503

16 years agore PR target/35190 (Wrong branch instruction with -freorder-blocks-and-partition...
Kaz Kojima [Wed, 20 Feb 2008 23:35:41 +0000 (23:35 +0000)]
re PR target/35190 (Wrong branch instruction with -freorder-blocks-and-partition on SH)

PR target/35190
* config/sh/sh.md (jump_compact): Disable for crossing jumps.

* config/sh/sh.c (find_barrier): Don't go past
NOTE_INSN_SWITCH_TEXT_SECTIONS note.

From-SVN: r132502

16 years agoh8300.md (insv): Force source operand to be a register.
DJ Delorie [Wed, 20 Feb 2008 21:31:56 +0000 (16:31 -0500)]
h8300.md (insv): Force source operand to be a register.

* config/h8300/h8300.md (insv): Force source operand to be a register.
* config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn
as a jump, not as a plain insn.

From-SVN: r132498

16 years agoinvoke.texi (Warning Options): Add new option -Wframe-larger-than=.
Seongbae Park [Wed, 20 Feb 2008 21:19:14 +0000 (21:19 +0000)]
invoke.texi (Warning Options): Add new option -Wframe-larger-than=.

gcc/ChangeLog:

2008-02-20  Seongbae Park <seongbae.park@gmail.com>

* doc/invoke.texi (Warning Options): Add new option
-Wframe-larger-than=.
(-Wframe-larger-than): Document.

* flags.h (warn_frame_larger_than, frame_larger_than_size):
Add declarations for new option variables.

* final.c (final_start_function): Check the frame size
before emission and issue a Wframe-larger-than warning.

* opts.c (warn_frame_larger_than, frame_larger_than_size):
Add definitions for new option variables.
(common_handle_option): Handle new option OPT_Wframe_larger_than_.

* common.opt (Wframe-larger-than=): New option.

gcc/testsuite/ChangeLog:

2008-02-20  Seongbae Park <seongbae.park@gmail.com>

* gcc.dg/Wframe-larger-than.c: New option test.

From-SVN: r132496

16 years agore PR libgcj/24170 (libjava natFilePosix.cc seems to have a security problem)
Tom Tromey [Wed, 20 Feb 2008 19:09:09 +0000 (19:09 +0000)]
re PR libgcj/24170 (libjava natFilePosix.cc seems to have a security problem)

PR libgcj/24170:
* java/io/natFilePosix.cc (File::performList): Don't use
readdir_r.
* configure, include/config.h.in: Rebuilt.
* configure.ac: Don't check for readdir_r.

From-SVN: r132491

16 years agosse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
Uros Bizjak [Wed, 20 Feb 2008 18:32:14 +0000 (19:32 +0100)]
sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.

        * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template.
        (<sse>_div<mode>3): Ditto.
        (<sse>_vmdiv<mode>3): Ditto.
        (<sse>_vmsqrt<mode>2): Ditto.
        (*smax<mode>3): Ditto.
        (sse5_frcz<mode>2): Ditto.
        (sse5_vmfrcz<mode>2): Ditto.  Use TARGET_SSE5 instead of TARGET_ROUND
        as insn constraint.

From-SVN: r132490

16 years agore PR fortran/34997 (Mention -fdollar-ok option in error message for symbol names...
Tobias Burnus [Wed, 20 Feb 2008 18:21:14 +0000 (19:21 +0100)]
re PR fortran/34997 (Mention -fdollar-ok option in error message for symbol names containing $)

2008-02-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34997
        * match.c (gfc_match_name): Improve error message for '$'.

2008-02-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34997
        * gfortran.dg/dollar_sym_1.f90: New.
        * gfortran.dg/dollar_sym_2.f90: New.

From-SVN: r132488

16 years agore PR middle-end/35265 (__builtin_popcount expansion bug)
Richard Guenther [Wed, 20 Feb 2008 17:25:52 +0000 (17:25 +0000)]
re PR middle-end/35265 (__builtin_popcount expansion bug)

2008-02-20  Richard Guenther  <rguenther@suse.de>

PR middle-end/35265
* builtins.c (validate_arg): If we want an INTEGER_TYPE,
be happy with INTEGRAL_TYPE_P.

* gcc.dg/builtins-66.c: New testcase.

From-SVN: r132485

16 years ago* mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.
Uros Bizjak [Wed, 20 Feb 2008 15:31:19 +0000 (16:31 +0100)]
* mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.

From-SVN: r132483

16 years agoChangeLog: Whitespace fixes.
Uros Bizjak [Wed, 20 Feb 2008 15:16:16 +0000 (16:16 +0100)]
ChangeLog: Whitespace fixes.

* ChangeLog: Whitespace fixes.
* gcc/ChangeLog: Ditto.
* config/ChangeLog: Ditto.

From-SVN: r132482

16 years agofold-const.c (split_tree): Associate floatig-point expressions if flag_associative_ma...
Richard Guenther [Wed, 20 Feb 2008 14:14:55 +0000 (14:14 +0000)]
fold-const.c (split_tree): Associate floatig-point expressions if flag_associative_math is set.

2008-02-20  Richard Guenther  <rguenther@suse.de>

* fold-const.c (split_tree): Associate floatig-point expressions
if flag_associative_math is set.

* gcc.dg/fold-reassoc-1.c: New testcase.
* gcc.dg/tree-ssa/recip-3.c: Adjust to not compute d/d.

From-SVN: r132481

16 years agotree.h (fold_real_zero_addition_p): Declare.
Richard Guenther [Wed, 20 Feb 2008 14:13:47 +0000 (14:13 +0000)]
tree.h (fold_real_zero_addition_p): Declare.

2008-02-20  Richard Guenther  <rguenther@suse.de>

* tree.h (fold_real_zero_addition_p): Declare.
* fold-const.c (fold_real_zero_addition_p): Export.
* tree-ssa-reassoc.c (eliminate_using_constants): Also handle
floating-point operations with zero and one.

* gcc.dg/tree-ssa/reassoc-13.c: New testcase.

From-SVN: r132480

16 years agore PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9)
Paolo Bonzini [Wed, 20 Feb 2008 14:10:40 +0000 (14:10 +0000)]
re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9)

2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009
        PR bootstrap/32161

        * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
        * configure: Regenerate.

        * Makefile.def: Define stage_libcflags for all bootstrap stages.
        * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
        STAGE4_LIBCFLAGS): New.
        (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
        $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
        (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
        (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
        (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
        for target modules.  Don't export LIBCFLAGS.
        (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
        $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
        the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
        (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
        $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
        * Makefile.in: Regenerate.

2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009

        * mh-ppc-darwin (BOOT_CFLAGS): Reenable.

2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        * doc/install.texi: Correct references to CFLAGS, replacing them
        with BOOT_CFLAGS.  Document flags used during bootstrap for
        target libraries.

From-SVN: r132479

16 years agoi386.h (SSE_VEC_FLOAT_MODE_P): New define.
Uros Bizjak [Wed, 20 Feb 2008 13:21:23 +0000 (14:21 +0100)]
i386.h (SSE_VEC_FLOAT_MODE_P): New define.

* config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
* config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf
and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as
insn constraint.
(smin<mode>3): Ditto from similar patterns.
(smax<mode>3): Ditto.
(*ieee_smin<mode>3): Ditto.
(*ieee_smax<mode>3): Ditto.
* config/i386/sse.md (sse): New mode attribute.
(mov<mode>): Macroize expander from movv4sf and movv2df using
SSEMODEF2P mode iterator.
(<sse>_movnt<mode>): Ditto from similar patterns. Use
SSE_VEC_FLOAT_MODE_P as insn constraint.
(storent<mode>): Ditto.
(storent<mode>): Macroize expander from storentsf and storentdf using
MODEF mode iterator.
(neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P
mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint.
(abs<mode>2): Ditto from similar patterns.
(add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto.
(sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto.
(<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto.
(<sse>_vmsqrt<mode>2): Ditto.
(smin<mode>3, *smin<mode>3_finite, *smin<mode>3)
(<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto.
(smax<mode>3, *smax<mode>3_finite, *smax<mode>3)
(<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto.
(<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3,
sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4
mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as
insn constraint.
(<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode
iterator and SSE_FLOAT_MODE_P as insn constraint.
(<sse>_ucomi): Ditto from similar patterns.
(<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and
sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and
SSE_VEC_FLOAT_MODE_P as insn constraint.
(vcond<mode>): Ditto from similar patterns.
(and<mode>3, *and<mode>3): Ditto.
(<sse>_nand<mode>3): Ditto.
(ior<mode>3, *ior<mode>3): Ditto.
(xor<mode>3, *xor<mode>3): Ditto.
(*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode
iterator and SSE_FLOAT_MODE_P as insn constraint.
(*nand<mode>3): Ditto from similar patterns.
(*ior<mode>3): Ditto.
(*xor<mode>3): Ditto.

From-SVN: r132478

16 years agoMakefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource files...
Matthias Klose [Wed, 20 Feb 2008 12:20:18 +0000 (12:20 +0000)]
Makefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource files in JAVA_MAINTAINER_MODE only.

2008-02-20  Matthias Klose  <doko@ubuntu.com>

        * tools/Makefile.am ($(TOOLS_ZIP)): Revert part of previous change,
        Do copy resource files in JAVA_MAINTAINER_MODE only.
        * tools/Makefile.in: Regenerate.

From-SVN: r132474

16 years agospu.md (vec_unpacku_hi_v8hi, [...]): Implement.
Ira Rosen [Wed, 20 Feb 2008 07:36:47 +0000 (07:36 +0000)]
spu.md (vec_unpacku_hi_v8hi, [...]): Implement.

* config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi,
vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement.

From-SVN: r132472

16 years agostruct-layout-1_generate.c (DG_OPTIONS): New define.
Uros Bizjak [Wed, 20 Feb 2008 07:01:34 +0000 (08:01 +0100)]
struct-layout-1_generate.c (DG_OPTIONS): New define.

* g++.dg/compat/struct-layout-1_generate.c (DG_OPTIONS): New define.
(switchfiles): Use DG_OPTIONS. Explicitly name arguments in fprintf
templates to reduce number of passed arguments.

From-SVN: r132471

16 years agoinclhack.def (solaris_math_10): New.
Kaveh R. Ghazi [Wed, 20 Feb 2008 04:20:59 +0000 (04:20 +0000)]
inclhack.def (solaris_math_10): New.

* inclhack.def (solaris_math_10): New.
* tests/base/iso/math_c99.h: Update.

* fixincl.x: Regenerate.

From-SVN: r132468

16 years agotraditional.c (lex_identifier): Use CPP_HASHNODE.
Tom Tromey [Wed, 20 Feb 2008 02:16:43 +0000 (02:16 +0000)]
traditional.c (lex_identifier): Use CPP_HASHNODE.

* traditional.c (lex_identifier): Use CPP_HASHNODE.
* lex.c (lex_identifier): Use CPP_HASHNODE.
* include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Wrap in
do-while.
* identifiers.c (alloc_node): Change return type.
(_cpp_init_hashtable): Don't cast 'alloc_node'.
(proxy_assertion_broken): New declaration.
(cpp_forall_identifiers): Move comment.
* line-map.c (linemap_add): Comment fix.
(linemap_line_start): Indentation fix.

From-SVN: r132467

16 years agoAdd missing ChangeLog entry for revision 132455.
H.J. Lu [Wed, 20 Feb 2008 01:49:08 +0000 (17:49 -0800)]
Add missing ChangeLog entry for revision 132455.

From-SVN: r132466

16 years agoDaily bump.
GCC Administrator [Wed, 20 Feb 2008 00:17:16 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r132461

16 years agore PR c++/34950 (ICE in svn boost math toolkit)
Jason Merrill [Tue, 19 Feb 2008 22:53:07 +0000 (17:53 -0500)]
re PR c++/34950 (ICE in svn boost math toolkit)

        PR c++/34950
        * pt.c (resolve_overloaded_unification): Set processing_template_decl
        while we look for possible bindings.

From-SVN: r132455

16 years ago(tree_bb_level_predictions): Remove variable next mistakely introduced
Jan Hubicka [Tue, 19 Feb 2008 22:27:01 +0000 (23:27 +0100)]
(tree_bb_level_predictions): Remove variable next mistakely introduced
by previous commit.

From-SVN: r132454

16 years agodyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro GC_GETSECTBYNAM...
Andreas Tobler [Tue, 19 Feb 2008 21:29:26 +0000 (21:29 +0000)]
dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro GC_GETSECTBYNAME instead.

2007-02-19  Andreas Tobler  <a.tobler@schweiz.org>

* dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
GC_GETSECTBYNAME instead.
* include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
architecture (Darwin).

From-SVN: r132452

16 years agopredict.c (predict_paths_leading_to): Rewrite.
Jan Hubicka [Tue, 19 Feb 2008 21:15:28 +0000 (22:15 +0100)]
predict.c (predict_paths_leading_to): Rewrite.

* predict.c (predict_paths_leading_to): Rewrite.
(predict_paths_for_bb): New.
(tree_bb_level_predictions): Update call of predict_paths_leading_to.

From-SVN: r132450

16 years agore PR bootstrap/35218 (build fails on mingw host)
Ralf Wildenhues [Tue, 19 Feb 2008 19:38:52 +0000 (19:38 +0000)]
re PR bootstrap/35218 (build fails on mingw host)

PR bootstrap/35218
* Makefile.in (build_file_translate): New.
(gcc-vers.texi): Use it for translating $(abs_srcdir).
* config.build (build_file_translate): Set to `CMD //c' on MinGW.
* configure.ac (build_file_translate): Substitute it.
* configure: Regenerate.

From-SVN: r132444

16 years agore PR fortran/35030 (add type/kind information to pointer assignments)
Daniel Franke [Tue, 19 Feb 2008 18:26:12 +0000 (13:26 -0500)]
re PR fortran/35030 (add type/kind information to pointer assignments)

2008-02-19  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/35030
* expr.c (gfc_check_pointer_assign): Add type and kind information
to type-mismatch message.
(gfc_check_assign): Unify error messages.

From-SVN: r132442

16 years agore PR rtl-optimization/34408 (Invalid RTL sharing with -fsee and inline functions)
Jan Hubicka [Tue, 19 Feb 2008 17:11:12 +0000 (18:11 +0100)]
re PR rtl-optimization/34408 (Invalid RTL sharing with -fsee and inline functions)

PR rtl-optimization/34408
* see.c (see_def_extension_not_merged): Copy subreg so we don't have invalid sharing.

From-SVN: r132440

16 years agore PR middle-end/28779 (internal compiler error: in cgraph_estimate_size_after_inlini...
Jan Hubicka [Tue, 19 Feb 2008 17:09:42 +0000 (18:09 +0100)]
re PR middle-end/28779 (internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106)

PR middle-end/28779
* tree-inline.c (estimate_num_insns_1): Fix counting of cost of call_expr.

From-SVN: r132439

16 years agore PR ada/35186 (implicit assumption about alignment of DImode)
H.J. Lu [Tue, 19 Feb 2008 14:35:48 +0000 (14:35 +0000)]
re PR ada/35186 (implicit assumption about alignment of DImode)

2008-02-19  H.J. Lu  <hongjiu.lu@intel.com>

PR Ada/35186
* config/i386/i386-modes.def: Revert the last DI alignment
change until Ada people can look into it.

From-SVN: r132433

16 years ago* opts.c (print_specific_help): Fix typo in --help text.
Nick Clifton [Tue, 19 Feb 2008 14:15:36 +0000 (14:15 +0000)]
* opts.c (print_specific_help): Fix typo in --help text.

From-SVN: r132432

16 years agore PR target/35239 (Build failure when host cc is GCC-2.95.3 or earlier)
Jakub Jelinek [Tue, 19 Feb 2008 13:34:29 +0000 (14:34 +0100)]
re PR target/35239 (Build failure when host cc is GCC-2.95.3 or earlier)

PR target/35239
* config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special
32-bit inline asm without asm alternatives for host GCC < 3.0.

From-SVN: r132430

16 years agore PR tree-optimization/34989 (ICE in get_addr_dereference_operands, at tree-ssa...
Richard Guenther [Tue, 19 Feb 2008 11:55:29 +0000 (11:55 +0000)]
re PR tree-optimization/34989 (ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1698 with IMA)

2008-02-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34989
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
Allow propagation to INDIRECT_REF if we can simplify only.

* gcc.dg/pr34989-1.c: New testcase.
* gcc.dg/pr34989-2.c: Likewise.

From-SVN: r132429

16 years agoc-common.c (warn_for_collisions_1): Use appropriate option when warning.
Manuel López-Ibáñez [Tue, 19 Feb 2008 10:51:52 +0000 (10:51 +0000)]
c-common.c (warn_for_collisions_1): Use appropriate option when warning.

2008-02-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

* c-common.c (warn_for_collisions_1): Use appropriate option when
warning.

From-SVN: r132428

16 years agore PR other/31349 (gcc -v --help returns no options for C, C++)
Nick Clifton [Tue, 19 Feb 2008 10:33:41 +0000 (10:33 +0000)]
re PR other/31349 (gcc -v --help returns no options for C, C++)

        PR other/31349
        * opts.c (undocumented_msg): Leave blank unless checking is
        enabled.
        (handle_options): Fix indentation.
        (print_filtered_help): If no language-specific options were
        displayed tell the user how to list all the options supported by
        the language's front-end.
        (print_specific_help): Fix indentation and remove duplicate line.
        (common_handle_option): Handle the -v option.
        For --help enable the display of undocumented options if the -v
        switch has been included on the command line.
        For --help= check for overlaps in the arguments between the option
        classes and the language names and issue a warning when they
        cannot be disambiguated.
        * c.opt (v): Pass on to the common option handler.

From-SVN: r132427

16 years agore PR c++/35028 (ICE with strange ctor and firstprivate)
Jakub Jelinek [Tue, 19 Feb 2008 10:18:29 +0000 (11:18 +0100)]
re PR c++/35028 (ICE with strange ctor and firstprivate)

PR c++/35028
* cp-gimplify.c (cxx_omp_clause_apply_fn): Handle vararg copy ctors.

* g++.dg/gomp/pr35028.C: New test.

From-SVN: r132426

16 years agore PR c++/34964 (ICE with broken variable in #pragma omp threadprivate)
Jakub Jelinek [Tue, 19 Feb 2008 10:16:29 +0000 (11:16 +0100)]
re PR c++/34964 (ICE with broken variable in #pragma omp threadprivate)

PR c++/34964
PR c++/35244
* semantics.c (finish_omp_threadprivate): Do nothing for error_operand_p
vars.  Afterwards ensure v is VAR_DECL.

* gcc.dg/gomp/pr34964.c: New test.
* g++.dg/gomp/pr34964.C: New test.
* gcc.dg/gomp/pr35244.c: New test.
* g++.dg/gomp/pr35244.C: New test.

From-SVN: r132425

16 years agore PR c++/35078 (ICE with reference in parallel for loop)
Jakub Jelinek [Tue, 19 Feb 2008 10:14:57 +0000 (11:14 +0100)]
re PR c++/35078 (ICE with reference in parallel for loop)

PR c++/35078
* parser.c (cp_parser_omp_for_loop): If DECL has REFERENCE_TYPE, don't
call cp_finish_decl.
* semantics.c (finish_omp_for): Fail if DECL doesn't have integral type
early.

* g++.dg/gomp/pr35078.C: New test.

From-SVN: r132424

16 years agoSMS: Minor misc fixes
Revital Eres [Tue, 19 Feb 2008 09:19:36 +0000 (09:19 +0000)]
SMS: Minor misc fixes

From-SVN: r132423

16 years agocoding convention
Christian Bruel [Tue, 19 Feb 2008 08:34:16 +0000 (09:34 +0100)]
coding convention

From-SVN: r132418

16 years agofix alignment bug in packed structs for STRICT_ALIGNMENT targets
Christian Bruel [Tue, 19 Feb 2008 07:48:12 +0000 (08:48 +0100)]
fix alignment bug in packed structs for STRICT_ALIGNMENT targets

Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r132416

16 years agotest case for alignment bug in packed structs for STRICT_ALIGNMENT targets
Christian Bruel [Tue, 19 Feb 2008 07:42:25 +0000 (08:42 +0100)]
test case for alignment bug in packed structs for STRICT_ALIGNMENT targets

From-SVN: r132415

16 years agore PR target/33555 (x86 missed opportunity for sbb)
Uros Bizjak [Tue, 19 Feb 2008 07:23:30 +0000 (08:23 +0100)]
re PR target/33555 (x86 missed opportunity for sbb)

        PR target/33555
        * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern.
        (*x86_movdicc_0_m1_se): Ditto.

testsuite/ChangeLog:

        PR target/33555
        * gcc.target/i386/pr33555.c: New test.

From-SVN: r132414

16 years agosfp-machine.h (__gcc_CMPtype): New typedef.
Uros Bizjak [Tue, 19 Feb 2008 07:14:10 +0000 (08:14 +0100)]
sfp-machine.h (__gcc_CMPtype): New typedef.

        * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
        (CMPtype): Define as __gcc_CMPtype.
        * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
        (CMPtype): Define as __gcc_CMPtype.

From-SVN: r132413

16 years agoSupport valgrind 3.3 for --enable-checking=valgrind.
Hans-Peter Nilsson [Tue, 19 Feb 2008 04:13:05 +0000 (04:13 +0000)]
Support valgrind 3.3 for --enable-checking=valgrind.

* system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines
here.
[!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS.
[!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE.
[!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE.
* ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines.
Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and
VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED,
VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS
respectively.
* ggc-zone.c: Similar.
* ggc-page.c: Similar.

From-SVN: r132407

16 years agore PR other/12618 (core not cleaned up by 'make distclean')
Ben Elliston [Tue, 19 Feb 2008 03:23:15 +0000 (03:23 +0000)]
re PR other/12618 (core not cleaned up by 'make distclean')

PR other/12618
* testsuite/Makefile.in (mostlyclean): Remove any core file.

From-SVN: r132405

16 years agore PR target/35071 (bad instruction `do_itt eq')
Paul Brook [Tue, 19 Feb 2008 01:29:09 +0000 (01:29 +0000)]
re PR target/35071 (bad instruction `do_itt eq')

2008-02-19  Paul Brook  <paul@codesourcery.com>

PR target/35071
* config/arm/ieee754-df.S: Fix do_it typo.
* config/arm/ieee754-sf.S: Fix do_it typo.

From-SVN: r132404

16 years agore PR target/35189 (-mno-sse4.2 turns off SSE4a)
H.J. Lu [Tue, 19 Feb 2008 01:21:03 +0000 (01:21 +0000)]
re PR target/35189 (-mno-sse4.2 turns off SSE4a)

gcc/

2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/35189
* config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New.
(OPTION_MASK_ISA_3DNOW_SET): Likewise.
(OPTION_MASK_ISA_SSE_SET): Likewise.
(OPTION_MASK_ISA_SSE2_SET): Likewise.
(OPTION_MASK_ISA_SSE3_SET): Likewise.
(OPTION_MASK_ISA_SSSE3_SET): Likewise.
(OPTION_MASK_ISA_SSE4_1_SET): Likewise.
(OPTION_MASK_ISA_SSE4_2_SET): Likewise.
(OPTION_MASK_ISA_SSE4_SET): Likewise.
(OPTION_MASK_ISA_SSE4A_SET): Likewise.
(OPTION_MASK_ISA_SSE5_SET): Likewise.
(OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise.
(OPTION_MASK_ISA_MMX_UNSET): Updated.
(OPTION_MASK_ISA_3DNOW_UNSET): Updated.
(OPTION_MASK_ISA_SSE_UNSET): Likewise.
(OPTION_MASK_ISA_SSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSSE3_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_1_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4_2_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4A_UNSET): Likewise.
(OPTION_MASK_ISA_SSE5_UNSET): Likewise.
(OPTION_MASK_ISA_SSE4): Removed.
(ix86_handle_option): Turn on bits in ix86_isa_flags and
ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for
-mXXX.
(override_options): Don't turn on implied SSE/MMX bits in
ix86_isa_flags.

gcc/testsuite/

2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>

PR target/35189
* gcc.target/i386/isa-1.c: New.
* gcc.target/i386/isa-2.c: Likewise.
* gcc.target/i386/isa-3.c: Likewise.
* gcc.target/i386/isa-4.c: Likewise.
* gcc.target/i386/isa-5.c: Likewise.
* gcc.target/i386/isa-6.c: Likewise.
* gcc.target/i386/isa-7.c: Likewise.
* gcc.target/i386/isa-8.c: Likewise.
* gcc.target/i386/isa-9.c: Likewise.
* gcc.target/i386/isa-10.c: Likewise.
* gcc.target/i386/isa-11.c: Likewise.
* gcc.target/i386/isa-12.c: Likewise.
* gcc.target/i386/isa-13.c: Likewise.
* gcc.target/i386/isa-14.c: Likewise.

From-SVN: r132403

16 years agoDaily bump.
GCC Administrator [Tue, 19 Feb 2008 00:17:38 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r132401

16 years agoi386-modes.def: Use 4 byte alignment on DI for 32bit host.
H.J. Lu [Mon, 18 Feb 2008 23:44:32 +0000 (23:44 +0000)]
i386-modes.def: Use 4 byte alignment on DI for 32bit host.

2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386-modes.def: Use 4 byte alignment on DI for
32bit host.

From-SVN: r132397

16 years agore PR middle-end/34921 (Misalign stack variable referenced by nested function)
Joey Ye [Mon, 18 Feb 2008 23:43:23 +0000 (23:43 +0000)]
re PR middle-end/34921 (Misalign stack variable referenced by nested function)

gcc/

2008-02-18  Joey Ye  <joey.ye@intel.com>

PR middle-end/34921
* tree-nested.c (insert_field_into_struct): Set type alignment
to field alignment if the former is less than the latter.

gcc/testsuite/

2008-02-18  Joey Ye  <joey.ye@intel.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/34921
* gcc.c-torture/execute/nest-align-1.c: New test case.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r132396

16 years ago* crontab: Add 4.3 branch. Set trunk to 4.4.
Jakub Jelinek [Mon, 18 Feb 2008 22:49:19 +0000 (23:49 +0100)]
* crontab: Add 4.3 branch.  Set trunk to 4.4.

From-SVN: r132394

16 years ago* BASE-VER: Set to 4.4.0.
Jakub Jelinek [Mon, 18 Feb 2008 22:41:06 +0000 (23:41 +0100)]
* BASE-VER: Set to 4.4.0.

From-SVN: r132393

16 years agocp-tools.texinfo (@direntry): Prefix info name with cp-.
Jakub Jelinek [Mon, 18 Feb 2008 19:54:01 +0000 (20:54 +0100)]
cp-tools.texinfo (@direntry): Prefix info name with cp-.

* doc/cp-tools.texinfo (@direntry): Prefix info name with cp-.
* doc/cp-hacking.texinfo (@direntry): Likewise.
* doc/cp-vmintegration.texinfo (@direntry): Likewise.

From-SVN: r132391

16 years ago[multiple changes]
Paolo Carlini [Mon, 18 Feb 2008 13:32:01 +0000 (13:32 +0000)]
[multiple changes]

2008-02-18  Pedro Lamarao <pedro.lamarao@mndfck.org>

* include/std/tuple: Fixes for moveable, non-copyable types.
* testsuite/20_util/tuple/moveable2.cc: New.

2008-02-18  Paolo Carlini  <pcarlini@suse.de>

* include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.

From-SVN: r132389

16 years agoDaily bump.
GCC Administrator [Mon, 18 Feb 2008 00:17:29 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r132387

16 years agopoly_laguerre.tcc: Doxygen fixes.
Ed Smith-Rowland [Mon, 18 Feb 2008 00:05:26 +0000 (00:05 +0000)]
poly_laguerre.tcc: Doxygen fixes.

2008-02-17  Ed Smith-Rowland  <3dw4rd@verizon.net>

* include/tr1/poly_laguerre.tcc: Doxygen fixes.
* include/tr1/exp_integral.tcc: Same.
* include/tr1/gamma.tcc: Same.
* include/tr1/hypergeometric.tcc: Same.

From-SVN: r132384

16 years agore PR libstdc++/34797 ([parallel mode] Settings are separated for each compilation...
Benjamin Kosnik [Mon, 18 Feb 2008 00:00:00 +0000 (00:00 +0000)]
re PR libstdc++/34797 ([parallel mode] Settings are separated for each compilation unit)

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

PR libstdc++/34797
* include/parallel/settings.h (_Settings): Reconstruct Settings class
here, uglify, remove anonymous namespace and static
members. Convert to datum.
* include/parallel/types.h: Move Settings:: enumerations here, uglify.
* src/parallel_settings.cc: New, definition for _Settings member
functions.
* include/parallel/multiway_merge.h: Same.
* include/parallel/for_each.h: Same.
* include/parallel/workstealing.h: Same.
* include/parallel/base.h: Same.
* include/parallel/numeric
* include/parallel/features.h: Same.
* include/parallel/quicksort.h: Same.
* include/parallel/equally_split.h: Same.
* include/parallel/algorithmfwd.h: Same.
* include/parallel/omp_loop_static.h: Same.
* include/parallel/random_shuffle.h: Same.
* include/parallel/balanced_quicksort.h: Same.
* include/parallel/tags.h: Same.
* include/parallel/multiway_mergesort.h: Same.
* include/parallel/numericfwd.h: Same.
* include/parallel/partition.h: Same.
* include/parallel/partial_sum.h: Same.
* include/parallel/find.h: Same.
* include/parallel/algo.h: Same.
* include/parallel/omp_loop.h: Same.
* include/parallel/sort.h: Same.

* src/Makefile.am (parallel_sources): Add parallel_settings.cc.
* src/Makefile.in: Regenerate.

* config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.

From-SVN: r132383

16 years agore PR ada/15479 (Ada manual problems)
Ralf Wildenhues [Sun, 17 Feb 2008 21:20:01 +0000 (21:20 +0000)]
re PR ada/15479 (Ada manual problems)

gcc/ada/:
PR documentation/15479
* gnat_ugn.texi: In non-code, avoid space before colon.
(Regular Expressions in gnatfind and gnatxref): Fix indentation.
(Examples of gnatxref Usage): Use @command{vi} instead of
@file{vi}.
(Character Set Control): Do not use @code for UTF-8.
(Validity Checking): Fix typo "NaNs" instead of "NaN's".  Do not
use @code for IEEE.
* gnat_rm.texi (Aggregates with static bounds): Fix typo in code
sample.
* gnat_rm.texi, gnat_ugn.texi: Fix typos.  Bump copyright years.

From-SVN: r132382

16 years agoc-tree.texi: Use @dots{} and @enddots{} where appropriate.
Ralf Wildenhues [Sun, 17 Feb 2008 18:52:04 +0000 (18:52 +0000)]
c-tree.texi: Use @dots{} and @enddots{} where appropriate.

* doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
* doc/cfg.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/loop.texi: Likewise.
* doc/md.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/tm.texi: Likewise.
* doc/tree-ssa.texi: Likewise.

From-SVN: r132381

16 years agore PR libstdc++/35221 (libstdc++ broken)
Paolo Carlini [Sun, 17 Feb 2008 15:46:30 +0000 (15:46 +0000)]
re PR libstdc++/35221 (libstdc++ broken)

2008-02-17  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/35221
* include/parallel/types.h: Reinstate integer types typedefs.
* include/parallel/multiseq_selection.h: Adjust.
* include/parallel/compatibility.h: Likewise.
* include/parallel/random_shuffle.h: Likewise.
* include/parallel/random_number.h: Likewise.
* include/parallel/base.h: Likewise.

From-SVN: r132380

16 years agore PR middle-end/35227 (gcc ICEs for functions with unused complex argument)
Richard Guenther [Sun, 17 Feb 2008 15:06:53 +0000 (15:06 +0000)]
re PR middle-end/35227 (gcc ICEs for functions with unused complex argument)

2008-02-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/35227
* tree-complex.c (init_parameter_lattice_values): Handle parameters
without default definition.

* gcc.dg/torture/pr35227.c: New testcase.

From-SVN: r132379

16 years agore PR tree-optimization/35231 (VRP miscompiles libX11)
Richard Guenther [Sun, 17 Feb 2008 14:00:48 +0000 (14:00 +0000)]
re PR tree-optimization/35231 (VRP miscompiles libX11)

2008-02-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/35231
* tree-vrp.c (register_edge_assert_for): Do not assume A == 0
if A | B != 1.

* gcc.c-torture/execute/pr35231.c: New testcase.

From-SVN: r132378

16 years agoRevert:
Uros Bizjak [Sun, 17 Feb 2008 11:54:45 +0000 (12:54 +0100)]
Revert:

        2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
        * config/i386/sfp-machine.h (CMPtype): Define as typedef using
        libgcc_cmp_return mode.

testsuite/ChangeLog:

        * gcc.target/i386/pr32268.c (test_lt): Add noinline attribute.
        (test_gt): Ditto.

From-SVN: r132377

16 years agoDaily bump.
GCC Administrator [Sun, 17 Feb 2008 00:17:33 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r132375

16 years agore PR libstdc++/35209 (__gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported...
Paolo Carlini [Sat, 16 Feb 2008 23:39:56 +0000 (23:39 +0000)]
re PR libstdc++/35209 (__gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO)

2008-02-17  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/35209
* config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
* testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
* testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.

From-SVN: r132372

16 years agorandom_number.h: Use TR1's mersenne_twister.
Benjamin Kosnik [Sat, 16 Feb 2008 23:21:20 +0000 (23:21 +0000)]
random_number.h: Use TR1's mersenne_twister.

2008-02-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/parallel/random_number.h: Use TR1's mersenne_twister.
(random_number::genrand_bits()): Remove.
(random_number::set_seed): Remove.

From-SVN: r132371

16 years agoencode-2.mm: XFAIL.
Kaveh R. Ghazi [Sat, 16 Feb 2008 22:39:49 +0000 (22:39 +0000)]
encode-2.mm: XFAIL.

* obj-c++.dg/encode-2.mm: XFAIL.
* obj-c++.dg/encode-3.mm: Likewise.

From-SVN: r132370

16 years agohas_nothrow_assign.C: Skip some tests when __PIC__.
Kaveh R. Ghazi [Sat, 16 Feb 2008 19:32:24 +0000 (19:32 +0000)]
has_nothrow_assign.C: Skip some tests when __PIC__.

2008-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
    Paolo Carlini  <pcarlini@suse.de>

        * g++.dg/ext/has_nothrow_assign.C: Skip some tests when __PIC__.
        * g++.dg/ext/has_nothrow_constructor.C: Likewise.
        * g++.dg/ext/has_nothrow_copy.C: Likewise.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r132369

16 years agore PR c/28368 (-std=c89 doesn't warn about gcc's "?:" extension)
Manuel López-Ibáñez [Sat, 16 Feb 2008 16:29:12 +0000 (16:29 +0000)]
re PR c/28368 (-std=c89 doesn't warn about gcc's "?:" extension)

2008-02-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c/28368
* doc/invoke.texi (-std): Clarify description of -std= and -ansi.

From-SVN: r132367

16 years agore PR fortran/34952 (Document lack of support for ENCODE/DECODE)
Francois-Xavier Coudert [Sat, 16 Feb 2008 14:10:12 +0000 (14:10 +0000)]
re PR fortran/34952 (Document lack of support for ENCODE/DECODE)

PR fortran/34952
* gfortran.texi: Create new section for unimplemented extensions.
Add "STRUCTURE and RECORD" and "ENCODE and DECODE statements".
Remove "smaller projects" list. Fix a few typos.

From-SVN: r132366

16 years agofastcall-sseregparm.c: Include sse-check.h.
Uros Bizjak [Sat, 16 Feb 2008 11:04:43 +0000 (12:04 +0100)]
fastcall-sseregparm.c: Include sse-check.h.

        * gcc.target/i386/fastcall-sseregparm.c: Include sse-check.h.
        (main): Change to void and rename to sse_test.
        * gcc.target/i386/pr24306.c: Ditto.
        * gcc.target/i386/pr32065-2.c: Ditto.
        * gcc.target/i386/20060512-1.c: Include sse2-check.h.
        (main): Change to void and rename to sse2_test.
        * gcc.target/i386/20060512-3.c: Ditto.

From-SVN: r132365

16 years agotypes.h: Remove enum parallelism.
Benjamin Kosnik [Sat, 16 Feb 2008 06:15:39 +0000 (06:15 +0000)]
types.h: Remove enum parallelism.

2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>

        * include/parallel/types.h: Remove enum parallelism.

From-SVN: r132364

16 years agot-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 multilibs.
Ralf Corsepius [Sat, 16 Feb 2008 05:52:54 +0000 (06:52 +0100)]
t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 multilibs.

2008-02-16  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475
multilibs.

From-SVN: r132363

16 years agore PR libgcj/33085 (liblt_prog_compiler_pic_GCJ='-DDLL_EXPORT' is wrong)
Ralf Wildenhues [Sat, 16 Feb 2008 03:57:53 +0000 (03:57 +0000)]
re PR libgcj/33085 (liblt_prog_compiler_pic_GCJ='-DDLL_EXPORT'  is wrong)

PR libgcj/33085
* libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>:
Do not use -DDLL_EXPORT.  Backport from upstream.

libjava/
PR libgcj/33085
* configure: Regenerate.

From-SVN: r132362

16 years agoc-tree.texi: Use `@.' where appropriate.
Ralf Wildenhues [Sat, 16 Feb 2008 03:54:54 +0000 (03:54 +0000)]
c-tree.texi: Use `@.' where appropriate.

* doc/c-tree.texi: Use `@.' where appropriate.
* doc/extend.texi: Likewise.
* doc/install.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/loop.texi: Likewise.
* doc/makefile.texi: Likewise.
* doc/md.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/standards.texi: Likewise.
* doc/tm.texi: Likewise.

From-SVN: r132361

16 years agoDaily bump.
GCC Administrator [Sat, 16 Feb 2008 00:17:24 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r132358

16 years agointrinsic.texi: Rename INDEX node to avoid clashing with index.html on case-insensiti...
Francois-Xavier Coudert [Fri, 15 Feb 2008 22:56:37 +0000 (22:56 +0000)]
intrinsic.texi: Rename INDEX node to avoid clashing with index.html on case-insensitive systems.

* intrinsic.texi: Rename INDEX node to avoid clashing with
index.html on case-insensitive systems.

From-SVN: r132355

16 years agotypes.h: Move enum parallelism here.
Benjamin Kosnik [Fri, 15 Feb 2008 22:55:14 +0000 (22:55 +0000)]
types.h: Move enum parallelism here.

2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>

* include/parallel/types.h: Move enum parallelism here.  Use
tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
uint64_t.
* include/parallel/multiseq_selection.h: Adjust for cstdint.
* include/parallel/compatibility.h: Same.
* include/parallel/tags.h: Just compile-time tags.
* include/parallel/base.h: Put namespace bits here.

* src/Makefile.am (PARALLEL_FLAGS): Use it.
* src/Makefile.in: Regenerate.

* testsuite/25_algorithms/nth_element/1.cc: Add test variable.

From-SVN: r132354

16 years agotrans-expr.c (gfc_conv_function_call): Force evaluation of se->expr.
Francois-Xavier Coudert [Fri, 15 Feb 2008 21:12:24 +0000 (21:12 +0000)]
trans-expr.c (gfc_conv_function_call): Force evaluation of se->expr.

* trans-expr.c (gfc_conv_function_call): Force evaluation of
se->expr.

* gfortran.dg/c_loc_tests_12.f03: New test.

From-SVN: r132353

16 years agore PR middle-end/35196 (lastprivate broken for static non-ordered loops)
Jakub Jelinek [Fri, 15 Feb 2008 17:42:25 +0000 (18:42 +0100)]
re PR middle-end/35196 (lastprivate broken for static non-ordered loops)

PR middle-end/35196
* omp-low.c (expand_omp_for_generic): Don't initialize fd->v
in entry_bb.
(expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb
rather than in entry_bb.

* testsuite/libgomp.c/pr35196.c: New test.

From-SVN: r132351