Commit Graph

47055 Commits

Author SHA1 Message Date
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
Mark Mitchell
2050a1bbac re PR c++/9128 (Typeid does not work on polymorphic classes)
PR c++/9128
	* g++.dg/rtti/typeid1.C: New file.

	PR c++/9153
	* g++.dg/parse/lookup1.C: New file.

	PR c++/9171
	* g++.dg/templ/spec5.C: New file.

	* cp-tree.h (reparse_absdcl_as_expr): Remove.
	(reparse_absdcl_as_casts): Likewise.
	(reparse_decl_as_expr): Likewise.
	(finish_decl_parsing): Likewise.
	* decl2.c (reparse_absdcl_as_expr): Remove.
	(reparse_absdcl_as_casts): Likewise.
	(repase_decl_as_expr): Likewise.
	(finish_decl_parsing): Likewise.

	PR c++/9128
	PR c++/9153
	PR c++/9171
	* parser.c (cp_parser_pre_parsed_nested_name_specifier): New
	function.
	(cp_parser_nested_name_specifier_opt): Correct the
	check_dependency_p false.
	(cp_parser_postfix_expression): Fix formatting.
	(cp_parser_decl_specifier_seq): Avoid looking for constructor
	declarators when possible.
	(cp_parser_template_id): Avoid performing name-lookup when
	possible.
	(cp_parser_class_head): Do not count specializations when counting
	levels of templates.
	(cp_parser_constructor_declarator_p): Return immediately if
	there's no chance that the tokens form a constructor declarator.
	* rtti.c (throw_bad_typeid): Add comment.  Do not return an
	expression with reference type.
	(get_tinfo_decl_dynamic): Do not return an expression with
	reference type.
	(build_typeid): Add comment.  Do not return an expression with
	reference type.
	* typeck.c (build_class_member_access_expr): Improve handling of
	conditionals and comma-expressions as objects.

From-SVN: r61166
2003-01-10 20:30:56 +00:00
Dale Johannesen
0cdca92b46 calls.c (load_register_parameters): Add is_sibcall, sibcall_failure parameters.
2003-01-10  Dale Johannesen <dalej@apple.com>
        * calls.c (load_register_parameters):  Add is_sibcall, sibcall_failure
        parameters.  Call check_sibcall_argument_overlap if indicated.
        (check_sibcall_argument_overlap):  Add mark_stored_args_map
        parameter.  Don't mark parameter area as clobbered if not set.
        (expand_call):  Adjust calls to above.

From-SVN: r61165
2003-01-10 19:49:09 +00:00
Nathanael Nerode
43a4a12b15 * parse.y (check_pkg_class_access): ANSIfy definition.
From-SVN: r61164
2003-01-10 19:23:30 +00:00
Kelley Cook
6cd656d0f5 configure.in (linker read-only and read-write section mixing): Squelch some assembler warnings.
* configure.in (linker read-only and read-write section mixing):
Squelch some assembler warnings.
* configure: Likewise.

From-SVN: r61163
2003-01-10 13:52:40 -05:00
Nathanael Nerode
45225759ed * decl.c (bad_specifiers): Fix parameter order error I introduced.
From-SVN: r61162
2003-01-10 18:43:53 +00:00
Nathanael Nerode
3dfabf6338 configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
	* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

From-SVN: r61161
2003-01-10 16:41:48 +00:00
Hartmut Penner
35082351bc * Change mcpu to mtune.
From-SVN: r61160
2003-01-10 15:22:53 +00:00
Hartmut Penner
be2c2a4be1 invoke.texi: Document -mtune, delete -mcpu option for S/390 and zSeries.
* doc/invoke.texi: Document -mtune, delete -mcpu
        option for S/390 and zSeries.
        * config/s390/s390.c (s390_tune_string) New variable.
        (s390_cpu_string) Delete variable.
        (override_options): Use s390_tune_string instead of
        s390_cpu_string.
        * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.

From-SVN: r61159
2003-01-10 15:17:15 +00:00
Kazu Hirata
1f45013893 * config/h8300/h8300.md (*iorsi3_ashift_31): New.
From-SVN: r61158
2003-01-10 15:02:01 +00:00
Josef Zlomek
7558f66e3d 20030110-1.c: New test.
* gcc.c-torture/compile/20030110-1.c: New test.
Test for http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00519.html

From-SVN: r61153
2003-01-10 13:54:08 +00:00
Josef Zlomek
d330ce1532 jump.c (next_nonnote_insn_in_loop): New function.
* jump.c (next_nonnote_insn_in_loop): New function.
	(copy_loop_headers): Use next_nonnote_insn_in_loop instead of
	next_nonnote_insn.
	(duplicate_loop_exit_test). Likewise.

From-SVN: r61150
2003-01-10 13:44:28 +00:00
GCC Administrator
ca3b903372 Daily bump.
From-SVN: r61147
2003-01-10 08:17:27 +00:00
Benjamin Kosnik
38a9323a83 configure.in: Revert.
2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in: Revert.
	* configure: Regenerate.

From-SVN: r61140
2003-01-10 04:51:48 +00:00
Kaveh Ghazi
d12689d201 missed from last checkin
From-SVN: r61139
2003-01-10 03:42:59 +00:00
Kaveh Ghazi
7048110fe1 decl.c, [...]: Don't cast return value of xmalloc et al.
* decl.c, parse-scan.y, parse.y: Don't cast return value of
	xmalloc et al.

