Commit Graph

43134 Commits

Author SHA1 Message Date
Andreas Schwab
c1ae3eb440 sysv4.h (DO_SELECT_SECTION): Factored out of SELECT_SECTION.
* config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
	SELECT_SECTION.
	(UNIQUE_SECTION): Define to get small data correctly.

From-SVN: r53450
2002-05-14 08:39:27 +00:00
Andreas Schwab
1b18fc2c4e varasm.c (resolve_unique_section): Add third parameter flag_function_or_data_sections and use it instead of...
* varasm.c (resolve_unique_section): Add third parameter
	flag_function_or_data_sections and use it instead of
	flag_function_sections.
	(assemble_start_function): Pass flag_function_sections.
	(asm_emit_uninitialised): Pass flag_data_sections.
	(assemble_variable): Likewise.

From-SVN: r53449
2002-05-14 08:35:59 +00:00
Richard Henderson
8ee41eaf16 i386.md: Use define_constants for unspec numbers.
* config/i386/i386.md: Use define_constants for unspec numbers.
        * config/i386/i386.c: Likewise.

From-SVN: r53448
2002-05-14 00:43:37 -07:00
GCC Administrator
3b7dcffac9 Daily bump.
From-SVN: r53447
2002-05-14 07:17:42 +00:00
Tom Tromey
e86c533b01 natRuntime.cc: Don't include sys/time.h and time.h.
* java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
	* java/util/natTimeZone.cc: Include sys/time.h and time.h here.
	Include platform.h.

From-SVN: r53443
2002-05-14 05:29:30 +00:00
Jeff Law
fe4b3c7996 flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
* flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
        Update prototype and callers.
        (propagate_one_insn): Stack pointer adjustments kill MEMs on
        the mem_set_list which reference the stack pointer, as do
        calls to constant functions as they may clobber outgoing
        argument space.

From-SVN: r53442
2002-05-13 22:15:57 -06:00
Mark Mitchell
c297b7649c inclhack.def (winidss_valist): Limit applicability.
* fixinc/inclhack.def (winidss_valist): Limit applicability.
	* fixinc/fixincl.x: Regenerated.
	* fixinc/tests/base/math.h: Update.
	* fixinc/tests/base/testing.h: Likewise.

From-SVN: r53441
2002-05-14 00:33:14 +00:00
Zack Weinberg
0b42c8f889 genattr.c (gen_attr): Don't emit a comma after the last enumerator.
* genattr.c (gen_attr): Don't emit a comma after the last
	enumerator.

From-SVN: r53440
2002-05-14 00:15:51 +00:00
Mark Mitchell
2f9a2cd769 jcf-write.c (write_classfile): Unlink the temporary file if it cannot be renamed.
* jcf-write.c (write_classfile): Unlink the temporary file if it
	cannot be renamed.  Use concat to build up the name of the
	temporary file

From-SVN: r53439
2002-05-14 00:04:54 +00:00
Richard Henderson
546c093ec5 cfgrtl.c (purge_dead_edges): Handle abnormal call edges created by non-local gotos.
* cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
        by non-local gotos.
        * recog.c (peephole2_optimize): Likewise.

From-SVN: r53438
2002-05-13 16:00:35 -07:00
Neil Booth
bde5348670 contrib.texi: Update my entry.
* doc/contrib.texi: Update my entry.
	* wwwdocs/htdocs/bugs.html: Update.

From-SVN: r53437
2002-05-13 22:04:30 +00:00
Nathanael Nerode
4a87f0613c * configure.in: simplify makefile fragment collection.
From-SVN: r53436
2002-05-13 17:18:59 -04:00
Nathanael Nerode
603606e740 * configure.in: remove code to build emacs.
From-SVN: r53435
2002-05-13 17:16:48 -04:00
Nathanael Nerode
a31726dc6d mh-apollo68: remove unused HDEFINES setting.
* mh-apollo68: remove unused HDEFINES setting.
* mh-dgux: remove unused HDEFINES setting.
* mh-dgux386: remove unused HDEFINES setting, duplicate RANLIB=true

