OSDN Git Service

pf3gnuchains/gcc-fork.git
15 years ago2006-10-16 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 18 Oct 2006 17:19:23 +0000 (17:19 +0000)]
2006-10-16  Tobias Burnus  <burnus@net-b.de>

        * primary.c: Revert 'significand'-to-'significant' comment change.
        * invoke.texi (Warning Options): Minor cleanup for
          -Wimplicit-interface.

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

15 years ago2006-10-16 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 18 Oct 2006 17:17:49 +0000 (17:17 +0000)]
2006-10-16  Tobias Burnus  <burnus@net-b.de>

        * m4/in_pack.m4: Fixed a typo.
        * m4/iforeach.m4: Fixed a typo.
        * m4/eoshift1.m4: Fixed a typo.
        * m4/eoshift3.m4: Fixed a typo.
        * m4/cshift1.m4: Fixed a typo.
        * m4/in_unpack.m4: Fixed a typo.
        * m4/reshape.m4: Fixed a typo.
        * m4/ifunction.m4: Fixed a typo.
        * runtime/environ.c: Fixed a typo.
        * runtime/in_pack_generic.c: Fixed a typo.
        * runtime/in_unpack_generic.c: Fixed a typo.
        * runtime/memory.c: Fixed a typo.
        * intrinsics/cshift0.c: Fixed a typo.
        * intrinsics/cpu_time.c: Fixed a typo.
        * intrinsics/pack_generic.c: Fixed a typo.
        * intrinsics/unpack_generic.c: Fixed a typo.
        * intrinsics/eoshift0.c: Fixed a typo.
        * intrinsics/eoshift2.c: Fixed a typo.
        * intrinsics/reshape_generic.c: Fixed a typo.
        * io/open.c: Fixed a typo.
        * io/list_read.c: Fixed a typo.
        * io/io.h: Fixed a typo.
        * io/transfer.c: Fixed a typo.
        * io/write.c: Fixed a typo.

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

15 years ago PR c++/26884
shinwell [Wed, 18 Oct 2006 10:57:18 +0000 (10:57 +0000)]
    PR c++/26884
        * typeck2.c (digest_init): Raise error upon attempts to
        initialize arrays with variables.

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

15 years ago2006-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 18 Oct 2006 04:08:30 +0000 (04:08 +0000)]
2006-10-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29277
* gfortran.dg/streamio_4.f90: Update test.
* gfortran.dg/streamio_11.f90: New test.

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

15 years ago2006-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 18 Oct 2006 04:04:07 +0000 (04:04 +0000)]
2006-10-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29277
* io/list_read.c (next_char): Update strm_pos.
(eat_separator): Delete extra call to unget_char.
* io/transfer.c (read_block): Use read_sf for formatted stream I/O.
(next_record_r): Update strm_pos for formatted stream I/O and handle
end-of-record correctly.
(next_record_w): Ditto.
(next_record): Enable next record (r/w) functions and update strm_pos.
(finalize_transfer): Call next_record to finish the record.

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

15 years agoDaily bump.
gccadmin [Wed, 18 Oct 2006 00:17:20 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago PR c++/27952
lmillward [Tue, 17 Oct 2006 23:22:14 +0000 (23:22 +0000)]
    PR c++/27952
        * cp-tree.h (xref_basetypes): Return bool instead of void.
        * decl.c (xref_basetypes): Adjust definition. Return false
        if the class bases are invalid.
        * parser.c (cp_parser_class_head): Check the return value
        from xref_basetypes.

        * g++.dg/inherit/virtual1.C: New test.

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

15 years ago * parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Add
mmitchel [Tue, 17 Oct 2006 22:50:01 +0000 (22:50 +0000)]
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Add
comment.

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

15 years ago PR c++/28261
mmitchel [Tue, 17 Oct 2006 22:43:37 +0000 (22:43 +0000)]
PR c++/28261
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): New
function.
(cp_parser_constructor_declarator_p): Use it.
(cp_parser_check_type_definition): Return a value indicating
whether or not the definition is valid.
(cp_parser_enum_specifier): Skip invalid enum definitions.
PR c++/28261
* g++.dg/parse/enum3.C: New test.

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

15 years ago PR c++/29039
mmitchel [Tue, 17 Oct 2006 22:35:29 +0000 (22:35 +0000)]
PR c++/29039
* typeck2.c (build_functional_cast): Don't zero-initialize
non-PODs; instead, call their constructors.
* method.c (synthesize_method): Always build mem-initializers, if
we're synthesizing the default constructor.
PR c++/29039
* g++.dg/init/ctor8.C: New test.

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

15 years ago PR c++/27270
mmitchel [Tue, 17 Oct 2006 22:25:35 +0000 (22:25 +0000)]
PR c++/27270
* decl.c (reshape_init_class): Move check for designated
to ...
* parser.c (cp_parser_initializer_list): ... here.
* pt.c (tsubst_copy_and_build): Use finish_compound_literal.
PR c++/27270
* g++.dg/ext/complit8.C: Tweak error markers.
* g++.dg/template/complit1.C: Add error marker.

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

15 years ago2006-10-17 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 17 Oct 2006 16:43:47 +0000 (16:43 +0000)]
2006-10-17  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get<>::__do_get(iter_type,
iter_type, bool, ios_base&, ios_base::iostate&, double&),
money_get<>::do_get(iter_type, iter_type, bool, ios_base&,
ios_base::iostate&, long double&), money_get<>::do_get(iter_type,
iter_type, bool, ios_base&, ios_base::iostate&, string_type&)): Tidy.

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

