Chen Liqin
93ef7c1f7e
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
2006-10-19 09:19:21 +00:00
Nick Clifton
afc0a4ba17
Fix spelling typo in comment
...
From-SVN: r117880
2006-10-19 08:10:08 +00:00
Paul Thomas
6b591ec0ba
[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
2006-10-19 04:51:14 +00:00
Tom Tromey
2d142abdf3
* doc/install.texi (Prerequisites): Mention automake 1.9.6.
...
From-SVN: r117878
2006-10-19 04:34:01 +00:00
Joseph Myers
96a5495d96
* sv.po: Update.
...
From-SVN: r117875
2006-10-19 02:47:40 +01:00
GCC Administrator
3a8132dc4a
Daily bump.
...
From-SVN: r117873
2006-10-19 00:17:15 +00:00
Tom Tromey
e7f7d23387
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
2006-10-18 23:17:04 +00:00
Jerry DeLisle
9e7fc6b946
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
2006-10-18 23:13:33 +00:00
Jan Hubicka
1368453c6a
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
2006-10-18 21:39:52 +00:00
Geoffrey Keating
c4c7fca31f
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
2006-10-18 20:09:39 +00:00
Marcin Dalecki
2174b86706
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
2006-10-18 19:23:50 +02:00
Tobias Burnus
02712c161f
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
2006-10-18 19:19:23 +02:00
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