Alan Modra
0228d06bca
doloop.c (doloop_valid_p): Correct comment.
...
* doloop.c (doloop_valid_p): Correct comment.
(doloop_modify_runtime <abs_inc != 1>): Simplify.
(doloop_modify_runtime <do-while>): Don't emit code when NE.
From-SVN: r54938
2002-06-24 11:46:42 +09:30
Tom Tromey
17ba19fe45
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am ($(srcdir)/java/lang/Object.h,
$(srcdir)/java/lang/Class.h): Added dummy targets.
From-SVN: r54936
2002-06-24 00:16:36 +00:00
David Edelsohn
8fcbeac278
- Follow up to 2002-06-05 patch.
...
From-SVN: r54934
2002-06-23 17:46:34 -04:00
Mark Mitchell
80b1331c3e
parse.y (parse_scoped_id): New function.
...
* parse.y (parse_scoped_id): New function.
(primary): Use it.
* cp-tree.h (do_scoped_id): Adjust declaration.
* lex.c (do_scoped_id): Remove call to yylex.
* decl2.c (build_expr_from_tree): Adjust use of do_scoped_id.
* typeck2.c (add_exception_specifier): Use tree_cons, rather than
expanding it inline.
From-SVN: r54930
2002-06-23 20:10:09 +00:00
Matt Thomas
08c7ae5a51
decl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".
...
* decl.c (finish_function): Change "#ifdef VMS_TARGET" to
"#if VMS_TARGET".
From-SVN: r54929
2002-06-23 19:56:05 +00:00
Denis Chertykov
b03bcd3733
* configure.in: Add support for ip2k.
...
From-SVN: r54926
2002-06-23 21:35:48 +04:00
Denis Chertykov
2f9021d325
* config.gcc: Add support for ip2k.
...
From-SVN: r54925
2002-06-23 21:31:05 +04:00
Jan Hubicka
f81a79ef6a
function.h (struct emit_status): Clarify potential contents of regno_reg_rtx array.
...
* function.h (struct emit_status): Clarify potential contents
of regno_reg_rtx array.
* integrate.c (copy_rtx_and_substitute): Update comments. Make
sure entry in regno_reg_rtx is a REG before checking REG_POINTER.
Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r54924
2002-06-23 09:57:53 -06:00
GCC Administrator
3bfb9a0be1
Daily bump.
...
From-SVN: r54923
2002-06-23 07:23:40 +00:00
Andreas Jaeger
bc9c295210
complex-6.c: New.
...
* gcc.c-torture/execute/complex-6.c: New.
* reg-stack.c (convert_regs_exit): Push the registers to stack in
proper order.
From-SVN: r54915
2002-06-23 07:30:14 +02:00
Ulrich Weigand
faa964e5dd
re PR middle-end/6963 (Linux kernel miscompile due to clobbered MEM_SIZE)
...
PR middle-end/6963
* function.c (assign_stack_temp_for_type): Do not return
the same MEM rtx for multiple uses of a stack slot.
From-SVN: r54912
2002-06-22 14:26:53 +00:00
David S. Miller
7ae3e57c3a
PR target/6841 target/6770 target/6719
...
2002-06-22 David S. Miller <davem@redhat.com>
PR target/6841 target/6770 target/6719
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
GENERAL_OR_EXTRA_FP_REGS.
From-SVN: r54910
2002-06-22 05:05:18 -07:00
Neil Booth
847c76c86a
cpptrad.c (struct fun_macro): Add line number.
...
* cpptrad.c (struct fun_macro): Add line number.
(scan_out_logical_line): Set it, and use it to report unterminated
macro invocations.
testsuite:
* gcc.dg/cpp/trad/comment-2.c. gcc.dg/cpp/trad/funlike-2.c,
gcc.dg/cpp/trad/funlike.c, gcc.dg/cpp/trad/funlike-3.c,
gcc.dg/cpp/trad/literals-1.c, gcc.dg/cpp/trad/literals-2.c,
gcc.dg/cpp/trad/macroargs.c, gcc.dg/cpp/trad/quote.c: New tests.
From-SVN: r54907
2002-06-22 11:08:20 +00:00
Peter Breitenlohner
112bae7721
Makefile.in (install_to_libdir): Add $(DESTDIR).
...
* Makefile.in (install_to_libdir): Add $(DESTDIR).
(install_to_tooldir): Likewise.
From-SVN: r54906
2002-06-22 20:27:46 +09:30
GCC Administrator
45c64f4fef
Daily bump.
...
From-SVN: r54905
2002-06-22 07:18:21 +00:00
Kaveh R. Ghazi
813674e01f
genautomata.c (copy_node, [...]): Const-ify.
...
* genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND,
VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD,
DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE,
DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT,
REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF,
REGEXP_ONEOF, check_name): Const-ify.
From-SVN: r54898
2002-06-22 03:08:21 +00:00
Phil Edwards
224a45d026
stl_map.h, [...]: Reformat and complete doxygenation.
...
2002-06-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
complete doxygenation.
* include/bits/boost_concept_check.h: Minor comment.
From-SVN: r54897
2002-06-22 03:03:56 +00:00
Matt Thomas
2336109344
vax.c (vax_output_function_prologue): Use REGISTER_PREFIX.
...
2002-06-21 Matt Thomas <matt@3am-software.com>
* config/vax/vax.c (vax_output_function_prologue): Use
REGISTER_PREFIX. Fix some indentation.
* config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[].
(VAX_ISTREAM_SYNC): Define.
(INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC. Move the
i-stream sync to the end.
(REGISTER_PREFIX): Define as "".
(ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX.
From-SVN: r54894
2002-06-21 23:58:47 +00:00
Jason Thorpe
1c655a0dcc
config.gcc (ns32k-*-netbsd*): Remove from list of obsolete configurations.
...
* config.gcc (ns32k-*-netbsd*): Remove from list of obsolete
configurations.
From-SVN: r54893
2002-06-21 23:36:45 +00:00
Nathanael Nerode
6bd121291e
* configure.in: Fix AIX configury bug.
...
From-SVN: r54892
2002-06-21 18:20:17 -04:00
Benjamin Kosnik
8081da07e5
c_compatibility: New.
...
2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
* include/c_compatibility: New.
* include/c_compatibility/assert.h: New.
* include/c_compatibility/ctype.h: New.
* include/c_compatibility/errno.h: New.
* include/c_compatibility/float.h: New.
* include/c_compatibility/iso646.h: New.
* include/c_compatibility/limits.h: New.
* include/c_compatibility/locale.h: New.
* include/c_compatibility/math.h: New.
* include/c_compatibility/setjmp.h: New.
* include/c_compatibility/signal.h: New.
* include/c_compatibility/stdarg.h: New.
* include/c_compatibility/stddef.h: New.
* include/c_compatibility/stdio.h: New.
* include/c_compatibility/stdlib.h: New.
* include/c_compatibility/string.h: New.
* include/c_compatibility/time.h: New.
* include/c_compatibility/wchar.h: New.
* include/c_compatibility/wctype.h: New.
* include/c/std_cerrno.h: Get out of the way... define errno.
* include/c/std_cmath.h: Add abs, modf overloads.
Undefine C99 isms. Still not sure how to deal with this sanely.
* include/c/std_csetjmp.h: Tweak.
* include/c/std_cwchar.h: Include cstddef for size_t.
* include/c_std/std_cmath.h: Remove extra function.
Pendantic std usage in testsuites.
* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
with std.
* testsuite/17_intro/header_cwchar.cc: Tweak.
* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
std::setlocale.
* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_to_char.cc (test05): Same.
* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_is_char.cc (test05): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/time_get_members_char.cc (test08): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/time_put_members_char.cc (test04): Same.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_put_members_char.cc (test04): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/22_locale/num_get_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/money_put_members_char.cc (test07): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/money_get_members_char.cc (test08): Same.
* testsuite/22_locale/messages_members_char.cc (test03): Same.
* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/collate_members_char.cc (test04): Same.
* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
From-SVN: r54891
2002-06-21 20:21:03 +00:00
Kaveh R. Ghazi
eb6b51b9f0
mangle.c (integer_type_codes): Const-ify.
...
cp:
* mangle.c (integer_type_codes): Const-ify.
java:
* decl.c (clear_binding_level): Const-ify.
From-SVN: r54890
2002-06-21 20:18:21 +00:00
Kaveh R. Ghazi
3e16bfe2b1
tree.c (tree_node_kind, [...]): Wrap in GATHER_STATISTICS macro.
...
* tree.c (tree_node_kind, tree_node_counts, tree_node_sizes,
tree_node_kind_names): Wrap in GATHER_STATISTICS macro.
From-SVN: r54888
2002-06-21 19:33:24 +00:00
Matt Thomas
6b0760fd15
netbsd.h: Adjust a comment.
...
2002-06-21 Matt Thomas <matt@3am-software.com>
* config/vax/netbsd.h: Adjust a comment.
(TARGET_DEFAULT): Redefine as 0.
From-SVN: r54887
2002-06-21 19:20:14 +00:00
Richard Henderson
31a782981f
bb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi fallthru edge.
...
2002-06-21 Richard Henderson <rth@redhat.com>
* bb-reorder.c (make_reorder_chain_1): Search harder for the
vax casesi fallthru edge.
* cfglayout.c (cleanup_unconditional_jumps): Use
redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead.
* cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
block after ADDR_VEC.
From-SVN: r54885
2002-06-21 19:05:00 +00:00
Kaveh R. Ghazi
b62cc13a20
Object.m (forward, [...]): Fix unused parameter warnings.
...
* Object.m (forward, read, write): Fix unused parameter warnings.
* encoding.c: Include <stdlib.h>.
(target_flags): Mark with attribute unused.
(atoi): Delete.
* runtime.h (__objc_selector_max_index): Change to unsigned int.
(__objc_generate_gc_type_description): Prototype.
* selector.c (__objc_selector_max_index): Change to unsigned int.
From-SVN: r54884
2002-06-21 14:36:37 +00:00
Andreas Jaeger
4ae361ecf2
Make-lang.in (treelang/tree1.o, [...]): Add dependency on $(CONFIG_H).
...
* Make-lang.in (treelang/tree1.o, treelang/treetree.o,
treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
From-SVN: r54881
2002-06-21 16:09:33 +02:00
Rainer Orth
d8bf178584
* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
...
From-SVN: r54879
2002-06-21 11:23:06 +00:00
GCC Administrator
0eda5d3a1b
Daily bump.
...
From-SVN: r54877
2002-06-21 07:40:10 +00:00
Bryce McKinlay
f2390faddf
Reformat JDBC classes and add new JDK 1.4 classes and methods.
...
* java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
java/sql/Savepoint.java: New files.
* java/sql/Array.java, java/sql/BatchUpdateException.java,
java/sql/Blob.java, java/sql/CallableStatement.java,
java/sql/Clob.java, java/sql/Connection.java,
java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
java/sql/Date.java, java/sql/Driver.java,
java/sql/DriverManager.java,
java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
java/sql/Ref.java, java/sql/ResultSet.java,
java/sql/ResultSetMetaData.java, java/sql/SQLData.java
java/sql/SQLException.java, java/sql/SQLInput.java,
java/sql/SQLOutput.java, java/sql/SQLWarning.java
java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
(JDK 1.4) specification.
* javax/sql/ConnectionEvent.java,
javax/sql/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java, javax/sql/PooledConnection.java,
javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
javax/sql/RowSet.java, javax/sql/RowSetListener.java,
javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
javax/sql/XADataSource.java: New files.
* Makefile.am: Add new files.
* Makefile.in: Rebuilt.
From-SVN: r54871
2002-06-21 06:39:33 +01:00
Neil Booth
00b94a4440
cpperror.c (cpp_error): For traditional CPP, default to diagnostics on pfile->line.
...
* cpperror.c (cpp_error): For traditional CPP, default to
diagnostics on pfile->line.
* cpplib.c (prepare_directive_trad): Set line number for
diagnostics for #define too.
* cpptrad.c (skip_whitespace): Skip comments properly.
(_cpp_expansions_different_trad): Initialize quote2.
testsuite:
* gcc.dg/cpp/trad: New directory with traditional tests copied
from parent directory.
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c,
gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c,
gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c,
gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c:
Move to trad/ and rename.
* gcc.dg/cpp/trad/__STDC__.c, gcc.dg/cpp/trad/comment.c,
gcc.dg/cpp/trad/escaped-eof.c, gcc.dg/cpp/trad/redef1.c,
gcc.dg/cpp/trad/redef2.c: New tests.
* gcc.dg/cpp/trad/trad.exp: New driver.
From-SVN: r54870
2002-06-21 05:29:09 +00:00
Hans-Peter Nilsson
c583c5c3f7
mmix.md: Change GNU CC to GCC in file header comment.
...
* config/mmix/mmix.md: Change GNU CC to GCC in file header comment.
* config/mmix/mmix.h: Ditto.
* config/mmix/mmix-protos.h: Ditto.
* config/mmix/mmix.c: Ditto. Fix typo in comment.
* config/mmix/mmix-modes.def: Change GNU CC to GCC in file header
comment. Comment extra CC modes.
From-SVN: r54869
2002-06-21 03:55:47 +00:00
Jan Hubicka
1292ec0ce0
cfglayout.c (scope_to_insns_initialize): Call set_block_levels.
...
* cfglayout.c (scope_to_insns_initialize): Call set_block_levels.
(scope_to_insns_finalize): Do not call set_block_levels; handle
sequences.
(choose_inner_scope): New.
* rtl.h (choose_inner_scope): Declare.
From-SVN: r54868
2002-06-20 20:09:11 -06:00
John David Anglin
0f8e384960
pa-protos.h (pa_asm_output_mi_thunk): Change third argument to HOST_WIDE_INT.
...
* pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
HOST_WIDE_INT.
* pa.c (pa_asm_output_mi_thunk): Likewise.
(n_deferred_plabels): Change type to size_t.
(output_deferred_plabels, output_call): Use size_t instead of int.
From-SVN: r54867
2002-06-21 01:37:47 +00:00
Richard Henderson
91ace76da1
Fix thinko last change.
...
From-SVN: r54866
2002-06-20 16:50:13 -07:00
Richard Henderson
0655301f42
m68k.md (zero_extendsidi2): Create expander; duplicate pattern and adjust constraints for coldfire.
...
* config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate
pattern and adjust constraints for coldfire.
From-SVN: r54865
2002-06-20 16:47:35 -07:00
Richard Henderson
aa8dea091f
typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.
...
* typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.
Call put_var_into_stack.
* g++.dg/opt/asm1.C: New.
From-SVN: r54862
2002-06-20 16:23:54 -07:00
Richard Henderson
2b3aadfc7b
* explow.c (probe_stack_range): Use gen_rtx_fmt_ee.
...
From-SVN: r54861
2002-06-20 16:15:17 -07:00
Chris Demetriou
5c44e27551
config.gcc (mipsisa64-*-elf*, [...]): New targets.
...
2002-06-20 Chris Demetriou <cgd@broadcom.com>
* config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets.
From-SVN: r54860
2002-06-20 15:41:25 -07:00
Chris Demetriou
8fff5435a6
mips.h (ISA_HAS_FP4): Fix comment to reflect use.
...
2002-06-20 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use.
From-SVN: r54859
2002-06-20 15:36:09 -07:00
Stan Shebs
8a67e0836f
* dominance.c: Include errors.h instead of error.h.
...
From-SVN: r54858
2002-06-20 22:33:42 +00:00
Neil Booth
017acb41cd
cppexp.c (cpp_interpret_integer): Don't force traditional numbers to be unsigned.
...
* cppexp.c (cpp_interpret_integer): Don't force traditional
numbers to be unsigned.
* cpplib.c (prepare_directive_trad): Set line number for
diagnostics.
* cpptrad.c (scan_out_logical_line): Continue scanning out
at start of buffer.
* gcc.c (trad_capable_cpp): Use cc1 always.
f:
* lang-specs.h: Use cc1 for traditional preprocessing.
testsuite:
* gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c,
gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c,
gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c,
gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c:
Remove.
From-SVN: r54856
2002-06-20 20:34:19 +00:00
Benjamin Kosnik
5ab23d80ec
Makefile.am (libsupc__convenience_la_SOURCES): Add c_sources.
...
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
c_sources.
From-SVN: r54855
2002-06-20 20:25:44 +00:00
Benjamin Kosnik
12d0271cfd
ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
...
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
Use size_type instead of unsigned long.
From-SVN: r54854
2002-06-20 20:13:46 +00:00
Steve Ellcey
e0d98a924a
* MAINTAINERS (Write After Approval): Add self.
...
From-SVN: r54853
2002-06-20 19:52:23 +00:00
Steve Ellcey
a9c418403e
ext-inst.cc (_S_fetch): Add explicit templates for char and wchar types.
...
* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
wchar types.
(_S_min_len): Ditto.
From-SVN: r54850
2002-06-20 19:20:41 +00:00
Benjamin Kosnik
e01c9849c9
Makefile.am: Add rules.
...
2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am: Add rules.
* include/Makefile.in: Regenerate.
* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* configure.target (c_model, c_compatibility): Add.
* libsupc++/Makefile.am (c_sources): New.
(libsupc___la_SOURCES): Add c_sources.
(LTCOMPILE): Remove INCLUDES.
(GCC_INCLUDES): New.
(C_COMPILE): New, like COMPILE but without INCLUDES.
(cxa_demangle.o): Use C_COMPILE.
(dyn-string.o): Use C_COMPILE.
* include/c/std_cstdarg.h: Define __need___va_list.
* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
need_NULL, need_offsetof.
From-SVN: r54849
2002-06-20 19:08:42 +00:00
Jeff Law
0ed4a39059
i386.h (TARGET_DEFAULT): Do not turn on frame pointer elimination in leaf functions by default yet.
...
* i386.h (TARGET_DEFAULT): Do not turn on frame pointer
elimination in leaf functions by default yet.
From-SVN: r54848
2002-06-20 13:07:42 -06:00
Richard Sandiford
9164f47a9d
* gcc.dg/20020620-1.c: New test.
...
From-SVN: r54847
2002-06-20 18:07:29 +00:00
Richard Sandiford
988ef418eb
* combine.c (make_extraction): Reapply to the argument of an ASHIFT.
...
From-SVN: r54846
2002-06-20 18:04:00 +00:00