]> gcc.gnu.org Git - gcc.git/log
gcc.git
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

22 years agoChecked in by Eric Christopher <echristo@redhat.com>:
Alexandre Oliva [Fri, 3 May 2002 20:14:18 +0000 (20:14 +0000)]
Checked in by Eric Christopher  <echristo@redhat.com>:

2002-05-02  Alexandre Oliva  <aoliva@redhat.com>

        * Makefile.in: Fix for multilibbed natives.

From-SVN: r53116

22 years agonetbsd.h (CPP_PREDEFINES): Add -D_LP64.
Jason Thorpe [Fri, 3 May 2002 19:20:21 +0000 (19:20 +0000)]
netbsd.h (CPP_PREDEFINES): Add -D_LP64.

* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
(LINK_SPEC): Undef before defining.

From-SVN: r53113

22 years ago* configure.in: Revert 2002-04-18's patch; fixed in libjava.
Alexandre Oliva [Fri, 3 May 2002 18:24:07 +0000 (18:24 +0000)]
* configure.in: Revert 2002-04-18's patch; fixed in libjava.

From-SVN: r53109

22 years agoSuggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Alexandre Oliva [Fri, 3 May 2002 18:23:36 +0000 (18:23 +0000)]
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.

From-SVN: r53108

22 years agore PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)
Benjamin Kosnik [Fri, 3 May 2002 18:22:58 +0000 (18:22 +0000)]
re PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)

2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6549.
* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
* testsuite/27_io/narrow_stream_objects.cc (test07): Add.

From-SVN: r53107

22 years agore PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')
Jakub Jelinek [Fri, 3 May 2002 17:55:26 +0000 (19:55 +0200)]
re PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')

PR preprocessor/6489
* tradcpp.c (fixup_newlines): New.
(main, finclude): Use it.

From-SVN: r53103

22 years agoelf64.h (UNIQUE_SECTION): Use mips_unique_section.
Richard Sandiford [Fri, 3 May 2002 17:08:29 +0000 (17:08 +0000)]
elf64.h (UNIQUE_SECTION): Use mips_unique_section.

* config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
* config/mips/mips.c (mips_unique_section): Strip encoding from
decl name.

From-SVN: r53101

22 years agoconfigure.in (FLAGS_FOR_TARGET): Do not add -B$$r/$(TARGET_SUBDIR)/newlib/ when...
Thomas Fitzsimmons [Fri, 3 May 2002 16:28:41 +0000 (16:28 +0000)]
configure.in (FLAGS_FOR_TARGET): Do not add -B$$r/$(TARGET_SUBDIR)/newlib/ when...

* configure.in (FLAGS_FOR_TARGET): Do not add
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
on i[3456]86-*-linux*.

From-SVN: r53100

22 years agoi386.c (ix86_expand_int_movcc): Truncate to proper mode.
Jakub Jelinek [Fri, 3 May 2002 16:28:30 +0000 (18:28 +0200)]
i386.c (ix86_expand_int_movcc): Truncate to proper mode.

* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
mode.

From-SVN: r53099

22 years agotree.c (build_cplus_array_type): Only const and volatile get special handling.
Jason Merrill [Fri, 3 May 2002 16:22:08 +0000 (12:22 -0400)]
tree.c (build_cplus_array_type): Only const and volatile get special handling.

        * tree.c (build_cplus_array_type): Only const and volatile get
        special handling.

From-SVN: r53098

22 years agoinstall.texi (Installing): Mention GCC 3.1 buildstats.
Rainer Orth [Fri, 3 May 2002 15:13:16 +0000 (15:13 +0000)]
install.texi (Installing): Mention GCC 3.1 buildstats.

