Commit Graph

33411 Commits

Author SHA1 Message Date
DJ Delorie 3e882897a0 Fix obvious bug in previous commit
From-SVN: r39248
2001-01-24 16:43:11 -05:00
DJ Delorie 1cac878554 combine.c (combine_simplify_rtx): If the modes are all VOIDmode, check the original operand's mode also.
* combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
check the original operand's mode also.
* simplify-rtx.c (simplify_ternary_operation): Ditto.

From-SVN: r39247
2001-01-24 16:10:06 -05:00
Joseph Myers cedd825f0f c-parse.in (cast_expr): Move compound literals from here ...
* c-parse.in (cast_expr): Move compound literals from here ...
	(primary): ... to here.  Use standard terminology "compound
	literal" instead of "constructor expression".

testsuite:
	* gcc.c-torture/compile/20010124-1.c: New test.

From-SVN: r39246
2001-01-24 20:41:49 +00:00
Alexandre Oliva 9bad11e125 ltmain.sh (TAG disable-shared, [...]): Make sure we keep at least one of build_libtool_libs or build_old_libs set to yes.
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
keep at least one of build_libtool_libs or build_old_libs set to
yes.

From-SVN: r39245
2001-01-24 20:08:50 +00:00
Joseph Myers 445c435a52 texi2pod.pl: Handle "\,".
contrib:
	* texi2pod.pl: Handle "\,".

gcc:
	* gcc.1, cpp.1: Regenerate.

From-SVN: r39244
2001-01-24 19:47:47 +00:00
Mark Mitchell c347e89206 atomicity.h (__compare_and_swap): Remove.
* config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
	(__always_swap): Likewise.

From-SVN: r39243
2001-01-24 19:19:26 +00:00
Alexandre Oliva 4cfc604201 calls.c (emit_library_call_value_1): Memory slot for pass-by-reference argument should have the mode of the argument...
* calls.c (emit_library_call_value_1): Memory slot for
pass-by-reference argument should have the mode of the argument,
not of the pointer to it.

From-SVN: r39242
2001-01-24 19:00:58 +00:00
Tom Tromey 597dba19e8 gcc.texi (G++ and GCC): Mention gcj manual.
* gcc.texi (G++ and GCC): Mention gcj manual.
	(Standards): Link to section of manual mentioning gcj/Java
	compatibility.

From-SVN: r39241
2001-01-24 18:47:35 +00:00
Jakub Jelinek 7855db7cb8 cppfiles.c (_cpp_read_file): Add to dependencies if requested.
* cppfiles.c (_cpp_read_file): Add to dependencies if requested.
	* cppinit.c (cpp_start_read): Remove deps_add_dep call.
	* tradcpp.c (main): Add -imacros or -include'd dependencies
	for -M*.
	* cpp.texi (-M, -MM): Document -M -include behaviour.

From-SVN: r39240
2001-01-24 19:44:40 +01:00
Roger Collins 6a40fc2b75 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
From-SVN: r39239
2001-01-24 18:40:46 +00:00
Tom Tromey 295504e3a7 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (c_source_files): Added sf_fabs.c.
	* java/lang/sf_fabs.c: New file.

From-SVN: r39238
2001-01-24 17:43:25 +00:00
Will Cohen 2f3fdc527d abi64.h (RETURN_IN_MEMORY): Always take into account whether registers are 32 bits or 64 bits in size.
2001-01-24  Will Cohen  <wcohen@redhat.com>

	* config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
	whether registers are 32 bits or 64 bits in size.

From-SVN: r39237
2001-01-24 14:01:26 +00:00
Ben Elliston a941b588e1 m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
2001-01-24  Ben Elliston  <bje@redhat.com>

	* config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.

From-SVN: r39236
2001-01-24 23:47:45 +11:00
Nathan Sidwell e5596aef62 missed in
missed in
        * call.c (add_builtin_candidate): Quote std properly, from
        previous change.
commit

From-SVN: r39235
2001-01-24 11:31:40 +00:00
Nathan Sidwell 4b2811e97e pt.c (tsubst_decl): Remove IN_DECL parameter.
cp:
	* pt.c (tsubst_decl): Remove IN_DECL parameter.
	(tsubst_arg_types): Check parameter is not void.
	(tsubst): Adjust tsubst_decl call.
