OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.
uros [Wed, 20 Feb 2008 15:31:19 +0000 (15:31 +0000)]
* mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.

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

16 years ago * ChangeLog: Whitespace fixes.
uros [Wed, 20 Feb 2008 15:16:16 +0000 (15:16 +0000)]
* ChangeLog: Whitespace fixes.
* gcc/ChangeLog: Ditto.
* config/ChangeLog: Ditto.

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

16 years ago2008-02-20 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 20 Feb 2008 14:14:55 +0000 (14:14 +0000)]
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.

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

16 years ago2008-02-20 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 20 Feb 2008 14:13:47 +0000 (14:13 +0000)]
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.

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

16 years ago2008-02-20 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 20 Feb 2008 14:10:40 +0000 (14:10 +0000)]
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.

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

16 years ago * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define.
uros [Wed, 20 Feb 2008 13:21:23 +0000 (13:21 +0000)]
* 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.

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

16 years ago2008-02-20 Matthias Klose <doko@ubuntu.com>
doko [Wed, 20 Feb 2008 12:20:18 +0000 (12:20 +0000)]
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.

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

16 years ago * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi,
irar [Wed, 20 Feb 2008 07:36:47 +0000 (07:36 +0000)]
* 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.

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

16 years ago * g++.dg/compat/struct-layout-1_generate.c (DG_OPTIONS): New define.
uros [Wed, 20 Feb 2008 07:01:34 +0000 (07:01 +0000)]
* 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.

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

16 years ago * inclhack.def (solaris_math_10): New.
ghazi [Wed, 20 Feb 2008 04:20:59 +0000 (04:20 +0000)]
* inclhack.def (solaris_math_10): New.
* tests/base/iso/math_c99.h: Update.

* fixincl.x: Regenerate.

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

16 years ago * traditional.c (lex_identifier): Use CPP_HASHNODE.
tromey [Wed, 20 Feb 2008 02:16:43 +0000 (02:16 +0000)]
* 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.

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

16 years agoAdd missing ChangeLog entry for revision 132455.
hjl [Wed, 20 Feb 2008 01:49:08 +0000 (01:49 +0000)]
Add missing ChangeLog entry for revision 132455.

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

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

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

16 years ago PR c++/34950
jason [Tue, 19 Feb 2008 22:53:07 +0000 (22:53 +0000)]
    PR c++/34950
        * pt.c (resolve_overloaded_unification): Set processing_template_decl
        while we look for possible bindings.

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

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

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

16 years ago2007-02-19 Andreas Tobler <a.tobler@schweiz.org>
andreast [Tue, 19 Feb 2008 21:29:26 +0000 (21:29 +0000)]
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).

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

16 years ago * predict.c (predict_paths_leading_to): Rewrite.
hubicka [Tue, 19 Feb 2008 21:15:28 +0000 (21:15 +0000)]
* predict.c (predict_paths_leading_to): Rewrite.
(predict_paths_for_bb): New.
(tree_bb_level_predictions): Update call of predict_paths_leading_to.

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

16 years agoPR bootstrap/35218
rwild [Tue, 19 Feb 2008 19:38:52 +0000 (19:38 +0000)]
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.

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

16 years ago2008-02-19 Daniel Franke <franke.daniel@gmail.com>
dfranke [Tue, 19 Feb 2008 18:26:12 +0000 (18:26 +0000)]
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.

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

16 years ago PR rtl-optimization/34408
hubicka [Tue, 19 Feb 2008 17:11:12 +0000 (17:11 +0000)]
PR rtl-optimization/34408
* see.c (see_def_extension_not_merged): Copy subreg so we don't have invalid sharing.

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

16 years ago PR middle-end/28779
hubicka [Tue, 19 Feb 2008 17:09:42 +0000 (17:09 +0000)]
PR middle-end/28779
* tree-inline.c (estimate_num_insns_1): Fix counting of cost of call_expr.

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

16 years ago2008-02-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 19 Feb 2008 14:35:48 +0000 (14:35 +0000)]
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.

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

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

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

16 years ago PR target/35239
jakub [Tue, 19 Feb 2008 13:34:29 +0000 (13:34 +0000)]
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.

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

16 years ago2008-02-19 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 19 Feb 2008 11:55:29 +0000 (11:55 +0000)]
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.

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

16 years ago2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Tue, 19 Feb 2008 10:51:52 +0000 (10:51 +0000)]
2008-02-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

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

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

16 years ago PR other/31349
nickc [Tue, 19 Feb 2008 10:33:41 +0000 (10:33 +0000)]
    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.

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

16 years ago PR c++/35028
jakub [Tue, 19 Feb 2008 10:18:29 +0000 (10:18 +0000)]
PR c++/35028
* cp-gimplify.c (cxx_omp_clause_apply_fn): Handle vararg copy ctors.

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

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

