OSDN Git Service

pf3gnuchains/gcc-fork.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years ago PR fortran/21435
fxcoudert [Fri, 13 Oct 2006 08:18:50 +0000 (08:18 +0000)]
PR fortran/21435

* io.c (compare_to_allowed_values): New function.
(gfc_match_open): Add checks for constant values of specifiers.
(gfc_match_close): Add checks for constant values of the STATUS
specifier.

* gcc/testsuite/gfortran.dg/io_constraints_3.f90: New test.
* gcc/testsuite/gfortran.dg/open_access_append_1.f90: Add checks
for compile-time warnings.
* gcc/testsuite/gfortran.dg/pr20163-2.f: Likewise.
* gcc/testsuite/gfortran.dg/iostat_2.f90: Likewise.
* gcc/testsuite/gfortran.dg/label_4.f90: Delete the temporary
file.
* gcc/testsuite/gfortran.dg/direct_io_2.f90: Add a FILE=
specifier.
* gcc/testsuite/gfortran.dg/iomsg_1.f90: Add check for
compile-time warning.

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

14 years ago PR c/28419
hubicka [Fri, 13 Oct 2006 07:41:53 +0000 (07:41 +0000)]
PR c/28419
* c-decl.c (c_make_fname_decl): Do not segfault in case where
current_function_decl is set but current_function_scope is not.

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

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

14 years ago PR c++/29318
mmitchel [Fri, 13 Oct 2006 04:09:41 +0000 (04:09 +0000)]
PR c++/29318
* rtti.c (get_tinfo_decl): Refuse to create type info objects for
variably modified types.
PR c++/29318
* g++.dg/ext/vla4.C: New test.

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

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

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

14 years ago* intrinsic.texi (STAT): Fixed a format typo in sample code.
brooks [Thu, 12 Oct 2006 23:22:16 +0000 (23:22 +0000)]
* intrinsic.texi (STAT): Fixed a format typo in sample code.

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

14 years ago* intrinsic.texi (STAT): Shortened lines in sample code.
brooks [Thu, 12 Oct 2006 23:13:30 +0000 (23:13 +0000)]
* intrinsic.texi (STAT): Shortened lines in sample code.

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

14 years ago PR c++/27961
lmillward [Thu, 12 Oct 2006 20:06:36 +0000 (20:06 +0000)]
PR c++/27961
* g++.dg/template/crash60.C: New test.

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

14 years ago PR c++/27961
lmillward [Thu, 12 Oct 2006 20:02:53 +0000 (20:02 +0000)]
   PR c++/27961
       * decl.c (start_decl): Return error_mark_node if a
       function is initialized like a variable.
       (check_var_type): If a variable of field is declared void,
       set the type to error_mark_node.
       (grokdeclarator): Check the return type of check_var_type.
       * class.c (finish_struct_1): Robustify.

       * g++.dg/template/crash60.C: New test.
       * g++.dg/other/large-size-array.C: Adjust error markers.
       * g++.dg/parse/crash27.C: Likewise.
       * g++.dg/template/crash1.C: Likewise.

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

14 years ago * include/jvmti-int.h (JVMTI): Declare all members "extern".
kseitz [Thu, 12 Oct 2006 18:18:52 +0000 (18:18 +0000)]
    * include/jvmti-int.h (JVMTI): Declare all members "extern".
        * jvmti.cc (JVMTI): Define.

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

14 years ago PR testsuite/29093
sje [Thu, 12 Oct 2006 16:52:33 +0000 (16:52 +0000)]
PR testsuite/29093
* gcc.dg/debug/dwarf2/dwarf-file1.c: Check for ".file".

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

14 years ago PR preprocessor/28709
jakub [Thu, 12 Oct 2006 09:25:59 +0000 (09:25 +0000)]
PR preprocessor/28709
* macro.c (paste_tokens): Do error reporting here, use BUF with the
spelled LHS token as opposed to spelling it again.
(paste_all_tokens): Don't report errors here, just break on failure.

* gcc.dg/cpp/paste14.c: New test.

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

14 years ago * config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
jiez [Thu, 12 Oct 2006 08:52:58 +0000 (08:52 +0000)]
* config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of
emit_insn to emit eh_return_internal instruction.
(eh_return_internal): Explicitly set pc.

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

14 years ago PR c++/29175
mmitchel [Thu, 12 Oct 2006 04:35:56 +0000 (04:35 +0000)]
PR c++/29175
* decl.c (check_initializer): Issue errors about trying to
initialize arrays whose elements have variable size.
PR c++/29175
* g++.dg/init/array24.C: New test.

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

14 years ago * gcc.dg/builtins-config.h: Move Solaris section after inclusion
ghazi [Thu, 12 Oct 2006 02:33:57 +0000 (02:33 +0000)]
* gcc.dg/builtins-config.h: Move Solaris section after inclusion
of <sys/types.h>.

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

14 years ago2006-10-11 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 12 Oct 2006 00:18:39 +0000 (00:18 +0000)]
2006-10-11  Paolo Carlini  <pcarlini@suse.de>

* Revert unintended howto.html change.

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

14 years agoDaily bump.
gccadmin [Thu, 12 Oct 2006 00:17:20 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2006-10-11 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 12 Oct 2006 00:16:48 +0000 (00:16 +0000)]
2006-10-11  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 44.

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

