Marek Michalkiewicz
dfaf5abf0f
avr.c (out_movsi_r_mr, [...]): Do not output undefined opcodes where source or destination register overlaps...
...
* config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
Do not output undefined opcodes where source or destination register
overlaps with modified pointer register. Handle (X + d) addresses.
* config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
in alternatives with memory operand.
From-SVN: r38405
2000-12-20 21:49:22 +03:00
Richard Henderson
64094f6a65
c-typeck.c (build_asm_stmt): New, broken out from ...
...
* c-typeck.c (build_asm_stmt): New, broken out from ...
(c_expand_asm_operands): ... here. Just do rtl expansion.
(c_expand_return): Return the new stmt node.
(c_start_case, do_case): Likewise.
* c-common.c (c_expand_expr_stmt): Likewise.
* c-common.h: Update declarations.
* c-tree.h: Likewise.
* c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
* c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
(nested_function, notype_nested_function): Likewise.
(compstmt): Return the compound statement not the binding level.
(lineno_labeled_stmt): Simplify.
(lineno_stmt, lineno_label): Set STMT_LINENO.
(stmt, label): Return the new stmt node.
From-SVN: r38402
2000-12-20 10:18:24 -08:00
Richard Henderson
3e4d04a1ba
cp-tree.h: Update declarations.
...
* cp-tree.h: Update declarations.
* decl.c (finish_case_label): Return the new stmt node.
* semantics.c (finish_goto_stmt): Likewise.
(finish_expr_stmt, finish_return_stmt): Likewise.
(finish_break_stmt, finish_continue_stmt): Likewise.
(finish_asm_stmt): Likewise.
* parse.y (already_scoped_stmt): Set STMT_LINENO.
(compstmt, implicitly_scoped_stmt, stmt): Likewise.
(simple_if, simple_stmt): Return the new stmt node.
(save_lineno): New.
From-SVN: r38401
2000-12-20 10:16:47 -08:00
Bernd Schmidt
18e720b324
Support scheduling across extended basic blocks
...
From-SVN: r38400
2000-12-20 17:19:39 +00:00
Bernd Schmidt
fd7bcd6f05
Fix ARM bootstrap problems introduced by last change
...
From-SVN: r38399
2000-12-20 15:48:26 +00:00
Alexandre Oliva
99c8c61c83
final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
...
* final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
* tm.texi: Document it.
From-SVN: r38395
2000-12-20 09:03:23 +00:00
Jeff Law
f4665e9ba4
Daily bump.
...
From-SVN: r38394
2000-12-20 01:45:08 -07:00
Benjamin Kosnik
6abd2230b9
headers_c.cc (main): New file.
...
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r38393
2000-12-20 08:39:55 +00:00
Benjamin Kosnik
713c16f860
[multiple changes]
...
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38392
2000-12-20 08:24:40 +00:00
Benjamin Kosnik
49caba3beb
ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
...
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38391
2000-12-20 08:04:41 +00:00
Benjamin Kosnik
ae75b1773b
Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
...
2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
instead of gcc_tooldir.
From-SVN: r38390
2000-12-20 07:02:41 +00:00
Benjamin Kosnik
1eddfef1b0
Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
...
2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
instead of gcc_tooldir.
From-SVN: r38389
2000-12-20 06:50:19 +00:00
Benjamin Kosnik
205c6f1709
[multiple changes]
...
2000-12-19 Benjamin Kosnik <bkoz@fillmore.constant.com>
* configure.in: Don't turn on long long by default.
* configure: Regenerate.
* include/c/bits/std_cstdio.h: Remove c++config.h include.
* src/locale.cc: Formatting tweaks.
* testsuite/22_locale/ctype.cc (char<unsigned char>): Provide
member functions.
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38388
2000-12-19 22:55:07 +00:00
Benjamin Kosnik
f9ecb28c17
ctype.cc (test01): Correct ~ operator usage.
...
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38387
2000-12-19 20:10:41 +00:00
Mark Kettenis
36efdf10e5
configure.target: Support the Hurd.
...
2000-12-19 Mark Kettenis <kettenis@gnu.org>
* configure.target: Support the Hurd.
From-SVN: r38386
2000-12-19 20:02:13 +00:00
Benjamin Kosnik
62f4333a68
ctype_inline.h (is): Same.
...
2000-12-19 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_inline.h (is): Same.
* config/os/irix/bits/ctype_inline.h (is): Same.
* config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
* config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
* config/os/aix/bits/ctype_inline.h (is): Same.
* config/os/gnu-linux/bits/ctype_inline.h (is): Revert.
* config/os/generic/bits/ctype_inline.h (is): Non-table based
implementation.
* testsuite/22_locale/ctype_char_members.cc (test01): Use binary
operator correctly.
(test01): Check 'A' for alnum, upper, alpha.
From-SVN: r38385
2000-12-19 19:49:00 +00:00
Joseph Myers
c387606fe8
* texinfo: Remove directory from GCC.
...
From-SVN: r38384
2000-12-19 19:42:23 +00:00
John David Anglin
051a55e097
* system.h (getopt): Update prototype to match include/getopt.h.
...
From-SVN: r38383
2000-12-19 10:30:36 -08:00
John David Anglin
b088998d29
From Jeff Law.
...
* pa.c (basereg_operand): Simplify.
From-SVN: r38382
2000-12-19 11:19:56 -07:00
Bernd Schmidt
79c2ffde68
More scheduler infrastructure.
...
From-SVN: r38381
2000-12-19 17:41:20 +00:00
Bernd Schmidt
288c2c9e63
Flow fixes for cond_exec on ia64
...
From-SVN: r38380
2000-12-19 16:52:23 +00:00
Catherine Moore
6a69653af2
reload1.c (reload_combine): Take multi-hard-regs into account when processing CALL_INSN_FUNCTION_USAGE.
...
* reload1.c (reload_combine): Take multi-hard-regs into account
when processing CALL_INSN_FUNCTION_USAGE.
From-SVN: r38379
2000-12-19 11:10:19 -05:00
Joseph Myers
3c0b797012
invoke.texi (-print-search-dirs): Make references to cpp refer to cpp0 instead.
...
* invoke.texi (-print-search-dirs): Make references to cpp refer
to cpp0 instead.
From-SVN: r38378
2000-12-19 13:25:28 +00:00
Gabriel Dos Reis
0a9419ccca
std_complex.h (complex<float>::operator-=): Fix thinko.
...
* include/bits/std_complex.h (complex<float>::operator-=): Fix
thinko.
From-SVN: r38377
2000-12-19 11:21:14 +00:00
Jeff Law
ecbe3dd5d1
Daily bump.
...
From-SVN: r38376
2000-12-19 01:45:45 -07:00
Warren Levy
1889cf4a71
GregorianCalendar.java (GregorianCalendar): Constructors need to set timezone to a valid non-null value.
...
* java/util/GregorianCalendar.java (GregorianCalendar): Constructors
need to set timezone to a valid non-null value. Partial fix for
PR 331.
From-SVN: r38375
2000-12-19 07:48:54 +00:00
Kaveh R. Ghazi
9d2dc7da92
fold-const.c (tree_expr_nonnegative_p): Treat truth values as non-negative.
...
* fold-const.c (tree_expr_nonnegative_p): Treat truth values as
non-negative.
testsuite:
* gcc.dg/compare3.c: New test.
From-SVN: r38374
2000-12-19 01:17:20 +00:00
J"orn Rennecke
d0b6af711c
reload.c (push_reload): When using a dying register for the reload register in an in-out reload...
...
* reload.c (push_reload): When using a dying register for the reload
register in an in-out reload, use outmode if wider than inmode.
From-SVN: r38373
2000-12-19 00:42:31 +00:00
Joseph Myers
3173ca6431
* config/d30v/d30v.h (EXIT_BODY): Update comment.
...
From-SVN: r38371
2000-12-19 00:04:42 +00:00
Joseph Myers
9e9b9afe4c
config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
...
* config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
* tm.texi (EXIT_BODY): Update documentation.
* config/freebsd.h, config/netware.h, config/arm/coff.h,
config/arm/conix-elf.h, config/arm/unknown-elf.h,
config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
commented out) and associated comments.
f:
* com.c [VMS]: Remove definition of BSTRING.
From-SVN: r38370
2000-12-18 23:58:21 +00:00
Joseph Myers
20d380b15d
c-common.c (STD_C9L, ADJ_STD): Define.
...
* c-common.c (STD_C9L, ADJ_STD): Define.
(printf_length_specs, scanf_length_specs): Mark "ll" as standard
STD_C9L.
(T99_LL): Rename to T9L_LL.
(T99_ULL): Rename to T9L_ULL.
(print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
instead of T99_LL and T99_ULL.
(check_format_info_main): Use ADJ_STD on all format standard
versions being compared.
* c-common.h: Declare warn_long_long.
* c-tree.h: Don't declare warn_long_long.
cp:
* cp-tree.h: Don't declare warn_long_long.
testsuite:
* gcc.dg/format-warnll-1.c: New test.
From-SVN: r38369
2000-12-18 23:50:58 +00:00
Tom Tromey
e2ef2bf880
mauve.exp (test_mauve): Don't look for exceptions thrown in the test harness.
...
* libjava.mauve/mauve.exp (test_mauve): Don't look for exceptions
thrown in the test harness.
(test_mauve_sim): Likewise.
From-SVN: r38368
2000-12-18 23:13:05 +00:00
Bryce McKinlay
be36b6d0dd
Removed additional addNotify() peer hacks.
...
From-SVN: r38367
2000-12-18 22:17:25 +00:00
Joseph Myers
2cb5082c1e
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
...
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
gcc:
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
gcc/f:
* g77.texi: Update GPL copy not to refer to years 19@var{yy}.
include:
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
From-SVN: r38366
2000-12-18 21:47:20 +00:00
Bryce McKinlay
6d003d5c8f
re GNATS gcj/373: (interface inner classes are implicitly static)
...
Fix for PR gcj/373:
* parse.y (create_class): Set ACC_STATIC if class is declared in an
interface.
From-SVN: r38365
2000-12-18 21:23:02 +00:00
Bryce McKinlay
da68e69359
Window.java (addNotify): Remove peer casting hack now that gcj/312 is fixed.
...
* java/awt/Window.java (addNotify): Remove peer casting hack now
that gcj/312 is fixed.
From-SVN: r38364
2000-12-18 21:20:31 +00:00
Bryce McKinlay
c1eacb709f
Fix for PRs gcj/312 and gcj/253:
...
* parse.y (valid_ref_assignconv_cast_p): Load classes for source and
dest if they arn't already.
* class.c (layout_class): Call maybe_layout_super_class on
superinterfaces also, but only if compiling from bytecode.
From-SVN: r38363
2000-12-18 21:15:52 +00:00
Toon Moene
25cfec087a
bugs.texi: Correct copyright years.
...
2000-12-18 Toon Moene <toon@moene.indiv.nluug.nl>
* bugs.texi: Correct copyright years.
* g77.texi: Likewise.
* news.texi: Likewise.
From-SVN: r38362
2000-12-18 20:59:48 +00:00
Neil Booth
665ad67835
c-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1).
...
* c-lex.c (cb_file_change): Treat in_system_header as strictly
boolean (0 or 1).
From-SVN: r38361
2000-12-18 20:38:35 +00:00
Neil Booth
ee83b1f754
* gcc.dg/cpp/cmdlne-P.c: New test.
...
From-SVN: r38360
2000-12-18 19:37:18 +00:00
Neil Booth
3cab41338d
* cppmain.c: Update print.lineno with -P.
...
From-SVN: r38359
2000-12-18 19:31:54 +00:00
Joseph Myers
9b4ea1a8a3
builtin-abs-1.c, [...]: New tests.
...
* gcc.c-torture/execute/builtin-abs-1.c,
gcc.c-torture/execute/builtin-abs-2.c: New tests.
From-SVN: r38358
2000-12-18 19:01:41 +00:00
Neil Booth
eb1f4d9d28
c-lex.c: s/change_file/file_change.
...
* c-lex.c: s/change_file/file_change.
* cpplib.h: Similarly.
* cppmain.c: Similarly.
* fix-header.c: Similarly.
* cppfiles.c (stack_include_file): Pass the buffer location and
size to cpp_push_buffer. Generate the file_change callback,
so that sysp is already set.
* cpphash.h: Add _cpp_do_file_change.
* cpplib.c (do_line): Set buffer->sysp directly. Generate the
file_change callback after setting sysp.
(_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
here.
(cpp_push_buffer): Don't generate a callback. Clear sysp.
(cpp_pop_buffer): Clean up logic.
From-SVN: r38357
2000-12-18 19:00:26 +00:00
Benjamin Kosnik
e2187d3b52
configure.in (gcc_gxx_include_dir): Simplify.
...
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (gcc_gxx_include_dir): Simplify.
(libstdcxx_incdir): Export.
* configure: Regenerate.
* Makefile.in (PREPROCESSOR_DEFINES): Add in
GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
(libstdcxx_incdir): Add.
* cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
From-SVN: r38356
2000-12-18 18:12:45 +00:00
Benjamin Kosnik
cc330df988
Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
...
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
(libstdcxx_incdir): Pass down.
* config.if: Remove expired bits for cxx_interface, add stub.
(libstdcxx_incdir): Add variable for g++ include directory.
* configure.in (gxx_include_dir): Use it.
From-SVN: r38355
2000-12-18 18:08:07 +00:00
Benjamin Kosnik
6e138b89b7
[multiple changes]
...
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Set os_include_dir for cross_compiles.
* configure: Regenerate.
* configure.target (l_glibcpp_cxxflags): Don't try to be clever
when assigning ATOMICITYH. Only special case the special cases...
2000-12-15 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (gxx_target_include_dir): Install target-dependent
include files in a target-dependent place.
* configure: Regenerate.
* src/Makefile.am: Add in support here.
* src/Makefile.in: Regenerate.
From-SVN: r38354
2000-12-18 18:03:08 +00:00
Alexandre Oliva
4c6b283591
MAINTAINERS: Added self as sh port co-maintainer.
...
* MAINTAINERS: Added self as sh port co-maintainer. Removed entry
with old-email address from ``Write After Approval''.
From-SVN: r38353
2000-12-18 17:01:21 +00:00
Joseph Myers
8f6b8c9955
g77install.texi: Remove obsolete parts only used for INSTALL, and DOC-G77 conditionals.
...
* g77install.texi: Remove obsolete parts only used for INSTALL,
and DOC-G77 conditionals. Update last-update-install date.
From-SVN: r38343
2000-12-18 12:16:41 +00:00
Neil Booth
851ef03661
c-lex.c (lex_lineno): Remove.
...
* c-lex.c (lex_lineno): Remove.
(init_c_lex, c_lex): Remove lex_lineno.
(cb_change_file): Update lineno correctly, both before calling
push_srcloc and before leaving the function.
(cb_def_pragma): Set lineno before outputting diagnostics.
From-SVN: r38342
2000-12-18 10:16:26 +00:00
Joseph Myers
33ba48b619
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
...
* docs/html/17_intro/COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
From-SVN: r38341
2000-12-18 09:14:00 +00:00