Andreas Jaeger
4b5f402e2d
ffitest.c (main): Only use ffi_closures if those are supported.
...
* src/ffitest.c (main): Only use ffi_closures if those are
supported.
From-SVN: r61273
2003-01-14 10:50:48 +01:00
GCC Administrator
17fb1987d6
Daily bump.
...
From-SVN: r61272
2003-01-14 08:17:31 +00:00
Andreas Jaeger
2c531de1ba
Make-lang.in (treelang.install-info): Depend only on info files if BUILD_INFO is set.
...
* Make-lang.in (treelang.install-info): Depend only on info files
if BUILD_INFO is set. Fix install rules.
(treelang.): New.
From-SVN: r61264
2003-01-14 09:03:58 +01:00
Tom Tromey
7b5102af84
[multiple changes]
...
2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
* libffi/src/ffitest.c
add closure testcases
2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>
* libffi/src/powerpc/ffi.c
fix alignment bug for float (4 byte aligned iso 8 byte)
From-SVN: r61263
2003-01-14 05:15:21 +00:00
Benjamin Kosnik
8d59b23018
Renames, namespaces for testsuite utilities.
...
2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
Renames, namespaces for testsuite utilities.
* testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
(gnu_allocator_tracker): Rename to allocation_tracker.
(gnu_new_allocator): Rename to tracker_alloc.
(__set_testsuite_memlimit): Rename to set_memory_limits.
(gnu_assignment_operator): Rename to assignment_operator.
(gnu_destructor): Rename to destructor.
(gnu_copy_tracker): Rename to copy_tracker.
(gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
(run_tests_wrapped_locale): New.
(run_tests_wrapped_env): New.
* testsuite/testsuite_hooks.cc: Same.
(class locale_data): Add.
(class enviornment_variable): Add.
(class not_found): Add.
* testsuite/testsuite_allocator.h: Same.
* testsuite/testsuite_allocator.cc: Same.
* testsuite/23_containers/deque_ctor.cc
(test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
allocation_tracker.
Change gnu_new_allocator to tracker_alloc.
Change gnu_counting_struct to counter.
Change gnu_copy_tracker to copy_tracker.
Change gnu_copy_constructor to copy_constructor.
Change gnu_assignment_operator to assignment_operator.
Inject.
* testsuite/23_containers/vector_capacity.cc: Same.
* testsuite/23_containers/vector_ctor.cc (test01): Same.
* testsuite/23_containers/list_modifiers.cc: Change
gnu_copy_tracker to copy_tracker.
* testsuite/21_strings/ctor_copy_dtor.cc (main): Change
__set_testsuite_memlimit to set_memory_limits.
* testsuite/21_strings/insert.cc (main): Same.
* testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
* testsuite/27_io/streambuf.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-list-sourcefiles): Additionally handle files two and
three levels deeper in glob patterns.
From-SVN: r61261
2003-01-14 04:56:56 +00:00
Gabriel Dos Reis
fd371a93fb
timevar.def: define TV_NAME_LOOKUP.
...
* timevar.def: define TV_NAME_LOOKUP.
* timevar.c (timevar_pop): Be verbose when aborting.
From-SVN: r61260
2003-01-14 03:38:24 +00:00
Joern Rennecke
58b23af855
Add 2003 copyright notices for constraints string patch, also 2002 notice
...
for genoutput.c .
From-SVN: r61258
2003-01-13 21:37:13 +00:00
Andreas Schwab
dcd1c2b8fe
Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to $(parsedir), just move the temporary file at the end.
...
* Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
$(parsedir), just move the temporary file at the end.
($(parsedir)/gengtype-yacc.c): Likewise.
From-SVN: r61257
2003-01-13 20:37:28 +00:00
Alexandre Oliva
eb4b5f93f9
aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend ${ac_tool_prefix} to ADAC or CC.
...
* aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
${ac_tool_prefix} to ADAC or CC. Protect them from word
splitting.
* configure: Rebuilt.
From-SVN: r61254
2003-01-13 17:23:25 +00:00
Kaveh R. Ghazi
f783576821
gmon-sol2.c (moncontrol, [...]): Don't use PARAMS.
...
* config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
internal_mcount): Don't use PARAMS.
(monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
ISO C style.
(internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
From-SVN: r61253
2003-01-13 16:23:31 +00:00
Andreas Schwab
38a3dbbb30
sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type directive.
...
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
directive.
From-SVN: r61252
2003-01-13 15:38:58 +00:00
Kazu Hirata
98dc53e3af
h8300.md (*andsi3_lshift_n_sb): New.
...
* config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
(*iorsi3_and_lshiftrt_n_sb): Likewise.
From-SVN: r61251
2003-01-13 13:20:27 +00:00
Jason Merrill
c226b80339
re PR c++/8748 (ICE in cp_expr_size at cp/cp-lang.c: 307)
...
PR c++/8748
* class.c (build_base_path): Take the address before calling save_expr.
From-SVN: r61250
2003-01-13 04:16:21 -05:00
Jason Merrill
970684896d
call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if all the ambiguous conversions are bad.
...
* call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if
all the ambiguous conversions are bad.
From-SVN: r61249
2003-01-13 04:16:06 -05:00
Jason Merrill
e1dfc61b5b
class.c (maybe_warn_about_overly_private_class): Don't stop searching when we find a nonprivate method.
...
* class.c (maybe_warn_about_overly_private_class): Don't stop
searching when we find a nonprivate method.
From-SVN: r61248
2003-01-13 04:15:29 -05:00
Jason Merrill
f576dfc407
re PR c++/8748 (ICE in cp_expr_size at cp/cp-lang.c: 307)
...
PR c++/8748
* class.c (build_base_path): Take the address before calling save_expr.
* call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if
all the ambiguous conversions are bad.
* class.c (maybe_warn_about_overly_private_class): Don't stop
searching when we find a nonprivate method.
* typeck.c (build_class_member_access_expr): Use unary_complex_lvalue.
From-SVN: r61246
2003-01-13 04:14:47 -05:00
GCC Administrator
e308bc5ad3
Daily bump.
...
From-SVN: r61245
2003-01-13 08:17:46 +00:00
Tom Tromey
6b8c548930
re PR libgcj/9139 (mauve tests require installation)
...
Fix for PR libgcj/9139:
* lib/libjava.exp (find_javac): Put value of libgcj_jar into
return value when gcj is used.
* libjava.mauve/mauve.exp (test_mauve): Use libgcj_jar global.
From-SVN: r61237
2003-01-13 00:22:20 +00:00
Mark Mitchell
8fa1ad0e6a
re PR c++/9264 ([parser] ICE on invalid octal constant)
...
* cp-tree.h (get_arglist_len_in_bytes): Remove.
PR c++/9264
* parser.c (cp_parser_elaborated_type_specifier): Handle erroneous
typeame types more robustly.
PR c++/9172
* g++.dg/parse/typename1.C: New file.
From-SVN: r61236
2003-01-13 00:16:12 +00:00
Mark Mitchell
e8f2b18d0e
re PR c++/9264 ([parser] ICE on invalid octal constant)
...
PR c++/9264
* c-lex.c (c_lex): Set the token value to error_mark_node for
invalid numeric constants.
PR c++/9264
* g++.dg/parse/octal1.C: New file.
From-SVN: r61235
2003-01-13 00:14:59 +00:00
Kaveh R. Ghazi
70f8b89fd9
c-pch.c (asm_file_startpos): Change to `long'.
...
* c-pch.c (asm_file_startpos): Change to `long'.
(pch_init): Use ftell, not ftello.
(c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
Use `long' instead of `off_t'.
(c_common_read_pch): Likewise.
* ggc-common.c (gt_pch_save): Use long/ftell instead of
off_t/ftello.
From-SVN: r61233
2003-01-12 16:44:09 +00:00
GCC Administrator
ae6ccbe391
Daily bump.
...
From-SVN: r61229
2003-01-12 08:17:26 +00:00
Phil Edwards
3a9fdf3058
tables.html: Finished now.
...
2003-01-11 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/tables.html: Finished now.
* docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
* include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
comments.
* include/bits/deque.tcc, include/bits/stl_alloc.h,
include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
for 3.4 removal.
From-SVN: r61221
2003-01-12 02:56:50 +00:00
Kaveh R. Ghazi
b3504bc126
Make-lang.in (keyword.h): Pass "-L ANSI-C" to gperf.
...
* Make-lang.in (keyword.h): Pass "-L ANSI-C" to gperf.
* keyword.h: Regenerated.
From-SVN: r61220
2003-01-12 02:43:41 +00:00
Kaveh R. Ghazi
70b384b0c5
com.c (ffecom_convert_narrow_, [...]): Convert to ISO C style function definitions.
...
* com.c (ffecom_convert_narrow_, ffecom_convert_widen_,
pushdecl_top_level, storedecls, convert, delete_block,
insert_block, ffe_init, ffe_mark_addressable, poplevel,
ffe_print_identifier, pushdecl, pushlevel, set_block,
ffe_signed_or_unsigned_type, ffe_signed_type,
ffe_truthvalue_conversion, ffe_type_for_mode, ffe_type_for_size,
ffe_unsigned_type, append_include_chain, open_include_file,
read_filename_string, read_name_map): Convert to ISO C style function
definitions.
* parse.c (ffe_parse_file): Likewise.
* top.c (ffe_is_digit_string_): Likewise.
From-SVN: r61219
2003-01-12 02:32:39 +00:00
Kaveh R. Ghazi
0a2f0c5497
* All Files: Convert to ISO C style function definitions.
...
From-SVN: r61218
2003-01-12 02:14:56 +00:00
Alan Modra
8e37cba890
* expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
...
From-SVN: r61215
2003-01-12 09:13:12 +10:30
Richard Earnshaw
04f08c8ef9
* arm-protos.h (struct cpp_reader): Add declaration.
...
From-SVN: r61203
2003-01-11 12:19:46 +00:00
Jan Hubicka
a5cf80f095
re PR target/9068 ([x86] comisd & comiss constraints are incorrect)
...
PR target/9068
* i386.c (output_fp_compare): Fix typo.
From-SVN: r61199
2003-01-11 10:07:57 +00:00
Phil Edwards
15d2cb190e
parser.c: Fix comment typos.
...
2003-01-11 Phil Edwards <pme@gcc.gnu.org>
* parser.c: Fix comment typos.
From-SVN: r61198
2003-01-11 09:09:41 +00:00
GCC Administrator
2b95bca63e
Daily bump.
...
From-SVN: r61197
2003-01-11 08:17:18 +00:00
David Edelsohn
bbfb86aa04
* config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
...
From-SVN: r61190
2003-01-10 22:25:11 -05:00
Geoffrey Keating
3859c32a55
Makefile.in (parsedir): New variable.
...
* Makefile.in (parsedir): New variable.
(docobjdir): New variable.
(c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
gengtype-lex.c, gengtype-yacc.c): Use parsedir.
(info, cpp.info, gcc.info, gccint.info, gccinstall.info,
cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
Use docobjdir.
* objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
objc.maintainer-clean): Use parsedir.
From-SVN: r61189
2003-01-11 02:18:37 +00:00
Michael Koch
927818a598
2003-01-10 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(ch): Description added.
(remotePort): Initialize with -1.
(connect): Doesnt throws SocketException.
* java/net/MulticastSocket.java
(setInterface): Merge with Classpath.
* java/net/ServerSocket.java
(closed): New member variable.
(bind): Check if socket is closed.
(close): Close an associated channel too, set new value to closed.
(isBound): Reindented.
(isClosed): Implemented.
* java/net/Socket.java
(closed): New member variable.
(bind): Check if socket is closed.
(connect): Check if socket is closed.
(close): Close an associated channel too, set new value to closed.
(isClosed): Implemented.
From-SVN: r61185
2003-01-11 01:17:19 +00:00
Michael Koch
b1771c6ac2
2003-01-10 Michael Koch <konqueror@gmx.de>
...
* java/awt/DisplayMode.java
(equals): Fixed argument type and implementation.
From-SVN: r61184
2003-01-11 00:51:29 +00:00
Geoffrey Keating
63af3bd1a2
varasm.c (struct constant_descriptor_rtx): Remove unused `label' field.
...
* varasm.c (struct constant_descriptor_rtx): Remove unused
`label' field.
From-SVN: r61182
2003-01-11 00:47:36 +00:00
Geoffrey Keating
223b87b6ac
* toplev.c (documented_lang_options): Document -Winvalid-pch.
...
From-SVN: r61181
2003-01-11 00:45:47 +00:00
Danny Smith
67a7278d38
bf-ms-layout.c: Enable for cygwin and mingw32 targets.
...
* gcc.dg/bf-ms-layout.c: Enable for cygwin and mingw32 targets.
* gcc.dg/bf-no-ms-layout.c: Likewise.
* gcc.dg/bf-ms-attrib.c: Likewise.
From-SVN: r61180
2003-01-10 23:56:06 +00:00
Richard Henderson
fbadafbc20
alpha.h (NO_PROFILE_COUNTERS): Set.
...
* config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
From-SVN: r61179
2003-01-10 15:54:34 -08:00
Richard Henderson
ab5ecb014b
combine.c (make_compound_operation): Use SCALAR_INT_MODE_P, not INTEGRAL_MODE_P when widening extensions.
...
* combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
not INTEGRAL_MODE_P when widening extensions.
From-SVN: r61178
2003-01-10 15:36:17 -08:00
Jason Merrill
c3104d7532
new test
...
From-SVN: r61177
2003-01-10 18:34:44 -05:00
Richard Henderson
7f24e7c59c
* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
...
From-SVN: r61176
2003-01-10 15:07:53 -08:00
Mark Mitchell
99152b955c
Correct PR# in previous check-in.
...
From-SVN: r61175
2003-01-10 22:59:52 +00:00
Mark Mitchell
a6f6052ac4
re PR c++/9120 (miscompilation of function with references to undeclared objects and functions)
...
PR c++/9120
* parser.c (cp_parser_scope_through_which_access_occurs): Handle
an object_type which is not a class type.
PR c++/9120
* g++.dg/parse/dtor1.C: New file.
From-SVN: r61174
2003-01-10 22:57:04 +00:00
Geoffrey Keating
19cc0dd4ad
ggc-page.c (ggc_collect): Avoid overflow computing min_expand.
...
* ggc-page.c (ggc_collect): Avoid overflow computing
min_expand.
From-SVN: r61172
2003-01-10 22:32:00 +00:00
Geoffrey Keating
6dd05d08c4
Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
...
* Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
(RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes.
Remove calls.
* mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
From-SVN: r61171
2003-01-10 22:13:05 +00:00
Geoffrey Keating
3466b2921e
parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
...
* parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
(cp_parser_late_parsing_default_args): Likewise.
From-SVN: r61170
2003-01-10 22:05:02 +00:00
Jan Hubicka
5f1355ef38
ifcvt.c (noce_try_addcc): Do not call emit_conditional_add with weird operands.
...
Fri Jan 10 22:05:35 CET 2003 Jan Hubicka <jh@suse.cz>
* ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
with weird operands.
From-SVN: r61169
2003-01-10 21:28:24 +00:00
Loren J. Rittle
6787cc15f2
* test_summary (configflags): awk portability.
...
From-SVN: r61168
2003-01-10 21:12:39 +00:00
Nathanael Nerode
b2f29cd967
cfns.gperf: ANSIfy function declarations.
...
* cfns.gperf: ANSIfy function declarations.
* cfns.h: Regenerate.
* cp-tree.h: ANSIfy function declarations.
From-SVN: r61167
2003-01-10 20:49:29 +00:00