15 years ago2006-10-17 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 17 Oct 2006 15:17:32 +0000 (15:17 +0000)]
2006-10-17  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/26020
* include/bits/stl_iterator_base_funcs.h (advance): Convert
distance parameter to iterator_traits<>::difference_type.
* testsuite/24_iterators/26020.cc: New.

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

15 years ago2006-10-17 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Tue, 17 Oct 2006 14:12:13 +0000 (14:12 +0000)]
2006-10-17  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/contraints.md: New file.
        * config/s390/s390-protos.h (s390_mem_constraint,
s390_O_constraint_str, s390_N_constraint_str,
s390_float_const_zero_p): Function prototypes added.
* config/s390/s390.c (s390_extra_constraint_str,
s390_const_double_ok_for_constraint_p,
s390_const_ok_for_constraint_p): Functions removed.
        (s390_mem_constraint, s390_O_constraint_str, s390_N_constraint_str,
s390_float_const_zero_p): New functions.
* config/s390/s390.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_CONSTRAINT_P,
CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR,
EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT, CONSTRAINT_LEN):
Macro definitions removed.
(s390_const_ok_for_constraint_p, s390_const_double_ok_for_constraint_p,
s390_extra_constraint_str): Functions removed.

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

15 years ago2006-10-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Oct 2006 12:53:40 +0000 (12:53 +0000)]
2006-10-17  Benjamin Kosnik  <bkoz@redhat.com>

* include/tr1/random.tcc: Fixup long line.

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

15 years ago2006-10-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Oct 2006 11:56:21 +0000 (11:56 +0000)]
2006-10-17  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/28514
* include/bits/cpp_type_traits.h (__detail): Uglify namespace.
* include/ext/rope: Remove global-scope anonymous namespace, use
nested __detail. Fixup resulting formatting issues.
* include/ext/ropeimpl.h: Same.
* include/tr1/hashtable_policy.h: Remove anonymous namespace
nesting for __detail.
* include/tr1/random: Revert anonymous namespace to nested
__detail namespace.
* include/tr1/random.tcc: Same.
* src/ext-inst.cc: Fixups for above.

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

15 years agoAdd PR number to ChangeLog entry.
rsandifo [Tue, 17 Oct 2006 07:03:49 +0000 (07:03 +0000)]
Add PR number to ChangeLog entry.

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

15 years agogcc/
rsandifo [Tue, 17 Oct 2006 07:02:39 +0000 (07:02 +0000)]
gcc/
2006-10-17  Andrew Pinsiki  <pinskia@gmail.com>
    Richard Sandiford  <richard@codesourcery.com>

* config/mips/linux.h (SUBTARGET_CC1_SPEC): Override.
* config/mips/mips.h (CC1_SPEC): Override any earlier definition.

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

15 years agogcc/ada/
brooks [Tue, 17 Oct 2006 04:24:13 +0000 (04:24 +0000)]
gcc/ada/
* Makefile.in: Add TEXI2PDF definition.
* Make-lang.in: Add "ada.pdf" target.
libada/
* Makefile.in: Add dummy "pdf" target.

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

15 years ago * testsuite/libjava.jvmti/natevents.cc (env): Delete.
geoffk [Tue, 17 Oct 2006 04:12:59 +0000 (04:12 +0000)]
* testsuite/libjava.jvmti/natevents.cc (env): Delete.
(ExceptionCB): Fix types for printf arguments.
(ExceptionCatchCB): Likewise.
(SingleStepCB): Likewise.
(BreakpointCB): Likewise.
(FieldAccessCB): Likewise.
(FieldModificationCB): Likewise.
(CompiledMethodLoadCB): Likewise.

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

15 years ago * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Move to rs6000.h.
geoffk [Tue, 17 Oct 2006 03:59:43 +0000 (03:59 +0000)]
* config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Move to rs6000.h.
(DWARF2_FRAME_REG_OUT): Likewise.
* config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Move from sysv4.h.
(DWARF2_FRAME_REG_OUT): Likewise.

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

15 years ago PR c++/27270
mmitchel [Tue, 17 Oct 2006 02:01:27 +0000 (02:01 +0000)]
PR c++/27270
* typeck2.c (process_init_constructor_array): Reword comment.
* pt.c (tsubst_copy_and_built): Call reshape_init before calling
digest_init.
PR c++/27270
* g++.dg/ext/complit8.C: New test.

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

15 years ago2006-10-17 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 17 Oct 2006 01:04:27 +0000 (01:04 +0000)]
2006-10-17  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.c (arm_rtx_costs_1): Handle multiply-accumulate.

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

15 years agoFix typo
mrs [Tue, 17 Oct 2006 00:49:07 +0000 (00:49 +0000)]
Fix typo

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

