Commit Graph

42703 Commits

Author SHA1 Message Date
Mark Mitchell cace4f938d inclhack.def (windiss_math1): New fix.
* fixinc/inclhack.def (windiss_math1): New fix.
	(windiss_math2): Likewise.
	(windiss_valist): Likewise.
	* fixinc/fixincl.x: Regenerated.

From-SVN: r53267
2002-05-07 20:17:24 +00:00
Andreas Jaeger e2ff6ceeae genautomata.c (output_internal_min_issue_delay_func): Add ATTRIBUTE_UNUSED to avoid warning with empty dfa.
* genautomata.c (output_internal_min_issue_delay_func): Add
	ATTRIBUTE_UNUSED to avoid warning with empty dfa.
	(output_internal_trans_func): Likewise.

From-SVN: r53266
2002-05-07 21:07:46 +02:00
Tom Tromey 5d243e08b8 * java/lang/natString.cc (unintern): Fixed typo.
From-SVN: r53265
2002-05-07 19:07:07 +00:00
Mark Mitchell deae2ed9a8 configure.in (AC_TYPE_PID_T): Use it.
* configure.in (AC_TYPE_PID_T): Use it.
	* configure: Regenerated.
	* getruntime.c: Include <sys/types.h>.
	* waitpid.c: Likewise.  Use pid_t, not int, as the type of "pid".

From-SVN: r53264
2002-05-07 18:50:53 +00:00
Andreas Jaeger 2c7e9098fb * parse.y (finish_for_loop): Fix if statement.
From-SVN: r53263
2002-05-07 20:42:50 +02:00
Jeff Law bdad4be519 pa.c (hppa_profile_hook): Use force_reg to get the address of the profile hook into an appropriate pseudo...
* pa.c (hppa_profile_hook): Use force_reg to get the address
	of the profile hook into an appropriate pseudo register.

From-SVN: r53260
2002-05-07 11:03:37 -06:00
Jan Hubicka 18aed4ab20 * target.h (FFETARGET_32bit_longs): Undefine for x86-64.
From-SVN: r53259
2002-05-07 18:29:02 +02:00
Mark Mitchell a1ffecd9e2 sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
	(LINK_START_SPEC): Handle it.
	(LINK_OS_SPEC): Likewise.
	(CPP_SPEC): Likewise.
	(STARTFILE_SPEC): Likewise.
	(LIB_SPEC): Likewise.
	(ENDFILE_SPEC): Likewise.  Do not assume crtsavres.o is used on
	all platforms.
	(CRTSAVRES_DEFAULT_SPEC): New macro.
	(LIB_WINDISS_SPEC): New macro.
	(CPP_OS_WINDISS_SPEC): Likewise.
	(STARTFILE_WINDISS_SPEC): Likewise.
	(ENDFILE_WINDISS_SPEC): Likewise.
	(LINK_START_WINDISS_SPEC): Likewise.
	(LINK_OS_WINDISS_SPEC): Likewise.
	* config/rs6000/windiss.h: New file.

From-SVN: r53257
2002-05-07 14:42:29 +00:00
Aldy Hernandez df966bffc0 rs6000.c (bdesc_2arg): Fix vmax typos.
2002-05-07  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.

From-SVN: r53254
2002-05-07 08:04:31 +00:00
GCC Administrator ac8c66f3ce Daily bump.
From-SVN: r53253
2002-05-07 07:17:44 +00:00
Richard Henderson 818c0c9493 re PR c++/6212 (g++ testsuite EH regressions for irix6 -mabi=64)
PR c++/6212
        * expr.c (highest_pow2_factor_for_type): New.
        (expand_assignment): Use it.

From-SVN: r53249
2002-05-06 22:44:26 -07:00
Tom Tromey 486e8c0cd3 re PR java/5941 (incorrect "Unreachable statement" error)
Fix for PR java/5941:
	* parse.y (finish_for_loop): Set SUPPRESS_UNREACHABLE_ERROR for
	loop update expression.
	(java_complete_lhs): Use SUPPRESS_UNREACHABLE_ERROR.
	* java-tree.h (SUPPRESS_UNREACHABLE_ERROR): New macro.

From-SVN: r53247
2002-05-07 03:32:01 +00:00
Aldy Hernandez 61e0b50fd7 rs6000.md ("altivec_mtvscr"): Change to unspec_volatile.
2002-05-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
        unspec_volatile.
        ("altivec_mfvscr"): Same.