From-SVN: r61138
2003-01-10 03:13:50 +00:00
Kaveh R. Ghazi
77d3109be2 * class.c, gjavah.c, parse.y, verify.c: Don't use PTR.
From-SVN: r61137
2003-01-10 03:04:41 +00:00
Geoffrey Keating
17211ab553 Merge from pch-branch.
From-SVN: r61136
2003-01-10 02:22:34 +00:00
Geoffrey Keating
5f7c78d8a4 ffi_darwin.c: Remove RCS version string.
* src/powerpc/ffi_darwin.c: Remove RCS version string.
	* src/powerpc/darwin.S: Remove RCS version string.

From-SVN: r61135
2003-01-10 00:01:32 +00:00
Michael Hayes
eb47a20599 c4x.c (c4x_naked_function_p): Rename from c4x_assembler_function_p.
* config/c4x/c4x.c (c4x_naked_function_p): Rename from
	c4x_assembler_function_p.
	(c4x_null_epilogue_p): Complement return value, all uses updated.
	(c4x_insert_attributes): Add naked.

From-SVN: r61134
2003-01-09 23:24:48 +00:00
Kaveh R. Ghazi
d2097937c5 * All Files: Remove PARAMS macro.
From-SVN: r61133
2003-01-09 23:16:56 +00:00
Vladimir Makarov
30028c8515 2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
Merging changes from itanium-sched-branch:

From-SVN: r61132
2003-01-09 23:15:34 +00:00
Kaveh R. Ghazi
6ff2fe3933 expr.c, [...]: Don't rely on the DEFUN', AND' or `__STDC__' macros.
* expr.c, gjavah.c, javaop.h, jcf-dump.c, jcf-io.c, jcf-reader.c,
	jcf-write.c, jcf.h, jv-scan.c: Don't rely on the `DEFUN', `AND' or
	`__STDC__' macros.

From-SVN: r61131
2003-01-09 23:13:02 +00:00
Kaveh R. Ghazi
b3339cf7a7 jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and VA_CLOSE.
* jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and
	VA_CLOSE.

From-SVN: r61129
2003-01-09 22:53:28 +00:00
Jan Hubicka
cb297538d0 * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.
From-SVN: r61128
2003-01-09 21:49:31 +00:00
Alexandre Oliva
cf53ae10de configure.in: Remove Makefile in build...
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

From-SVN: r61126
2003-01-09 20:44:53 +00:00
Paolo Carlini
3a6e2189f3 tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
2003-01-09  Paolo Carlini  <pcarlini@unitus.it>

	* doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.

From-SVN: r61124
2003-01-09 20:02:51 +00:00
Jakub Jelinek
ca5dd8b7e5 * decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.
From-SVN: r61121
2003-01-09 19:13:40 +01:00
J"orn Rennecke
9748887028 defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
* defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
	(EXTRA_ADDRESS_CONSTRAINT): Likewise.
	(CONSTRAINT_LEN): Provide default definition.
	(CONST_OK_FOR_CONSTRAINT_P): Likewise.
	(CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
	(EXTRA_CONSTRAINT_STR): Likewise.
	(REG_CLASS_FROM_CONSTRAINT): Define.
	* genoutput.c (check_constraint_len, constraint_len): New functions.
	(validate_insn_alternatives): Check CONSTRAINT_LEN for each
	constraint / modifier.
	(gen_insn): Call check_constraint_len.
	* local-alloc.c (block_alloc): Update to use new macros / pass
	second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
	* ra-build.c (handle_asm_insn): Likewise.
	* recog.c (asm_operand_ok, preprocess_constraints): Likewise.
	(constrain_operands, peep2_find_free_register): Likewise.
	* regclass.c (record_operand_costs, record_reg_classes): Likewise.
	* regmove.c (find_matches): Likewise.
	* reload.c (push_secondary_reload, find_reloads): Likewise.
	(alternative_allows_memconst): Likewise.
	* reload1.c (maybe_fix_stack_asms): Likewise.
	(reload_cse_simplify_operands): Likewise.
	* stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
	* doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
	(CONST_OK_FOR_CONSTRAINT_P): Likewise.
	(CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
	(EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
	* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.

From-SVN: r61119
2003-01-09 17:28:49 +00:00
J"orn Rennecke
e2c734c181 * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
From-SVN: r61118
2003-01-09 17:25:29 +00:00
Kazu Hirata
fc182093e6 h8300.md (*extzv_1_r_h8300): Correct the insn length.
* config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
	length.
	(*extzv_1_r_h8300hs): Likewise.
	(*extzv_1_r_inv_h8300): Likewise.
	(*extzv_1_r_inv_h8300hs): Likewise.

From-SVN: r61115
2003-01-09 14:59:01 +00:00
Kriang Lerdsuwanakij
0f399e5f9b pt.c (push_access_scope_real): Call push_to_top_level for function in namespace scope.
* pt.c (push_access_scope_real): Call push_to_top_level for
	function in namespace scope.
	(pop_access_scope): Call pop_from_top_level for function in
	namespace scope.

	* g++.dg/template/friend14.C: New test.

From-SVN: r61114
2003-01-09 13:55:46 +00:00
Jakub Jelinek
c456a45a19 * decl.c (start_decl): Don't set DECL_COMMON for __thread variables.
From-SVN: r61111
2003-01-09 14:27:49 +01:00
Kazu Hirata
3b1c9927ca * config/h8300/h8300.h (PREDICATE_CODES): New.
From-SVN: r61109
2003-01-09 13:19:58 +00:00