16 years ago PR c++/34964
jakub [Tue, 19 Feb 2008 10:16:29 +0000 (10:16 +0000)]
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.

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

16 years ago PR c++/35078
jakub [Tue, 19 Feb 2008 10:14:57 +0000 (10:14 +0000)]
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.

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

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

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

16 years agocoding convention
chrbr [Tue, 19 Feb 2008 08:34:16 +0000 (08:34 +0000)]
coding convention

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

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

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

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

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

16 years ago PR target/33555
uros [Tue, 19 Feb 2008 07:23:30 +0000 (07:23 +0000)]
    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.

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

16 years ago * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
uros [Tue, 19 Feb 2008 07:14:10 +0000 (07:14 +0000)]
    * 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.

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

16 years ago Support valgrind 3.3 for --enable-checking=valgrind.
hp [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.

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

16 years ago PR other/12618
bje [Tue, 19 Feb 2008 03:23:15 +0000 (03:23 +0000)]
PR other/12618
* testsuite/Makefile.in (mostlyclean): Remove any core file.

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

16 years ago2008-02-19 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 19 Feb 2008 01:29:09 +0000 (01:29 +0000)]
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.

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

16 years agogcc/
hjl [Tue, 19 Feb 2008 01:21:03 +0000 (01:21 +0000)]
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.

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

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

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

16 years ago2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 18 Feb 2008 23:44:32 +0000 (23:44 +0000)]
2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>

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

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

16 years agogcc/
hjl [Mon, 18 Feb 2008 23:43:23 +0000 (23:43 +0000)]
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.

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

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

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

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

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

16 years ago * doc/cp-tools.texinfo (@direntry): Prefix info name with cp-.
jakub [Mon, 18 Feb 2008 19:54:01 +0000 (19:54 +0000)]
* doc/cp-tools.texinfo (@direntry): Prefix info name with cp-.
* doc/cp-hacking.texinfo (@direntry): Likewise.
* doc/cp-vmintegration.texinfo (@direntry): Likewise.

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

16 years ago2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
paolo [Mon, 18 Feb 2008 13:32:01 +0000 (13:32 +0000)]
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.

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

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

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

16 years ago2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
bkoz [Mon, 18 Feb 2008 00:05:26 +0000 (00:05 +0000)]
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.

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

16 years ago2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 18 Feb 2008 00:00:00 +0000 (00:00 +0000)]
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.

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

16 years agogcc/ada/:
rwild [Sun, 17 Feb 2008 21:20:01 +0000 (21:20 +0000)]
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.

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

16 years ago* doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate.
rwild [Sun, 17 Feb 2008 18:52:04 +0000 (18:52 +0000)]
* 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.

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

16 years ago2008-02-17 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 17 Feb 2008 15:46:30 +0000 (15:46 +0000)]
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.

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

16 years ago2008-02-17 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 17 Feb 2008 15:06:53 +0000 (15:06 +0000)]
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.

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

16 years ago2008-02-17 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 17 Feb 2008 14:00:48 +0000 (14:00 +0000)]
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.

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

16 years ago Revert:
uros [Sun, 17 Feb 2008 11:54:45 +0000 (11:54 +0000)]
    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.

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

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

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

16 years ago2008-02-17 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 16 Feb 2008 23:39:56 +0000 (23:39 +0000)]
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.

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

16 years ago2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 16 Feb 2008 23:21:20 +0000 (23:21 +0000)]
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.

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

16 years ago * obj-c++.dg/encode-2.mm: XFAIL.
ghazi [Sat, 16 Feb 2008 22:39:49 +0000 (22:39 +0000)]
* obj-c++.dg/encode-2.mm: XFAIL.
* obj-c++.dg/encode-3.mm: Likewise.

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

16 years ago2008-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
paolo [Sat, 16 Feb 2008 19:32:24 +0000 (19:32 +0000)]
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.

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

16 years ago2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Sat, 16 Feb 2008 16:29:12 +0000 (16:29 +0000)]
2008-02-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

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

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

16 years ago PR fortran/34952
fxcoudert [Sat, 16 Feb 2008 14:10:12 +0000 (14:10 +0000)]
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.

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

16 years ago * gcc.target/i386/fastcall-sseregparm.c: Include sse-check.h.
uros [Sat, 16 Feb 2008 11:04:43 +0000 (11:04 +0000)]
    * 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.

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

16 years ago2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 16 Feb 2008 06:15:39 +0000 (06:15 +0000)]
2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>

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

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

16 years ago2008-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
corsepiu [Sat, 16 Feb 2008 05:52:54 +0000 (05:52 +0000)]
2008-02-16  Ralf Corsepius  <ralf.corsepius@rtems.org>

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

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

16 years agoPR libgcj/33085
rwild [Sat, 16 Feb 2008 03:57:53 +0000 (03:57 +0000)]
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.

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