From-SVN: r53246
2002-05-07 02:48:06 +00:00
Janis Johnson 5a63e06940 rtl.h (struct rtx_def): Update comments.
* rtl.h (struct rtx_def): Update comments.
	(RTL_FLAG_CHECK[12345678]): New.  (rtl_check_failed_flag): Declare.
	(RTL_FLAG): New.  (CLEAR_RTX_FLAGS): New.  (flag access macros): Use
	RTL_FLAG_CHECK macros with list of expected RTL codes.
	* rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
	(rtl_check_failed_flag): New.
	* reload1.c (reload): Use REG macro before changing rtx to MEM.
	(reload_cse_noop_set_p): Check rtx code before using access macro.
	* config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
	before using access macro.

From-SVN: r53245
2002-05-07 00:18:48 +00:00
Janis Johnson 4afe395245 * doc/rtl.texi (Flags): Update to reflect current usage.
From-SVN: r53242
2002-05-06 23:33:10 +00:00
Roger Sayle 1f77b5da98 re PR rtl-optimization/3995 (i386 optimisation: joining tests)
PR opt/3995
	* fold-const.c (sign_bit_p): New function.
	(fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
        (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
	Reapply fold when converting (A & C) == C into (A & C) != 0.
	(fold_binary_op_with_conditional_arg): Fix typo in comment.

testsuite/
	* gcc.c-torture/execute/20020506-1.c: New test case.

From-SVN: r53241
2002-05-06 22:59:38 +00:00
Neil Booth a5a49440f7 c-common.c (warn_multichar): New.
* c-common.c (warn_multichar): New.
	(c_common_init): Set CPP's warn_multichar.
	* c-common.h (warn_multichar): New.
	* c-decl.c (warn_multichar): Remove.
	* c-lex.c (lex_charconst): Update.
	* c-tree.h (warn_multichar): Remove.
	* cppexp.c (eval_token): Sign-extend charconst value.
	* cppinit.c (cpp_create_reader): Set warn_multichar.
	* cpplex.c (cpp_interpret_charconst): Don't sign-extend
	each character.  Update prototype.  Sign-extend the result.
	* cpplib.h: Fix conditions.
	(struct cpp_options): Add new warning flag.
	(cpp_interpret_charconst): Update prototype.
cp:
	* Make-lang.in (decl2.o): Update.
	* cp-tree.h (warn_multichar): Remove.
	* decl2.c: Include c-common.h.
	(warn_multichar): Remove.
doc:
	* cpp.texi: Update documentation.
testsuite:
	* gcc.dg/cpp/charconst-3.c: Correct tests accordingly.

From-SVN: r53240
2002-05-06 22:53:10 +00:00
Tim Josling d7ee9f9fa7 Added Tim Josling to MAINTAINERS file.
Added Tim Josling to MAINTAINERS file. Fixed various treelang copyrights. Fix
broken treelang build resulting from changes to c-common.c.

From-SVN: r53239
2002-05-06 21:57:48 +00:00
David S. Miller 8d8563aeba sparc.md (shift insns): Do not mask off second operand...
2002-05-06  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (shift insns): Do not mask off
	second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
	take care of it.

From-SVN: r53238
2002-05-06 14:31:56 -07:00
Loren J. Rittle 97320a3f23 ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library.
* ltmain.sh: Detect and handle object name conflicts
	while piecewise linking a static library.

From-SVN: r53237
2002-05-06 21:26:49 +00:00
Paolo Carlini b562382902 Test all the facets for the temporary "C" locale switch issue.
2002-05-06  Paolo Carlini  <pcarlini@unitus.it>

	Test all the facets for the temporary "C" locale switch issue.
	* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
	* testsuite/22_locale/collate_members_char.cc: Add test04.
	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/ctype_members_char.cc: Add test05.
	* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
	* testsuite/22_locale/messages_members_char.cc: Add test03.
	* testsuite/22_locale/money_get_members_char.cc: Add test08.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/money_put_members_char.cc: Add test07.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/num_get_members_char.cc: Add test06.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/numpunct_members_char.cc: Add test03.
	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/time_get_members_char.cc: Add test08.
	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/time_put_members_char.cc: Add test04.
	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.

	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.

From-SVN: r53236
2002-05-06 21:12:15 +00:00
Vladimir Makarov 83e0be551c genautomata.c (form_the_same_automaton_unit_lists_from_regexp): Fix typo in usage of allof instead of unit.
2002-05-06  Vladimir Makarov  <vmakarov@redhat.com>

	* genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
	Fix typo in usage of allof instead of unit.

From-SVN: r53235
2002-05-06 20:14:32 +00:00
Richard Henderson 688ec71856 recog.c (if_test_bypass_p): Accept multiple set insns for OUT, and any jump or call for IN.
* recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
        and any jump or call for IN.

From-SVN: r53234
2002-05-06 13:08:30 -07:00
Bernd Schmidt f6536266dd Fix problems compiling xmmintrin.h with only -msse.
From-SVN: r53230
2002-05-06 18:17:08 +00:00
Roger Sayle 0316d49bf1 fold-const.c (lshift-double): Cast the high word to an unsigned HOST_WIDE_INT when...
* fold-const.c (lshift-double): Cast the high word to an unsigned
	HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
	(div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
	avoid compiler warning.  (fold): Remove redundant code from
	BIT_AND_EXPR as integer operands are canonicalized to be arg1.

From-SVN: r53228
2002-05-06 16:59:18 +00:00
Jeff Law 5d50fab314 pa-protos.h (hppa_fpstore_bypass_p): Declare.
* pa-protos.h (hppa_fpstore_bypass_p): Declare.
        * pa.c (pa_adjust_cost): Remove all true dependency cost
        adjustments.  Also remove support for non-DFA scheduling.
        * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
        to adjust true dependency costs.  Update various comments.
        (7100lc, 7200, 7300 scheduling): Simplify by combining the
        FP ALU & MPY units into a single unit.

From-SVN: r53227
2002-05-06 10:53:34 -06:00
Catherine Moore a17a104c21 (compute_register_save_size): Make sure
to count all of the registers that will be saved.

From-SVN: r53226
2002-05-06 12:41:48 -04:00
Jan Hubicka 7799175fd9 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
From-SVN: r53224
2002-05-06 16:07:03 +00:00
Kaveh R. Ghazi 567310ad7f os_defines.h (_SGI_SOURCE, [...]): Ensure they are always defined.
* config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
	__EXTENSIONS__): Ensure they are always defined.

From-SVN: r53216
2002-05-06 14:03:57 +00:00
Phil Edwards de20ab96b1 documentation.html: Fix broken link.
2002-05-06  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/documentation.html:  Fix broken link.

From-SVN: r53211
2002-05-06 11:43:56 +00:00
David Billinghurst 736a57deec libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.
2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>

	* testsuite/lib/libjava.exp (libjava_arguments): Don't link
	with -no-install on *-*-cygwin*.

From-SVN: r53210
2002-05-06 11:37:34 +00:00
Neil Booth adc502b4c5 * gcc.dg/cpp/charconst-3.c: Run, don't compile.
From-SVN: r53209
2002-05-06 08:34:57 +00:00
GCC Administrator aab0ae9150 Daily bump.
From-SVN: r53208
2002-05-06 07:16:59 +00:00
David S. Miller 0ac941a072 sparc.c (emit_soft_tfmode_libcall): Do not allow result to overlap input operands in memory.
2002-05-06  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
	allow result to overlap input operands in memory.

From-SVN: r53204
2002-05-06 00:09:21 -07:00
Neil Booth 95ff5d3fad cpp.texi: Update multichar charconst docs.
doc:
	* cpp.texi: Update multichar charconst docs.
testsuite:
	* gcc.dg/cpp/charconst-3.c: New test.

From-SVN: r53202
2002-05-05 23:45:06 +00:00
David Billinghurst 49f8e94b6b libjava.exp (test_libjava_from_source): Add comment explaining last patch.
2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>

	* testsuite/lib/libjava.exp (test_libjava_from_source):
	Add comment explaining last patch.

From-SVN: r53201
2002-05-05 23:19:06 +00:00
Neil Booth 639e8b0c74 cpplex.c (cpp_interpret_charconst): Sign-extend each character.
* cpplex.c (cpp_interpret_charconst): Sign-extend each
	character.  Don't ignore excess characters.  Treat
	multicharacter character constants as signed.
	(cpp_parse_escape): Clarify diagnostic.

From-SVN: r53200
2002-05-05 23:13:04 +00:00
Jakub Jelinek 84ea5bc107 sparc.md (ashlsi3): If shift count is const1_rtx, use add instead of shift.
2002-05-05  Jakub Jelinek  <jakub@redhat.com>

	* config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
	use add instead of shift.
	(ashldi3_sp64): Likewise.
	(ashlsi3_const1, ashldi3_const1): Remove.
	* config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
	* config/sparc/sparc.c (const1_operand): New.

From-SVN: r53199
2002-05-05 16:08:28 -07:00
Jason Thorpe 40cd22f223 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
From-SVN: r53198
2002-05-05 22:23:40 +00:00
Jakub Jelinek cac010762c re PR target/6561 (sparc-sun-solaris2.7 C testsuite failure w/-mcpu=ultrasparc in execute/950511-1.c)
PR target/6561
	* config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.

From-SVN: r53197
2002-05-06 00:08:54 +02:00
Richard Henderson 98791e3a3f alpha.c (alpha_adjust_cost): Remove everything but memory latency adjustments.
* config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
        memory latency adjustments.
        (alpha_variable_issue): Remove.
        (alpha_use_dfa_pipeline_interface): New.
        (alpha_multipass_dfa_lookahead): New.
        * config/alpha/alpha.md: Remove define_function_unit scheduling;
        include new dfa scheduling.
        (attr type): Add none.
        (blockage): Use it.
        * config/alpha/ev4.md: New.
        * config/alpha/ev5.md: New.
        * config/alpha/ev6.md: New.

From-SVN: r53196
2002-05-05 14:54:39 -07:00
David S. Miller 309527ce46 recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
2002-05-05  David S. Miller  <davem@redhat.com>

	* recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.

From-SVN: r53195
2002-05-05 14:51:04 -07:00
Jason Merrill e8400f6188 add PR id
From-SVN: r53194
2002-05-05 17:46:51 -04:00
Tim Josling 4aa5dcbfc2 Adding .csvignore.
From-SVN: r53192
2002-05-05 20:46:03 +00:00
Kazu Hirata 68252e2771 cse.c: Fix formatting.
* cse.c: Fix formatting.
	* emit-rtl.c: Likewise.

From-SVN: r53191
2002-05-05 20:03:36 +00:00
Alexandre Oliva b7c13625c7 configure.in (noconfigdirs): Don't disable libgcj on sparc64-*-solaris* and sparcv9-*-solaris*.
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.

From-SVN: r53190
2002-05-05 18:57:50 +00:00
Vladimir Makarov 30cc9d0061 genautomata.c (initiate_states): Add additional guard to initialize `units_array'.
2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>

	* genautomata.c (initiate_states): Add additional guard to
	initialize `units_array'.

From-SVN: r53188
2002-05-05 18:28:24 +00:00
Vladimir Makarov deb09eff2d genautomata.c (form_the_same_automaton_unit_lists_from_regexp, [...]): New prototypes and functions.
2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>

	* genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
	process_unit_to_form_the_same_automaton_unit_lists,
	form_the_same_automaton_unit_lists
	check_unit_distributions_to_automata): New prototypes and
	functions.
	(check_automata): Rename it into `check_automata_insn_issues'.
	(unit_decl): New fields `the_same_automaton_unit' and
	`the_same_automaton_message_reported_p'.
	(unit_decl_t): New typedef.
	(the_same_automaton_lists): New gloval variable.
	(unit_regexp, unit_set_el, units_array, units_cmp,
	output_get_cpu_unit_code_func): Use the typedef.
	(evaluate_max_reserv_cycles): Increment
	`description->max_insn_reserv_cycles'.
	(initiate_states): Don't increment `max_cycles_num'.
	(transform_insn_regexps): Move code around transformation of
	regexps from `generate'.
	(generate): Remove call of `transform_insn_regexps'.
	(expand_automata): Call `transform_insn_regexps' and
	`check_unit_distributions_to_automata'.  Check errors before
	`generate'.

	* config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
	automaton `ultrasparc3_1'.

From-SVN: r53187
2002-05-05 17:40:16 +00:00
Neil Booth 2443d4e110 c-common.c (c_common_init): Set up CPP arithmetic.
* c-common.c (c_common_init): Set up CPP arithmetic.
	* cppinit.c (cpp_create_reader): Default CPP arithmetic to
	something reasonable for the host.
	(sanity_checks): Add checks.
	(cpp_read_main_file): Call sanity_checks() from here...
	(cpp_post_options): ... not here.
	* cpplex.c (cpp_interpret_charconst): Get max_chars right.
	* cpplib.h (struct cpp_options): New member int_precision.
testsuite:
	* gcc.dg/cpp/charconst.c: Update tests.

From-SVN: r53186
2002-05-05 17:05:09 +00:00
Franz Sirl 791a949fb9 install.texi (powerpc-*-linux-gnu*): Update build requirements.
2002-05-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.

From-SVN: r53181
2002-05-05 11:38:51 +00:00