testsuite:
	* g++.old-deja/g++.pt/spec38.C: New test.

From-SVN: r39234
2001-01-24 11:25:28 +00:00
Nathan Sidwell d8caf48e5c call.c (add_builtin_candidate): Quote std properly, from previous change.
cp:
	* call.c (add_builtin_candidate): Quote std properly, from
	previous change.

From-SVN: r39233
2001-01-24 11:21:29 +00:00
Richard Henderson 64b4ab5a18 alpha.md (builtin_longjmp_internal): New.
* config/alpha/alpha.md (builtin_longjmp_internal): New.
        (builtin_longjmp): Use it instead of emit_indirect_jump.

From-SVN: r39232
2001-01-24 01:00:02 -08:00
Jeff Law 28d0a4d8f7 Daily bump.
From-SVN: r39231
2001-01-24 01:45:12 -07:00
Alexandre Petit-Bianco 493d561d62 class.c (layout_class): Don't lay the superclass out if it's already being laid out.
2001-01-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (layout_class): Don't lay the superclass out if it's
	already being laid out.
	* jcf-parse.c (handle_innerclass_attribute): New function.
	(HANDLE_INNERCLASSES_ATTRIBUTE): Invoke
	handle_innerclasses_attribute.
	(jcf_parse): Don't load an innerclasses if it's already being
	laid out.
	* jcf-write.c (append_innerclass_attribute_entry): Static
	`anonymous_name' and its initialization deleted. `ocii' and `ini'
	to be zero for anonymous classes.

2001-01-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (set_constant_value): Set DECL_FIELD_FINAL_IUD if
	necessary.
	* jcf-parse.c (set_source_filename): Use
	MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC if necessary.