15 years agoDaily bump.
gccadmin [Tue, 17 Oct 2006 00:17:13 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago PR c++/29408
mmitchel [Mon, 16 Oct 2006 23:07:46 +0000 (23:07 +0000)]
PR c++/29408
* parser.c (cp_parser_using_declaration): Stop parsing when
something goes wrong with an access declaration.
PR c++/29408
* g++.dg/parse/dtor12.C: New test.

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

15 years ago PR c++/29435
mmitchel [Mon, 16 Oct 2006 23:06:35 +0000 (23:06 +0000)]
PR c++/29435
* typeck.c (cxx_sizeof_or_alignof_type): Complete non-dependent
types when their sizes are required.  Refine test for VLAs.
PR c++/29435
* g++.dg/template/sizeof11.C: New test.

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

15 years ago * doc/invoke.texi (Darwin Options): Document -mkernel.
mrs [Mon, 16 Oct 2006 23:06:26 +0000 (23:06 +0000)]
* doc/invoke.texi (Darwin Options): Document -mkernel.

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

15 years ago2006-10-17 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 16 Oct 2006 22:29:46 +0000 (22:29 +0000)]
2006-10-17  Paul Thomas <pault@gcc.gnu.org>

PR fortran/20541
* trans-array.c (gfc_trans_array_bounds): Test for and set
negative stride of a non-constant bound array to zero.

PR fortran/29392
* data.c (create_character_intializer): Copy and simplify
the expressions for the start and end of a sub-string
reference.

2006-10-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29392
* gfortran.dg/data_char_3.f90: New test.

PR fortran/20541
* gfortran.dg/negative_automatic_size.f90: New test.

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

15 years ago * g++.dg/other/unused1.C : Match on '.ascii\t"name\000"' also.
daney [Mon, 16 Oct 2006 20:30:03 +0000 (20:30 +0000)]
* g++.dg/other/unused1.C : Match on '.ascii\t"name\000"' also.

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

15 years ago2006-10-16 Eric Christopher <echristo@apple.com>
echristo [Mon, 16 Oct 2006 20:07:46 +0000 (20:07 +0000)]
2006-10-16  Eric Christopher  <echristo@apple.com>

        * gcc.target/i386/asm-4.c: Fix inline asm for darwin
        x86_64.

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

15 years ago* doc/contrib.texi, doc/install.texi, doc/standards.texi:
brooks [Mon, 16 Oct 2006 20:00:56 +0000 (20:00 +0000)]
* doc/contrib.texi, doc/install.texi, doc/standards.texi:
Standardize on "GNU Fortran" as the official name of the Fortran
compiler.

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

15 years ago * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
mrs [Mon, 16 Oct 2006 19:53:29 +0000 (19:53 +0000)]
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
-mkernel support.
(C_COMMON_OVERRIDE_OPTIONS): Add -mkernel support.  Add
SUBTARGET_C_COMMON_OVERRIDE_OPTIONS callout.
(CC1_SPEC): Don't turn on -fPIC when -mkernel is given.
(OS_MISSING_ALTIVEC): Add.
* config/i386/i386.c (override_options): Add
SUBSUBTARGET_OVERRIDE_OPTIONS callout.
* config/i386/darwin.h (CC1_SPEC): Don't turn on -fPIC when
-mkernel, -static or -mdynamic-no-pic is given.
(C_COMMON_OVERRIDE_OPTIONS): Add.
* config/darwin.opt (fapple-kext): Add.
(mkernel): Add.
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add
-fapple-kext, -findirect-virtual-calls, -fterminated-vtables and
-mkernel support.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Add.
(SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Add.
(CPP_SPEC): Move defines for __DYNAMIC__ and __STATIC__ from here...
(SUBTARGET_ATTRIBUTE_TABLE): Add apple_kext_compatibility.
(TARGET_CXX_CDTOR_RETURNS_THIS): Add.
(flag_mkernel): Add.
(flag_apple_kext): Add.
(TARGET_KEXTABI): Add.
* config/darwin.c (darwin_handle_kext_attribute): Add.
(DARWIN_VTABLE_P): Add.
(darwin_binds_local_p): Add partial support for rebinding vtables
in kexts.
(darwin_kextabi_p): Add.
(darwin_override_options): Add.
* config/darwin-protos.h (darwin_handle_kext_attribute): Add.
(darwin_kextabi_p): Add.
(darwin_override_options): Add.
* config/darwin-c.c (darwin_cpp_builtins): ... move defines for
__DYNAMIC__ and __STATIC__ here.

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

15 years ago* doc/sourcebuild.texi, doc/makefile.texi, doc/install.texi:
brooks [Mon, 16 Oct 2006 19:51:55 +0000 (19:51 +0000)]
* doc/sourcebuild.texi, doc/makefile.texi, doc/install.texi:
Added mention of "make pdf" target, and Texinfo requirements for
same.

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

15 years ago* config/s390/s390.c (s390_decompose_address): Allow symbol+offset
dj [Mon, 16 Oct 2006 19:41:47 +0000 (19:41 +0000)]
* config/s390/s390.c (s390_decompose_address): Allow symbol+offset
into the GOT in case we need a subreg of the address.

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

15 years ago2006-10-16 Douglas Gregor <doug.gregor@gmail.com>
bkoz [Mon, 16 Oct 2006 19:08:22 +0000 (19:08 +0000)]
2006-10-16  Douglas Gregor  <doug.gregor@gmail.com>

* include/Makefile.am (tr1_headers): Add new tuple_defs.h.
* include/Makefile.in (tr1_headers): Regenerate.
* include/tr1/tuple (tuple): Move declaration to tuple_defs.h.
(get): Ditto.
(operator==): Ditto.
(operator<): Ditto.
(operator!=): Ditto.
(operator>): Ditto.
(operator<=): Ditto.
(operator>=): Ditto.
(__stripped_tuple_type): Ditto.
Include tuple.defs.h
* include/tr1/tuple_iterate.h (tuple): Use
_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED macro instead of 10
"typename"s.
(tuple_element): Use _GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS and
_GLIBCXX_TYPLE_ALL_TEMPLATE_ARGS instead of 10
parameters/arguments.
* include/tr1/tuple_defs.h: New header, contains declarations and
definitions for the tuple template with all arguments.
* include/tr1/repeat.h (_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS): New.
(_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED): New.
(_GLIBCXX_TUPLE_ALL_TEMPLATE_ARGS): New.
(_GLIBCXX_TEMPLATE_PARAMS_NULL_CLASS): New.
(_GLIBCXX_TEMPLATE_ARGS_STRIPPED): New.
* scripts/gen_includers.pl: Update.
* scripts/gen_includers2.pl: New.

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

15 years ago2006-10-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 16 Oct 2006 17:22:38 +0000 (17:22 +0000)]
2006-10-16  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/29095 continued
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Additions
so that testing not in the build directory works for the "C"
target language.

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