16 years ago* doc/c-tree.texi: Use `@.' where appropriate.
rwild [Sat, 16 Feb 2008 03:54:54 +0000 (03:54 +0000)]
* 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.

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

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

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

16 years ago * intrinsic.texi: Rename INDEX node to avoid clashing with
fxcoudert [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.

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

16 years ago2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 15 Feb 2008 22:55:14 +0000 (22:55 +0000)]
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.

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

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

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

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

16 years ago PR middle-end/35196
jakub [Fri, 15 Feb 2008 17:42:25 +0000 (17:42 +0000)]
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.

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

16 years ago * config/i386/sfp-machine.h (CMPtype): Define as typedef using
uros [Fri, 15 Feb 2008 17:40:55 +0000 (17:40 +0000)]
    * config/i386/sfp-machine.h (CMPtype): Define as typedef using
        libgcc_cmp_return mode.

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

16 years ago PR middle-end/35130
jakub [Fri, 15 Feb 2008 17:36:43 +0000 (17:36 +0000)]
PR middle-end/35130
* tree-nested.c (convert_call_expr): Put FRAME.* vars into
OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.

* testsuite/libgomp.fortran/pr35130.f90: New test.
* testsuite/libgomp.c/pr35130.c: New test.

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

16 years ago2008-02-15 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Fri, 15 Feb 2008 17:33:02 +0000 (17:33 +0000)]
2008-02-15  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/35023
PR c++/35024
PR c++/35026
* pt.c (finish_member_template_decl): If the type in a TYPE_DECL
is error_mark_node, return an error early.
(find_parameter_packs_r): Pass the pointer set along to recursive
calls of cp_walk_subtrees; don't try to manage the pointer set
ourselves.
(uses_parameter_packs): Pass the pointer set to cp_walk_tree.
(make_pack_expansion): Ditto.
(check_for_bare_parameter_packs): Ditto. Also, don't bother taking
a second pass through the tree with find_parameter_packs_r; that
second pass no longer does anything.
(push_template_decl_real): If we have an erroneous declaration,
set its type to error_mark_node before returning an error.

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

PR c++/35023
PR c++/35024
PR c++/35026
* g++.dg/cpp0x/vt-35026.C: New.
* g++.dg/cpp0x/vt-35023.C: New.
* g++.dg/cpp0x/vt-34055.C: Tweak expected error messages.
* g++.dg/cpp0x/vt-35024.C: New.

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

16 years ago * gcc.c-torture/execute/va-arg-25.x: Remove.
uros [Fri, 15 Feb 2008 16:46:45 +0000 (16:46 +0000)]
    * gcc.c-torture/execute/va-arg-25.x: Remove.

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

16 years ago2008-02-15 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 15 Feb 2008 15:24:19 +0000 (15:24 +0000)]
2008-02-15  Richard Guenther  <rguenther@suse.de>
Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/35164
* tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
* tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
Only propagate addresses which do not have abnormal SSA_NAMEs
in their operands.

* g++.dg/torture/pr35164-1.C: New testcase.
* g++.dg/torture/pr35164-2.C: Likewise.

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

16 years ago PR testsuite/35119
uros [Fri, 15 Feb 2008 14:33:57 +0000 (14:33 +0000)]
PR testsuite/35119
* testsuite/g++.dg/template/spec35.C
Change the regular expressions in dg-final to match the assembly
code generated by Darwin 9.

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

16 years ago * gcc.dg/cpp/pragma-pop_macro-1.c: Fix dg-do directive.
uros [Fri, 15 Feb 2008 14:17:41 +0000 (14:17 +0000)]
* gcc.dg/cpp/pragma-pop_macro-1.c: Fix dg-do directive.

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

16 years ago2008-02-15 Andreas Tobler <a.tobler@schweiz.org>
andreast [Fri, 15 Feb 2008 14:08:59 +0000 (14:08 +0000)]
2008-02-15  Andreas Tobler  <a.tobler@schweiz.org>

PR testsuite/35208
* testsuite/libjava.jvmti/interp/natgetstacktrace.cc
(Java_getstacktrace_natRunner): Increase the usleep time to a value
which prevents OS-X to get into a deadlock.

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

16 years ago PR target/35088
jsm28 [Fri, 15 Feb 2008 13:41:44 +0000 (13:41 +0000)]
PR target/35088
* config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.

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

16 years ago * gcc.target/i386/pr35160.c: Skip if !nonpic for 32bit x86 targets.
uros [Fri, 15 Feb 2008 12:19:00 +0000 (12:19 +0000)]
* gcc.target/i386/pr35160.c: Skip if !nonpic for 32bit x86 targets.

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

16 years ago PR middle-end/35149
hubicka [Fri, 15 Feb 2008 11:15:48 +0000 (11:15 +0000)]
PR middle-end/35149
* ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag.

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

16 years ago PR middle-end/34621
uros [Fri, 15 Feb 2008 09:55:36 +0000 (09:55 +0000)]
PR middle-end/34621
* function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY
when calculating alignment_pad.

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

16 years ago * testsuite/config/default.exp: Load gcc dejapatches.exp.
hp [Fri, 15 Feb 2008 09:09:47 +0000 (09:09 +0000)]
* testsuite/config/default.exp: Load gcc dejapatches.exp.

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

16 years ago * lib/dejapatches.exp: New file.
hp [Fri, 15 Feb 2008 09:08:32 +0000 (09:08 +0000)]
* lib/dejapatches.exp: New file.

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

16 years ago * config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
uros [Fri, 15 Feb 2008 08:12:02 +0000 (08:12 +0000)]
* config/i386/i386.h (CLEAR_RATIO): Use MIN macro.
(WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define.
* config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro
and STACK_BOUNDARY define.

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

16 years ago* check_warning_flags.sh: New file.
rwild [Fri, 15 Feb 2008 05:50:37 +0000 (05:50 +0000)]
* check_warning_flags.sh: New file.

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

16 years ago2008-02-14 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Fri, 15 Feb 2008 03:09:18 +0000 (03:09 +0000)]
2008-02-14  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34050
* pt.c (tsubst_initializer_list): Deal with the use of
VOID_TYPE_NODE to indicate value-initialization of the bases.

2008-02-14  Douglas Gregor  <doug.gregor@gmail.com>

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

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

16 years agoDaily bump.
gccadmin [Fri, 15 Feb 2008 00:17:23 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR c++/5645
jason [Thu, 14 Feb 2008 23:11:04 +0000 (23:11 +0000)]
    PR c++/5645
        PR c++/11159
        * class.c (type_has_user_nondefault_constructor): New fn.
        * cp-tree.h: Declare it.
        * init.c (emit_mem_initializers): Use it for -W warning about
        missing base initializer.

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

16 years ago PR preprocessor/35061
dannysmith [Thu, 14 Feb 2008 21:41:40 +0000 (21:41 +0000)]
PR preprocessor/35061
gcc
* c-pragma.c (handle_pragma_pop_macro): Check that
pushed_macro_table has been allocated.
testsuite
* gcc.dg/cpp/pragma_pop_macro-1.c:  New file

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

16 years ago * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
ghazi [Thu, 14 Feb 2008 21:41:20 +0000 (21:41 +0000)]
* testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
remove XFAIL.

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

16 years ago PR middle-end/35136
ebotcazou [Thu, 14 Feb 2008 19:07:38 +0000 (19:07 +0000)]
PR middle-end/35136
* gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
(force_gimple_operand): Likewise.
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
(find_interesting_uses_address): Check addressability and alignment
of the base expression only after substituting bases of IVs into it.

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

16 years ago2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 14 Feb 2008 17:03:02 +0000 (17:03 +0000)]
2008-02-14  Benjamin Kosnik  <bkoz@redhat.com>

* config/os/generic/error_constants.h (posix_errno): Guard
not_supported use of ENOTSUP.
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
for OpenBSD.
* aclocal.m4: Regenerate.
* configure: Rengerate.
* config.h.in: Same.

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

16 years ago PR target/34930
matz [Thu, 14 Feb 2008 12:54:30 +0000 (12:54 +0000)]
    PR target/34930
        * function.c (instantiate_virtual_regs_in_insn): Reload address
        before falling back to reloading the whole operand.

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

16 years ago/cp
paolo [Thu, 14 Feb 2008 12:34:42 +0000 (12:34 +0000)]
/cp
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-14  Paolo Carlini  <pcarlini@suse.de>

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

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

16 years ago2008-02-14 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Thu, 14 Feb 2008 08:40:40 +0000 (08:40 +0000)]
2008-02-14  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (s390_mainpool_start): Emit the pool
before the first section switch note.

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

16 years ago* doc/bugreport.texi: Update copyright years.
rwild [Thu, 14 Feb 2008 04:56:34 +0000 (04:56 +0000)]
* doc/bugreport.texi: Update copyright years.
* doc/c-tree.texi: Likewise.
* doc/cfg.texi: Likewise.
* doc/cpp.texi: Likewise.
* doc/cppinternals.texi: Likewise.
* doc/fragments.texi: Likewise.
* doc/frontends.texi: Likewise.
* doc/gcc.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/hostconfig.texi: Likewise.
* doc/implement-c.texi: Likewise.
* doc/libgcc.texi: Likewise.
* doc/loop.texi: Likewise.
* doc/makefile.texi: Likewise.
* doc/options.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/standards.texi: Likewise.
* doc/tree-ssa.texi: Likewise.
* doc/trouble.texi: Likewise.

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