* doc/install.texi (Installing): Mention GCC 3.1 buildstats.
(Specific): Removed buildstats references.
(Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
(Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
Accomodate Solaris versions beyond 8.
(Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
(Specific, *-*-solaris2.8): Removed, obsolete.

From-SVN: r53097

22 years agore PR target/6542 (Internal compiler error when building libgcc for sparc-elf)
Jakub Jelinek [Fri, 3 May 2002 14:20:04 +0000 (16:20 +0200)]
re PR target/6542 (Internal compiler error when building libgcc for sparc-elf)

PR target/6542
* config/sparc/sparc.h (leaf_reg_remap): Remove const.
(CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
fill leaf_reg_remap with identity.
* config/sparc/sparc.c (leaf_reg_remap): Remove const.

* gcc.dg/20020503-1.c: New test.

From-SVN: r53095

22 years agoctype_noninline.h (classic_table): Return __ctype + 1.
Kaveh R. Ghazi [Fri, 3 May 2002 13:56:52 +0000 (13:56 +0000)]
ctype_noninline.h (classic_table): Return __ctype + 1.

* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
Return __ctype + 1.
(ctype:_M_table): Initialize to classic_table(), not __ctype.

From-SVN: r53093

22 years agodefaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
Jason Merrill [Fri, 3 May 2002 13:13:13 +0000 (09:13 -0400)]
defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.

        * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53091

22 years agocrti.asm: Remove trailing spaces.
Kazu Hirata [Fri, 3 May 2002 12:28:41 +0000 (12:28 +0000)]
crti.asm: Remove trailing spaces.

* config/h8300/crti.asm: Remove trailing spaces.
* config/h8300/h8300.c: Likewise.
* config/h8300/lib1funcs.asm: Likewise.

From-SVN: r53090

22 years agodefaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
Jason Merrill [Fri, 3 May 2002 12:09:35 +0000 (08:09 -0400)]
defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.

        * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53089

22 years agoregrename.c: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 12:07:30 +0000 (12:07 +0000)]
regrename.c: Fix formatting.

* regrename.c: Fix formatting.
* tree.c: Likewise.

From-SVN: r53088

22 years ago* i386.md (attribute memory): Handle compares properly.
Jan Hubicka [Fri, 3 May 2002 11:35:49 +0000 (13:35 +0200)]
* i386.md (attribute memory): Handle compares properly.

From-SVN: r53085

22 years agoconfigure.in: Update local install.html, configopts.html paths.
Rainer Orth [Fri, 3 May 2002 11:09:51 +0000 (11:09 +0000)]
configure.in: Update local install.html, configopts.html paths.

* configure.in: Update local install.html, configopts.html paths.
* configure: Regenerate.

From-SVN: r53083

22 years agoi386.c (sse_clrsf, sse_clrsi): Set memory attribute to none.
Jan Hubicka [Fri, 3 May 2002 08:53:03 +0000 (10:53 +0200)]
i386.c (sse_clrsf, sse_clrsi): Set memory attribute to none.

* i386.c (sse_clrsf, sse_clrsi): Set memory attribute
to none.

From-SVN: r53082

22 years agoDaily bump.
GCC Administrator [Fri, 3 May 2002 07:17:19 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r53081

22 years ago* config/os/irix/irix5.2/bits/os_defines.h
Kaveh R. Ghazi [Fri, 3 May 2002 04:01:58 +0000 (04:01 +0000)]
* config/os/irix/irix5.2/bits/os_defines.h
(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.

From-SVN: r53077

22 years agoctype_inline.h: Cast to unsigned char.
Kaveh R. Ghazi [Fri, 3 May 2002 03:59:22 +0000 (03:59 +0000)]
ctype_inline.h: Cast to unsigned char.

* config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
char.

From-SVN: r53076

22 years ago* function.c: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 00:23:55 +0000 (00:23 +0000)]
* function.c: Fix formatting.

From-SVN: r53075

22 years agodwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.
Hans Boehm [Fri, 3 May 2002 00:21:48 +0000 (00:21 +0000)]
dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.

* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
use sigaction instead of __libc_sigaction.

From-SVN: r53074

22 years agohaifa-sched.c (schedule_insn): Print table of instructions and reservations.
Jan Hubicka [Fri, 3 May 2002 00:05:52 +0000 (02:05 +0200)]
haifa-sched.c (schedule_insn): Print table of instructions and reservations.

        * haifa-sched.c (schedule_insn): Print table of instructions and
        reservations.
        (sched_block): Do not print ready list at verbosity level 1.
        * sched-vis.c (print_insn): Make global.
        * sched-ebb.c (ebb_print_insn): Rename from...
        (print_insn): ... this one.
        * sched-int.h (print_insn): Declare

From-SVN: r53073

22 years agohaifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn emitted by cycle_dis...
Richard Henderson [Thu, 2 May 2002 23:59:52 +0000 (16:59 -0700)]
haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn emitted by cycle_display.

        * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
        emitted by cycle_display.

From-SVN: r53072

22 years ago* doc/install.texi (*-*-freebsd*): Update to latest status.
Loren J. Rittle [Thu, 2 May 2002 23:29:30 +0000 (23:29 +0000)]
* doc/install.texi (*-*-freebsd*): Update to latest status.

From-SVN: r53070

22 years agore PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc...
Jakub Jelinek [Thu, 2 May 2002 21:30:38 +0000 (23:30 +0200)]
re PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc++-v3 18_support/numeric_limits.cc)

2002-05-02  Jakub Jelinek  <jakub@redhat.com>

PR target/6540
* config.gcc (sparc*-*-solaris2*): Set float_format to i128.
* config/float-sparc.h: Assume 128-bit long double if
__LONG_DOUBLE_128__ is defined.

From-SVN: r53069

22 years agogenattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0.
Vladimir Makarov [Thu, 2 May 2002 21:28:24 +0000 (21:28 +0000)]
genattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0.

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

* genattrtab.c (write_function_unit_info): Add a dummy element
when num_units == 0.

From-SVN: r53067

22 years agoindex.html: Update list in #4.1.
Phil Edwards [Thu, 2 May 2002 21:21:16 +0000 (21:21 +0000)]
index.html: Update list in #4.1.

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

* docs/html/faq/index.html:  Update list in #4.1.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53065

22 years agopredict.c: (propagate_freq...
Herman A.J. ten Brugge [Thu, 2 May 2002 20:49:13 +0000 (22:49 +0200)]
predict.c: (propagate_freq...

        * predict.c: (propagate_freq, estimate_bb_frequencies): Use
        TYPE_MODE (double_type_node) instead of DFmode.

From-SVN: r53064

22 years agoRELEASE-NOTES (New): Update.
Benjamin Kosnik [Thu, 2 May 2002 20:42:25 +0000 (20:42 +0000)]
RELEASE-NOTES (New): Update.

2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>

        * docs/html/17_intro/RELEASE-NOTES (New): Update.

From-SVN: r53063

22 years ago* g++.dg/init/dtor1.C: Make it tougher.
Mark Mitchell [Thu, 2 May 2002 20:05:15 +0000 (20:05 +0000)]
* g++.dg/init/dtor1.C: Make it tougher.

From-SVN: r53061

22 years agoFix i960-rtems Ada build failure reported by Joel Sherrill.
Jim Wilson [Thu, 2 May 2002 19:27:42 +0000 (19:27 +0000)]
Fix i960-rtems Ada build failure reported by Joel Sherrill.

* utils.c (finish_record_type): Change record_size to record_type.

From-SVN: r53058

22 years agolibjava.exp (libjava_find_spec): New function.
Rainer Orth [Thu, 2 May 2002 19:12:37 +0000 (19:12 +0000)]
libjava.exp (libjava_find_spec): New function.

* testsuite/lib/libjava.exp (libjava_find_spec): New function.
(libjava_init): Use it to find libgcj.spec.
(libjava_arguments): Likewise.

From-SVN: r53057

22 years agore PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)
David S. Miller [Thu, 2 May 2002 17:54:24 +0000 (10:54 -0700)]
re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)

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

PR bootstrap/6525
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
__libc_sigaction on Sparc.

From-SVN: r53055

22 years agocfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed jumps post reload.
Jan Hubicka [Thu, 2 May 2002 17:51:48 +0000 (19:51 +0200)]
cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed jumps post reload.

* cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
jumps post reload.
* toplev.c (rest_of_compilation): Revert Richard's patch.

From-SVN: r53052

22 years agonatPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present.
Jerome Marc [Thu, 2 May 2002 17:33:59 +0000 (17:33 +0000)]
natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present.

2002-05-02  Jerome Marc  <marcjero@yahoo.com>

* java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
sys/filio.h, if present.

From-SVN: r53050

22 years agox-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
John David Anglin [Thu, 2 May 2002 15:07:09 +0000 (15:07 +0000)]
x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.

* pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.

* ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
(ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.

From-SVN: r53047

22 years ago* config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
Catherine Moore [Thu, 2 May 2002 14:25:50 +0000 (14:25 +0000)]
* config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.

From-SVN: r53046

22 years agoA typo in my last commit.
Kazu Hirata [Thu, 2 May 2002 14:00:10 +0000 (14:00 +0000)]
A typo in my last commit.

From-SVN: r53045

22 years agocombine.c: Fix comment formatting.
Kazu Hirata [Thu, 2 May 2002 13:55:35 +0000 (13:55 +0000)]
combine.c: Fix comment formatting.

* combine.c: Fix comment formatting.
* expr.c: Likewise.
* genautomata.c: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.

From-SVN: r53044

22 years ago* doc/install.texi: State GNAT version requirements.
Joseph Myers [Thu, 2 May 2002 08:59:10 +0000 (09:59 +0100)]
* doc/install.texi: State GNAT version requirements.

From-SVN: r53040

22 years agofr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or arg pointe...
Nick Clifton [Thu, 2 May 2002 07:55:32 +0000 (07:55 +0000)]
fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or arg pointer register which strict...

* config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame
pointer or arg pointer register which strict register checking is not enabled.

From-SVN: r53039

22 years agoDaily bump.
GCC Administrator [Thu, 2 May 2002 07:17:16 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r53038

22 years agosync mainline to 3.1
Bruce Korb [Thu, 2 May 2002 05:18:08 +0000 (05:18 +0000)]
sync mainline to 3.1

From-SVN: r53034

22 years ago* g++.dg/init/dtor1.C: New test.
Mark Mitchell [Thu, 2 May 2002 05:14:31 +0000 (05:14 +0000)]
* g++.dg/init/dtor1.C: New test.

From-SVN: r53033

22 years agoaltivec-8.c: New.
Aldy Hernandez [Thu, 2 May 2002 02:03:14 +0000 (02:03 +0000)]
altivec-8.c: New.

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

        * gcc.dg/altivec-8.c: New.

        * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
        PRE_INC and PRE_DEC for altivec modes.

From-SVN: r53031

22 years agopa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.
Jeff Law [Wed, 1 May 2002 23:17:57 +0000 (17:17 -0600)]
pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.

2002-05-01  Jeff Law  <law@redhat.com>

* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
'T' constraint.

From-SVN: r53027

22 years agostd_bitset.h: Fix doxygen comments.
Phil Edwards [Wed, 1 May 2002 22:57:59 +0000 (22:57 +0000)]
std_bitset.h: Fix doxygen comments.

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

* include/std/std_bitset.h:  Fix doxygen comments.
* docs/html/documentation.html:  Minor tweaks for 3.1.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53025

22 years agore PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)
Benjamin Kosnik [Wed, 1 May 2002 22:40:27 +0000 (22:40 +0000)]
re PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)

2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6533
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
(istreambuf_iterator::equal): Use it.
(istreambuf_iterator::operator*): Use it.

From-SVN: r53024

22 years agodbxout.c (dbxout_type): Emit size information for range types, as well, but only...
Joel Brobecker [Wed, 1 May 2002 22:31:08 +0000 (22:31 +0000)]
dbxout.c (dbxout_type): Emit size information for range types, as well, but only when using GDB extensions.

* dbxout.c (dbxout_type): Emit size information for range types,
as well, but only when using GDB extensions.

From-SVN: r53023

22 years agoconfigure.in (noconfigdirs): Replace [ ] with test.
Thomas Fitzsimmons [Wed, 1 May 2002 22:28:36 +0000 (22:28 +0000)]
configure.in (noconfigdirs): Replace [ ] with test.

* configure.in (noconfigdirs): Replace [ ] with test.

* configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.

From-SVN: r53021

22 years agoconfigure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent...
Richard Henderson [Wed, 1 May 2002 20:37:41 +0000 (13:37 -0700)]
configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent gnu binutils date test.

        * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
        target-independent gnu binutils date test.

From-SVN: r53017

22 years agocfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging...
Richard Henderson [Wed, 1 May 2002 20:20:19 +0000 (13:20 -0700)]
cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump info before expunging the block.

        * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
        info before expunging the block.

From-SVN: r53014

22 years agocppinit.c (cpp_handle_option): Don't set no_output here...
Jakub Jelinek [Wed, 1 May 2002 20:07:36 +0000 (22:07 +0200)]
cppinit.c (cpp_handle_option): Don't set no_output here...

* cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
(cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
-M -or -MM is in effect.

From-SVN: r53013

22 years agoconfig.gcc: Correct test of --enable-obsolete.
Zack Weinberg [Wed, 1 May 2002 18:42:55 +0000 (18:42 +0000)]
config.gcc: Correct test of --enable-obsolete.

* config.gcc: Correct test of --enable-obsolete.  Obsolete all
A29k configurations.
* doc/install.texi: Update to match.

From-SVN: r53009

22 years agore PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)
Franz Sirl [Wed, 1 May 2002 17:56:56 +0000 (17:56 +0000)]
re PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)

2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR bootstrap/6514
* varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
for duplicates. Always loop over whole list.

From-SVN: r53006

22 years ago* reload.c (find_reloads, case 'p'): Set BADOP to 0.
Richard Kenner [Wed, 1 May 2002 17:33:55 +0000 (17:33 +0000)]
* reload.c (find_reloads, case 'p'): Set BADOP to 0.

From-SVN: r53005

22 years agot-elf (sparc-rtems, sparc-elf): Build assembly support routines.
Joel Sherrill [Wed, 1 May 2002 17:17:54 +0000 (17:17 +0000)]
t-elf (sparc-rtems, sparc-elf): Build assembly support routines.

2002-05-01 Joel Sherrill <joel@OARcorp.com>

* config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
support routines.

From-SVN: r53003

22 years agortems-elf.h: Add #undef TARGET_VERSION to prevent warning.
Joel Sherrill [Wed, 1 May 2002 16:34:06 +0000 (16:34 +0000)]
rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

2002-05-01 Joel Sherrill <joel@OARcorp.com>

* config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

From-SVN: r53001

22 years agors6000.md (abssi2_nopower): Convert to define_insn_and_split.
David Edelsohn [Wed, 1 May 2002 15:33:23 +0000 (15:33 +0000)]
rs6000.md (abssi2_nopower): Convert to define_insn_and_split.

        * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
        (nabs_nopower): Same.
        (floatdisf2): New pattern.
        (absdi2): Convert to define_insn_and_split.
        (nabsdi2): Same.
        (trunctfsf2): Same.
        (floatditf2): Same.
        (floatsitf2): Same.
        (fix_trunctfdi2): Same.
        (fix_trunctfsi2): Same.

From-SVN: r52999

22 years agoinstall.texi: Update Texinfo version requirement documentation.
Joseph Myers [Wed, 1 May 2002 13:02:39 +0000 (14:02 +0100)]
install.texi: Update Texinfo version requirement documentation.

* doc/install.texi: Update Texinfo version requirement
documentation.

From-SVN: r52997

This page took 0.098315 seconds and 5 git commands to generate.