15 years ago PR c++/28211
mmitchel [Mon, 16 Oct 2006 17:02:07 +0000 (17:02 +0000)]
PR c++/28211
* parser.c (cp_parser_template_argument): Don't consider "&var" a
possible constant-expression.
* pt.c (convert_nontype_argument): Refine handling of arguments of
pointer type.
PR c++/28211
* g++.dg/tc1/dr49.C: Tweak error messages.
* g++.dg/parse/template21.C: New test.

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

15 years ago * io.c (gfc_match_close): Ensure that status is terminated by
fxcoudert [Mon, 16 Oct 2006 12:22:04 +0000 (12:22 +0000)]
* io.c (gfc_match_close): Ensure that status is terminated by
a NULL element.

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

15 years ago2006-10-16 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 16 Oct 2006 11:17:29 +0000 (11:17 +0000)]
2006-10-16  Tobias Burnus <burnus@net-b.de>

       * trans-stmt.c: Fix a typo
       * invoke.texi: Fix typos
       * resolve.c: Fix a comment typo
       * trans-decl.c: Fix a comment typo
       * primary.c: Fix a comment typo

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

15 years ago2006-10-16 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 16 Oct 2006 11:10:49 +0000 (11:10 +0000)]
2006-10-16  Tobias Burnus  <burnus@net-b.de>

       * MAINTAINERS (Write After Approval): Add myself.

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

15 years ago * include/bits/basic_string.tcc (_Rep::_S_create): Call
jakub [Mon, 16 Oct 2006 09:51:14 +0000 (09:51 +0000)]
* include/bits/basic_string.tcc (_Rep::_S_create): Call
_M_set_sharable() for backwards compatibility.

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

15 years ago2006-10-16 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 16 Oct 2006 08:36:03 +0000 (08:36 +0000)]
2006-10-16  Richard Guenther  <rguenther@suse.de>

PR target/25519
* doc/extend.texi (X86 Built-in Functions): Fix typos in
SSE builtin documentation.  Document SSE2 builtins.

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

15 years ago * gcc/configure.ac: Enable checking assembler dwarf2 support for score
liqin [Mon, 16 Oct 2006 06:47:57 +0000 (06:47 +0000)]
    * gcc/configure.ac: Enable checking assembler dwarf2 support for score
        target.
        * gcc/configure: Regenerate.

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

15 years ago * config.guess: Import latest version.
bje [Mon, 16 Oct 2006 03:27:17 +0000 (03:27 +0000)]
* config.guess: Import latest version.
* config.sub: Likewise.

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

15 years ago * config/score/crti.asm: add pic support.
liqin [Mon, 16 Oct 2006 02:13:06 +0000 (02:13 +0000)]
    * config/score/crti.asm: add pic support.
        * config/score/crtn.asm: add pic support.
        * config/score/score.h: remove builtin_define("__pic__").
        * config/score/score.c: add TARGET_RTX_COST macro.
        * config/score/score.md: PIC support for call/sibcall pattern.
        * config/score/mul-div.S: add pic support.
        * config/score/t-score-elf: update MULTILIB_OPTIONS.
        * ChangeLog: add shengguo as another score maintainer.
        * config.sub: add score support in it.

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

15 years ago * pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined
danglin [Mon, 16 Oct 2006 01:31:22 +0000 (01:31 +0000)]
* pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined
symbol in the output file for non-shared links when -nostdlib or
-nodefaultlibs isn't specified.

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

15 years ago PR middle-end/20491
danglin [Mon, 16 Oct 2006 01:05:51 +0000 (01:05 +0000)]
PR middle-end/20491
gcc.dg/torture/asm-subreg-1.c: Skip on hppa*64*-*-*.

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

15 years ago2006-10-15 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Mon, 16 Oct 2006 00:54:01 +0000 (00:54 +0000)]
2006-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/29403
        * gfortran.dg/print_1.f90: New test.

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

15 years ago2006-10-15 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Mon, 16 Oct 2006 00:51:46 +0000 (00:51 +0000)]
2006-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>

    PR fortran/29403
    * io.c (match_io):  Check for a default-char-expr for PRINT format.

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

15 years agoDaily bump.
gccadmin [Mon, 16 Oct 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
danglin [Sun, 15 Oct 2006 23:05:31 +0000 (23:05 +0000)]
* config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
posix thread support.

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

15 years ago PR middle-end/29241
hubicka [Sun, 15 Oct 2006 19:46:26 +0000 (19:46 +0000)]
PR middle-end/29241
* cgraphunit.c (cgraph_preserve_function_body_p): Preserve functions
declared always_inline even when not inlining.

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

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

15 years ago2006-10-15 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 15 Oct 2006 19:08:29 +0000 (19:08 +0000)]
2006-10-15  Richard Guenther  <rguenther@suse.de>

