gcc.git
16 years agore PR fortran/35037 (VOLATILE attribute not being honored with common block variable)
Francois-Xavier Coudert [Tue, 5 Feb 2008 21:06:32 +0000 (21:06 +0000)]
re PR fortran/35037 (VOLATILE attribute not being honored with common block variable)

PR fortran/35037

* trans-common.c (build_field): Mark fields as volatile when needed.

* gfortran.dg/volatile11.f90: New test.

From-SVN: r132129

16 years agore PR fortran/35093 (gfortran.dg/data_constraints_1.f90)
Tobias Burnus [Tue, 5 Feb 2008 20:40:45 +0000 (21:40 +0100)]
re PR fortran/35093 (gfortran.dg/data_constraints_1.f90)

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

        PR fortran/35093
        * data.c (gfc_assign_data_value): Only free "size" if
        it has not already been freed.

From-SVN: r132128

16 years agore PR c++/33553 (Bogus "array bound is not an integer constant" for parameter in...
Jakub Jelinek [Tue, 5 Feb 2008 20:03:30 +0000 (21:03 +0100)]
re PR c++/33553 (Bogus "array bound is not an integer constant" for parameter in template method of template class)

PR c++/33553
* pt.c (tsubst) <case INTEGER_TYPE>: Don't issue error if max is
value dependent expression.

* g++.dg/template/array19.C: New test.

From-SVN: r132126

16 years agoi386.md (floatunssisf2): Use ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
Uros Bizjak [Tue, 5 Feb 2008 18:07:25 +0000 (19:07 +0100)]
i386.md (floatunssisf2): Use ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.

        * config/i386/i386.md (floatunssisf2): Use
        ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
        (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
        Macroize expander using MODEF mode iterator.

From-SVN: r132125

16 years agohttp://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
Diego Novillo [Tue, 5 Feb 2008 16:31:20 +0000 (11:31 -0500)]
gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html

PR 33738
* tree-vrp.c (vrp_evaluate_conditional): Revert fix for
PR 33738.

testsuite/ChangeLog

PR 33738
* g++.dg/warn/pr33738.C: Remove.

From-SVN: r132124

16 years agore PR other/35070 (-fverbose-asm has bogus asm output (mpfr library warning))
Kaveh R. Ghazi [Tue, 5 Feb 2008 16:23:10 +0000 (16:23 +0000)]
re PR other/35070 (-fverbose-asm has bogus asm output (mpfr library warning))

PR other/35070
* toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.

From-SVN: r132123

16 years agore PR target/35084 (Strang error messages)
H.J. Lu [Tue, 5 Feb 2008 14:51:06 +0000 (14:51 +0000)]
re PR target/35084 (Strang error messages)

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

PR target/35084
* config/i386/i386.c (ix86_function_sseregparm): Add an arg
to indicate if a message should be generated.
(init_cumulative_args): Updated.
(function_value_32): Likewise.

From-SVN: r132122

16 years agore PR fortran/34945 (LBOUND fails for array with KIND(complex) used in zero-sized...
Paul Thomas [Tue, 5 Feb 2008 13:33:35 +0000 (13:33 +0000)]
re PR fortran/34945 (LBOUND fails for array with KIND(complex) used in zero-sized dimension)

2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34945
* array.c (match_array_element_spec): Remove check for negative
array size.
(gfc_resolve_array_spec): Add check for negative size.

2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34945
* gfortran.dg/bounds_check_13.f: New test.

From-SVN: r132121

16 years agore PR c++/35074 (ICE with attribute "aligned" for template classes)
Douglas Gregor [Tue, 5 Feb 2008 13:29:43 +0000 (13:29 +0000)]
re PR c++/35074 (ICE with attribute "aligned" for template classes)

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

PR c++/35074
* decl2.c (save_template_attributes): When we're modifying the
TYPE_MAIN_VARIANT to add new attributes, be sure to also modify
all of the other variants to add those same attributes. Otherwise,
the main variant will be inconsistent with those other variants.

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

PR c++/35074
* g++.dg/ext/attrib30.C: New.

From-SVN: r132120

16 years ago* doc/include/texinfo.tex: Update to version 2008-02-04.16.
Joseph Myers [Tue, 5 Feb 2008 12:24:10 +0000 (12:24 +0000)]
* doc/include/texinfo.tex: Update to version 2008-02-04.16.

From-SVN: r132116

16 years agore PR testsuite/33946 (Testcase multi-ix.c generates call to (poisoned) bzero)
Francois-Xavier Coudert [Tue, 5 Feb 2008 12:03:21 +0000 (12:03 +0000)]
re PR testsuite/33946 (Testcase multi-ix.c generates call to (poisoned)  bzero)

PR testsuite/33946
* gcc.c-torture/execute/multi-ix.c: Call memset instead of bzero.

From-SVN: r132115

16 years agore PR target/35083 (ICE: in extract_insn, at recog.c:1990)
Uros Bizjak [Tue, 5 Feb 2008 11:27:41 +0000 (12:27 +0100)]
re PR target/35083 (ICE: in extract_insn, at recog.c:1990)

PR target/35083
* config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.

testsuite/ChangeLog:

PR target/35083
* gcc.target/i386/pr35083.c: New test.

From-SVN: r132114

16 years agore PR fortran/32315 (DATA with implied-do: Bounds checks missing [regression vs....
Paul Thomas [Tue, 5 Feb 2008 11:16:33 +0000 (11:16 +0000)]
re PR fortran/32315 (DATA with implied-do: Bounds checks missing [regression vs. g77])

2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32315
* data.c (gfc_assign_data_value): Add bounds check for array
references.

2008-02-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32315
* gfortran.dg/data_bounds_1.f90: New test.

From-SVN: r132113

16 years agohttp://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
Diego Novillo [Tue, 5 Feb 2008 04:17:58 +0000 (23:17 -0500)]
gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html

PR 33738
* tree-vrp.c (vrp_evaluate_conditional): With
-Wtype-limits, emit a warning when comparing against a
constant outside the natural range of OP0's type.

testsuite/ChangeLog

PR 33738
* testsuite/g++.dg/warn/pr33738.C: New.

From-SVN: r132111

16 years agoinclhack.def: (bsd_stdio_attrs_conflict...
Ismail Dönmez [Tue, 5 Feb 2008 02:36:32 +0000 (02:36 +0000)]
inclhack.def: (bsd_stdio_attrs_conflict...

2008-02-04  Ismail Dnmez  <ismail@pardus.org.tr>

* inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
quotes around mach entries.
* fixincl.x: Regenerate with latest autogen (5.9.4), updating license
to GPLv3.

From-SVN: r132110

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

From-SVN: r132108

16 years agoCorrect my last entry, matching the posted patch
Hans-Peter Nilsson [Mon, 4 Feb 2008 22:46:35 +0000 (22:46 +0000)]
Correct my last entry, matching the posted patch

From-SVN: r132105

16 years agowhere_operator_assign_4.f90: Fix typo in error message to match.
Daniel Franke [Mon, 4 Feb 2008 22:40:46 +0000 (17:40 -0500)]
where_operator_assign_4.f90: Fix typo in error message to match.

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

        * gfortran.dg/where_operator_assign_4.f90: Fix typo in error message
        to match.

From-SVN: r132104

16 years agotarget-supports.exp (check_effective_target_hard_float): Only use the preprocessor...
Hans-Peter Nilsson [Mon, 4 Feb 2008 22:36:26 +0000 (22:36 +0000)]
target-supports.exp (check_effective_target_hard_float): Only use the preprocessor tests for mips*-*-* and xtensa-*-*.

* lib/target-supports.exp (check_effective_target_hard_float): Only
use the preprocessor tests for mips*-*-* and xtensa-*-*.  For all
other targets, grep for a call insn in the rtl expand dump for an
add of two doubles.
(target_compile): Support generating rtl dumps as output.

From-SVN: r132102

16 years agoresolve.c (resolve_where): Fix typo.
Daniel Franke [Mon, 4 Feb 2008 22:29:35 +0000 (17:29 -0500)]
resolve.c (resolve_where): Fix typo.

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

* resolve.c (resolve_where): Fix typo.
(gfc_resolve_where_code_in_forall): Likewise.

From-SVN: r132098

16 years agore PR middle-end/33631 (auto structure not initialized correctly)
Richard Guenther [Mon, 4 Feb 2008 21:18:32 +0000 (21:18 +0000)]
re PR middle-end/33631 (auto structure not initialized correctly)

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

PR middle-end/33631
* expr.c (count_type_elements): Give for unions instead of
guessing.

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

From-SVN: r132096

16 years agore PR java/35035 (Has any one managed to run the libjava test suite on powerpc-apple...
Richard Guenther [Mon, 4 Feb 2008 21:12:49 +0000 (21:12 +0000)]
re PR java/35035 (Has any one managed to run the libjava test suite on powerpc-apple-darwin9?)

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

PR java/35035
* decl.c (record_builtin_java_type): Make jboolean a
integer type again where its mode doesn't match that of bool.

From-SVN: r132095

16 years agore PR other/31405 (fixincludes needed for wchar from glibc 2.3.6)
Hans-Peter Nilsson [Mon, 4 Feb 2008 15:33:54 +0000 (15:33 +0000)]
re PR other/31405 (fixincludes needed for wchar from glibc 2.3.6)

PR other/31405
* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
<bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
appending attribute-gnu_inline.
<second c_fix_arg>: Remove.
<test_text>: Remove __extern_inline line.
* tests/base/features.h: Re-add.
* tests/base/sys/sysmacros.h: Adjust.
* fixincl.x: Regenerate.

(Oops: forgot PR-annotation.)

From-SVN: r132093

16 years agoinclhack.def: (glibc_c99_inline_1a): Re-add last change.
Hans-Peter Nilsson [Mon, 4 Feb 2008 15:31:25 +0000 (15:31 +0000)]
inclhack.def: (glibc_c99_inline_1a): Re-add last change.

* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
<bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
appending attribute-gnu_inline.
<second c_fix_arg>: Remove.
<test_text>: Remove __extern_inline line.
* tests/base/features.h: Re-add.
* tests/base/sys/sysmacros.h: Adjust.
* fixincl.x: Regenerate.

From-SVN: r132092

16 years agore PR middle-end/35043 (ICE in tree-data-ref because signed_type_for_types returns...
Richard Guenther [Mon, 4 Feb 2008 13:30:00 +0000 (13:30 +0000)]
re PR middle-end/35043 (ICE in tree-data-ref because signed_type_for_types returns NULL)

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

PR middle-end/35043
* gimplify.c (gimplify_init_ctor_eval): Convert array indices
to TYPE_DOMAINs base type instead of using bitsizetype here.

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

From-SVN: r132091

16 years agore PR c++/33916 (Default constructor fails to initialize array members)
Jason Merrill [Mon, 4 Feb 2008 03:28:53 +0000 (22:28 -0500)]
re PR c++/33916 (Default constructor fails to initialize array members)

        PR c++/33916
        * cp/init.c (build_value_init_1): New function.
        (build_value_init): New function.
        * cp/typeck2.c (build_functional_cast): Call it.
        * cp/cp-gimplify.c (cp_gimplify_init_expr): Handle its output.

        * cp/cp-tree.h (TYPE_HAS_USER_CONSTRUCTOR): Rename from
        TYPE_HAS_CONSTRUCTOR.
        * cp/class.c (finish_struct_bits, maybe_warn_about_overly_private_class,
        add_implicitly_declared_members): Adjust.
        (check_field_decls): Adjust. Remove warnings about reference/const
        in class without constructor.
        (check_bases_and_members): Adjust.  Give those warnings here instead.
        * cp/decl.c (fixup_anonymous_aggr): Adjust.
        (check_initializer): Adjust, clarify logic slightly.
        (grok_special_member_properties): Adjust, only set if user-provided.
        * cp/rtti.c (create_tinfo_types): Don't set.
        * cp/cvt.c (ocp_convert): Remove exception for vtable_entry_type et al.
        Use same_type_ignoring_top_level_qualifiers_p.
        * cp/pt.c (check_explicit_specialization): Adjust.
        (instantiate_class_template): Adjust.

        * print-tree.c (print_node) [CONSTRUCTOR]: Print elements.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r132088

16 years agore PR other/29972 (typos in the manual)
Ralf Wildenhues [Mon, 4 Feb 2008 01:26:14 +0000 (01:26 +0000)]
re PR other/29972 (typos in the manual)

PR other/29972
* doc/invoke.texi (C++ Dialect Options, Optimize Options)
(HPPA Options, i386 and x86-64 Options, IA-64 Options)
(RS/6000 and PowerPC Options): Fix typos and markup.
* doc/passes.texi (Tree-SSA passes): Likewise.

From-SVN: r132087

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

From-SVN: r132085

16 years agoivopts-1.C: Remove xfail for hppa*-*-*.
John David Anglin [Sun, 3 Feb 2008 20:08:43 +0000 (20:08 +0000)]
ivopts-1.C: Remove xfail for hppa*-*-*.

* g++.dg/tree-ssa/ivopts-1.C: Remove xfail for hppa*-*-*.

From-SVN: r132082

16 years agopr31628.c: Require effective target fpic.
Uros Bizjak [Sun, 3 Feb 2008 19:46:50 +0000 (20:46 +0100)]
pr31628.c: Require effective target fpic.

        * gcc.target/i386/pr31628.c: Require effective target fpic.
        * gcc.target/i386/strinline.c: Ditto.
        * gcc.dg/sibcall-6.c: Skip if !nonpic for 32bit x86 targets.
        * gcc.dg/pr35045.c: Ditto.
        * gcc.dg/20050503-1.c: Ditto.

From-SVN: r132080

16 years agore PR fortran/32760 (Error defining subroutine named PRINT)
Paul Thomas [Sun, 3 Feb 2008 11:29:27 +0000 (11:29 +0000)]
re PR fortran/32760 (Error defining subroutine named PRINT)

2008-02-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32760
* resolve.c (resolve_allocate_deallocate): New function.
(resolve_code): Call it for allocate and deallocate.
* match.c (gfc_match_allocate, gfc_match_deallocate) : Remove
the checking of the STAT tag and put in above new function.
* primary,c (match_variable): Do not fix flavor of host
associated symbols yet if the type is not known.

2008-02-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32760
* gfortran.dg/host_assoc_variable_1.f90: New test.
* gfortran.dg/allocate_stat.f90: Change last three error messages.

From-SVN: r132078

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

From-SVN: r132076

16 years agore PR target/35045 (gcc-4.3 generates wrong code on i386 with -O3)
Michael Matz [Sat, 2 Feb 2008 15:00:57 +0000 (15:00 +0000)]
re PR target/35045 (gcc-4.3 generates wrong code on i386 with -O3)

        PR target/35045
        * postreload-gcse.c (record_last_reg_set_info_regno): Renamed
        from record_last_reg_set_info.
        (record_last_reg_set_info): Take an RTX argument, iterate over all
        constituent hardregs.
        (record_last_set_info, record_opr_changes): Change calls to
        new signature or to record_last_reg_set_info_regno.

        * gcc.dg/pr35045.c: New test.

From-SVN: r132071

16 years agore PR libfortran/35001 (shape for negative sizes)
Thomas Koenig [Sat, 2 Feb 2008 13:50:55 +0000 (13:50 +0000)]
re PR libfortran/35001 (shape for negative sizes)

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

PR libfortran/35001
* m4/shape.m4:  Return 0 for extents <= 0.
* generated/shape_i4.c:  Regenerated.
* generated/shape_i8.c:  Regenerated.
* generated/shape_i16.c:  Regenerated.

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

PR libfortran/35001
* gfortran.dg/shape_4.f90:  New test.

Fixed in regression-only mode by special dispense (see the PR).

From-SVN: r132070

16 years ago* doc/extend.texi (X86 Built-in Functions): Fix grammar.
Gerald Pfeifer [Sat, 2 Feb 2008 13:48:16 +0000 (13:48 +0000)]
* doc/extend.texi (X86 Built-in Functions): Fix grammar.

From-SVN: r132069

16 years ago* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.
Hans-Peter Nilsson [Sat, 2 Feb 2008 03:38:51 +0000 (03:38 +0000)]
* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.

From-SVN: r132064

16 years agoconfigure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
Hans-Peter Nilsson [Sat, 2 Feb 2008 03:29:30 +0000 (03:29 +0000)]
configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.

* configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
* configure: Regenerate.

From-SVN: r132063

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

From-SVN: r132057

16 years agore PR rtl-optimization/34773 (miscompilation of vfprintf_r)
Hans-Peter Nilsson [Fri, 1 Feb 2008 21:28:46 +0000 (21:28 +0000)]
re PR rtl-optimization/34773 (miscompilation of vfprintf_r)

PR rtl-optimization/34773
* reg-notes.def (EQUAL): Mention significance of combination of
REG_EQUAL and REG_RETVAL.
* fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
insn that has a REG_RETVAL.

From-SVN: r132053

16 years agore PR rtl-optimization/34773 (miscompilation of vfprintf_r)
Hans-Peter Nilsson [Fri, 1 Feb 2008 21:28:06 +0000 (21:28 +0000)]
re PR rtl-optimization/34773 (miscompilation of vfprintf_r)

PR rtl-optimization/34773
* gcc.target/cris/torture/pr34773.c: New test.

From-SVN: r132052

16 years agoconfigure.ac (xtensa*-*-*): Recognize processor variants.
Marc Gauthier [Fri, 1 Feb 2008 18:31:59 +0000 (18:31 +0000)]
configure.ac (xtensa*-*-*): Recognize processor variants.

2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

From-SVN: r132048

16 years agore PR bootstrap/33781 ("Arg list too long" building libgcc.a)
Roger Sayle [Fri, 1 Feb 2008 17:41:48 +0000 (17:41 +0000)]
re PR bootstrap/33781 ("Arg list too long" building libgcc.a)

PR bootstrap/33781
* configure.ac (--enable-fixed-point): Disable unless explicitly
requested on IRIX.
* configure: Regenerate.

From-SVN: r132047

16 years ago* lib/target-supports.exp (check_profiling_available): Do not expect profiling to...
Nick Clifton [Fri, 1 Feb 2008 16:39:11 +0000 (16:39 +0000)]
* lib/target-supports.exp (check_profiling_available): Do not expect profiling to work on the xstormy16 target.

From-SVN: r132002

16 years ago* cpplib.pot: Regenerate.
Joseph Myers [Fri, 1 Feb 2008 16:26:03 +0000 (16:26 +0000)]
* cpplib.pot: Regenerate.

From-SVN: r132001

16 years ago* gcc.pot: Regenerate.
Joseph Myers [Fri, 1 Feb 2008 16:25:00 +0000 (16:25 +0000)]
* gcc.pot: Regenerate.

From-SVN: r132000

16 years agore PR other/35042 (Documentation for -finline-limit is incorrect)
Richard Guenther [Fri, 1 Feb 2008 10:14:08 +0000 (10:14 +0000)]
re PR other/35042 (Documentation for -finline-limit is incorrect)

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

PR other/35042
* invoke.texi (-finline-limit): Remove no longer true parts
of the documentation.  Note that there is no default value.

From-SVN: r131998

16 years agore PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on...
Uros Bizjak [Fri, 1 Feb 2008 08:57:11 +0000 (09:57 +0100)]
re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on  i386-apple-darwin8.11.1)

PR testsuite/35047
* gcc.c-torture/execute/20050316-2.x: New file.
* gcc.target/i386/pr17390.c: Update scan pattern.
* gcc.dg/builtin-apply4.c: Add -mno-mmx for 32bit x86 targets.
* g++.dg/tree-ssa/ivopts-1.C: Remove XPASS for x86 targets.

From-SVN: r131997

16 years agore PR c/29326 (__builtin_trap is not documented)
Andrew Pinski [Fri, 1 Feb 2008 01:41:27 +0000 (17:41 -0800)]
re PR c/29326 (__builtin_trap is not documented)

PR c/29326
* doc/extend.texi (Other Builtins): Document.

Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r131996

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

From-SVN: r131993

16 years agocompile: Make executable.
John David Anglin [Fri, 1 Feb 2008 00:06:00 +0000 (00:06 +0000)]
compile: Make executable.

* compile: Make executable.

From-SVN: r131988

16 years agoc-tree.texi (Types): Fix grammar.
Tom Browder [Thu, 31 Jan 2008 23:59:46 +0000 (23:59 +0000)]
c-tree.texi (Types): Fix grammar.

* doc/c-tree.texi (Types): Fix grammar.
(Expression trees): Ditto.
* doc/passes.texi (Tree-SSA passes): Ditto.

* doc/configterms.texi (Configure Terms): Fix typo.
* doc/cpp.texi (Common Predefined Macros): Ditto.
* doc/md.texi (Machine Constraints): Ditto.

* doc/makefile.texi (Makefile): Add comma.

From-SVN: r131987

16 years agosourcebuild.texi (Front End): Remove references to CVS and CVSROOT/modules.
Tom Browder [Thu, 31 Jan 2008 23:58:50 +0000 (23:58 +0000)]
sourcebuild.texi (Front End): Remove references to CVS and CVSROOT/modules.

* doc/sourcebuild.texi (Front End): Remove references to CVS
and CVSROOT/modules.
(Texinfo Manuals): Replace reference to CVS by one to SVN.
(Back End): Remove reference to CVS.

Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
From-SVN: r131986

16 years agore PR fortran/34910 (ICE on invalid assignments in doubly-contained functions)
Paul Thomas [Thu, 31 Jan 2008 22:20:47 +0000 (22:20 +0000)]
re PR fortran/34910 (ICE on invalid assignments in doubly-contained functions)

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

PR fortran/34910
* expr.c (gfc_check_assign): It is an error to assign
to a sibling procedure.

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

PR fortran/34910
* gfortran.dg/proc_assign_2.f90: New test.

From-SVN: r131985

16 years agore PR c++/34935 (ICE with attribute may_alias)
Douglas Gregor [Thu, 31 Jan 2008 20:06:33 +0000 (20:06 +0000)]
re PR c++/34935 (ICE with attribute may_alias)

2008-01-31  Douglas Gregor  <doug.gregor@gmail.com>
           Jakub Jelinek  <jakub@redhat.com>

       PR c++/34935
       PR c++/34936
       * typeck.c (structural_comptypes): Handle comparisons of
       VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, FIXED_POINT_TYPE, and
       REAL_TYPE nodes.
       * mangle.c (write_builtin_type): Map down to the canonical type,
       which will be one of the predefined type nodes.

2008-01-31  Douglas Gregor  <doug.gregor@gmail.com>
           Jakub Jelinek  <jakub@redhat.com>

       PR c++/34935
       PR c++/34936
       * g++.dg/ext/alias-canon.C: New.
       * g++.dg/ext/alias-mangle.C: New.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r131984

16 years agore PR target/34900 (target mips64vrel-elf. Internal compiler error (in reload_cse_sim...
Richard Sandiford [Thu, 31 Jan 2008 19:28:03 +0000 (19:28 +0000)]
re PR target/34900 (target mips64vrel-elf. Internal compiler error (in reload_cse_simplify_operands, at postreload.c:392) while building libiberty)

gcc/
PR target/34900
* config/mips/mips.c (gen_load_const_gp): New function, taking a
comment from...
(mips16_gp_pseudo_reg): ...here.
* config/mips/mips.md (load_const_gp): Replace with...
(load_const_gp_<mode>): ...this :P-based insn.

From-SVN: r131983

16 years agoauto_ptr.h: Fix comment typos.
Ralf Wildenhues [Thu, 31 Jan 2008 18:44:55 +0000 (18:44 +0000)]
auto_ptr.h: Fix comment typos.

2008-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

* include/backward/auto_ptr.h: Fix comment typos.
* include/bits/algorithmfwd.h: Likewise.
* include/bits/basic_ios.h: Likewise.
* include/bits/c++config: Likewise.
* include/bits/char_traits.h: Likewise.
* include/bits/codecvt.h: Likewise.
* include/bits/gslice.h: Likewise.
* include/bits/ios_base.h: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/locale_facets_nonio.tcc: Likewise.
* include/bits/postypes.h: Likewise.
* include/bits/sstream.tcc: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/stl_iterator_base_types.h Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* include/debug/safe_base.h: Likewise.
* include/ext/bitmap_allocator.h: Likewise.
* include/ext/codecvt_specializations.h Likewise.
* include/ext/mt_allocator.h: Likewise.
* include/ext/rc_string_base.h: Likewise.
* include/ext/rope: Likewise.
* include/parallel/checkers.h: Likewise.
* include/parallel/find.h: Likewise.
* include/parallel/multiseq_selection.h: Likewise.
* include/parallel/partition.h: Likewise.
* include/parallel/settings.h: Likewise.
* include/std/bitset: Likewise.
* include/std/complex: Likewise.
* include/std/fstream: Likewise.
* include/std/istream: Likewise.
* include/std/limits: Likewise.
* include/std/ostream: Likewise.
* include/std/stdexcept: Likewise.
* include/std/streambuf: Likewise.
* include/tr1/bessel_function.tcc: Likewise.
* include/tr1/cmath: Likewise.
* include/tr1/ell_integral.tcc: Likewise.
* include/tr1/hypergeometric.tcc: Likewise.
* include/tr1/legendre_function.tcc: Likewise.
* include/tr1_impl/random: Likewise.
* include/tr1_impl/regex: Likewise.

From-SVN: r131982

16 years agoinvoke.texi (-ansi): Mention explicitly corresponding -std= options.
Manuel López-Ibáñez [Thu, 31 Jan 2008 18:28:29 +0000 (18:28 +0000)]
invoke.texi (-ansi): Mention explicitly corresponding -std= options.

2008-01-31  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

* doc/invoke.texi (-ansi): Mention explicitly corresponding -std=
options. Minor fixes.
(-std): Move reference to standards closer to where language
standards are first mentioned.

From-SVN: r131980

16 years ago3983-2.cc: Avoid -Wall warnings.
Paolo Carlini [Thu, 31 Jan 2008 17:19:55 +0000 (17:19 +0000)]
3983-2.cc: Avoid -Wall warnings.

2008-01-31  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
Avoid -Wall warnings.
* testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
Likewise.
* testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
Likewise.
* testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
* testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
* testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
* testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
Likewise.
* testsuite/tr1/6_containers/array/requirements/contiguous.cc:
Likewise.
* testsuite/tr1/6_containers/array/requirements/member_swap.cc:
Likewise.
* testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
* testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/
less_or_equal.cc: Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/
greater_or_equal.cc: Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/less.cc:
Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
Likewise.
* testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
* testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
Likewise.
* testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
* testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
* testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
* testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
Likewise.
* testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
* testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
* testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
* testsuite/thread/guard.cc: Likewise.
* testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
* testsuite/20_util/tuple/cons/constructor.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
Likewise.

From-SVN: r131979

16 years agore PR target/34995 (MIPS16 ICE in gcc.c-torture/compile/pr34856.c)
Richard Sandiford [Thu, 31 Jan 2008 09:25:52 +0000 (09:25 +0000)]
re PR target/34995 (MIPS16 ICE in gcc.c-torture/compile/pr34856.c)

gcc/
PR rtl-optimization/34995
* reload.c (alternative_allows_const_pool_ref): Take an rtx
parameter and return a bool.  If the rtx parameter is nonnull,
check that it satisfies an EXTRA_MEMORY_CONSTRAINT.
(find_reloads): Update call accordingly.  Pass the new operand
if it needed no address reloads, otherwise pass null.

From-SVN: r131976

16 years agoChange accidental 2007 dates to 2008.
Bob Wilson [Thu, 31 Jan 2008 01:14:34 +0000 (01:14 +0000)]
Change accidental 2007 dates to 2008.

From-SVN: r131975

16 years agoDaily bump.
GCC Administrator [Thu, 31 Jan 2008 00:17:13 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r131973

16 years agore PR c/34993 (ICE with attribute for array with unknown bound)
Richard Henderson [Thu, 31 Jan 2008 00:05:19 +0000 (16:05 -0800)]
re PR c/34993 (ICE with attribute for array with unknown bound)

        PR c/34993
        * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
        for unbounded arrays.

From-SVN: r131970

16 years ago* gcc.c-torture/execute/pr34982.c: Add forgotten return 0.
Jan Hubicka [Wed, 30 Jan 2008 23:25:35 +0000 (00:25 +0100)]
* gcc.c-torture/execute/pr34982.c: Add forgotten return 0.

From-SVN: r131969

16 years agofirst-global.C: Add -fpie for all pic targets.
Kaveh R. Ghazi [Wed, 30 Jan 2008 20:40:58 +0000 (20:40 +0000)]
first-global.C: Add -fpie for all pic targets.

* g++.dg/other/first-global.C: Add -fpie for all pic targets.
* g++.dg/parse/attr-externally-visible-1.C: Likewise.

From-SVN: r131968

16 years ago* config/i386/xmmintrin.h (_mm_prefetch): Added const to first arg.
Silvius Rus [Wed, 30 Jan 2008 19:28:09 +0000 (19:28 +0000)]
* config/i386/xmmintrin.h (_mm_prefetch): Added const to first arg.

From-SVN: r131967

16 years agore PR target/34982 (calling a function with undefined parameters causes segmentation...
Jan Hubicka [Wed, 30 Jan 2008 15:54:14 +0000 (16:54 +0100)]
re PR target/34982 (calling a function with undefined parameters causes segmentation fault at -O1 or higher)

PR target/34982
* i386.c (init_cumulative_args): Use real function declaration when
calling locally.

From-SVN: r131966

16 years agore PR libffi/34612 ([4.1/4.2] libffi doesn't work with -fomit-frame-pointer on ia32)
H.J. Lu [Wed, 30 Jan 2008 14:36:58 +0000 (14:36 +0000)]
re PR libffi/34612 ([4.1/4.2] libffi doesn't work with -fomit-frame-pointer on ia32)

2008-01-30  H.J. Lu  <hongjiu.lu@intel.com>

PR libffi/34612
* src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when
returning struct.

* testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer"
tests.

From-SVN: r131964

16 years agore PR bootstrap/34922 (toplevel ./configure --help is incomplete)
Ralf Wildenhues [Wed, 30 Jan 2008 13:36:35 +0000 (13:36 +0000)]
re PR bootstrap/34922 (toplevel ./configure --help is incomplete)

2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        PR bootstrap/34922
        * configure.ac (PARSE_ARGS): Push suitable setting of
        ac_subdirs_all, for `./configure --help=recursive'.
        Handle `+' in generic toplevel directory disabling.
        * configure: Regenerate.

From-SVN: r131961

16 years agore PR rtl-optimization/34998 (gcc.c-torture/execute/20040709-1.c fails for -EL -mips1...
Richard Sandiford [Wed, 30 Jan 2008 11:18:27 +0000 (11:18 +0000)]
re PR rtl-optimization/34998 (gcc.c-torture/execute/20040709-1.c fails for -EL -mips16 -O3)

gcc/
PR rtl-optimization/34998
* global.c (build_insn_chain): Treat non-subreg_lowpart
SUBREGs of pseudos as clobbering all the words covered by the
SUBREG, not just all the bytes.
* ra-conflict.c (clear_reg_in_live): Likewise.  Take the
original df_ref rather than an extract parameter.
(global_conflicts): Update call accordingly.

From-SVN: r131960

16 years agofixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange the overflow check to make it easier...
Andreas Krebbel [Wed, 30 Jan 2008 08:00:51 +0000 (08:00 +0000)]
fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange the overflow check to make it easier to read.

2008-01-30  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange
the overflow check to make it easier to read.
(__fixtfdi): Change the type of the ll member in union
long_double to UDItype_x.

2008-01-30  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/tf_to_di-1.c: New testcase.

From-SVN: r131957

16 years agore PR fortran/34975 (Bogus error with USEing modules)
Paul Thomas [Wed, 30 Jan 2008 06:56:10 +0000 (06:56 +0000)]
re PR fortran/34975 (Bogus error with USEing modules)

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

PR fortran/34975
* symbol.c (gfc_delete_symtree, gfc_undo_symbols): Rename
delete_symtree to gfc_delete_symtree.
* gfortran.h : Add prototype for gfc_delete_symtree.
* module.c (load_generic_interfaces): Transfer symbol to a
unique symtree and delete old symtree, instead of renaming.
(read_module): The rsym and the found symbol are the same, so
the found symtree can be deleted.

PR fortran/34429
* decl.c (match_char_spec): Remove the constraint on deferred
matching of functions and free the length expression.
delete_symtree to gfc_delete_symtree.
(gfc_match_type_spec): Whitespace.
(gfc_match_function_decl): Defer characteristic association for
all types except BT_UNKNOWN.
* parse.c (decode_specification_statement): Only derived type
function matching is delayed to the end of specification.

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

PR fortran/34975
* gfortran.dg/use_only_3.f90: New test.
* gfortran.dg/use_only_3.inc: Modules for new test.

PR fortran/34429
* gfortran.dg/function_charlen_2.f90: New test.

From-SVN: r131956

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

From-SVN: r131949

16 years agore PR middle-end/34969 (ICE with -fipa-cp -ffast-math)
Jakub Jelinek [Tue, 29 Jan 2008 23:21:24 +0000 (00:21 +0100)]
re PR middle-end/34969 (ICE with -fipa-cp -ffast-math)

PR middle-end/34969
* cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
* cgraph.c (cgraph_update_edges_for_call_stmt): New function.
* tree-inline.c (fold_marked_statements): Call
cgraph_update_edges_for_call_stmt if folding a call statement.
* cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
debug_generic_stmt calls, reset it back afterwards.

* gcc.dg/pr34969.c: New test.

From-SVN: r131946

16 years agore PR c/35017 (PR11377 pedwarns even about valid code)
Jakub Jelinek [Tue, 29 Jan 2008 23:19:07 +0000 (00:19 +0100)]
re PR c/35017 (PR11377 pedwarns even about valid code)

PR c/35017
* c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
static decls.
* c-typeck.c (build_external_ref): Don't pedwarn about
static vars in current function's scope.

* gcc.dg/inline-25.c: New test.
* gcc.dg/inline-26.c: New test.
* gcc.dg/inline-27.c: New test.

From-SVN: r131945

16 years agoFix 35004, grow tree_code bitfield to 16 bits
Michael Meissner [Tue, 29 Jan 2008 17:35:17 +0000 (17:35 +0000)]
Fix 35004, grow tree_code bitfield to 16 bits

From-SVN: r131943

16 years ago* config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.
Joseph Myers [Tue, 29 Jan 2008 16:28:10 +0000 (16:28 +0000)]
* config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.

From-SVN: r131942

16 years ago* sv.po: Update.
Joseph Myers [Tue, 29 Jan 2008 16:07:21 +0000 (16:07 +0000)]
* sv.po: Update.

From-SVN: r131941

16 years agore PR c/35002 (Incorrect spelling of "hottest")
Bernhard Fischer [Tue, 29 Jan 2008 15:56:20 +0000 (16:56 +0100)]
re PR c/35002 (Incorrect spelling of "hottest")

2008-01-29  Bernhard Fischer  <aldot@gcc.gnu.org>

PR c/35002
* ipa-struct-reorg.c: Fix spelling.
* params.def: Ditto.

From-SVN: r131940

16 years agore PR tree-optimization/35006 (Segfault in remove_unused_locals with nested functions)
Richard Guenther [Tue, 29 Jan 2008 15:47:19 +0000 (15:47 +0000)]
re PR tree-optimization/35006 (Segfault in remove_unused_locals with nested functions)

2008-01-29  Richard Guenther  <rguenther@suse.de>

PR middle-end/35006
* tree-inline.h (struct copy_body_data): Add remapping_type_depth
field.
* tree-inline.c (remap_type): Increment remapping_type_depth
around remapping types.
(copy_body_r): Only add referenced variables if they are referenced
from code, not types.

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

From-SVN: r131939

16 years agore PR c++/34055 (ICE with invalid specialization of variadic template)
Douglas Gregor [Tue, 29 Jan 2008 13:59:59 +0000 (13:59 +0000)]
re PR c++/34055 (ICE with invalid specialization of variadic template)

2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34055
PR c++/34103
PR c++/34219
PR c++/34606
PR c++/34753
PR c++/34754
PR c++/34755
PR c++/34919
PR c++/34961
* c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
qualifiers for an ERROR_MARK_NODE or a NULL_TREE.

2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34055
PR c++/34103
PR c++/34219
PR c++/34606
PR c++/34753
PR c++/34754
PR c++/34755
PR c++/34919
PR c++/34961
* typeck.c (check_return_expr): Tweak call to
check_for_bare_parameter_packs.
* class.c (add_method): Be careful with error_mark_nodes.
* cp-tree.h (check_for_bare_parameter_packs): Remove "*" from
signature.
* pt.c (struct find_parameter_pack_data): Remove
SET_PACKS_TO_ERROR.
(find_parameter_packs_r): Don't use SET_PACKS_TO_ERROR.
(uses_parameter_packs): Don't set SET_PACKS_TO_ERROR.
(make_pack_expansion): Ditto.
(check_for_bare_parameter_packs): Parameter is now a tree, not a
tree*.
(process_template_parm): Tweak call to
check_for_bare_parameter_packs.
(push_template_decl_real): Tweak calls to
check_for_bare_parameter_packs. If bare parameter packs are found
in the list of exceptions, clear out that list after giving an
error.
* semantics.c (finish_cond): Tweak call to
check_for_bare_parameter_packs.
(finish_expr_stmt): Ditto.
(finish_for_expr): Ditto.
(finish_switch_cond): Ditto.
(finish_mem_initializers): Ditto.
(finish_member_declaration): Ditto.
(finish_static_assert): Check for bare parameter packs in the
condition.
* decl2.c (cplus_decl_attributes): Check for bare parameter packs in the
attributes of a declaration.
* parser.c (cp_parser_using_declaration): Tweak call to
check_for_bare_parameter_packs.
(cp_parser_base_clause): Ditto.

2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34055
PR c++/34103
PR c++/34219
PR c++/34606
PR c++/34753
PR c++/34754
PR c++/34755
PR c++/34919
PR c++/34961
* g++.dg/cpp0x/vt-34219-2.C: New.
* g++.dg/cpp0x/pr32126.C: Tweak expected error messages.
* g++.dg/cpp0x/vt-34961.C: New.
* g++.dg/cpp0x/vt-34055.C: Tweak error messages; add new test
cases from the re-opened PR.
* g++.dg/cpp0x/vt-34753.C: New.
* g++.dg/cpp0x/vt-34919.C: New.
* g++.dg/cpp0x/vt-34754.C: New.
* g++.dg/cpp0x/vt-34606.C: New.
* g++.dg/cpp0x/vt-34219.C: New.
* g++.dg/cpp0x/pr32125.C: Tweak expected error messages.
* g++.dg/cpp0x/vt-34755.C: New.
* g++.dg/cpp0x/pr31438.C: Ditto.
* g++.dg/cpp0x/variadic81.C: Ditto.

From-SVN: r131938

16 years agopr34641.C: Put the dg-do first.
Richard Sandiford [Tue, 29 Jan 2008 10:19:01 +0000 (10:19 +0000)]
pr34641.C: Put the dg-do first.

gcc/testsuite/
* g++.dg/torture/pr34641.C: Put the dg-do first.

From-SVN: r131937

16 years agolazy-binding-1.c: Skip for mips16.
Richard Sandiford [Tue, 29 Jan 2008 10:17:29 +0000 (10:17 +0000)]
lazy-binding-1.c: Skip for mips16.

gcc/testsuite/
* gcc.target/mips/lazy-binding-1.c: Skip for mips16.

From-SVN: r131936

16 years agore PR c++/35007 (Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids...
Jason Merrill [Tue, 29 Jan 2008 05:50:24 +0000 (00:50 -0500)]
re PR c++/35007 (Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array)

        PR c++/35007
        * class.c (build_base_path): Fix !want_pointer case.

From-SVN: r131931

16 years agoDaily bump.
GCC Administrator [Tue, 29 Jan 2008 00:17:43 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r131928

16 years agore PR target/34412 (ICE in extract_insn, at recog.c:1990)
Andy Hutchinson [Mon, 28 Jan 2008 22:39:11 +0000 (01:39 +0300)]
re PR target/34412 (ICE in extract_insn, at recog.c:1990)

PR target/34412
* config/avr/avr.c (expand_prologue): Use correct QI mode frame
pointer for tiny stack.

From-SVN: r131923

16 years agotree-ssa.texi: Add cindex PHI nodes and improve wording.
Bernhard Fischer [Mon, 28 Jan 2008 21:08:51 +0000 (22:08 +0100)]
tree-ssa.texi: Add cindex PHI nodes and improve wording.

2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

* doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.

From-SVN: r131921

16 years agovx-common.h: Fix typo in comment.
Bernhard Fischer [Mon, 28 Jan 2008 20:59:04 +0000 (21:59 +0100)]
vx-common.h: Fix typo in comment.

2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

* config/vx-common.h: Fix typo in comment.

From-SVN: r131920

16 years agoincomplete1.C: Fix typo in comment.
Bernhard Fischer [Mon, 28 Jan 2008 20:54:34 +0000 (21:54 +0100)]
incomplete1.C: Fix typo in comment.

2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

* g++.old-deja/g++.pt/incomplete1.C: Fix typo in comment.

From-SVN: r131919

16 years agore PR c++/34862 (operator new placement variant with reference arg not accepted by...
Ian Lance Taylor [Mon, 28 Jan 2008 19:43:51 +0000 (19:43 +0000)]
re PR c++/34862 (operator new placement variant with reference arg not accepted by g++ 4.3)

PR c++/34862
PR c++/33407
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
coalesce pointers if they have different DECL_NO_TBAA_P values.
* tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
between variables with different DECL_NO_TBAA_P values.

From-SVN: r131916

16 years agore PR libfortran/34980 (Segfault in shape given a scalar)
Thomas Koenig [Mon, 28 Jan 2008 19:02:47 +0000 (19:02 +0000)]
re PR libfortran/34980 (Segfault in shape given a scalar)

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

PR libfortran/34980
* m4/shape.m4:  If return array is empty, return early.
* generated/shape_i4.c:  Regenerated.
* generated/shape_i8.c:  Regenerated.
* generated/shape_i16.c:  Regenerated.

From-SVN: r131915

16 years agore PR target/31535 (ICE on attempt to put SPE vector variables in SDA)
Nathan Froyd [Mon, 28 Jan 2008 18:31:19 +0000 (18:31 +0000)]
re PR target/31535 (ICE on attempt to put SPE vector variables in SDA)

gcc/
PR 31535
* config/rs6000/rs6000.c (small_data_operand): Vectors and floats
are not legitimate small data references on SPE targets.

gcc/testsuite/
PR 31535
* gcc.target/powerpc/spe-small-data-1.c: New test.
* gcc.target/powerpc/spe-small-data-2.c: New test.

From-SVN: r131914

16 years ago[multiple changes]
Tobias Burnus [Mon, 28 Jan 2008 17:25:55 +0000 (18:25 +0100)]
[multiple changes]

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

    PR libfortran/34980
    * simplify.c (gfc_simplify_shape): Simplify rank zero arrays.

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

    PR libfortran/34980
    * gfortran.dg/shape_3.f90:  New test.

From-SVN: r131913

16 years agoSimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
Bernhard Fischer [Mon, 28 Jan 2008 17:08:39 +0000 (18:08 +0100)]
SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.

2008-01-27  Bernhard Fischer  <rep.dot.nop@gmail.com>

* java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
* gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in
exception message.

From-SVN: r131912

16 years agoinstall.texi (mips-*-*): Recommend binutils 2.18.
David Daney [Mon, 28 Jan 2008 17:01:05 +0000 (17:01 +0000)]
install.texi (mips-*-*): Recommend binutils 2.18.

2008-01-28  David Daney  <ddaney@avtrex.com>

* doc/install.texi (mips-*-*): Recommend binutils 2.18.

From-SVN: r131911

16 years agoinstall.texi (--disable-libgcj-bc): Reword documentation.
David Daney [Mon, 28 Jan 2008 16:58:54 +0000 (16:58 +0000)]
install.texi (--disable-libgcj-bc): Reword documentation.

2008-01-28  David Daney  <ddaney@avtrex.com>

* doc/install.texi (--disable-libgcj-bc):  Reword documentation.

From-SVN: r131910

16 years agogcc_release (build_sources): Pass --disable-multilib to gcc_build.
Joseph Myers [Mon, 28 Jan 2008 16:38:40 +0000 (16:38 +0000)]
gcc_release (build_sources): Pass --disable-multilib to gcc_build.

* gcc_release (build_sources): Pass --disable-multilib to
gcc_build.
(SVN): Don't use full path.

From-SVN: r131908

16 years agoNative2ASCII$3.class: Added.
Tom Tromey [Mon, 28 Jan 2008 16:23:41 +0000 (16:23 +0000)]
Native2ASCII$3.class: Added.

* tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class:
Added.

From-SVN: r131906

16 years ago20020926-1.c: Remove -m31.
Andreas Krebbel [Mon, 28 Jan 2008 14:51:31 +0000 (14:51 +0000)]
20020926-1.c: Remove -m31.

2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/20020926-1.c: Remove -m31.

From-SVN: r131904

16 years ago20020926-1.c: Disable for s390x.
Andreas Krebbel [Mon, 28 Jan 2008 14:45:26 +0000 (14:45 +0000)]
20020926-1.c: Disable for s390x.

2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/20020926-1.c: Disable for s390x.

From-SVN: r131903

16 years ago* MAINTAINERS (xstormy16): Take over maintainership.
Nick Clifton [Mon, 28 Jan 2008 11:25:03 +0000 (11:25 +0000)]
* MAINTAINERS (xstormy16): Take over maintainership.

From-SVN: r131901