14 years ago * gfortran.h (gfc_show_actual_arglist, gfc_show_array_ref,
tobi [Wed, 11 Oct 2006 22:11:05 +0000 (22:11 +0000)]
    * gfortran.h (gfc_show_actual_arglist, gfc_show_array_ref,
        gfc_show_array_spec, gfc_show_attr, gfc_show_code,
        gfc_show_components, gfc_show_constructor, gfc_show_equiv,
        gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
        gfc_show_typespec): Add prototypes.
        * dump-parse-tree.c (gfc_show_actual_arglist, gfc_show_array_ref,
        gfc_show_array_spec, gfc_show_attr, gfc_show_code,
        gfc_show_components, gfc_show_constructor, gfc_show_equiv,
        gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol,
        gfc_show_typespec): Remove 'static' from declaration.

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

14 years ago2006-10-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 11 Oct 2006 20:18:36 +0000 (20:18 +0000)]
2006-10-11  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/29426
* libsupc++/guard.cc (get_static_mutex): New.
(mutex_wrapper::mutex_wrapper): Use it to get properly initialized
recursive mutex without ordering issues.

* src/locale_init.cc (__get_locale_mutex): No need to
uglify. Change to get_locale_mutex.

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

14 years agoadd missing test for "typedef auto"
lmillward [Wed, 11 Oct 2006 19:43:13 +0000 (19:43 +0000)]
add missing test for "typedef auto"

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

14 years ago PR c++/29024
lmillward [Wed, 11 Oct 2006 19:31:33 +0000 (19:31 +0000)]
    PR c++/29024
        * cp-tree (struct cp_decl_specifier_seq): Rename to
        conflicting_specifiers_p
        * parser.c (cp_parser_set_storage_class): Set
        conflicting_specifiers_p for the input decl specifier
        if a typedef specifier is present. Rename uses of
        multiple_specifiers_p to conflicting_specifiers_p.
        (cp_parser_decl_specifier_seq) <RID_TYPEDEF>: If a storage
        class specifier has already been set for this declaration,
        set conflicting_specifiers_p to true on the decl_specs.
        * decl.c (grokdeclarator): Rename uses of
        multiple_specifiers_p to conflicting_specifiers_p.

        * g++.dg/parse/typedef8.C: New test.
        * g++.dg/other/mult-stor1.C: Adjust error markers.

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

14 years ago2006-10-11 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 11 Oct 2006 16:05:37 +0000 (16:05 +0000)]
2006-10-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/28230
* tree-vrp.c (vrp_int_const_binop): Move flag_wrapv handling
to the correct place.

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

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

14 years ago * Makefile.in: Rebuilt.
tromey [Wed, 11 Oct 2006 14:42:39 +0000 (14:42 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Use mkinstalldirs.

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

14 years ago2006-10-11 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 11 Oct 2006 14:03:37 +0000 (14:03 +0000)]
2006-10-11  Richard Guenther  <rguenther@suse.de>

PR inline-asm/29119
* gimplify.c (gimplify_asm_expr): Mark the gimplified lvalue
addressable.

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

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

14 years ago2006-10-11 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 11 Oct 2006 12:05:59 +0000 (12:05 +0000)]
2006-10-11  Paolo Carlini  <pcarlini@suse.de>

* testsuite/22_locale/num_put/put/char/11.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/11.cc: Likewise.

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

14 years ago2006-10-10 Brooks Moses <bmoses@stanford.edu>
brooks [Wed, 11 Oct 2006 03:35:08 +0000 (03:35 +0000)]
2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* invoke.texi, gfortran.texi: Corrected erronous dashes.

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

14 years ago * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
tromey [Wed, 11 Oct 2006 03:05:32 +0000 (03:05 +0000)]
* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
Removed obsolete comment.

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