* cgraphunit.c: Fix goof in previous commit.

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

15 years agoCosmetic tweak to previous checkin.
ebotcazou [Sun, 15 Oct 2006 17:16:36 +0000 (17:16 +0000)]
Cosmetic tweak to previous checkin.

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

15 years ago PR middle-end/29111
ebotcazou [Sun, 15 Oct 2006 16:57:39 +0000 (16:57 +0000)]
PR middle-end/29111
* builtins.c (get_pointer_alignment): Return 0 if TER is not run.

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

15 years agoFix some whitespace issues in the changelog.
pinskia [Sun, 15 Oct 2006 16:45:15 +0000 (16:45 +0000)]
Fix some whitespace issues in the changelog.

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

15 years agoFix some whitespace issues in the changelog.
pinskia [Sun, 15 Oct 2006 16:40:53 +0000 (16:40 +0000)]
Fix some whitespace issues in the changelog.

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

15 years ago PR middle-end/29250
dje [Sun, 15 Oct 2006 16:21:14 +0000 (16:21 +0000)]
    PR middle-end/29250
        * gcc.c-torture/compile/pr29250.c: New test.

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

15 years ago PR middle-end/29299
hubicka [Sun, 15 Oct 2006 16:20:06 +0000 (16:20 +0000)]
PR middle-end/29299
* cgraphunit.c (cgraph_finalize_compilation_unit): Call
process_function_and_variable_attributes on all variables, including
those discovered during cgraph construction phase.

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

15 years ago2006-10-15 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 15 Oct 2006 14:43:50 +0000 (14:43 +0000)]
2006-10-15  Paolo Carlini  <pcarlini@suse.de>

* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&)): Move...
* include/bits/basic_string.h: ... here.
(operator<<(basic_ostream<>&, const basic_string<>&)): Mark inline.

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

15 years ago2006-10-15 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 15 Oct 2006 12:40:07 +0000 (12:40 +0000)]
2006-10-15  Bernhard Fischer  <aldot@gcc.gnu.org>

        * final.c: Update Copyright year. Commentary typo fix. Fix whitespace

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

15 years agofortran/ChangeLog
aldot [Sun, 15 Oct 2006 12:12:59 +0000 (12:12 +0000)]
fortran/ChangeLog

2006-10-13  Bernhard Fischer  <aldot@gcc.gnu.org>

        PR fortran/24767
        * lang.opt (Wunused-labels): Remove.
        * options.c: Remove references to gfc_option.warn_unused_labels.
        * gfortran.h: Remove variable warn_unused_labels.
        * resolve.c (warn_unused_fortran_label) : Use warn_unused_label
        instead of gfc_option.warn_unused_labels.
        * invoke.texi: Remove documentation of -Wunused-labels.

testsuite/ChangeLog

2006-10-13  Bernhard Fischer  <aldot@gcc.gnu.org>

        PR fortran/24767
        * gfortran.dg/label_4.f90: Adjust warning flag.

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

15 years ago * scripts/make_exports.pl: Use -_ rather than --strip-underscores
geoffk [Sun, 15 Oct 2006 07:52:18 +0000 (07:52 +0000)]
* scripts/make_exports.pl: Use -_ rather than --strip-underscores
or --strip-underscore.

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

15 years agoIndex: config/ChangeLog
geoffk [Sun, 15 Oct 2006 07:42:57 +0000 (07:42 +0000)]
Index: config/ChangeLog
2006-10-14  Geoffrey Keating  <geoffk@apple.com>

* multi.m4: New file, from automake version 2 branch.

Index: libgomp/ChangeLog
2006-10-14  Geoffrey Keating  <geoffk@apple.com>

* aclocal.m4: Regenerate.
* configure: Regenerate.

Index: libstdc++-v3/ChangeLog
2006-10-14  Geoffrey Keating  <geoffk@apple.com>

* aclocal.m4: Regenerate.
* configure: Regenerate with released autoconf-2.59.

Index: libobjc/ChangeLog
2006-10-14  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in: Use multi_basedir instead of toplevel_srcdir.
* configure.ac: Use multi.m4 from aclocal rather than custom
code.  Use multi_basedir instead of toplevel_srcdir.
* aclocal.m4: Regenerate.
* configure: Regenerate.

Index: libssp/ChangeLog
2006-10-14  Geoffrey Keating  <geoffk@apple.com>

* aclocal.m4: Regenerate.
* configure: Regenerate.

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

15 years ago2006-10-14 Tobias Burnus <burnus@net-b.de>
brooks [Sun, 15 Oct 2006 06:32:42 +0000 (06:32 +0000)]
2006-10-14  Tobias Burnus  <burnus@net-b.de>
* gfortran.texi: Add link to GFortran apps
* intrinsic.texi: Updated documentation of ACCESS and CHMOD

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

