François-Xavier Coudert [Thu, 19 Oct 2006 21:48:50 +0000 (21:48 +0000)]
re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays)
PR libfortran/27895
* intrinsics/cshift0.c: Special cases for zero-sized arrays.
* intrinsics/pack_generic.c: Likewise.
* intrinsics/spread_generic.c: Likewise.
* gfortran.dg/zero_sized_1.f90: New test.
From-SVN: r117890
Eric Botcazou [Thu, 19 Oct 2006 20:22:04 +0000 (20:22 +0000)]
fold-const.c (add_double): Rename to add_double_with_sign.
* fold-const.c (add_double): Rename to add_double_with_sign.
Add 'unsigned_p' parameter and take it into account for the overflow.
(mul_double): Rename to mul_double_with_sign.
Add 'unsigned_p' parameter and take it into account for the overflow.
(fold_div_compare): Call add_double_with_sign instead of add_double
and mul_double_with_sign instead of mul_double, passing them the
unsignedness of the type.
* tree.h (add_double): Macroize.
(add_double_with_sign): New prototype.
(mul_double): Macroize.
(mul_double_with_sign): New prototype.
From-SVN: r117887
Chen Liqin [Thu, 19 Oct 2006 09:19:21 +0000 (09:19 +0000)]
invoke.texi (Score Options): New section.
* doc/invoke.texi (Score Options): New section.
* doc/md.texi (Score family): New section to document constraints.
* config/score/t-score-elf: Fix spelling typo.
* config/score/score.c: Add TARGET_DEFAULT_TARGET_FLAGS macro.
* config/score/score.h: Fix spelling typo.
* config/score/score-mdaux.c: Remove TARGET_NOPINDEX condition.
* config/score/score.opt: Remove -mnpi -mnuls -mSCORE5/5U -mSCORE7
options.
From-SVN: r117882
Nick Clifton [Thu, 19 Oct 2006 08:10:08 +0000 (08:10 +0000)]
Fix spelling typo in comment
From-SVN: r117880
Paul Thomas [Thu, 19 Oct 2006 04:51:14 +0000 (04:51 +0000)]
[multiple changes]
2006-10-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29216
PR fortran/29314
* gfortran.h : Add EXEC_INIT_ASSIGN.
* dump-parse-tree.c (gfc_show_code_node): The same.
* trans-openmp.c (gfc_trans_omp_array_reduction): Set new
argument for gfc_trans_assignment to false.
* trans-stmt.c (gfc_trans_forall_1): The same.
* trans-expr.c (gfc_conv_function_call, gfc_trans_assign,
gfc_trans_arrayfunc_assign, gfc_trans_assignment): The
same. In the latter function, use the new flag to stop
the checking of the lhs for deallocation.
(gfc_trans_init_assign): New function.
* trans-stmt.h : Add prototype for gfc_trans_init_assign.
* trans.c (gfc_trans_code): Implement EXEC_INIT_ASSIGN.
* trans.h : Add new boolean argument to the prototype of
gfc_trans_assignment.
* resolve.c (resolve_allocate_exp): Replace EXEC_ASSIGN by
EXEC_INIT_ASSIGN.
(resolve_code): EXEC_INIT_ASSIGN does not need resolution.
(apply_default_init): New function.
(resolve_symbol): Call it for derived types that become
defined but which do not already have an initialization
expression..
* st.c (gfc_free_statement): Include EXEC_INIT_ASSIGN.
2006-10-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29216
* gfortran.dg/result_default_init_1.f90: New test.
PR fortran/29314
* gfortran.dg/automatic_default_init_1.f90: New test.
* gfortran.dg/alloc_comp_basics_1.f90: Reduce deallocate count
from 38 to 33.
From-SVN: r117879
Tom Tromey [Thu, 19 Oct 2006 04:34:01 +0000 (04:34 +0000)]
* doc/install.texi (Prerequisites): Mention automake 1.9.6.
From-SVN: r117878
Joseph Myers [Thu, 19 Oct 2006 01:47:40 +0000 (02:47 +0100)]
* sv.po: Update.
From-SVN: r117875
GCC Administrator [Thu, 19 Oct 2006 00:17:15 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117873
Tom Tromey [Wed, 18 Oct 2006 23:17:04 +0000 (23:17 +0000)]
register2.java: New file.
* testsuite/libjava.jni/register2.java: New file.
* testsuite/libjava.jni/register2.out: New file.
* testsuite/libjava.jni/register2.c: New file.
* java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
* java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
* jni.cc (struct NativeMethodCacheEntry): New struct.
(nathash): Changed type.
(hash): Updated.
(nathash_find_slot): Likewise.
(nathash_find): Likewise.
(natrehash): Likewise.
(nathash_add): Likewise.
(_Jv_JNI_RegisterNatives): Likewise.
(_Jv_LookupJNIMethod): Likewise.
Idea from Juerg Lehni <juerg@scratchdisk.com>
Co-Authored-By: Bryce McKinlay <mckinlay@redhat.com>
From-SVN: r117867
Jerry DeLisle [Wed, 18 Oct 2006 23:13:33 +0000 (23:13 +0000)]
re PR fortran/29277 (Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms)
2006-10-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29277
* io/write.c (write_a): Add conversion of LF to CR-LF for systems with
#define HAVE_CRLF.
From-SVN: r117866
Jan Hubicka [Wed, 18 Oct 2006 21:39:52 +0000 (23:39 +0200)]
re PR middle-end/29299 (gcc "used" attribute has no effect on local-scope static variables)
PR middle-end/29299
* cfgexpand.c (expand_used_vars_for_block): Vars marked used by user
are used.
From-SVN: r117863
Geoffrey Keating [Wed, 18 Oct 2006 20:09:39 +0000 (20:09 +0000)]
eb133b.C: Add XFAILed error for 'using namespace std' without previous declaration.
* g++.old-deja/g++.robertl/eb133b.C: Add XFAILed error for
'using namespace std' without previous declaration.
* g++.old-deja/g++.robertl/eb133.C: Remove, exact dup of eb133b.C.
* g++.old-deja/g++.robertl/eb133c.C: New.
From-SVN: r117862
Marcin Dalecki [Wed, 18 Oct 2006 17:23:50 +0000 (19:23 +0200)]
omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of TSI_SAME_STMT, since that's the desired entity.
* omp-low.c (expand_parallel_call): Use BSI_SAME_STMT instead of
TSI_SAME_STMT, since that's the desired entity.
From-SVN: r117859
Tobias Burnus [Wed, 18 Oct 2006 17:19:23 +0000 (19:19 +0200)]
primary.c: Revert 'significand'-to-'significant' comment change.
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.
From-SVN: r117858
Tobias Burnus [Wed, 18 Oct 2006 17:17:49 +0000 (19:17 +0200)]
in_pack.m4: Fixed a typo.
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.
From-SVN: r117857
Mark Shinwell [Wed, 18 Oct 2006 10:57:18 +0000 (10:57 +0000)]
re PR c++/26884 (Misleading diagnostic for invalid array initializer)
PR c++/26884
* typeck2.c (digest_init): Raise error upon attempts to
initialize arrays with variables.
From-SVN: r117854
Jerry DeLisle [Wed, 18 Oct 2006 04:08:30 +0000 (04:08 +0000)]
re PR fortran/29277 (Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms)
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.
From-SVN: r117847
Jerry DeLisle [Wed, 18 Oct 2006 04:04:07 +0000 (04:04 +0000)]
re PR fortran/29277 (Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms)
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.
From-SVN: r117846
GCC Administrator [Wed, 18 Oct 2006 00:17:20 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117843
Lee Millward [Tue, 17 Oct 2006 23:22:14 +0000 (23:22 +0000)]
re PR c++/27952 (ICE with invalid virtual inheritance)
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.
From-SVN: r117839
Mark Mitchell [Tue, 17 Oct 2006 22:50:01 +0000 (22:50 +0000)]
parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Add comment.
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Add
comment.
From-SVN: r117836
Mark Mitchell [Tue, 17 Oct 2006 22:43:37 +0000 (22:43 +0000)]
re PR c++/28261 (ICE with enum in constructor definition)
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.
From-SVN: r117835
Mark Mitchell [Tue, 17 Oct 2006 22:35:29 +0000 (22:35 +0000)]
re PR c++/29039 (implicitly defined constructor for class with reference member)
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.
From-SVN: r117834
Mark Mitchell [Tue, 17 Oct 2006 22:25:35 +0000 (22:25 +0000)]
re PR c++/27270 (ICE in process_init_constructor_array, at cp/typeck2.c:788)
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.
From-SVN: r117832
Paolo Carlini [Tue, 17 Oct 2006 16:43:47 +0000 (16:43 +0000)]
locale_facets.tcc (money_get<>::__do_get(iter_type, iter_type, bool, ios_base&, ios_base::iostate&, double&), [...]): Tidy.
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.
From-SVN: r117828
Paolo Carlini [Tue, 17 Oct 2006 15:17:32 +0000 (15:17 +0000)]
re PR libstdc++/26020 (std::advance() isn't stable for floating point numbers)
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.
From-SVN: r117827
Wolfgang Gellerich [Tue, 17 Oct 2006 14:12:13 +0000 (14:12 +0000)]
contraints.md: New file.
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.
From-SVN: r117826
Benjamin Kosnik [Tue, 17 Oct 2006 12:53:40 +0000 (12:53 +0000)]
random.tcc: Fixup long line.
2006-10-17 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/random.tcc: Fixup long line.
From-SVN: r117825
Benjamin Kosnik [Tue, 17 Oct 2006 11:56:21 +0000 (11:56 +0000)]
re PR libstdc++/28514 (libstdc++ vs. anonymous namespaces)
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.
From-SVN: r117824
Richard Sandiford [Tue, 17 Oct 2006 07:03:49 +0000 (07:03 +0000)]
Add PR number to ChangeLog entry.
From-SVN: r117820
Andrew Pinski [Tue, 17 Oct 2006 07:02:39 +0000 (07:02 +0000)]
linux.h (SUBTARGET_CC1_SPEC): Override.
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.
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r117819
Brooks Moses [Tue, 17 Oct 2006 04:24:13 +0000 (04:24 +0000)]
Makefile.in: Add TEXI2PDF definition.
gcc/ada/
* Makefile.in: Add TEXI2PDF definition.
* Make-lang.in: Add "ada.pdf" target.
libada/
* Makefile.in: Add dummy "pdf" target.
From-SVN: r117818
Geoffrey Keating [Tue, 17 Oct 2006 04:12:59 +0000 (04:12 +0000)]
natevents.cc (env): Delete.
* 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.
From-SVN: r117817
Geoffrey Keating [Tue, 17 Oct 2006 03:59:43 +0000 (03:59 +0000)]
sysv4.h (DBX_REGISTER_NUMBER): Move to rs6000.h.
* 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.
From-SVN: r117816
Mark Mitchell [Tue, 17 Oct 2006 02:01:27 +0000 (02:01 +0000)]
re PR c++/27270 (ICE in process_init_constructor_array, at cp/typeck2.c:788)
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.
From-SVN: r117814
Paul Brook [Tue, 17 Oct 2006 01:04:27 +0000 (01:04 +0000)]
arm.c (arm_rtx_costs_1): Handle multiply-accumulate.
2006-10-17 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_rtx_costs_1): Handle multiply-accumulate.
From-SVN: r117809
Mike Stump [Tue, 17 Oct 2006 00:49:07 +0000 (00:49 +0000)]
Fix typo
From-SVN: r117808
GCC Administrator [Tue, 17 Oct 2006 00:17:13 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117806
Mark Mitchell [Mon, 16 Oct 2006 23:07:46 +0000 (23:07 +0000)]
re PR c++/29408 (parse error for valid code)
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.
From-SVN: r117800
Mark Mitchell [Mon, 16 Oct 2006 23:06:35 +0000 (23:06 +0000)]
re PR c++/29435 (seg fault with sizeof and templates)
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.
From-SVN: r117799
Mike Stump [Mon, 16 Oct 2006 23:06:26 +0000 (23:06 +0000)]
* doc/invoke.texi (Darwin Options): Document -mkernel.
From-SVN: r117798
Paul Thomas [Mon, 16 Oct 2006 22:29:46 +0000 (22:29 +0000)]
[multiple changes]
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.
From-SVN: r117797
David Daney [Mon, 16 Oct 2006 20:30:03 +0000 (20:30 +0000)]
* g++.dg/other/unused1.C : Match on '.ascii\t"name\000"' also.
From-SVN: r117796
Eric Christopher [Mon, 16 Oct 2006 20:07:46 +0000 (20:07 +0000)]
asm-4.c: Fix inline asm for darwin x86_64.
2006-10-16 Eric Christopher <echristo@apple.com>
* gcc.target/i386/asm-4.c: Fix inline asm for darwin
x86_64.
From-SVN: r117795
Brooks Moses [Mon, 16 Oct 2006 20:00:56 +0000 (20:00 +0000)]
contrib.texi, [...]: Standardize on "GNU Fortran" as the official name of the Fortran compiler.
* doc/contrib.texi, doc/install.texi, doc/standards.texi:
Standardize on "GNU Fortran" as the official name of the Fortran
compiler.
From-SVN: r117794
Mike Stump [Mon, 16 Oct 2006 19:53:29 +0000 (19:53 +0000)]
darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add -mkernel support.
* 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.
From-SVN: r117793
Brooks Moses [Mon, 16 Oct 2006 19:51:55 +0000 (19:51 +0000)]
sourcebuild.texi, [...]: Added mention of "make pdf" target, and Texinfo requirements for same.
* doc/sourcebuild.texi, doc/makefile.texi, doc/install.texi:
Added mention of "make pdf" target, and Texinfo requirements for
same.
From-SVN: r117792
DJ Delorie [Mon, 16 Oct 2006 19:41:47 +0000 (15:41 -0400)]
s390.c (s390_decompose_address): Allow symbol+offset into the GOT in case we need a subreg of the address.
* config/s390/s390.c (s390_decompose_address): Allow symbol+offset
into the GOT in case we need a subreg of the address.
From-SVN: r117791
Douglas Gregor [Mon, 16 Oct 2006 19:08:22 +0000 (19:08 +0000)]
Makefile.am (tr1_headers): Add new tuple_defs.h.
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.
From-SVN: r117790
Benjamin Kosnik [Mon, 16 Oct 2006 17:22:38 +0000 (17:22 +0000)]
PR libstdc++/29095 continued
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.
From-SVN: r117788
Mark Mitchell [Mon, 16 Oct 2006 17:02:07 +0000 (17:02 +0000)]
re PR c++/28211 (wrong linkage of template argument, diagnostic could be improved)
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.
From-SVN: r117787
Kaz Kojima [Mon, 16 Oct 2006 12:22:04 +0000 (21:22 +0900)]
io.c (gfc_match_close): Ensure that status is terminated by a NULL element.
* io.c (gfc_match_close): Ensure that status is terminated by
a NULL element.
From-SVN: r117785
Tobias Burnus [Mon, 16 Oct 2006 11:17:29 +0000 (13:17 +0200)]
trans-stmt.c: Fix a typo
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
From-SVN: r117781
Tobias Burnus [Mon, 16 Oct 2006 11:10:49 +0000 (13:10 +0200)]
MAINTAINERS (Write After Approval): Add myself.
2006-10-16 Tobias Burnus <burnus@net-b.de>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r117780
Jakub Jelinek [Mon, 16 Oct 2006 09:51:14 +0000 (11:51 +0200)]
basic_string.tcc (_Rep::_S_create): Call _M_set_sharable() for backwards compatibility.
* include/bits/basic_string.tcc (_Rep::_S_create): Call
_M_set_sharable() for backwards compatibility.
From-SVN: r117777
Richard Guenther [Mon, 16 Oct 2006 08:36:03 +0000 (08:36 +0000)]
re PR target/25519 (Intel (SSE/MMX) intrinsics should only be mentioned instead of the builtins)
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.
From-SVN: r117774
Chen Liqin [Mon, 16 Oct 2006 06:47:57 +0000 (06:47 +0000)]
configure.ac: Enable checking assembler dwarf2 support for score target.
* gcc/configure.ac: Enable checking assembler dwarf2 support for score
target.
* gcc/configure: Regenerate.
From-SVN: r117773
Ben Elliston [Mon, 16 Oct 2006 03:27:17 +0000 (03:27 +0000)]
config.guess: Import latest version.
* config.guess: Import latest version.
* config.sub: Likewise.
From-SVN: r117772
Tan Shengguo [Mon, 16 Oct 2006 02:13:06 +0000 (02:13 +0000)]
crti.asm: add pic support.
* 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.
From-SVN: r117771
John David Anglin [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...
* 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.
From-SVN: r117769
John David Anglin [Mon, 16 Oct 2006 01:05:51 +0000 (01:05 +0000)]
re PR middle-end/20491 (internal compiler error: in subreg_regno_offset, at rtlanal.c:3042)
PR middle-end/20491
gcc.dg/torture/asm-subreg-1.c: Skip on hppa*64*-*-*.
From-SVN: r117766
Steven G. Kargl [Mon, 16 Oct 2006 00:54:01 +0000 (00:54 +0000)]
re PR fortran/29403 ([4.1 only] print ('(a)') not working, print '(a) works)
2006-10-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/29403
* gfortran.dg/print_1.f90: New test.
From-SVN: r117765
Steven G. Kargl [Mon, 16 Oct 2006 00:51:46 +0000 (00:51 +0000)]
re PR fortran/29403 ([4.1 only] print ('(a)') not working, print '(a) works)
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.
From-SVN: r117764
GCC Administrator [Mon, 16 Oct 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117762
John David Anglin [Sun, 15 Oct 2006 23:05:31 +0000 (23:05 +0000)]
config.gcc (hppa*64*-*-hpux11*, [...]): Default to posix thread support.
* config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
posix thread support.
From-SVN: r117756
Jan Hubicka [Sun, 15 Oct 2006 19:46:26 +0000 (21:46 +0200)]
re PR middle-end/29241 ([non unit-at-a-time] ICE with always inline)
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.
From-SVN: r117753
Richard Biener [Sun, 15 Oct 2006 19:08:29 +0000 (19:08 +0000)]
cgraphunit.c: Fix goof in previous commit.
2006-10-15 Richard Guenther <rguenther@suse.de>
* cgraphunit.c: Fix goof in previous commit.
From-SVN: r117752
Eric Botcazou [Sun, 15 Oct 2006 17:16:36 +0000 (17:16 +0000)]
Cosmetic tweak to previous checkin.
From-SVN: r117751
Eric Botcazou [Sun, 15 Oct 2006 16:57:39 +0000 (18:57 +0200)]
re PR middle-end/29111 (FAIL: gcc.dg/torture/pr26565.c -O0 execution test)
PR middle-end/29111
* builtins.c (get_pointer_alignment): Return 0 if TER is not run.
Co-Authored-By: Andrew Pinski <pinskia@gmail.com>
Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r117750
Andrew Pinski [Sun, 15 Oct 2006 16:45:15 +0000 (09:45 -0700)]
Fix some whitespace issues in the changelog.
From-SVN: r117749
Andrew Pinski [Sun, 15 Oct 2006 16:40:53 +0000 (09:40 -0700)]
Fix some whitespace issues in the changelog.
From-SVN: r117748
David Edelsohn [Sun, 15 Oct 2006 16:21:14 +0000 (16:21 +0000)]
re PR target/29250 (internal compiler error: in extract_insn, at recog.c:2084)
PR middle-end/29250
* gcc.c-torture/compile/pr29250.c: New test.
From-SVN: r117747
Jan Hubicka [Sun, 15 Oct 2006 16:20:06 +0000 (16:20 +0000)]
re PR middle-end/29299 (gcc "used" attribute has no effect on local-scope static variables)
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.
From-SVN: r117746
Paolo Carlini [Sun, 15 Oct 2006 14:43:50 +0000 (14:43 +0000)]
istream.tcc (getline(basic_istream<>&, basic_string<>&)): Move...
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.
From-SVN: r117745
Bernhard Fischer [Sun, 15 Oct 2006 12:40:07 +0000 (14:40 +0200)]
final.c: Update Copyright year.
2006-10-15 Bernhard Fischer <aldot@gcc.gnu.org>
* final.c: Update Copyright year. Commentary typo fix. Fix whitespace
From-SVN: r117744
Bernhard Fischer [Sun, 15 Oct 2006 12:12:59 +0000 (14:12 +0200)]
re PR fortran/24767 (gfortran: -Wno-unused-label does not work properly)
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.
From-SVN: r117743
Geoffrey Keating [Sun, 15 Oct 2006 07:52:18 +0000 (07:52 +0000)]
make_exports.pl: Use -_ rather than --strip-underscores or --strip-underscore.
* scripts/make_exports.pl: Use -_ rather than --strip-underscores
or --strip-underscore.
From-SVN: r117742
Geoffrey Keating [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.
From-SVN: r117741
Tobias Burnus [Sun, 15 Oct 2006 06:32:42 +0000 (08:32 +0200)]
gfortran.texi: Add link to GFortran apps
2006-10-14 Tobias Burnus <burnus@net-b.de>
* gfortran.texi: Add link to GFortran apps
* intrinsic.texi: Updated documentation of ACCESS and CHMOD
From-SVN: r117740
GCC Administrator [Sun, 15 Oct 2006 00:17:17 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117738
Keith Seitz [Sat, 14 Oct 2006 20:11:12 +0000 (20:11 +0000)]
java-insns.h (enum java_code): Add op_breakpoint.
* 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.
From-SVN: r117734
Jerry DeLisle [Sat, 14 Oct 2006 15:06:34 +0000 (15:06 +0000)]
re PR fortran/19261 (continuation character illegal as first non-blank character in statement)
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.
From-SVN: r117733
Paul Thomas [Sat, 14 Oct 2006 13:09:56 +0000 (13:09 +0000)]
re PR fortran/29371 (Coredump when using -fbounds-check with pointer & nullify)
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.
From-SVN: r117732
Paolo Carlini [Sat, 14 Oct 2006 11:15:45 +0000 (11:15 +0000)]
index.html: Update.
2006-10-14 Paolo Carlini <pcarlini@suse.de>
* docs/html/faq/index.html: Update.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r117731
Paolo Carlini [Sat, 14 Oct 2006 10:25:35 +0000 (10:25 +0000)]
ostream.tcc (operator<<(basic_ostream<>&, const char*)): Further fix for throwing widen.
2006-10-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/ostream.tcc (operator<<(basic_ostream<>&,
const char*)): Further fix for throwing widen.
From-SVN: r117730
Paolo Carlini [Sat, 14 Oct 2006 09:51:32 +0000 (09:51 +0000)]
ostream.tcc (operator<<(basic_ostream<>&, const char*)): Fix thinko in change for libstdc++/28277, avoid memory leaks.
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.
From-SVN: r117729
Eric Botcazou [Sat, 14 Oct 2006 09:19:50 +0000 (11:19 +0200)]
pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too.
* gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
on Solaris 2.5.1 too.
From-SVN: r117728
Uros Bizjak [Sat, 14 Oct 2006 05:22:13 +0000 (07:22 +0200)]
* config/i386/athlon.md (athlon_fist): Add fisttp.
From-SVN: r117725
David Edelsohn [Sat, 14 Oct 2006 03:03:23 +0000 (03:03 +0000)]
re PR target/29250 (internal compiler error: in extract_insn, at recog.c:2084)
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.
Co-Authored-By: Ian Lance Taylor <ian@airs.com>
From-SVN: r117724
Kazu Hirata [Sat, 14 Oct 2006 01:55:31 +0000 (01:55 +0000)]
score.c, score.h: Fix comment typos.
* config/score/score.c, config/score/score.h: Fix comment
typos.
From-SVN: r117723
Kazu Hirata [Sat, 14 Oct 2006 01:48:07 +0000 (01:48 +0000)]
intrinsic.texi: Fix typos.
* intrinsic.texi: Fix typos.
* trans-array.c: Fix a comment typo.
From-SVN: r117722
Kaveh R. Ghazi [Sat, 14 Oct 2006 01:25:39 +0000 (01:25 +0000)]
re PR bootstrap/29402 (Parallel make fails with --disable-bootstrap)
PR bootstrap/29402
* Makefile.in (ALL_GTFILES_H): Use $(sort ...) instead of
shell pipeline.
From-SVN: r117721
GCC Administrator [Sat, 14 Oct 2006 00:17:16 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r117719
Paolo Carlini [Fri, 13 Oct 2006 22:46:58 +0000 (22:46 +0000)]
istream.tcc (operator>>(__istream_type& (*)(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)), operator>>(ios_base& (*)(ios_base&))): Move...
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.
From-SVN: r117715
Eric Christopher [Fri, 13 Oct 2006 21:42:36 +0000 (21:42 +0000)]
pr25993.c: Skip for darwin.
2006-10-13 Eric Christopher <echristo@apple.com>
* gcc.dg/pr25993.c: Skip for darwin.
From-SVN: r117713
Eric Christopher [Fri, 13 Oct 2006 21:41:48 +0000 (21:41 +0000)]
visibility-11.c: Skip for darwin.
2006-10-13 Eric Christopher <echristo@apple.com>
* gcc.dg/visibility-11.c: Skip for darwin.
From-SVN: r117712
Eric Christopher [Fri, 13 Oct 2006 21:37:12 +0000 (21:37 +0000)]
darwin-weakimport-1.c: Use -fno-asynchronous-unwind-tables.
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.
From-SVN: r117711
Eric Christopher [Fri, 13 Oct 2006 21:35:19 +0000 (21:35 +0000)]
darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2006-10-13 Eric Christopher <echristo@apple.com>
* config/darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
From-SVN: r117710
Carlos O'Donell [Fri, 13 Oct 2006 21:28:28 +0000 (21:28 +0000)]
revert: elfos.h (MAX_OFILE_ALIGNMENT): Default to largest alignment supported by 32-bit ELF.
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.
From-SVN: r117709
Eric Christopher [Fri, 13 Oct 2006 21:26:49 +0000 (21:26 +0000)]
darwin.c (darwin_emit_unwind_label): Strip name encoding.
2006-10-13 Eric Christopher <echristo@apple.com>
* config/darwin.c (darwin_emit_unwind_label): Strip
name encoding. Use DECL_ASSEMBLER_NAME_SET_P.
From-SVN: r117708