Tobias Burnus
8b6dba81f0
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
2006-10-18 19:17:49 +02:00
Mark Shinwell
8e76c2bf13
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
2006-10-18 10:57:18 +00:00
Jerry DeLisle
94d3995aa3
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
2006-10-18 04:08:30 +00:00
Jerry DeLisle
09861cbee6
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
2006-10-18 04:04:07 +00:00
GCC Administrator
6bc222ff74
Daily bump.
...
From-SVN: r117843
2006-10-18 00:17:20 +00:00
Lee Millward
72f8fc592b
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
2006-10-17 23:22:14 +00:00
Mark Mitchell
4ac6f4c5e6
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
2006-10-17 22:50:01 +00:00
Mark Mitchell
d19b84e94b
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
2006-10-17 22:43:37 +00:00
Mark Mitchell
c7b0e0273e
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
2006-10-17 22:35:29 +00:00
Mark Mitchell
05b22df961
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
2006-10-17 22:25:35 +00:00
Paolo Carlini
b3b3633323
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
2006-10-17 16:43:47 +00:00
Paolo Carlini
8f407473ac
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
2006-10-17 15:17:32 +00:00
Wolfgang Gellerich
cd8dc1f9b9
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
2006-10-17 14:12:13 +00:00
Benjamin Kosnik
4d79381119
random.tcc: Fixup long line.
...
2006-10-17 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/random.tcc: Fixup long line.
From-SVN: r117825
2006-10-17 12:53:40 +00:00
Benjamin Kosnik
46db415941
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
2006-10-17 11:56:21 +00:00
Richard Sandiford
e4fd3c8441
Add PR number to ChangeLog entry.
...
From-SVN: r117820
2006-10-17 07:03:49 +00:00
Andrew Pinski
120311ec90
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
2006-10-17 07:02:39 +00:00
Brooks Moses
a838492866
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
2006-10-16 21:24:13 -07:00
Geoffrey Keating
8829ef30e4
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
2006-10-17 04:12:59 +00:00
Geoffrey Keating
ed1cf8ff80
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
2006-10-17 03:59:43 +00:00
Mark Mitchell
fb8549a1d7
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
2006-10-17 02:01:27 +00:00
Paul Brook
26da58ddfa
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
2006-10-17 01:04:27 +00:00
Mike Stump
b5d713b9b0
Fix typo
...
From-SVN: r117808
2006-10-17 00:49:07 +00:00
GCC Administrator
c2110be77b
Daily bump.
...
From-SVN: r117806
2006-10-17 00:17:13 +00:00
Mark Mitchell
2186444501
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
2006-10-16 23:07:46 +00:00
Mark Mitchell
b4c74ba243
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
2006-10-16 23:06:35 +00:00
Mike Stump
571640241c
* doc/invoke.texi (Darwin Options): Document -mkernel.
...
From-SVN: r117798
2006-10-16 23:06:26 +00:00
Paul Thomas
5b440a1cf4
[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
2006-10-16 22:29:46 +00:00
David Daney
f2523ab3c4
* g++.dg/other/unused1.C : Match on '.ascii\t"name\000"' also.
...
From-SVN: r117796
2006-10-16 20:30:03 +00:00
Eric Christopher
7da35c0f68
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
2006-10-16 20:07:46 +00:00
Brooks Moses
9292251252
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
2006-10-16 13:00:56 -07:00
Mike Stump
f475fd3c9e
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
2006-10-16 19:53:29 +00:00
Brooks Moses
cc5c274102
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
2006-10-16 12:51:55 -07:00
DJ Delorie
0c6385dccb
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
2006-10-16 15:41:47 -04:00
Douglas Gregor
499c96f56b
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
2006-10-16 19:08:22 +00:00
Benjamin Kosnik
5f90c88f61
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
2006-10-16 17:22:38 +00:00
Mark Mitchell
1082fd1084
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
2006-10-16 17:02:07 +00:00
Kaz Kojima
0573fa421a
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
2006-10-16 12:22:04 +00:00
Tobias Burnus
fa9516946c
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
2006-10-16 13:17:29 +02:00
Tobias Burnus
018c8d88cb
MAINTAINERS (Write After Approval): Add myself.
...
2006-10-16 Tobias Burnus <burnus@net-b.de>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r117780
2006-10-16 13:10:49 +02:00
Jakub Jelinek
039f9e35a6
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
2006-10-16 11:51:14 +02:00
Richard Guenther
d7aa4788df
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
2006-10-16 08:36:03 +00:00
Chen Liqin
95e3c37e30
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
2006-10-16 06:47:57 +00:00
Ben Elliston
f6a1687efe
config.guess: Import latest version.
...
* config.guess: Import latest version.
* config.sub: Likewise.
From-SVN: r117772
2006-10-16 13:27:17 +10:00
Tan Shengguo
cf723ae82f
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
2006-10-16 02:13:06 +00:00
John David Anglin
c05b443868
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
2006-10-16 01:31:22 +00:00
John David Anglin
0e52074611
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
2006-10-16 01:05:51 +00:00
Steven G. Kargl
8e9f197690
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
2006-10-16 00:54:01 +00:00
Steven G. Kargl
ff2c6bbbc9
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
2006-10-16 00:51:46 +00:00
GCC Administrator
b9ebbf5454
Daily bump.
...
From-SVN: r117762
2006-10-16 00:17:19 +00:00