15 years agoDaily bump.
gccadmin [Sun, 15 Oct 2006 00:17:17 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago * include/java-insns.h (enum java_code): Add op_breakpoint.
kseitz [Sat, 14 Oct 2006 20:11:12 +0000 (20:11 +0000)]
    * include/java-insns.h (enum java_code): Add op_breakpoint.
        * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
        [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
        [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
        (install_break): Declare.
        * interpret.cc (breakpoint_insn): Define breakpoint insn.
        (compile): Add op_breakpoint to "can't happen" cases.
        [INTERPRETER] Initialize breakpoint insn if necessary.
        (install_break): New method.
        * interpret-run.cc: Add op_breakpoint to insn_targets.
        Add insn_breakpoint label.
        * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
        opcodes section of switch statement.
        (verify_instructions_0): Likewise.

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

15 years ago2006-10-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 14 Oct 2006 15:06:34 +0000 (15:06 +0000)]
2006-10-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/19261
* scanner.c (load_line): Add checks for illegal use of '&' and issue
warnings.  Issue errors with -pedantic.

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

15 years ago2006-10-14 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 14 Oct 2006 13:09:56 +0000 (13:09 +0000)]
2006-10-14 Paul Thomas <pault@gcc.gnu.org>

PR fortran/29371
* trans-expr.c (gfc_trans_pointer_assignment): Add the expression
for the assignment of null to the data field to se->pre, rather
than block.

2006-10-14 Paul Thomas <pault@gcc.gnu.org>

PR fortran/29371
* gfortran.dg/nullify_3.f90: New test.

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

15 years ago2006-10-14 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 14 Oct 2006 11:15:45 +0000 (11:15 +0000)]
2006-10-14  Paolo Carlini  <pcarlini@suse.de>

* docs/html/faq/index.html: Update.
* docs/html/faq/index.txt: Regenerate.

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

15 years ago2006-10-14 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 14 Oct 2006 10:25:35 +0000 (10:25 +0000)]
2006-10-14  Paolo Carlini  <pcarlini@suse.de>

* include/bits/ostream.tcc (operator<<(basic_ostream<>&,
const char*)): Further fix for throwing widen.

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

15 years ago2006-10-14 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 14 Oct 2006 09:51:32 +0000 (09:51 +0000)]
2006-10-14  Paolo Carlini  <pcarlini@suse.de>

* include/bits/ostream.tcc (operator<<(basic_ostream<>&,
const char*)): Fix thinko in change for libstdc++/28277,
avoid memory leaks.

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

15 years ago * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
ebotcazou [Sat, 14 Oct 2006 09:19:50 +0000 (09:19 +0000)]
* gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
on Solaris 2.5.1 too.

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

15 years ago * config/i386/athlon.md (athlon_fist): Add fisttp.
uros [Sat, 14 Oct 2006 05:22:13 +0000 (05:22 +0000)]
* config/i386/athlon.md (athlon_fist): Add fisttp.

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

15 years ago2006-10-13 David Edelsohn <edelsohn@gnu.org>
dje [Sat, 14 Oct 2006 03:03:23 +0000 (03:03 +0000)]
2006-10-13  David Edelsohn  <edelsohn@gnu.org>
            Ian Lance Taylor  <ian@airs.com>

        PR middle-end/29250
        * expr.c (expand_expr_real_1) <NON_LVALUE_EXPR, NOP_EXPR,
        CONVERT_EXPR>: Change EXPAND_SUM modifier to EXPAND_NORMAL when
        recursing.

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

15 years ago * config/score/score.c, config/score/score.h: Fix comment
kazu [Sat, 14 Oct 2006 01:55:31 +0000 (01:55 +0000)]
* config/score/score.c, config/score/score.h: Fix comment
typos.

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

15 years ago * intrinsic.texi: Fix typos.
kazu [Sat, 14 Oct 2006 01:48:07 +0000 (01:48 +0000)]
* intrinsic.texi: Fix typos.
* trans-array.c: Fix a comment typo.

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

15 years ago PR bootstrap/29402
ghazi [Sat, 14 Oct 2006 01:25:39 +0000 (01:25 +0000)]
PR bootstrap/29402
* Makefile.in (ALL_GTFILES_H): Use $(sort ...) instead of
shell pipeline.

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

15 years agoDaily bump.
gccadmin [Sat, 14 Oct 2006 00:17:16 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago2006-10-13 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 13 Oct 2006 22:46:58 +0000 (22:46 +0000)]
2006-10-13  Paolo Carlini  <pcarlini@suse.de>