14 years agoDaily bump.
gccadmin [Wed, 11 Oct 2006 00:17:31 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago--(top level)--------------------------------------------
brooks [Tue, 10 Oct 2006 23:48:09 +0000 (23:48 +0000)]
--(top level)--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.

---fixincludes--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Makefile.in: Added empty "pdf" target.

---gcc----------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* configure.ac: Added pdf to "Make-hooks"
* Makefile.in: Added TEXI2PDF definition, and various pdf-file
targets and *.pdf file patterns in cleanup targets.
* configure: Regenerated.

---gcc/cp-------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Make-lang.in: Added "c++.pdf" target support.

---gcc/fortran--------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
support.

---gcc/java-----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.

---gcc/objc-----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Make-lang.in: Added empty "objc.pdf" target.

---gcc/objcp----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Make-lang.in: Added empty "obj-c++.pdf" target.

---gcc/treelang-------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Make-lang.in: Added "treelang.pdf" target support.

---gnattools----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Makefile.in: Added empty "pdf" target.

---libcpp-------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Makefile.in: Added empty "pdf" target.

---libdecnumber-------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Makefile.in: Added empty "pdf" target.

---libiberty----------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Makefile.in: Added "pdf", "libiberty.pdf" target support.
* testsuite/Makefile.in: Added empty "pdf" target.

---libobjc------------------------------------------------

2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* Makefile.in: Added empty "pdf" target.

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

14 years ago * config/avr/predicates.md: New file.
aesok [Tue, 10 Oct 2006 22:18:06 +0000 (22:18 +0000)]
* config/avr/predicates.md: New file.
* config/avr/avr.md: Include it.
(REG_SP): New constant.
(peepholes): Use predicates.
(sbrx_branch, sbrx_and_branchhi, sbrx_and_branchsi, branch, rvbranch,
difficult_branch,  difficult_rvbranch, cbi, sbi, sbix_branch,
sbix_branch_bit7, sbix_branch_tmp, sbix_branch_tmp_bit7): Ditto.
PR target/26504
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.

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

14 years ago * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
kseitz [Tue, 10 Oct 2006 20:15:51 +0000 (20:15 +0000)]
    * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
        (_Jv_InterpMethod::set_insn): Declare.
        * interpret.cc (_Jv_InterpMethod::get_insn): New method.
        (_Jv_InterpMethod::get_insn): New method.

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

14 years ago PR classpath/29362:
tromey [Tue, 10 Oct 2006 19:31:56 +0000 (19:31 +0000)]
PR classpath/29362:
* gnu/xml/transform/TransformerImpl.java (transform): Only strip if
there is a stylesheet.

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

14 years ago * prims.cc (_Jv_PrependVersionedLibdir): Use
tromey [Tue, 10 Oct 2006 18:46:41 +0000 (18:46 +0000)]
* prims.cc (_Jv_PrependVersionedLibdir): Use
_Jv_platform_path_separator.

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

14 years ago PR libgcj/29205:
tromey [Tue, 10 Oct 2006 18:44:06 +0000 (18:44 +0000)]
PR libgcj/29205:
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Install the .pc file.
(pkgconfig_DATA): Removed.

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

14 years ago2006-10-10 Daniel Franke <franke.daniel@gmail.com>
brooks [Tue, 10 Oct 2006 18:26:16 +0000 (18:26 +0000)]
2006-10-10  Daniel Franke  <franke.daniel@gmail.com>

* intrinsic.texi: added documentation for FSTAT, GETARG,GET_COMMAND,
GET_COMMAND_ARGUMENT, GETENV, GET_ENVIRONMENT_VARIABLE, IAND, IARGC,
LSTAT and STAT, removed the reference to PR19292 from ACCESS, CHMOD,
GMTIME, LSHIFT, LTIME, RSHIFT.

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

14 years ago2006-10-10 Brooks Moses <bmoses@stanford.edu>
brooks [Tue, 10 Oct 2006 18:08:08 +0000 (18:08 +0000)]
2006-10-10  Brooks Moses  <bmoses@stanford.edu>

* gfortran.texi (Standards): Update to current status.

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

14 years ago * config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to
nemet [Tue, 10 Oct 2006 17:39:12 +0000 (17:39 +0000)]
* config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to
avoid alias set 0.

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

14 years ago2006-10-10 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 10 Oct 2006 14:21:05 +0000 (14:21 +0000)]
2006-10-10  Paolo Bonzini  <bonzini@gnu.org>
    Sandro Tolaini  <tolaini@libero.it>

* configure.ac [i*86-*-darwin*]: Set X86_DARWIN symbol and
conditional.
* configure: Regenerated.
* Makefile.am (nodist_libffi_la_SOURCES) [X86_DARWIN]: New case.
(EXTRA_DIST): Add src/x86/darwin.S.
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

* src/x86/ffi.c (ffi_prep_cif_machdep) [X86_DARWIN]: Treat like
X86_WIN32, and additionally align stack to 16 bytes.
* src/x86/darwin.S: New, based on sysv.S.
* src/prep_cif.c (ffi_prep_cif) [X86_DARWIN]: Align > 8-byte structs.

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

14 years ago2006-10-10 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 10 Oct 2006 11:35:42 +0000 (11:35 +0000)]
2006-10-10  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/lib/libstdc++.exp (v3-build_support): Link
libtestc++.a, not a bunch of object files.

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

14 years ago2006-10-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 10 Oct 2006 10:14:13 +0000 (10:14 +0000)]
2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/29118
* src/locale_init.cc (__get_locale_mutex): New.
(locale::locale): Use it.
(locale::global): Use it.

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

14 years ago PR middle-end/29272
jakub [Tue, 10 Oct 2006 09:46:59 +0000 (09:46 +0000)]
PR middle-end/29272
* builtins.c (var_decl_component_p): New function.
(fold_builtin_memset, fold_builtin_memory_op): Restrict
single entry optimization to variables and components thereof.

* gcc.c-torture/execute/20060930-2.c: New test.

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

14 years ago2006-10-10 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 10 Oct 2006 08:27:02 +0000 (08:27 +0000)]
2006-10-10  Richard Guenther  <rguenther@suse.de>

PR rtl-optimization/29323
* except.c (set_nothrow_function_flags): For functions
that do not bind local bail out early.

* decl.c (finish_function): Set TREE_NOTHROW only for
functions that bind local.

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

14 years ago * Add new port for score.
liqin [Tue, 10 Oct 2006 07:50:29 +0000 (07:50 +0000)]
    * Add new port for score.

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

