gcc.git
22 years agoconfigure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD...
Alexandre Oliva [Wed, 8 May 2002 04:38:00 +0000 (04:38 +0000)]
configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.

* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.

From-SVN: r53278

22 years ago* toplev.c: Fix formatting.
Kazu Hirata [Wed, 8 May 2002 02:05:00 +0000 (02:05 +0000)]
* toplev.c: Fix formatting.

From-SVN: r53276

22 years agore PR java/1200 (gcjh -jni doesn't respect class hierarchy)
Tom Tromey [Wed, 8 May 2002 01:41:41 +0000 (01:41 +0000)]
re PR java/1200 (gcjh -jni doesn't respect class hierarchy)

Fix for PR java/1200:
* gjavah.c (throwable_p): New function.
(decode_signature_piece): Use it.  A `WeakReference' isn't the
same as a `jweak'.
Include hashtab.h.
(gcjh_streq): New function.

From-SVN: r53275

22 years agoAdd forgotten changelog entry.
David S. Miller [Wed, 8 May 2002 00:00:17 +0000 (17:00 -0700)]
Add forgotten changelog entry.

From-SVN: r53273

22 years agoconfig.in (ENABLE_RTL_FLAG_CHECKING): New.
Janis Johnson [Tue, 7 May 2002 22:52:19 +0000 (22:52 +0000)]
config.in (ENABLE_RTL_FLAG_CHECKING): New.

* config.in (ENABLE_RTL_FLAG_CHECKING): New.
* configure.in (ac_rtlflag_checking): New.
* doc/install.texi (--enable-checking): Document RTL flag checking.
* configure: Regenerated.

From-SVN: r53272

22 years agoc-common.c (c_common_init): Set options->unsigned_wchar.
Neil Booth [Tue, 7 May 2002 21:07:24 +0000 (21:07 +0000)]
c-common.c (c_common_init): Set options->unsigned_wchar.

* c-common.c (c_common_init): Set options->unsigned_wchar.
* cppinit.c (cpp_create_reader): Default unsigned_wchar,
group target dependencies.
(init_builtins, cpp_handle_option): Update.
* cpplex.c (cpp_interpret_charconst): Update.
* cpplib.h (struct cpp_options): Add unsigned_wchar, rename
signed_char to unsigned_char, group target dependencies.
* defaults.h (WCHAR_UNSIGNED): Remove.
* system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
config:
* freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
doc:
* tm.texi: Remove MAX_CHAR_TYPE_SIZE.

From-SVN: r53271

22 years agoconfigure.in: Add support for WindISS.
Mark Mitchell [Tue, 7 May 2002 20:43:10 +0000 (20:43 +0000)]
configure.in: Add support for WindISS.

* configure.in: Add support for WindISS.
* configure: Regenerated.
* configure.target: Add support for WindISS.
* config/os/windiss/bits/ctype_base.h: New file.
* config/os/windiss/bits/ctype_inline.h: Likewise.
* config/os/windiss/bits/ctype_noninline.h: Likewise.
* config/os/windiss/bits/os_defines.h: Likewise.

From-SVN: r53269

22 years ago*** empty log message ***
Mark Mitchell [Tue, 7 May 2002 20:26:01 +0000 (20:26 +0000)]
*** empty log message ***

From-SVN: r53268

22 years agoinclhack.def (windiss_math1): New fix.
Mark Mitchell [Tue, 7 May 2002 20:17:24 +0000 (20:17 +0000)]
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

22 years agogenautomata.c (output_internal_min_issue_delay_func): Add ATTRIBUTE_UNUSED to avoid...
Andreas Jaeger [Tue, 7 May 2002 19:07:46 +0000 (21:07 +0200)]
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

22 years ago* java/lang/natString.cc (unintern): Fixed typo.
Tom Tromey [Tue, 7 May 2002 19:07:07 +0000 (19:07 +0000)]
* java/lang/natString.cc (unintern): Fixed typo.

From-SVN: r53265

22 years agoconfigure.in (AC_TYPE_PID_T): Use it.
Mark Mitchell [Tue, 7 May 2002 18:50:53 +0000 (18:50 +0000)]
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

22 years ago* parse.y (finish_for_loop): Fix if statement.
Andreas Jaeger [Tue, 7 May 2002 18:42:50 +0000 (20:42 +0200)]
* parse.y (finish_for_loop): Fix if statement.

From-SVN: r53263

22 years agopa.c (hppa_profile_hook): Use force_reg to get the address of the profile hook into...
Jeff Law [Tue, 7 May 2002 17:03:37 +0000 (11:03 -0600)]
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

22 years ago* target.h (FFETARGET_32bit_longs): Undefine for x86-64.
Jan Hubicka [Tue, 7 May 2002 16:29:02 +0000 (18:29 +0200)]
* target.h (FFETARGET_32bit_longs): Undefine for x86-64.

From-SVN: r53259

22 years agosysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
Mark Mitchell [Tue, 7 May 2002 14:42:29 +0000 (14:42 +0000)]
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

22 years agors6000.c (bdesc_2arg): Fix vmax typos.
Aldy Hernandez [Tue, 7 May 2002 08:04:31 +0000 (08:04 +0000)]
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

22 years agoDaily bump.
GCC Administrator [Tue, 7 May 2002 07:17:44 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r53253

22 years agore PR c++/6212 (g++ testsuite EH regressions for irix6 -mabi=64)
Richard Henderson [Tue, 7 May 2002 05:44:26 +0000 (22:44 -0700)]
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

22 years agore PR java/5941 (incorrect "Unreachable statement" error)
Tom Tromey [Tue, 7 May 2002 03:32:01 +0000 (03:32 +0000)]
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

22 years agors6000.md ("altivec_mtvscr"): Change to unspec_volatile.
Aldy Hernandez [Tue, 7 May 2002 02:48:06 +0000 (02:48 +0000)]
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

22 years agortl.h (struct rtx_def): Update comments.
Janis Johnson [Tue, 7 May 2002 00:18:48 +0000 (00:18 +0000)]
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

22 years ago* doc/rtl.texi (Flags): Update to reflect current usage.
Janis Johnson [Mon, 6 May 2002 23:33:10 +0000 (23:33 +0000)]
* doc/rtl.texi (Flags): Update to reflect current usage.

From-SVN: r53242

22 years agore PR rtl-optimization/3995 (i386 optimisation: joining tests)
Roger Sayle [Mon, 6 May 2002 22:59:38 +0000 (22:59 +0000)]
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

22 years agoc-common.c (warn_multichar): New.
Neil Booth [Mon, 6 May 2002 22:53:10 +0000 (22:53 +0000)]
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

22 years agoAdded Tim Josling to MAINTAINERS file.
Tim Josling [Mon, 6 May 2002 21:57:48 +0000 (21:57 +0000)]
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

22 years agosparc.md (shift insns): Do not mask off second operand...
David S. Miller [Mon, 6 May 2002 21:31:56 +0000 (14:31 -0700)]
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

22 years agoltmain.sh: Detect and handle object name conflicts while piecewise linking a static...
Loren J. Rittle [Mon, 6 May 2002 21:26:49 +0000 (21:26 +0000)]
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

22 years agoTest all the facets for the temporary "C" locale switch issue.
Paolo Carlini [Mon, 6 May 2002 21:12:15 +0000 (23:12 +0200)]
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

22 years agogenautomata.c (form_the_same_automaton_unit_lists_from_regexp): Fix typo in usage...
Vladimir Makarov [Mon, 6 May 2002 20:14:32 +0000 (20:14 +0000)]
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

22 years agorecog.c (if_test_bypass_p): Accept multiple set insns for OUT, and any jump or call...
Richard Henderson [Mon, 6 May 2002 20:08:30 +0000 (13:08 -0700)]
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

22 years agoFix problems compiling xmmintrin.h with only -msse.
Bernd Schmidt [Mon, 6 May 2002 18:17:08 +0000 (18:17 +0000)]
Fix problems compiling xmmintrin.h with only -msse.

From-SVN: r53230

22 years agofold-const.c (lshift-double): Cast the high word to an unsigned HOST_WIDE_INT when...
Roger Sayle [Mon, 6 May 2002 16:59:18 +0000 (16:59 +0000)]
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

22 years agopa-protos.h (hppa_fpstore_bypass_p): Declare.
Jeff Law [Mon, 6 May 2002 16:53:34 +0000 (10:53 -0600)]
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

22 years ago(compute_register_save_size): Make sure
Catherine Moore [Mon, 6 May 2002 16:41:48 +0000 (16:41 +0000)]
(compute_register_save_size): Make sure
        to count all of the registers that will be saved.

From-SVN: r53226

22 years ago* i386.c (q_regs_operand): Use ANY_QI_REGS_P.
Jan Hubicka [Mon, 6 May 2002 16:07:03 +0000 (18:07 +0200)]
* i386.c (q_regs_operand): Use ANY_QI_REGS_P.

From-SVN: r53224

22 years agoos_defines.h (_SGI_SOURCE, [...]): Ensure they are always defined.
Kaveh R. Ghazi [Mon, 6 May 2002 14:03:57 +0000 (14:03 +0000)]
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

22 years agodocumentation.html: Fix broken link.
Phil Edwards [Mon, 6 May 2002 11:43:56 +0000 (11:43 +0000)]
documentation.html: Fix broken link.

2002-05-06  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r53211

22 years agolibjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.
David Billinghurst [Mon, 6 May 2002 11:37:34 +0000 (11:37 +0000)]
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

22 years ago* gcc.dg/cpp/charconst-3.c: Run, don't compile.
Neil Booth [Mon, 6 May 2002 08:34:57 +0000 (08:34 +0000)]
* gcc.dg/cpp/charconst-3.c: Run, don't compile.

From-SVN: r53209

22 years agoDaily bump.
GCC Administrator [Mon, 6 May 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r53208

22 years agosparc.c (emit_soft_tfmode_libcall): Do not allow result to overlap input operands...
David S. Miller [Mon, 6 May 2002 07:09:21 +0000 (00:09 -0700)]
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

22 years agocpp.texi: Update multichar charconst docs.
Neil Booth [Sun, 5 May 2002 23:45:06 +0000 (23:45 +0000)]
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

22 years agolibjava.exp (test_libjava_from_source): Add comment explaining last patch.
David Billinghurst [Sun, 5 May 2002 23:19:06 +0000 (23:19 +0000)]
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

22 years agocpplex.c (cpp_interpret_charconst): Sign-extend each character.
Neil Booth [Sun, 5 May 2002 23:13:04 +0000 (23:13 +0000)]
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

22 years agosparc.md (ashlsi3): If shift count is const1_rtx, use add instead of shift.
Jakub Jelinek [Sun, 5 May 2002 23:08:28 +0000 (01:08 +0200)]
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

22 years ago* config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
Jason Thorpe [Sun, 5 May 2002 22:23:40 +0000 (22:23 +0000)]
* config.gcc (alpha*-*-netbsd*): Don't use crtstuff.

From-SVN: r53198

22 years agore PR target/6561 (sparc-sun-solaris2.7 C testsuite failure w/-mcpu=ultrasparc in...
Jakub Jelinek [Sun, 5 May 2002 22:08:54 +0000 (00:08 +0200)]
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

22 years agoalpha.c (alpha_adjust_cost): Remove everything but memory latency adjustments.
Richard Henderson [Sun, 5 May 2002 21:54:39 +0000 (14:54 -0700)]
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

22 years agorecog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
David S. Miller [Sun, 5 May 2002 21:51:04 +0000 (14:51 -0700)]
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

22 years agoadd PR id
Jason Merrill [Sun, 5 May 2002 21:46:51 +0000 (17:46 -0400)]
add PR id

From-SVN: r53194

22 years agoAdding .csvignore.
Tim Josling [Sun, 5 May 2002 20:46:03 +0000 (20:46 +0000)]
Adding .csvignore.

From-SVN: r53192

22 years agocse.c: Fix formatting.
Kazu Hirata [Sun, 5 May 2002 20:03:36 +0000 (20:03 +0000)]
cse.c: Fix formatting.

* cse.c: Fix formatting.
* emit-rtl.c: Likewise.

From-SVN: r53191

22 years agoconfigure.in (noconfigdirs): Don't disable libgcj on sparc64-*-solaris* and sparcv9...
Alexandre Oliva [Sun, 5 May 2002 18:57:50 +0000 (18:57 +0000)]
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

22 years agogenautomata.c (initiate_states): Add additional guard to initialize `units_array'.
Vladimir Makarov [Sun, 5 May 2002 18:28:24 +0000 (18:28 +0000)]
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

22 years agogenautomata.c (form_the_same_automaton_unit_lists_from_regexp, [...]): New prototypes...
Vladimir Makarov [Sun, 5 May 2002 17:40:16 +0000 (17:40 +0000)]
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

22 years agoc-common.c (c_common_init): Set up CPP arithmetic.
Neil Booth [Sun, 5 May 2002 17:05:09 +0000 (17:05 +0000)]
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

22 years agoinstall.texi (powerpc-*-linux-gnu*): Update build requirements.
Franz Sirl [Sun, 5 May 2002 11:38:51 +0000 (11:38 +0000)]
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

22 years ago2002-05-04 David S. Miller <davem@redhat.com>
David S. Miller [Sun, 5 May 2002 09:38:20 +0000 (02:38 -0700)]
2002-05-04  David S. Miller  <davem@redhat.com>

* config/sparc/linux.h, config/sparc/linux64.h
(HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.

From-SVN: r53179

22 years agosparc.c (sparc_rtx_costs): Describe costs of more RTX codes.
David S. Miller [Sun, 5 May 2002 07:55:21 +0000 (00:55 -0700)]
sparc.c (sparc_rtx_costs): Describe costs of more RTX codes.

2002-05-04  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
more RTX codes.
* config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.

From-SVN: r53178

22 years agorecog.c (store_data_bypass_p): Handle out_insn being a PARALLEL of SETs.
David S. Miller [Sun, 5 May 2002 07:49:23 +0000 (00:49 -0700)]
recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL of SETs.

2002-05-04  David S. Miller  <davem@redhat.com>

* recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
of SETs.

From-SVN: r53177

22 years agoDaily bump.
GCC Administrator [Sun, 5 May 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r53175

22 years agoconfigure.in (sparc64-*-netbsd*): Add target.
Jason Thorpe [Sun, 5 May 2002 05:03:33 +0000 (05:03 +0000)]
configure.in (sparc64-*-netbsd*): Add target.

* configure.in (sparc64-*-netbsd*): Add target.
(sparc-*-netbsdelf*): Likewise.
* configure: Regenerate.

From-SVN: r53171

22 years agoAdded comments in master changelogs on adding treelang directories.
Tim Josling [Sun, 5 May 2002 04:36:10 +0000 (04:36 +0000)]
Added comments in master changelogs on adding treelang directories.

From-SVN: r53170

22 years agoAdded new sample language treelang.
Tim Josling [Sun, 5 May 2002 04:24:18 +0000 (04:24 +0000)]
Added new sample language treelang.

From-SVN: r53169

22 years ago[multiple changes]
Paolo Carlini [Sat, 4 May 2002 21:33:19 +0000 (21:33 +0000)]
[multiple changes]

2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
    Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/num_put_members_char.cc: Add test04(),
testing for the locale_facets.tcc entry of the previous commit.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.

2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>

* config/locale/generic/c_locale.cc
(__convert_to_v(float, double, long double)):
Fix the temporary switch to the "C" locale, saving and
restoring in the proper way the current locale.
* config/locale/generic/time_members.cc
(__timepunct<char, wchar_t>::_M_put): Likewise.
* config/locale/gnu/messages_members.cc
(messages<char>::do_get): Likewise.
* config/locale/gnu/messages_members.h
(messages<_CharT>::do_get): Likewise.
* config/locale/gnu/time_members.cc
(__timepunct<char, wchar_t>::_M_put): Likewise.
* include/bits/locale_facets.tcc (__convert_from_v): Likewise.

From-SVN: r53167

22 years agoconfigure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
Kaveh R. Ghazi [Sat, 4 May 2002 20:20:29 +0000 (20:20 +0000)]
configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.

* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).

* Makefile.in, config.h.in, configure: Regenerate.

From-SVN: r53166

22 years agoMakefile.in (c-lex.o): Update.
Neil Booth [Sat, 4 May 2002 20:15:00 +0000 (20:15 +0000)]
Makefile.in (c-lex.o): Update.

* Makefile.in (c-lex.o): Update.
* c-lex.c: Include target.h.
(cb_register_builtins): New.
(init_c_lex): Set builtins callback.
* c-lex.h (cpp_define, cpp_assert): New prototypes.
* cppinit.c (init_builtins): Use callback, including for
GXX_WEAK.
* cpplib.h (struct cpp_callbacks): New member.
* target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
(TARGET_INITIALIZER): Update.
* target.h (struct gcc_target): New hook.
* tree.c (default_register_cpp_builtins): New.
* tree.h (default_register_cpp_builtins): New.
doc:
* tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.

From-SVN: r53165

22 years agocppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
Neil Booth [Sat, 4 May 2002 19:42:01 +0000 (19:42 +0000)]
cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h

* cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
(cpp_post_options): Move sanity checks to...
(sanity_checks): New.
* cpplex.c (maybe_read_ucs): Fix prototype.
(parse_string, cpp_parse_escape): Cast for %c format specifier.
* cpplib.h (cppchar_t): Use unsigned long or unsigned long long
if necessary.

From-SVN: r53163

22 years agoFix bugs in SSE2 suppport and add SSE2 functions to xmmintrin.h
Bernd Schmidt [Sat, 4 May 2002 17:06:56 +0000 (17:06 +0000)]
Fix bugs in SSE2 suppport and add SSE2 functions to xmmintrin.h

From-SVN: r53161

22 years agodwarf2out.c: Fix formatting.
Kazu Hirata [Sat, 4 May 2002 14:54:13 +0000 (14:54 +0000)]
dwarf2out.c: Fix formatting.

* dwarf2out.c: Fix formatting.
* varasm.c: Likewise.

From-SVN: r53160

22 years agors6000.md (sCC pattern and splitter): Remove clobber and use result as temporary...
David Edelsohn [Sat, 4 May 2002 14:32:31 +0000 (14:32 +0000)]
rs6000.md (sCC pattern and splitter): Remove clobber and use result as temporary value.

        * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
        clobber and use result as temporary value.

From-SVN: r53159

22 years agoFor PR java/6519:
Mark Wielaard [Sat, 4 May 2002 13:26:13 +0000 (13:26 +0000)]
For PR java/6519:

* parse.y (build_string_concatenation): Return just op1 only when op2
is null and op1 is a STRING_CST, otherwise always construct a
StringBuffer.

From-SVN: r53158

22 years agoFor PR java/6519:
Mark Wielaard [Sat, 4 May 2002 13:24:40 +0000 (13:24 +0000)]
For PR java/6519:

* libjava.lang/emptystring.java: New.
* libjava.lang/emptystring.out: New.

From-SVN: r53157

22 years agoexpr.c (force_operand): Use expand_simple_* to handle more cases.
Jan Hubicka [Sat, 4 May 2002 11:23:21 +0000 (13:23 +0200)]
expr.c (force_operand): Use expand_simple_* to handle more cases.

* expr.c (force_operand): Use expand_simple_* to handle more
cases.

From-SVN: r53154

22 years ago*** empty log message ***
Neil Booth [Sat, 4 May 2002 07:32:26 +0000 (07:32 +0000)]
*** empty log message ***

From-SVN: r53153

22 years agoc-lex.c (lex_string): Let cpp_parse_escape handles truncation and sign-extension.
Neil Booth [Sat, 4 May 2002 07:30:32 +0000 (07:30 +0000)]
c-lex.c (lex_string): Let cpp_parse_escape handles truncation and sign-extension.

* c-lex.c (lex_string): Let cpp_parse_escape handles truncation
and sign-extension.
(lex_charconst): Update for change in prototype of
cpp_interpret_charconst.  Extend from cppchar_t to HOST_WIDE_INT
appropriately.
* cpphash.h (BITS_PER_CPPCHAR_T): New.
* cppinit.c (cpp_create_reader): Initialize them for no
change in semantics.
(cpp_post_options): Add sanity checks.
* cpplex.c (cpp_parse_escape): Handle precision, sign-extension
and truncation issues.  Calculate in type cppchar_t.
(MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
(cpp_interpret_charconst): Calculate in type cppchar_t.  Handle
run-time dependent precision correctly.  Return whether the
result is signed or not.
* cpplib.c (dequote_string): Use cppchar_t; update.
* cpplib.h (cppchar_signed_t): New.
struct cpp_options): New precision members.
(cpp_interpret_charconst, cpp_parse_escape): Update prototypes.

From-SVN: r53152

22 years agoDaily bump.
GCC Administrator [Sat, 4 May 2002 07:18:20 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r53151

22 years agosparc-protos.h (sparc_rtx_costs): New.
David S. Miller [Sat, 4 May 2002 05:36:40 +0000 (22:36 -0700)]
sparc-protos.h (sparc_rtx_costs): New.

2002-05-03  David S. Miller  <davem@redhat.com>

* config/sparc/sparc-protos.h (sparc_rtx_costs): New.
* config/sparc/sparc.c (sparc_rtx_costs): New function
implementing RTX_COSTS and CONST_COSTS.
* config/sparc/sparc.h (CONST_COSTS): Delete.
(RTX_COSTS_CASES): Define.
(RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
the work.

From-SVN: r53147

22 years agosparc.md (DFA schedulers): Split out...
David S. Miller [Sat, 4 May 2002 05:03:45 +0000 (22:03 -0700)]
sparc.md (DFA schedulers): Split out...

2002-05-03  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.md (DFA schedulers): Split out...
* config/sparc/cypress.md, config/sparc/hypersparc.md,
config/sparc/sparclet.md, config/sparc/supersparc.md,
config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.

From-SVN: r53146

22 years agosparc.c (LEAF_REGISTERS): Do not do ifdef checks on it, always defined for Sparc.
David S. Miller [Sat, 4 May 2002 04:30:09 +0000 (21:30 -0700)]
sparc.c (LEAF_REGISTERS): Do not do ifdef checks on it, always defined for Sparc.

2002-05-03  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
checks on it, always defined for Sparc.

From-SVN: r53145

22 years agosparc.h (REG_ALLOC_ORDER, [...]): Tweak, and add more detailed comments.
David S. Miller [Sat, 4 May 2002 04:21:46 +0000 (21:21 -0700)]
sparc.h (REG_ALLOC_ORDER, [...]): Tweak, and add more detailed comments.

2002-05-03  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
Tweak, and add more detailed comments.

From-SVN: r53144

22 years agolibjava.exp (test_libjava_from_source): Append .exe to executable names.
David Billinghurst [Sat, 4 May 2002 03:38:14 +0000 (03:38 +0000)]
libjava.exp (test_libjava_from_source): Append .exe to executable names.

2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>

* testsuite/lib/libjava.exp (test_libjava_from_source):
Append .exe to executable names.  If no suffix is present,
then ".exe" is added by default on win32.  Harmless
elsewhere so always do it.

From-SVN: r53143

22 years agoRe-apply patch accidentally reverted with DFA scheduler merge: remove all rules and...
Zack Weinberg [Sat, 4 May 2002 03:10:42 +0000 (03:10 +0000)]
Re-apply patch accidentally reverted with DFA scheduler merge: remove all rules and variables to slurp source files out of libiberty and...

* Re-apply patch accidentally reverted with
DFA scheduler merge: remove all rules and variables to slurp
source files out of libiberty and rebuild them with HOST_CC.
($(HOST_PREFIX_1)varray.o): New rule.
(genattrtab rule): Word wrap.

From-SVN: r53141

22 years agonetbsd64.h (CPP_LP64_SPEC): Define.
Jason Thorpe [Sat, 4 May 2002 01:31:29 +0000 (01:31 +0000)]
netbsd64.h (CPP_LP64_SPEC): Define.

* config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
(CPP_SUBTARGET_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
cpp_subtarget specs.
(CPP_SPEC): Redefine to include %(cpp_subtarget).

From-SVN: r53140

22 years agoia64.c (ia64_emit_insn_before): Put it back.
David S. Miller [Sat, 4 May 2002 01:04:18 +0000 (18:04 -0700)]
ia64.c (ia64_emit_insn_before): Put it back.

2002-05-03  David S. Miller  <davem@redhat.com>

* config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
(rtx_needs_barrier): Delete reference to cycle_display unspec.
(ia64_sched_reorder2): Mention need for cycle display handling
once such notes exist.

From-SVN: r53139

22 years agotarget-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
David S. Miller [Sat, 4 May 2002 00:55:18 +0000 (17:55 -0700)]
target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.

2002-05-03  David S. Miller  <davem@redhat.com>

* target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
* target.h (struct gcc_target): Delete cycle_display member.

From-SVN: r53138

22 years agoreal.c (etoasc): Strip most trailing zeros for clarity.
Richard Henderson [Sat, 4 May 2002 00:51:02 +0000 (17:51 -0700)]
real.c (etoasc): Strip most trailing zeros for clarity.

        * real.c (etoasc): Strip most trailing zeros for clarity.
        * sched-vis.c: Include real.h.
        (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
        * Makefile.in (sched-vis.o): Add real.h.

From-SVN: r53137

22 years agohaifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, no longer needed.
David S. Miller [Sat, 4 May 2002 00:38:36 +0000 (17:38 -0700)]
haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, no longer needed.

2002-05-03  David S. Miller  <davem@redhat.com>

* haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
no longer needed.

From-SVN: r53136

22 years agors6000.c (altivec_expand_binop_builtin): Error out when we get an out of range literal.
Aldy Hernandez [Sat, 4 May 2002 00:33:48 +0000 (00:33 +0000)]
rs6000.c (altivec_expand_binop_builtin): Error out when we get an out of range literal.

2002-05-03  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
        when we get an out of range literal.
        (altivec_expand_ternop_builtin): Same.
        (altivec_expand_unop_builtin): Same.
        (altivec_expand_builtin): Same, for dss.
        (altivec_expand_builtin): Use trees instead of rtl when
        determining literal argument validity.

From-SVN: r53135

22 years agoDelete cycle display scheduling hook.
David S. Miller [Sat, 4 May 2002 00:31:28 +0000 (17:31 -0700)]
Delete cycle display scheduling hook.

2002-05-03  David S. Miller  <davem@redhat.com>

Delete cycle display scheduling hook.
* config/ia64/ia64.c (ia64_cycle_display,
TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
(ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
and use emit_insn_before instead of ia64_emit_insn_before.
* config/ia64/ia64.md (unspec usage): Delete cycle display.
(cycle_display): Delete insn pattern.
* config/sparc/sparc.md (unspec usage): Delete cycle display.
(cycle_display): Delete insn pattern.
* config/sparc/sparc.c (sparc_cycle_display,
TARGET_SCHED_CYCLE_DISPLAY): Delete.
* doc/md.texi (cycle_display): Don't mention.
* doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.

From-SVN: r53134

22 years agorecog.c (store_data_bypass_p, [...]): New.
Richard Henderson [Fri, 3 May 2002 22:23:45 +0000 (15:23 -0700)]
recog.c (store_data_bypass_p, [...]): New.

        * recog.c (store_data_bypass_p, if_test_bypass_p): New.
        * recog.h: Declare them.

        * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
        * config/sparc/sparc.md: Use store_data_bypass_p instead.
        * config/sparc/sparc-protos.h: Update.

From-SVN: r53132

22 years agonetbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__.
Jason Thorpe [Fri, 3 May 2002 21:38:25 +0000 (21:38 +0000)]
netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__.

* config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
-D__arch64__.  Add -D_LP64.
(CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
from sparc.h.
(CPP_ARCH64_SPEC): Likewise.
(NO_BUILTIN_PTRDIFF_TYPE): Undef.
(NO_BUILTIN_SIZE_TYPE): Undef.

From-SVN: r53131

22 years agogenautomata.c (min_issue_delay_pass_states): Change return type in the prototype.
Vladimir Makarov [Fri, 3 May 2002 21:13:25 +0000 (21:13 +0000)]
genautomata.c (min_issue_delay_pass_states): Change return type in the prototype.

2002-05-03  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (min_issue_delay_pass_states): Change return type
in the prototype.
(min_issue_delay_pass_states): Change the algorithm.
(min_issue_delay): Set up min_insn_issue_delay for the state.
(output_min_issue_delay_table): Interchange the nested loops and
and initiate min_insn_issue_delay for states.

From-SVN: r53130

22 years agocfgcleanup.c (try_optimize_cfg): Call merge_block only when jump is simplejump.
Jan Hubicka [Fri, 3 May 2002 21:02:44 +0000 (23:02 +0200)]
cfgcleanup.c (try_optimize_cfg): Call merge_block only when jump is simplejump.

* cfgcleanup.c (try_optimize_cfg):  Call merge_block only when
jump is simplejump.

From-SVN: r53129

22 years agoi386.c (expand_movstr, [...]): Fix inline-all-stringops sequence.
Jan Hubicka [Fri, 3 May 2002 20:56:42 +0000 (22:56 +0200)]
i386.c (expand_movstr, [...]): Fix inline-all-stringops sequence.

* i386.c  (expand_movstr, expand_clrstr): Fix inline-all-stringops
sequence.

From-SVN: r53128

22 years agoifcvt.c (noce_try_store_flag, [...]): Insert new code before JUMP, not EARLIEST.
Richard Henderson [Fri, 3 May 2002 20:34:31 +0000 (13:34 -0700)]
ifcvt.c (noce_try_store_flag, [...]): Insert new code before JUMP, not EARLIEST.

        * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
        noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
        noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
        code before JUMP, not EARLIEST.

From-SVN: r53123

22 years agocmdlne-dM-M.c: New test.
Jakub Jelinek [Fri, 3 May 2002 20:28:09 +0000 (22:28 +0200)]
cmdlne-dM-M.c: New test.

* gcc.dg/cpp/cmdlne-dM-M.c: New test.
* gcc.dg/cpp/cmdlne-dD-M.c: New test.
* gcc.dg/cpp/cmdlne-dN-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.c: New test.
* gcc.dg/cpp/cmdlne-dI-M.h: New aux file.
* gcc.dg/cpp/cmdlne-dD-dM.c: New test.
* gcc.dg/cpp/cmdlne-dM-dD.c: New test.

From-SVN: r53121

22 years agore PR c/6547 (misleading printf '$' format)
Joseph Myers [Fri, 3 May 2002 20:17:57 +0000 (21:17 +0100)]
re PR c/6547 (misleading printf '$' format)

* c-format.c (check_format_info_main): Don't check for presence of
parameter for * width until after operand number has been read,
and only check for it if format parameters are available.
Fixes PR c/6547.

testsuite:
* gcc.dg/format/xopen-2.c: New test.

From-SVN: r53118

22 years agonatSystem.cc (getSystemTimeZone): Use HAVE_UNDERSCORE_TIMEZONE.
David Billinghurst [Fri, 3 May 2002 20:17:48 +0000 (20:17 +0000)]
natSystem.cc (getSystemTimeZone): Use HAVE_UNDERSCORE_TIMEZONE.

2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
    Tom Tromey  <tromey@redhat.com>

* java/lang/natSystem.cc (getSystemTimeZone): Use
HAVE_UNDERSCORE_TIMEZONE.
* include/config.h.in: Rebuilt.
* acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Run AC_EXEEXT.
* configure.in: Adjust test for `timezone' so it fails on Cygwin.
Add test for `_timezone'.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r53117