* include/bits/istream.tcc (operator>>(__istream_type&
(*)(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
operator>>(ios_base& (*)(ios_base&))): Move...
* include/std/std_istream.h: ... here.
(operator>>(basic_istream<char,>&, unsigned char&),
operator>>(basic_istream<char,>&, signed char&),
operator>>(basic_istream<char,>&, unsigned char*),
operator>>(basic_istream<char,>&, signed char*)): Mark inline.
* include/bits/ostream.tcc (operator<<(__ostream_type&
(*)(__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
operator<<(ios_base& (*)(ios_base&))): Move...
* include/std/std_ostream.h: ... here.
(operator<<(basic_ostream<>&, _CharT),
operator<<(basic_ostream<>&, char),
operator<<(basic_ostream<char,>&, char),
operator<<(basic_ostream<char,>&, signed char),
operator<<(basic_ostream<char,>&, unsigned char),
operator<<(basic_ostream<>&, const _CharT*),
operator<<(basic_ostream<char,>&, const char*),
operator<<(basic_ostream<char,>&, const signed char*),
operator<<(basic_ostream<char,>&, const unsigned char*),
endl(basic_ostream<>&), ends(basic_ostream<>&),
flush(basic_ostream<>&)): Mark inline.

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

15 years ago2006-10-13 Eric Christopher <echristo@apple.com>
echristo [Fri, 13 Oct 2006 21:42:36 +0000 (21:42 +0000)]
2006-10-13  Eric Christopher  <echristo@apple.com>

        * gcc.dg/pr25993.c: Skip for darwin.

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

15 years ago2006-10-13 Eric Christopher <echristo@apple.com>
echristo [Fri, 13 Oct 2006 21:41:48 +0000 (21:41 +0000)]
2006-10-13  Eric Christopher  <echristo@apple.com>

        * gcc.dg/visibility-11.c: Skip for darwin.

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

15 years ago2006-10-13 Eric Christopher <echristo@apple.com>
echristo [Fri, 13 Oct 2006 21:37:12 +0000 (21:37 +0000)]
2006-10-13  Eric Christopher  <echristo@apple.com>

        * gcc.dg/darwin-weakimport-1.c: Use
        -fno-asynchronous-unwind-tables.
        * gcc.dg/darwin-weakimport-3.c: Ditto.

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

15 years ago2006-10-13 Eric Christopher <echristo@apple.com>
echristo [Fri, 13 Oct 2006 21:35:19 +0000 (21:35 +0000)]
2006-10-13  Eric Christopher  <echristo@apple.com>

        * config/darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.

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

15 years agogcc/
carlos [Fri, 13 Oct 2006 21:28:28 +0000 (21:28 +0000)]
gcc/

2006-10-13  Carlos O'Donell  <carlos@codesourcery.com>

Revert this change:
2006-10-13  Carlos O'Donell  <carlos@codesourcery.com>
* config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest
alignment supported by 32-bit ELF.

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

15 years ago2006-10-13 Eric Christopher <echristo@apple.com>
echristo [Fri, 13 Oct 2006 21:26:49 +0000 (21:26 +0000)]
2006-10-13  Eric Christopher  <echristo@apple.com>

        * config/darwin.c (darwin_emit_unwind_label): Strip
        name encoding. Use DECL_ASSEMBLER_NAME_SET_P.

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

15 years ago2006-10-13 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 13 Oct 2006 20:09:10 +0000 (20:09 +0000)]
2006-10-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/29446
* tree-vrp.c (fix_equivalence_set): Remove.
(extract_range_from_assert): Do not call fix_equivalence_set.
(debug_value_range): Print a newline.
(compare_name_with_value): For equivalence sets with
inconsistent value ranges conservatively bail out.
(compare_names): Likewise.

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

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

15 years ago2006-10-13 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Fri, 13 Oct 2006 19:08:37 +0000 (19:08 +0000)]
2006-10-13  Steven G. Kargl  <kargl@gcc.gnu.org>

        * m4/spacing.m4: Use scalbn[f,l] if ldexp[f,l] is unavailable.
        * m4/rrspacing.m4: Ditto.
        * generated/spacing_r4.c: Regenerated.
        * generated/spacing_r8.c: Ditto.
        * generated/spacing_r10.c: Ditto.
        * generated/spacing_r16.c: Ditto.
        * generated/rrspacing_r4.c: Ditto.
        * generated/rrspacing_r8.c: Ditto.
        * generated/rrspacing_r10.c: Ditto.
        * generated/rrspacing_r16.c: Ditto.

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

15 years ago * g++.old-deja/g++.brendan/scope5.C: Changed "Class" to "Klasse".
mrs [Fri, 13 Oct 2006 18:38:24 +0000 (18:38 +0000)]
* g++.old-deja/g++.brendan/scope5.C: Changed "Class" to "Klasse".
* g++.old-deja/g++.jason/hmc1.C: Likewise.
* g++.old-deja/g++.jason/cleanup2.C: Likewise.
* g++.old-deja/g++.law/shadow1.C: Likewise.
* g++.old-deja/g++.law/ctors10.C: Likewise.
* g++.dg/debug/namespace1.C: Likewise.
* g++.dg/inherit/namespace-as-base.C: Likewise.
* g++.dg/opt/delay-slot-1.C: Likewise.
* g++.dg/parse/defarg10.C: Likewise.
* g++.dg/template/ptrmem11.C: Likewise.
* g++.dg/template/mem_func_ptr.C: Likewise.
* g++.dg/template/spec19.C: Likewise.

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

15 years ago* intrinsic.texi (STAT): Reverted a format in example code to
brooks [Fri, 13 Oct 2006 17:20:50 +0000 (17:20 +0000)]
* intrinsic.texi (STAT): Reverted a format in example code to
octal; noted this in accompanying string.

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

15 years ago * doc/install.texi (*-ibm-aix*): Add comment about 32-bit GMP
dje [Fri, 13 Oct 2006 16:41:59 +0000 (16:41 +0000)]
    * doc/install.texi (*-ibm-aix*): Add comment about 32-bit GMP
        and MPFR for gfortran.

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

15 years agogcc/
carlos [Fri, 13 Oct 2006 16:01:38 +0000 (16:01 +0000)]
gcc/

2006-10-13  Carlos O'Donell  <carlos@codesourcery.com>

* config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest
alignment supported by 32-bit ELF.

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

15 years ago../svn-commit.tmp
bonzini [Fri, 13 Oct 2006 15:59:03 +0000 (15:59 +0000)]
../svn-commit.tmp

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

15 years ago2006-10-13 Daniel Berlin <dberlin@dberlin.org>
dberlin [Fri, 13 Oct 2006 14:24:08 +0000 (14:24 +0000)]
2006-10-13  Daniel Berlin <dberlin@dberlin.org>
    Ramana Radhakrishnan  <ramana.radhakrishnan@celunite.com>

* tree-flow-inline.h (zero_ssa_operands): Fix comment.

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

15 years ago2006-10-13 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 13 Oct 2006 12:51:07 +0000 (12:51 +0000)]
2006-10-13 Paul Thomas <pault@gcc.gnu.org>

PR fortran/29373
* decl.c (get_proc_name, gfc_match_function_decl): Add
attr.implicit_type to conditions that throw error for
existing explicit interface and that allow new type-
spec to be applied.

PR fortran/29407
* resolve.c (resolve_fl_namelist): Do not check for
namelist/procedure conflict, if the symbol corresponds
to a good local variable declaration.

PR fortran/27701
* decl.c (get_proc_name): Replace the detection of a declared
procedure by the presence of a formal argument list by the
attributes of the symbol and the presence of an explicit
interface.

PR fortran/29232
* resolve.c (resolve_fl_variable): See if the host association
of a derived type is blocked by the presence of another type I
object in the current namespace.

PR fortran/29364
* resolve.c (resolve_fl_derived): Check for the presence of
the derived type for a derived type component.

PR fortran/24398
* module.c (gfc_use_module): Check that the first words in a
module file are 'GFORTRAN module'.

PR fortran/29422
* resolve.c (resolve_transfer): Test functions for suitability
for IO, as well as variables.

PR fortran/29428
* trans-expr.c (gfc_trans_scalar_assign): Remove nullify of
rhs expression.

2006-10-13 Paul Thomas <pault@gcc.gnu.org>

PR fortran/29373
* gfortran.dg/implicit_9.f90: New test.

PR fortran/29407
* gfortran.dg/namelist_25.f90: New test.

PR fortran/27701
* gfortran.dg/same_name_2.f90: New test.

PR fortran/29232
* gfortran.dg/host_assoc_types_1.f90: New test.

PR fortran/29364
* gfortran.dg/missing_derived_type_1.f90: New test.
* gfortran.dg/implicit_actual.f90: Comment out USE GLOBAL.

PR fortran/29422
* gfortran.dg/alloc_comp_constraint_4.f90: New test.

PR fortran/29428
* gfortran.dg/alloc_comp_assign_5.f90: New test.

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

15 years ago PR fortran/29391
fxcoudert [Fri, 13 Oct 2006 12:20:28 +0000 (12:20 +0000)]
PR fortran/29391

* trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct
code for LBOUND and UBOUND intrinsics.

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

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

15 years ago2006-10-13 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 13 Oct 2006 09:00:31 +0000 (09:00 +0000)]
2006-10-13  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28277 (partial: ostream bits 2)
* include/std/std_ostream.h (basic_ostream<>::_M_insert(const
char_type*, streamsize)): New.
(basic_ostream<>::_M_write(char_type, streamsize)): Likewise.
(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
char), operator<<(basic_ostream<>&, const _CharT*),
operator<<(basic_ostream<>&, const char*)): Use the latter.
* include/bits/ostream.tcc (basic_ostream<>::_M_insert(const
char_type*, streamsize)): Define.
(operator<<(basic_ostream<>&, const char*)): Use the latter.
(operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
char), operator<<(basic_ostream<>&, const _CharT*),
operator<<(basic_ostream<>&, const char*),
operator<<(basic_ostream<>&, const basic_string<>&)): Remove.
* include/bits/basic_string.h (operator<<(basic_ostream<>&,
const basic_string<>&)): Use the latter, implement DR 586.
* config/abi/pre/gnu.ver: Adjust, export the new _M_insert.
* docs/html/ext/howto.html: Add an entry for DR 586.
* testsuite/21_strings/basic_string/inserters_extractors/char/
28277.cc: New.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
28277.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/
28277-3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/
28277-4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
28277-2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
28277-3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
28277-4.cc: Likewise.

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