14 years ago * doc/invoke.texi (RS/6000 and PowerPC Options): Add -m to the
bje [Tue, 10 Oct 2006 07:34:10 +0000 (07:34 +0000)]
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -m to the
-mdlmzb option.

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

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

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

14 years ago2006-10-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 9 Oct 2006 23:53:35 +0000 (23:53 +0000)]
2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/29095
* libsupc++/cxxabi.h (__cxa_cdtor_type): Explicit "C" linkage.
* config/cpu/arm/cxxabi_tweaks.h: Same.
* config/cpu/generic/cxxabi_tweaks.h: Same.
* testsuite/abi: Add.
* testsuite/abi/header_cxxabi.cc: New.
* testsuite/demangle: Move...
* testsuite/abi/demangle: ...here.
* testsuite/libstdc++-dg/conformance.exp: Adjust testsuite file
calculation.
* scripts/create_testsuite_files: Same.
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): New.
(libstdc++-dg-test): Use it.

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

14 years ago2006-10-09 Brooks Moses <bmoses@stanford.edu>
brooks [Mon, 9 Oct 2006 23:23:53 +0000 (23:23 +0000)]
2006-10-09  Brooks Moses  <bmoses@stanford.edu>

* Changelog: Undid erroneous tab-to-space conversion on last entry.

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

14 years ago2006-10-09 Brooks Moses <bmoses@stanford.edu>
brooks [Mon, 9 Oct 2006 23:19:58 +0000 (23:19 +0000)]
2006-10-09  Brooks Moses  <bmoses@stanford.edu>

* Changelog: Added spaces after * on last two entries.

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

14 years ago2006-10-09 Brooks Moses <bmoses@stanford.edu>
brooks [Mon, 9 Oct 2006 23:17:52 +0000 (23:17 +0000)]
2006-10-09  Brooks Moses  <bmoses@stanford.edu>

*Make-lang.in: Added intrinsic.texi to GFORTRAN_TEXI
dependences.

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

14 years ago2006-10-09 Brooks Moses <bmoses@stanford.edu>
brooks [Mon, 9 Oct 2006 22:33:55 +0000 (22:33 +0000)]
2006-10-09  Brooks Moses  <bmoses@stanford.edu>

*intrinsic.texi: (MOVE_ALLOC) changed "Options" to "Standards".

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

14 years ago2006-10-06 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Mon, 9 Oct 2006 20:55:29 +0000 (20:55 +0000)]
2006-10-06  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.h: Define GFC_MPFR_TOO_OLD via mpfr version info.
* arith.c (arctangent, gfc_check_real_range): Use it.
* simplify.c (gfc_simplify_atan2, gfc_simplify_exponent,
gfc_simplify_log, gfc_simplify_nearest): Use it.

PR fortran/15441
PR fortran/29312
* iresolve.c (gfc_resolve_rrspacing): Give rrspacing library
routine hidden precision argument.
(gfc_resolve_spacing): Give spacing library routine hidden
precision, emin - 1, and tiny(x) arguments.
* simplify.c (gfc_simplify_nearest): Remove explicit subnormalization.
(gfc_simplify_rrspacing): Implement formula from Fortran 95 standard.
(gfc_simplify_spacing): Implement formula from Fortran 2003 standard.
* trans-intrinsic.c (gfc_intrinsic_map_t) Declare rrspacing and
spacing via LIBF_FUNCTION
(prepare_arg_info, call_builtin_clz, gfc_conv_intrinsic_spacing,
gfc_conv_intrinsic_rrspacing): Remove functions.
(gfc_conv_intrinsic_function): Remove calls to
gfc_conv_intrinsic_spacing and gfc_conv_intrinsic_rrspacing.
* f95-lang.c (gfc_init_builtin_functions): Remove __builtin_clz,
__builtin_clzl and __builtin_clzll

2006-10-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/15441
PR fortran/29312
* configure.ac: Add HAVE_LDEXPF, HAVE_LDEXP, and HAVE_LDEXPL
* m4/spacing.m4: New file.  Use new HAVE_* defines.
* m4/rrspacing.m4: Ditto.
* Makefile.am: Handle new files.
* configure: Regenerated.
* Makefile.in: Ditto.
* config.h.in: Ditto.
* generated/spacing_r4.c: Generated.
* 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@117584 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2006-10-09 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 9 Oct 2006 18:04:18 +0000 (18:04 +0000)]
2006-10-09  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28277 (partial: __add_grouping)
* include/bits/locale_facets.tcc (__add_grouping<>(_CharT*, _CharT,
const char*, size_t, const _CharT*, const _CharT*)): Rewrite in
non-recursive form.

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

14 years agoRevert emutls patch.
rth [Mon, 9 Oct 2006 16:27:14 +0000 (16:27 +0000)]
Revert emutls patch.

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

14 years ago2006-10-09 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 9 Oct 2006 16:10:38 +0000 (16:10 +0000)]
2006-10-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/29254
* cgraphunit.c (verify_cgraph_node): Bail out on earlier
errors.

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

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

14 years ago PR target/27880
sje [Mon, 9 Oct 2006 15:55:38 +0000 (15:55 +0000)]
PR target/27880
* unwind-c.c (PERSONALITY_FUNCTION): Ifdef use of _Unwind_GetIPInfo.
* configure.ac (HAVE_GETIPINFO): Check for _Unwind_GetIPInfo.
* configure: Regenerate.
* config.in: Regenerate.

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