2001-01-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* expr.c (build_jni_stub): Set DECL_CONTEXT on `meth_var' so it
	gets a unique asm name.

2001-01-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-parse.c (HANDLE_END_METHODS): Nullify current_method.
	(HANDLE_START_FIELD): Invoke MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC
	if necessary.
	(HANDLE_SYNTHETIC_ATTRIBUTE): New macro.
	* jcf-reader.c (get_attribute): Handle `Synthetic' attribute.
	* parse.y (lookup_package_type_and_set_next): Deleted.
	(resolve_package): Removed unnecessary code.
	(find_applicable_accessible_methods_list): `finit$' can't be
 	inherited.
	* verify.c (pop_argument_types): Added missing prototype.

(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01812.html)

From-SVN: r39230
2001-01-24 00:08:36 -08:00
Kriang Lerdsuwanakij 0851111417 pt.c (check_explicit_specialization): Clone constructors and destructors.
* pt.c (check_explicit_specialization): Clone constructors and
	destructors.

	* g++.old-deja/g++.pt/spec33.C: Change from "Build don't link" to
	"Build don't run".

From-SVN: r39229
2001-01-24 07:06:07 +00:00
John David Anglin b0cc7919bf bb-reorder.c (make_reorder_chain_1): Handle case where jump edge goes to the same block as the fallthru edge.
* bb-reorder.c (make_reorder_chain_1): Handle case where
        jump edge goes to the same block as the fallthru edge.

From-SVN: r39228
2001-01-23 22:57:46 -07:00
Jim Wilson 0024a8041f Eliminate IA-64 compiler warnings.
* dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
	* frame.h (__ia64_personality_v1): Add prototype.
	* libgcc2.c (ia64_throw_helper): Change personality declaration to
	prototype form.  Add void * cast to first argument to personality
	call.
	...

From-SVN: r39227
2001-01-23 20:30:47 -08:00
Chris Demetriou 17fd8a87a4 exception_support.cc (__terminate_func): Remove declaration.
2001-01-23  Chris Demetriou  <cgd@broadcom.com>

        * libsupc++/exception_support.cc (__terminate_func): Remove
        declaration.
        (__terminate_func_ptr): New typedef.
        (__terminate, __terminate_set_func): New extern function
        prototypes.
        (std::terminate): Use __terminate function.
        (std::set_terminate): Use __terminate_set_func function.

From-SVN: r39226
2001-01-23 19:04:36 -08:00
Chris Demetriou 93982b798a exception.cc (__terminate_func): Remove declaration.
2001-01-23  Chris Demetriou  <cgd@broadcom.com>

        * exception.cc (__terminate_func): Remove declaration.
        (__terminate_func_ptr): New typedef.
        (__terminate, __terminate_set_func): New extern function
        prototypes.
        (std::terminate): Use __terminate function.
        (std::set_terminate): Use __terminate_set_func function.

From-SVN: r39225
2001-01-23 19:04:04 -08:00
Chris Demetriou 8a1894ac7b libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list of EH symbols.
2001-01-23  Chris Demetriou  <cgd@broadcom.com>

        * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
        of EH symbols.
        * libgcc2.c (__terminate_func): Make variable static.
        (__terminate_set_func): New function to set __terminate_func.
        * libgcc2.h (__terminate_func_ptr): New typedef.
        (__terminate_set_func): New function.

From-SVN: r39224
2001-01-23 19:03:12 -08:00
Alexandre Oliva 0006091ec2 ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.

From-SVN: r39223
2001-01-24 02:24:50 +00:00
Richard Henderson 240f9c2b13 flow.c (init_propagate_block_info): Don't consider unchanging memories for dead frame store elimination.
* flow.c (init_propagate_block_info): Don't consider unchanging
        memories for dead frame store elimination.

From-SVN: r39222
2001-01-23 18:23:54 -08:00
Richard Henderson fc9f395ad2 varasm.c (UNIQUE_SECTION): Move default implementation ...
* varasm.c (UNIQUE_SECTION): Move default implementation ...
        * defaults.h: ... here.

From-SVN: r39221
2001-01-23 18:23:23 -08:00
Franz Sirl 390dfcbe90 Fix date.
From-SVN: r39220
2001-01-24 00:48:03 +00:00
Franz Sirl a84593a614 20010123-1.c: New test.
2001-01-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * gcc.c-torture/execute/20010123-1.c: New test.

From-SVN: r39219
2001-01-24 00:45:42 +00:00
Franz Sirl 63b6e0696f Update copyright dates.
From-SVN: r39218
2001-01-24 00:07:32 +00:00
Michael Hayes 860b349991 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
From-SVN: r39217
2001-01-23 23:22:30 +00:00
Michael Sokolov f40ae7c1b1 ctime_.c: #include <sys/types.h> for time_t.
* libU77/ctime_.c: #include <sys/types.h> for time_t.
	* libU77/datetime_.c: Likewise.
	* libU77/fdate_.c: Likewise.
	* libU77/gmtime_.c: Likewise.
	* libU77/idate_.c: Likewise.
	* libU77/itime_.c: Likewise.
	* libU77/ltime_.c: Likewise.
	* libU77/sys_clock_.c: Likewise.
	* libU77/vxtidate_.c: Likewise.
	* libU77/vxttime_.c: Likewise.

From-SVN: r39216
2001-01-23 23:20:30 +00:00
Neil Booth 955dc84a48 * c-lex.c (lex_charconst): Fix typo: s/p/str.
From-SVN: r39215
2001-01-23 23:18:43 +00:00
Michael Sokolov 0d5d970bca com.c: Don't explicitly include any time headers...
* com.c: Don't explicitly include any time headers, the right ones are
	already included by proj.h.

From-SVN: r39214
2001-01-23 23:04:35 +00:00
Richard Henderson eff01bb615 varasm.c (UNIQUE_SECTION): Move default implementation ...
* varasm.c (UNIQUE_SECTION): Move default implementation ...
        * defaults.h: ... here.

From-SVN: r39213
2001-01-23 14:29:30 -08:00
Bryce McKinlay 7c01b2b5a8 configure.in: Enable libgcj on several additional platforms.
* configure.in: Enable libgcj on several additional platforms.

In gcc/java:
	* config-lang.in: Disable java by default.

From-SVN: r39212
2001-01-23 22:17:31 +00:00
Franz Sirl 608ab80216 rs6000.h (rs6000_return_addr): Move prototype from here...
2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * rs6000.h (rs6000_return_addr): Move prototype from here...
        * rs6000-protos.h (rs6000_return_addr): ...to here.
        (rs6000_init_expanders): Delete prototype.

From-SVN: r39211
2001-01-23 22:03:48 +00:00
Nick Clifton 371e300b1d Replace , with \, inside @gccoptlist macros.
Document %B and %j and %. and %v3 and %M and %{S*&T} spec switches.

From-SVN: r39210
2001-01-23 21:35:15 +00:00
Benjamin Kosnik 3637cfac02 configure.target: Just use os_include_dir always.
2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.target: Just use os_include_dir always.
	* configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
	Link atomicity files and ctype files here.
	* configure: Regenerate.
	* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
	(GLIBCPP_ENABLE_ATOMICITY): Remove.
	* aclocal.m4: Regenerate.

From-SVN: r39209
2001-01-23 20:58:23 +00:00
Tom Tromey 80261b56ed gcj.texi (Copying): New node.
* gcj.texi (Copying): New node.
	Added copyright information.

From-SVN: r39208
2001-01-23 20:09:17 +00:00
Herman A.J. ten Brugge 4a1f52a8d3 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
From-SVN: r39207
2001-01-23 19:31:08 +00:00
Chris Demetriou c933c209dd cpperror.c: Merge handlers of PEDWARN and WARNING.
* cpperror.c: Merge handlers of PEDWARN and WARNING.
        Have -Werror make pedantic warnings errors, like the
        rest of GCC.

Co-Authored-By: Neil Booth <neil@daikokuya.demon.co.uk>

From-SVN: r39206
2001-01-23 19:20:14 +00:00
Chris Demetriou c8f33f223b configure.in: Place definition of MULTISUBDIR in libsupc++/Makefile as is done for src/Makefile.
2001-01-23  Chris Demetriou  <cgd@broadcom.com>

        * configure.in: Place definition of MULTISUBDIR in
        libsupc++/Makefile as is done for src/Makefile.
        * configure: Regenerate.

From-SVN: r39205
2001-01-23 11:18:29 -08:00
Phil Edwards 3fb74b82af c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
2001-01-23  Phil Edwards  <pme@sources.redhat.com>

	* c-tree.texi (IDENTIFIER_LENGTH):  Fix typo.

From-SVN: r39204
2001-01-23 18:36:53 +00:00
Jakub Jelinek 96e60f0c1a integrate.h (struct inline_remap): Add compare_src, compare_mode.
* integrate.h (struct inline_remap): Add compare_src, compare_mode.
	* integrate.c (expand_inline_function): Initialize them.
	(subst_constants): If changing COMPARE so that both its arguments
	will be VOIDmode and the comparison mode will be lost, note
	compare_mode.  Use the recorded compare_mode to optimize
	IF_THEN_ELSE.

From-SVN: r39203
2001-01-23 19:36:06 +01:00
Michael Sokolov 909b968ecb * libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.
From-SVN: r39202
2001-01-23 18:35:56 +00:00
Jason Merrill 3f4907a608 dwarf2out.c (new_die): Use xcalloc.
* dwarf2out.c (new_die): Use xcalloc.
        (output_die): Abort rather than emit a local reference to offset 0.

From-SVN: r39201
2001-01-23 12:22:08 -05:00
Phil Edwards 9b8fd32cca acinclude.m4: Cosmetic changes only.
2001-01-23  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4:  Cosmetic changes only.
	* aclocal.m4:  Regenerated.
	* configure:  Regenerated.
	* configure.target:  Update documented list of changed variables.
	* docs/html/install.html:  Fix typo.
	* docs/html/20_util/howto.html:  More notes on auto_ptr.
	* docs/html/27_io/howto.html:  More notes on streabufs.
	* docs/html/faq/index.html:  Add rel_ops problem and mention the
	  DEC as(1) .subsection difficulty.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r39200
2001-01-23 17:02:28 +00:00
Andrew Haley 44f715c8ed libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy of a saved register; return NULL instead.
2001-01-17  Andrew Haley  <aph@redhat.com>

        * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
        of a saved register; return NULL instead.
        (copy_reg): Take a pointer to a source register rather than a
        frame_state.
        (next_stack_level): Remember the address in the stack frame of all
        saved registers.
        Use the saved register pointer array as the source of the CFA.
        (throw_helper): Rewrite.  Unwind once rather than twice and keep
        track of saved registers as we go.

From-SVN: r39199
2001-01-23 13:58:55 +00:00