15 years ago * gfortran.dg/defined_operators_1.f90: Add cleanup-modules dg
fxcoudert [Fri, 13 Oct 2006 08:56:25 +0000 (08:56 +0000)]
* gfortran.dg/defined_operators_1.f90: Add cleanup-modules dg
directive.
* gfortran.dg/module_private_array_refs_1.f90: Likewise.
* gfortran.dg/module_proc_external_dummy.f90: Likewise.
* gfortran.dg/gomp/omp_threadprivate1.f90: Likewise.
* gfortran.dg/gomp/reduction3.f90: Likewise.
* gfortran.dg/derived_constructor_comps_1.f90: Likewise.
* gfortran.dg/dummy_procedure_2.f90: Likewise.
* gfortran.dg/interface_derived_type_1.f90: Likewise.
* gfortran.dg/forall_4.f90: Likewise.
* gfortran.dg/spec_expr_4.f90: Likewise.
* gfortran.dg/unused_artificial_dummies_1.f90: Likewise.
* gfortran.dg/forall_5.f90: Likewise.
* gfortran.dg/open_access_append_2.f90: Add check for
compile-time warning.

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

15 years ago PR c++/28506
mmitchel [Fri, 13 Oct 2006 08:38:43 +0000 (08:38 +0000)]
PR c++/28506
* parser.c (function_declarator_p): New function.
(cp_parser_init_declarator): Use it.
(cp_parser_member_declaration): Likewise.
PR c++/28506
* g++.dg/parse/pure1.C: New test.

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