14 years ago * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.
aldyh [Mon, 9 Oct 2006 13:58:10 +0000 (13:58 +0000)]
    * tree-mudflap.c (mf_xform_derefs_1): Add parentheses around TREE_TYPE.

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

14 years ago2006-10-09 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 9 Oct 2006 10:49:50 +0000 (10:49 +0000)]
2006-10-09  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28277 (partial: money_put bits)
* include/bits/locale_facets.tcc (money_put<>::_M_insert(iter_type,
ios_base&, char_type, const string_type&)): Avoid __builtin_alloca
with no limit, do the work in place.

* include/bits/locale_facets.tcc (money_put<>::do_put(iter_type,
bool, ios_base&, char_type, long double)): Avoid unnecessary
__builtin_alloca, do the work in place.

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

14 years ago2006-10-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 9 Oct 2006 10:34:49 +0000 (10:34 +0000)]
2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>

* src/globals_io.cc (_GLIBCXX_once): Remove, unused.
(_GLIBCXX_mutex): Same.
(_GLIBCXX_mutex_addres): Same.
(_GLIBCXX_mutex_init): Same.
(_GLIBCXX_mutex_address_init): Same.

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

14 years ago * intrinsic.c (add_sym_0s, add_sym_1s, add_sym_2s, add_sym_3s,
fxcoudert [Mon, 9 Oct 2006 07:43:39 +0000 (07:43 +0000)]
* intrinsic.c (add_sym_0s, add_sym_1s, add_sym_2s, add_sym_3s,
add_sym_4s, add_sym_5s, add_functions): Use macro ACTUAL_NO,
ACTUAL_YES, NOT_ELEMENTAL and ELEMENTAL instead of constants
0 and 1 as second and third arguments to add_sym* functions.

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

14 years agoDaily bump.
gccadmin [Mon, 9 Oct 2006 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * Makefile.am: Add intrinsics/move_alloc.c, ommited in Paul's
fxcoudert [Sun, 8 Oct 2006 19:07:29 +0000 (19:07 +0000)]
* Makefile.am: Add intrinsics/move_alloc.c, ommited in Paul's
previous commit.
* Makefile.in: Regenerate.

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

14 years ago * intrinsics/hyper.c: Remove file.
fxcoudert [Sun, 8 Oct 2006 18:39:18 +0000 (18:39 +0000)]
* intrinsics/hyper.c: Remove file.
* intrinsics/c99_functions.c: Add fallback functions asinhf,
acoshf and atanhf.
* Makefile.am: Remove file intrinsics/hyper.c.
* Makefile.in: Regenerate.

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

14 years ago * c99_protos.h: Correctly protect definitions of prototypes for
fxcoudert [Sun, 8 Oct 2006 17:16:38 +0000 (17:16 +0000)]
* c99_protos.h: Correctly protect definitions of prototypes for
asinhf, acoshf and atanhf to be the same as in intrinsics/hyper.c.

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

14 years ago2006-10-05 Erik Edelmann <edelmann@gcc.gnu.org>
pault [Sun, 8 Oct 2006 16:21:55 +0000 (16:21 +0000)]
2006-10-05  Erik Edelmann <edelmann@gcc.gnu.org>
    Paul Thomas <pault@gcc.gnu.org>

PR fortran/20541
* interface.c (gfc_compare_derived_types): Add comparison of
the allocatable field.
* intrinsic.c (add_subroutines): Add MOVE_ALLOC.
* trans-expr.c (gfc_conv_aliased_arg, gfc_trans_subarray_assign,
gfc_trans_subcomponent_assign, gfc_conv_string_parameter,
gfc_trans_scalar_assign): Add extra arguments l_is_temp
and r_is_var to references to latter function.
(gfc_conv_function_call): Add enum for types of argument and
an associated variable parm_kind. Deallocate components of
INTENT(OUT) and non-variable arrays.
(gfc_trans_subcomponent_assign): Add block to assign arrays
to allocatable components.
(gfc_trans_scalar_assign): Add block to handle assignments of
derived types with allocatable components, using the above new
arguments to control allocation/deallocation of memory and the
copying of allocated arrays.
* trans-array.c (gfc_array_allocate): Remove old identification
of pointer and replace with that of an allocatable array. Add
nullify of structures with allocatable components.
(gfc_conv_array_initializer): Treat EXPR_NULL.
(gfc_conv_array_parameter): Deallocate allocatable components
of non-variable structures.
(gfc_trans_dealloc_allocated): Use second argument of library
deallocate to inhibit, without error, freeing NULL pointers.
(get_full_array_size): New function to return the size of a
full array.
(gfc_duplicate_allocatable): New function to allocate and copy
allocated data.
(structure_alloc_comps): New recursive function to deallocate,
nullify or copy allocatable components.
(gfc_nullify_alloc_comp, gfc_deallocate_alloc_comp,
gfc_copy_alloc_comp): New interface functions to call previous.
(gfc_trans_deferred_array): Add the code to nullify allocatable
components, when entering scope, and to deallocate them on
leaving. Do not call gfc_trans_static_array_pointer and return
for structures with allocatable components and default
initializers.
* symbol.c (gfc_set_component_attr): Set allocatable field.
(gfc_get_component_attr): Set the allocatable attribute.
* intrinsic.h : Prototype for gfc_check_move_alloc.
* decl.c (build_struct): Apply TR15581 constraints for
allocatable components.
(variable_decl): Default initializer is always NULL for
allocatable components.
(match_attr_spec): Allow, or not, allocatable components,
according to the standard in force.
* trans-array.h : Prototypes for gfc_nullify_alloc_comp,
gfc_deallocate_alloc_comp, gfc_copy_alloc_comp and
gfc_duplicate_allocatable.
* gfortran.texi : Add mention of TR15581 extensions.
* gfortran.h : Add attribute alloc_comp, add
gfc_components field allocatable and add the prototype
for gfc_expr_to_initialize.
* trans-stmt.c (generate_loop_for_temp_to_lhs,
generate_loop_for_rhs_to_temp, gfc_trans_where_assign,
gfc_trans_where_3): Add extra arguments to calls to
gfc_trans_scalar_assign and set appropriately.
(gfc_trans_allocate): Nullify allocatable components.
(gfc_trans_deallocate): Deallocate to ultimate allocatable
components but stop at ultimate pointer components.
* module.c (mio_symbol_attribute, mio_symbol_attribute,
mio_component): Add module support for allocatable
components.
* trans-types.c (gfc_get_derived_type): Treat allocatable
components.
* trans.h : Add two boolean arguments to
gfc_trans_scalar_assign.
* resolve.c (resolve_structure_cons): Check conformance of
constructor element and the component.
(resolve_allocate_expr): Add expression to nullify the
constructor expression for allocatable components.
(resolve_transfer): Inhibit I/O of derived types with
allocatable components.
(resolve_fl_derived): Skip check of bounds of allocatable
components.
* trans-decl.c (gfc_get_symbol_decl): Add derived types
with allocatable components to deferred variable.
(gfc_trans_deferred_vars): Make calls for derived types
with allocatable components to gfc_trans_deferred_array.
(gfc_generate_function_code): Nullify allocatable
component function result on entry.
* parse.c (parse_derived): Set symbol attr.allocatable if
allocatable components are present.
* check.c (gfc_check_allocated): Enforce attr.allocatable
for intrinsic arguments.
(gfc_check_move_alloc): Check arguments of move_alloc.
* primary.c (gfc_variable_attr): Set allocatable attribute.
* intrinsic.texi : Add index entry and section for
for move_alloc.

PR fortran/29115
* resolve.c (resolve_structure_cons): It is an error if the
pointer component elements of a derived type constructor are
not pointer or target.

PR fortran/29211
* trans-stmt.c (generate_loop_for_temp_to_lhs,
generate_loop_for_rhs_to_temp): Provide a string length for
the temporary by copying that of the other side of the scalar
assignment.

2006-10-05  Paul Thomas  <pault@gcc.gnu.org>
    Erik Edelmann  <edelmann@gcc.gnu.org>

PR libgfortran/20541
* Makefile.in : Add move_alloc.
* intrinsics/move_alloc.c: New function.
* Makefile.am : Add move_alloc.

2006-10-05  Erik Edelmann  <edelmann@gcc.gnu.org>
    Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20541
* gfortran.dg/alloc_comp_basics_1.f90: New test.
* gfortran.dg/alloc_comp_basics_2.f90: New test.
* gfortran.dg/alloc_comp_assign_1.f90: New test.
* gfortran.dg/alloc_comp_assign_2.f90: New test.
* gfortran.dg/alloc_comp_assign_3.f90: New test.
* gfortran.dg/alloc_comp_assign_4.f90: New test.
* gfortran.dg/alloc_comp_constraint_1.f90: New test.
* gfortran.dg/alloc_comp_constraint_2.f90: New test.
* gfortran.dg/alloc_comp_constraint_3.f90: New test.
* gfortran.dg/alloc_comp_constructor_1.f90: New test.
* gfortran.dg/alloc_comp_constructor_2.f90: New test.
* gfortran.dg/alloc_comp_initializer_1.f90: New test.
* gfortran.dg/alloc_comp_std.f90: New test.
* gfortran.dg/move_alloc.f90: New test.

PR fortran/29115
* gfortran.dg/derived_constructor_comps_2.f90: New test.

PR fortran/29211
* gfortran.dg/forall_char_dependencies_1.f90: New test.

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

14 years agogcc/
rsandifo [Sun, 8 Oct 2006 14:33:22 +0000 (14:33 +0000)]
gcc/
* config/mips/mips.c (mips_legitimize_tls_address): Implement
all TLS models in the same way as local exec if !TARGET_ABICALLS.
Remove stray newline.

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

14 years ago PR libfortran/26540
fxcoudert [Sun, 8 Oct 2006 14:27:22 +0000 (14:27 +0000)]
PR libfortran/26540
* intrinsics/signal.c (signal_sub, signal_sub_int): Use intptr_t
if available to cast function pointers to int and back.
* configure.ac: Check for intptr_t.
* config.h.in: Regenerate.
* configure: Regenerate.

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

14 years ago PR fortran/28585
fxcoudert [Sun, 8 Oct 2006 13:21:42 +0000 (13:21 +0000)]
PR fortran/28585

* intrinsic.c (add_functions): Add new_line Fortran 2003 intrinsic.
* intrinsic.h: Add gfc_simplify_new_line and gfc_check_new_line
prototypes.
* check.c (gfc_check_new_line): New function.
* simplify.c (gfc_simplify_new_line): New function.
* intrinsic.texi: Document new_line intrinsic.

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

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

14 years agogcc/
rsandifo [Sun, 8 Oct 2006 07:56:53 +0000 (07:56 +0000)]
gcc/
* config/mips/mips.c (mips_classify_symbol): Do not return
SYMBOL_SMALL_DATA if SYMBOL_REF_WEAK.
(mips_in_small_data_p): Tweak comments.

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

14 years agogcc/
rsandifo [Sun, 8 Oct 2006 07:35:47 +0000 (07:35 +0000)]
gcc/
* config/mips/elf.h (HANDLE_PRAGMA_PUSH_POP): Define.

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

14 years ago2006-10-07 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 8 Oct 2006 01:13:03 +0000 (01:13 +0000)]
2006-10-07  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/28277 (partial: money_get bits)
* include/bits/locale_facets.tcc (money_get<>::do_get(iter_type,
iter_type, bool, ios_base&, ios_base::iostate&, string_type&)):
Avoid __builtin_alloca with no limit, do the work in place.

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

14 years ago * gcc.dg/builtins-config.h: Ensure we use -std=c99 on solaris2.
ghazi [Sun, 8 Oct 2006 00:48:26 +0000 (00:48 +0000)]
* gcc.dg/builtins-config.h: Ensure we use -std=c99 on solaris2.
* gcc.dg/torture/builtin-convert-1.c,
gcc.dg/torture/builtin-convert-2.c,
gcc.dg/torture/builtin-convert-3.c,
gcc.dg/torture/builtin-power-1.c: Use -std=c99 on solaris2.

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

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

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

14 years ago * gcc.dg/tree-ssa/bool-1.c, gcc.dg/tree-ssa/bool-2.c,
kazu [Sat, 7 Oct 2006 21:06:03 +0000 (21:06 +0000)]
* gcc.dg/tree-ssa/bool-1.c, gcc.dg/tree-ssa/bool-2.c,
gcc.dg/tree-ssa/bool-4.c, gcc.dg/tree-ssa/bool-5.c,
gcc.dg/tree-ssa/bool-6.c, gcc.dg/tree-ssa/bool-8.c,
gcc.dg/tree-ssa/bool-9.c: Fix comment typos.

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

14 years ago2006-10-07 Andrew Pinski <pinskia@gmail.com>
pinskia [Sat, 7 Oct 2006 17:37:50 +0000 (17:37 +0000)]
2006-10-07  Andrew Pinski  <pinskia@gmail.com>

        * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c:
        Xfail some tests for powerpc-darwin and powerpc-aix.

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

14 years ago PR c/29380
jakub [Sat, 7 Oct 2006 16:50:23 +0000 (16:50 +0000)]
PR c/29380
* gcc.dg/pr29330.c: Add -std=gnu99 to dg-options.

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

14 years ago PR target/29300
danglin [Sat, 7 Oct 2006 16:42:29 +0000 (16:42 +0000)]
PR target/29300
* gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
on hppa*-*-hpux*.

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

14 years ago PR target/29300
danglin [Sat, 7 Oct 2006 16:35:11 +0000 (16:35 +0000)]
PR target/29300
* inclhack.def (hpux_pthread_initializers): New hack.
* tests/base/sys/pthread.h: New file.

* fixincl.x: Regenerate.

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

14 years ago * gcc/fortran/intrinsic.c (add_functions): Add comments for
fxcoudert [Sat, 7 Oct 2006 13:49:35 +0000 (13:49 +0000)]
* gcc/fortran/intrinsic.c (add_functions): Add comments for
gfc_check_access_func and gfc_resolve_index_func.

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

14 years ago PR fortran/16580
fxcoudert [Sat, 7 Oct 2006 13:34:16 +0000 (13:34 +0000)]
PR fortran/16580
PR fortran/29288

* gcc/fortran/intrinsic.c (add_sym): Define the actual_ok when a
gfc_intrinsic_sym structure is filled.
(gfc_intrinsic_actual_ok): New function.
(add_sym_0s, add_sym_1s, add_sym_2s, add_sym_3s, add_sym_4s,
add_sym_5s): Intrinsic subroutines are not allowed as actual
arguments, so we remove argument actual_ok.
(add_functions): Correct the values for actual_ok of all intrinsics.
(add_subroutines): Remove the actual_ok argument, which was never used.
* gcc/fortran/intrinsic.h (gfc_intrinsic_actual_ok): New prototype.
* gcc/fortran/gfortran.h (gfc_resolve_index_func): New prototype.
* gcc/fortran/resolve.c (resolve_actual_arglist): Check whether
an intrinsic used as an argument list is allowed there.
* gcc/fortran/iresolve.c (gfc_resolve_index_func): New function.
(gfc_resolve_len): Change intrinsic function name to agree with
libgfortran.
* gcc/fortran/trans-decl.c (gfc_get_extern_function_decl): Add
new case, because some specific intrinsics take 3 arguments.
* gcc/fortran/intrinsic.texi: DIMAG is a GNU extension.

* libgfortran/Makefile.am: Add the new files to the build
process, and rules to build them.
* libgfortran/Makefile.in: Regenerate.
* libgfortran/m4/misc_specifics.m4: New file.
* libgfortran/m4/specific.m4: Add new special cases for function
with complex argument and real result, like abs_c* and aimag_c*.
* libgfortran/intrinsics/f2c_specifics.F90: Add specifics for
AIMAG, ASINH, ACOSH and ATANH.
* libgfortran/generated/_aimag_c4.F90: New file.
* libgfortran/generated/_aimag_c8.F90: New file.
* libgfortran/generated/_asinh_r10.F90: New file.
* libgfortran/generated/_acosh_r16.F90: New file.
* libgfortran/generated/_aimag_c10.F90: New file.
* libgfortran/generated/_atanh_r16.F90: New file.
* libgfortran/generated/_acosh_r4.F90: New file.
* libgfortran/generated/_acosh_r8.F90: New file.
* libgfortran/generated/_asinh_r4.F90: New file.
* libgfortran/generated/_asinh_r8.F90: New file.
* libgfortran/generated/_asinh_r16.F90: New file.
* libgfortran/generated/_atanh_r4.F90: New file.
* libgfortran/generated/_atanh_r8.F90: New file.
* libgfortran/generated/_acosh_r10.F90: New file.
* libgfortran/generated/misc_specifics.F90: New file.
* libgfortran/generated/_aimag_c16.F90: New file.
* libgfortran/generated/_atanh_r10.F90: New file.

* gcc/testsuite/gfortran.fortran-torture/execute/specifics.f90:
Add tests for using all possible intrinsics as actual arguments.
* gcc/testsuite/gfortran.dg/specifics_1.f90: Add tests for using
all possible intrinsics as actual arguments.
* gcc/testsuite/gfortran.dg/specifics_2.f90: New file.
* gcc/testsuite/gfortran.dg/specifics_3.f90: New file.

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

14 years ago * sched-int.h: Fix comment typos.
kazu [Sat, 7 Oct 2006 11:20:13 +0000 (11:20 +0000)]
* sched-int.h: Fix comment typos.

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

14 years ago * gimplify.c, sched-int.h: Fix comment typos.
kazu [Sat, 7 Oct 2006 11:07:14 +0000 (11:07 +0000)]
* gimplify.c, sched-int.h: Fix comment typos.

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

14 years agogcc/testsuite/
rsandifo [Sat, 7 Oct 2006 09:22:20 +0000 (09:22 +0000)]
gcc/testsuite/
* gcc.dg/debug/debug-1.c: Use -fno-if-conversion MIPS targets.
* gcc.dg/debug/debug-2.c: Likewise.

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

14 years ago2006-10-07 Ion Gaztanaga <igaztanaga@gmail.com>
paolo [Sat, 7 Oct 2006 08:20:35 +0000 (08:20 +0000)]
2006-10-07  Ion Gaztanaga  <igaztanaga@gmail.com>
    Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_tree.h (_Rb_tree<>::erase(const _Key&)): Don't
call std::distance unnecessarily.

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

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

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

14 years ago * gcc.c-torture/compile/sync-2.c: New test.
uros [Fri, 6 Oct 2006 22:24:04 +0000 (22:24 +0000)]
* gcc.c-torture/compile/sync-2.c: New test.

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

14 years ago* gfortran.dg/actual_array_substr_2.f90: Remove '\r's from
tobi [Fri, 6 Oct 2006 22:02:43 +0000 (22:02 +0000)]
* gfortran.dg/actual_array_substr_2.f90: Remove '\r's from
line endings.

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

14 years agoadd missed aprt of patch
tobi [Fri, 6 Oct 2006 21:50:18 +0000 (21:50 +0000)]
add missed aprt of patch

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

14 years ago2006-10-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
mkuvyrkov [Fri, 6 Oct 2006 21:49:07 +0000 (21:49 +0000)]
2006-10-06  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

* sched-int.h (IS_SPECULATION_CHECK_P, IS_SPECULATION_SIMPLE_CHECK_P):
New macros.
* sched-ebb.c (begin_schedule_ready): Use them.
* haifa-sched.c (schedule_insn, move_insn, try_ready,
add_to_speculative_block, create_check_block_twin, speculate_insn,
fix_jump_move, move_block_after_check): Ditto.
* sched-rgn.c (new_ready): Ditto.

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

14 years ago2006-10-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
mkuvyrkov [Fri, 6 Oct 2006 21:45:13 +0000 (21:45 +0000)]
2006-10-06  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

PR rtl-optimization/29128
* sched-int.h (IS_SPECULATION_BRANCHY_CHECK_P): New macro.
* sched-ebb.c (advance_target_bb): Use it to fix condition to
allow interblock movement of speculation checks.

* gcc.c-torture/compile/pr29128.c: New test.

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

14 years ago * gfortran.dg/actual_array_constructor_2.f90: Remove '\r's from
tobi [Fri, 6 Oct 2006 21:40:14 +0000 (21:40 +0000)]
    * gfortran.dg/actual_array_constructor_2.f90: Remove '\r's from
        line endings.

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