From-SVN: r53434
2002-05-13 17:14:13 -04:00
Nathanael Nerode
e254d6b515 configure.in: Remove --srcdir argument from targargs and buildargs (it's always overridden in...
* configure.in : Remove --srcdir argument from targargs and buildargs
(it's always overridden in the Makefile anyway).  Rearrange a bit.

From-SVN: r53433
2002-05-13 17:11:55 -04:00
Nathanael Nerode
6cdef75d09 configure: move some logic to configure.in
* configure: move some logic to configure.in
* configure.in: move some logic from configure

From-SVN: r53432
2002-05-13 16:55:30 -04:00
Andris Pavenis
85be8c2de8 cppfiles.c (open_file): Change mode (DJGPP only) of redirected input to O_BINARY.
* cppfiles.c (open_file): Change mode (DJGPP only) of redirected
	input to O_BINARY.

From-SVN: r53431
2002-05-13 20:28:28 +00:00
Andreas Tobler
859f7aaf41 ffi_darwin.c (ffi_prep_closure): Declare fd at beginning of function (for older apple cc).
2002-05-13  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
        beginning of function (for older apple cc).

From-SVN: r53430
2002-05-13 16:19:10 -04:00
Tom Tromey
8639786815 re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)
Fixes PR libgcj/6389:
	* Makefile.in: Rebuilt.
	* Makefile.am (nat_source_files): Added natTimeZone.cc.
	* java/util/natTimeZone.cc: New file.
	* java/util/TimeZone.java (getDefaultTimeZoneId): New method.
	* java/lang/System.java: Merged with Classpath.
	* java/lang/Runtime.java: Merged with Classpath.
	* java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
	security check.
	(setIn0): Renamed from setIn; don't run security check.
	(setOut0): Renamed from setOut; don't run security check.
	(file_encoding, getpwuid_adaptor, getSystemTimeZone,
	init_properties): Moved to natRuntime.cc.
	Moved many includes to natRuntime.cc.
	(isWordsBigEndian): New method.
	* java/lang/natRuntime.cc: Include Long.h, also other includes
	previously in natSystem.cc.
	(maxMemory): New function.
	(exitInternal): Renamed from `_exit'.
	(exit): Removed.
	(init): Don't set finalize_on_exit.
	(exitInternal): Use `finalizeOnExit'.
	(file_encoding, getpwuid_adaptor): New functions from
	natSystem.cc.
	(insertSystemProperties): New method, renamed from
	System::init_properties.  Don't set user.timezone.
	(_load): Don't call checkLink.
	(execInternal): New method.
	(availableProcessors): Likewise.
	(nativeGetLibname): Likewise.

From-SVN: r53429
2002-05-13 20:10:37 +00:00
Jeff Law
16133d0058 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
From-SVN: r53428
2002-05-13 14:03:26 -06:00
Jeff Law
765b8f90f4 i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
* i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
        (ia32_multipass_dfa_lookahead): New function.

From-SVN: r53427
2002-05-13 13:54:24 -06:00
Andreas Schwab
e4723404c1 * config.table: Use mh-x86pic also for x86-64.
From-SVN: r53426
2002-05-13 19:13:44 +00:00
Neil Booth
63826d5b39 gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
* gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
	(translate_options): Remove 'V'.
	(process_command): Similarly.
doc:
	* invoke.texi: Remove documentation of 'V'.

From-SVN: r53425
2002-05-13 19:10:16 +00:00
Benjamin Kosnik
15dee6bf0a ctype_scan_char.cc: Tweak.
2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/ctype_scan_char.cc: Tweak.
	* testsuite/22_locale/ctype_scan_wchar_t.cc: New.

	* docs/html/install.html: Fix.

From-SVN: r53424
2002-05-13 14:24:34 +00:00
Benjamin Kosnik
540f5c9b2d 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc
	(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
	try/catch blocks.
	* src/localename.cc (locale::_Impl::_M_install_facet): Same.

	* docs/html/install.html: Tweak, add bits about required locales
	for the 22_locale tests when using the gnu model.

	* testsuite/27_io/istream_sentry.cc: Tweak.

From-SVN: r53423
2002-05-13 13:58:00 +00:00
Kaveh R. Ghazi
a8b432f4de ctype_inline.h (scan_is, scan_not): Fix typo, use this->is() rather than manually (and perhaps incorrectly) inlining it.
* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
	Fix typo, use this->is() rather than manually (and perhaps
	incorrectly) inlining it.
	* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
	Likewise.
	* testsuite/22_locale/ctype_scan_char.cc: New file.

From-SVN: r53422
2002-05-13 13:52:08 +00:00
Ulrich Weigand
dcb41ced79 * config/s390/linux.h: Revert 2002-04-22 changes.
From-SVN: r53421
2002-05-13 12:33:24 +00:00
Paolo Carlini
165e03670b 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
Jakub Jelinek  <jakub@redhat.com>

	* testsuite/22_locale/money_get_members_char.cc
	(test01, test02, test04): Use the de_DE@euro named locale
	instead of de_DE to allow for an uniform behaviour with
	both old and Euro-era localedata; tweak some tests.
	* testsuite/22_locale/money_get_members_wchar_t.cc
	(test01, test02, test04): Likewise.
	* testsuite/22_locale/money_put_members_char.cc
	(test01, test02, test04): Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc
	(test01, test02, test04): Likewise.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r53420
2002-05-13 12:31:50 +00:00
Paolo Carlini
27b4d95a00 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/codecvt_members_char_char.cc
	(test03): Robustify wrt localedata.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
	* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
	* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
	* testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
	* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
	* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
	* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
	* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.

From-SVN: r53419
2002-05-13 10:58:14 +00:00
Scott Marks
8dfea4287f fr30.md: Only allow splits of immediate loads if the destination is a register.
2002-05-13  Scott Marks <SMarks@mobile-mind.com>
* config/fr30/fr30.md: Only allow splits of immediate loads if the destination
is a register.

From-SVN: r53418
2002-05-13 10:55:31 +00:00
Jason Merrill
aaec0464ee rtti.c (emit_tinfo_decl): Call import_export_decl.
* rtti.c (emit_tinfo_decl): Call import_export_decl.
        * decl2.c (import_export_decl): Set DECL_NOT_REALLY_EXTERN on
        tinfo decls by default.  Don't mess with the builtins.

From-SVN: r53417
2002-05-13 04:00:49 -04:00
Jason Merrill
f63ab95173 class.c (build_vtbl_ref_1): Use fixed_type_or_null.
* class.c (build_vtbl_ref_1): Use fixed_type_or_null.
        (fixed_type_or_null): See through reference vars.
        (build_base_path): Vtable contents are constant.
        * typeck.c (get_member_function_from_ptrfunc): Likewise.

        * rtti.c (emit_tinfo_decl): Call import_export_decl.
        * decl2.c (import_export_decl): Set DECL_NOT_REALLY_EXTERN on
        tinfo decls by default.  Don't mess with the builtins.

From-SVN: r53416
2002-05-13 04:00:48 -04:00
GCC Administrator
a1cb2d640d Daily bump.
From-SVN: r53415
2002-05-13 07:16:56 +00:00
Neil Booth
12a41c224d Makefile.in (c-common.o, cppinit.o): Update.
* Makefile.in (c-common.o, cppinit.o): Update.
	* c-common.c: Include except.h.
	(cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
	Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
	* cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
	* defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
	CPP_PREDEFINES): Handle here.
config:
	* alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
	alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
	alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
	TARGET_OS_CPP_BUILTINS.
	* alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
	(CPP_SPEC, EXTRA_SPECS): Update.
	(CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
	CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
	CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
	CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
	CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
doc:
	* tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
	(TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.

From-SVN: r53410
2002-05-13 05:57:38 +00:00
Zack Weinberg
5692c7bc60 emit-rtl.c (global_rtl): Update comment.
* emit-rtl.c (global_rtl): Update comment.
	(const_double_htab, const_double_htab_hash,
	const_double_htab_hash, lookup_const_double): New.
	(const_int_htab_hash, const_int_htab_eq): Remove const
	qualifiers, which cause tons of warnings with RTL checking on.
	(gen_rtx_CONST_DOUBLE): Deleted.
	(const_double_from_real_value): New function - bears some
	resemblance to the former immed_real_const_1.
	(immed_double_const): Moved here from varasm.c and
	simplified.
	(gen_rtx_REG): Make REGNO unsigned to squelch warnings.
	(gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
	(gen_rtx): Use immed_double_const.
	(init_emit_once): Initialize the const_double_htab.  Use
	REAL_VALUE_FROM_INT where possible.  Can now use
	CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
	* varasm.c (struct varasm_status): Remove x_const_double_chain.
	(const_double_chain, immed_real_const, clear_const_double_mem): Delete.
	(immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
	(init_varasm_status, mark_varasm_status): Don't touch
	x_const_double_chain.

	* output.h: Delete prototype for clear_const_double_mem.
	* real.h: Make REAL_VALUE_TYPE a macro again.  Remove leading
	'0' slot from all CONST_DOUBLE_FORMAT definitions.  Prototype
	const_double_from_real_value, not immed_real_const_1, and use
	it to define CONST_DOUBLE_FROM_REAL_VALUE.  Define new macro
	CONST_DOUBLE_ATOF.
	* rtl.h (CONST_DOUBLE_CHAIN): Kill.
	(CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
	(gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
	(gen_rtx_REG): Second arg is unsigned.

	* gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
	(excluded_rtx): New, return true for CONST_DOUBLE.
	(genmacro): Write nothing for excluded codes.
	* combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
	* expr.c (expand_expr): Likewise.
	* ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
	CONST_DOUBLE_CHAIN.
	* toplev.c (rest_of_compilation): Don't call
	clear_const_double_mem.

	* config/rs6000/rs6000.c (rs6000_float_const): Delete.
	(rs6000_hash_constant): Remove CONST_DOUBLE special case.
	(toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
	* config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
	* config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
	* config/dsp16xx/dsp16xx.md, config/mips/mips.md,
	config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
	* config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.

From-SVN: r53409
2002-05-13 04:50:20 +00:00
Kaveh R. Ghazi
31397a7b64 os_defines.h: Revert 2002-05-06 change.
libstdc++-v3:
	* config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
	change.

gcc:
	* mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.

From-SVN: r53408
2002-05-13 02:52:47 +00:00
David S. Miller
e2f7514753 conversion.c (ldnear): Use long double types.
2002-05-12  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/conversion.c (ldnear): Use long double
	types.

From-SVN: r53407
2002-05-12 19:24:12 -07:00
Tom Tromey
1b70d38ab5 * tree.h (copy_node): Don't mention TREE_PERMANENT.
From-SVN: r53404
2002-05-12 21:42:00 +00:00
Zack Weinberg
9a5834ae8d gensupport.c (n_comma_elts): Moved here from genattrtab.c.
* gensupport.c (n_comma_elts): Moved here from genattrtab.c.
	(scan_comma_elt): New function.  Accepts whitespace in comma lists.
	* gensupport.h: Prototype new routines.
	* genattr.c (gen_attr): Use scan_comma_elt.  Avoid unnecessary
	use of printf.
	* genattrtab.c (n_comma_elts): Moved to gensupport.c.
	(next_comma_elt): Use scan_comma_elt.

	* config/i386/i386.md: Use new attribute notation to break up
	long lines in define_attr forms.

From-SVN: r53403
2002-05-12 18:43:33 +00:00
Jason Merrill
0d08ea488f cp-lang.c (ok_to_generate_alias_set_for_type): Backend-created structs are safe.
* cp-lang.c (ok_to_generate_alias_set_for_type): Backend-created
        structs are safe.

From-SVN: r53402
2002-05-12 13:29:05 -04:00
Richard Henderson
51286de650 expr.c (compress_float_constant): New.
* expr.c (compress_float_constant): New.
        (emit_move_insn): Use it.
        (float_extend_from_mem): New.
        (init_expr_once): Initialize it.
        * real.c (exact_real_truncate): New.

        * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
        dropped into memory; penalize for size.
        (RTX_COSTS): FLOAT_EXTEND is free.
        * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
        extenddfxf2, extenddftf2): Accept constants and drop them to memory.

From-SVN: r53401
2002-05-12 10:09:24 -07:00
Richard Henderson
6412341ec9 profile.h (profile_info): Add missing extern to declaration.
* profile.h (profile_info): Add missing extern to declaration.
        * profile.c (profile_info): Define it.

From-SVN: r53400
2002-05-12 10:03:35 -07:00
Marek Michalkiewicz
e4447d94d9 *** empty log message ***
From-SVN: r53399
2002-05-12 16:08:25 +00:00
Jason Merrill
4cb325fdb0 * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.
From-SVN: r53397
2002-05-12 05:25:45 -04:00
GCC Administrator
f0d61a79be Daily bump.
From-SVN: r53396
2002-05-12 07:17:34 +00:00
Tom Tromey
1d6006fe82 * MAINTAINERS: Reflect libgcj reality.
From-SVN: r53390
2002-05-12 01:42:30 +00:00
Mark Wielaard
c1acbb7a35 SentenceBreakIterator.java (next): Skip all java white space characters.
* gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
	space characters.
	(previous_internal): Likewise.

From-SVN: r53389
2002-05-12 01:11:18 +00:00
John David Anglin
1f121cdbdd os_defines.h (__glibcpp_long_bits): Define to 64 for hppa 64-bit port.
* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
	to 64 for hppa 64-bit port.
	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.

From-SVN: r53388
2002-05-12 01:01:21 +00:00
John David Anglin
12877f09db pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers used for DImode and TImode.
* pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
	used for DImode and TImode.

From-SVN: r53387
2002-05-12 00:01:54 +00:00
Neil Booth
387f9e323b cpplex.c (_cpp_lex_direct): When in a directive at EOF fake a newline.
* cpplex.c (_cpp_lex_direct): When in a directive at EOF
	fake a newline.

From-SVN: r53386
2002-05-11 21:02:34 +00:00