Chip Salzenberg
b0166fda45
libio.h (_IO_USER_LOCK): Define.
...
2000-10-18 Chip Salzenberg <chip@valinux.com>
* libio/libio.h (_IO_USER_LOCK): Define.
From-SVN: r36944
2000-10-18 23:29:30 +00:00
Benjamin Kosnik
697649eab1
Makefile.am (exception): Change exception.cc to exception_support.cc.
...
2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* libsupc++/Makefile.am (exception): Change exception.cc to
exception_support.cc.
(CXXLINK): Remove bogus --tag CC.
* libsupc++/Makefile.in: Regenerate.
* libsupc++/exception.cc: Move to...
* libsupc++/exception_support.cc: ...here.
* src/Makefile.am: Remove bogus --tag CC.
* src/Makefile.in: Regenerate.
* include/bits/locale_facets.tcc (use_facet): Simplify.
* include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
(use_facet<ctype<wchar_t> >): Same.
* src/locale-inst.cc: Remove explicit instantiation.
* src/locale.cc: Correct signature here too.
(_Bad_use_facet::what()): Correct error string.
* include/bits/localefwd.h: Correct comment.
* mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
From-SVN: r36943
2000-10-18 23:26:22 +00:00
Chandrakala Chavva
91ce572a07
Adding new option -ftrapv.
...
From-SVN: r36942
2000-10-18 17:33:41 -04:00
Geoff Keating
4c2c5712af
t-netware: Bring in from the Red Hat tree.
...
2000-10-18 Geoffrey Keating <geoffk@cygnus.com>
David V. Henkel-Wallace <gumby@cygnus.com>
* config/i386/t-netware: Bring in from the Red Hat tree.
* config/i386/netware.h: Likewise.
* config/netware.h: Likewise.
* config/rs6000/netware.h: Delete.
* configure.in: Add i[34567]86-*-netware.
* configure: Hand-edit to match configure.in change.
Co-Authored-By: David V. Henkel-Wallace <gumby@cygnus.com>
From-SVN: r36941
2000-10-18 19:57:54 +00:00
Mark Mitchell
6bcedb4e1c
c-common.h (flag_no_builtin): Declare.
...
* c-common.h (flag_no_builtin): Declare.
(flag_no_nonansi_builtin): Likewise.
(c_common_nodes_and_builtins): Change prototype.
* c-common.c (flag_no_builtin): New variable.
(flag_no_nonansi_builtin): Likewise.
(c_common_nodes_and_builtins): Remove parameters. Adjust
accordingly.
* c-decl.c (flag_no_builtin): Remove.
(flag_no_nonansi_builtin): Likewise.
(init_decl_processing): Adjust call to
c_common_nodes_and_builtins.
* cp-tree.h (cp_tree_index): Add CPTI_FAKE_STD.
(fake_std_node): New macro.
* decl.c (in_std): Rename to ...
(in_fake_std): ... this.
(flag_no_builtin): Remove.
(flag_no_nonansi_builtin): Likewise.
(walk_namespaces_r): Use fake_std_node.
(push_namespace): Use std_identifier.
(pop_namespace): Use in_fake_std.
(lookup_name_real): Use fake_std_node.
(init_decl_processing): When -fhonor-std, create the `std'
namespace. Don't create a dummy fake_std_node in that case.
Adjust call to c_common_nodes_and_builtins. Use std_identifier.
(builtin_function): Put builtins whose names don't begin
with `_' in the std namespace.
* decl2.c (flag_no_builtin): Remove.
(flag_no_nonansi_builtin): Likewise.
(set_decl_namespace): Use fake_std_node.
(validate_nonmember_using_decl): Likewise.
(do_using_directive): Likewise.
(handle_class_head): Likewise.
* dump.c (dequeue_and_dump): Likewise.
* except.c (init_exception_processing): Use std_identifier.
* init.c (build_member_call): Use fake_std_node.
* rtti.c (init_rtti_processing): Use std_identifier.
From-SVN: r36940
2000-10-18 18:59:04 +00:00
Marc Espie
989b26a751
tm.texi (LIBGCC_SPEC): Synch with reality.
...
2000-10-18 Marc Espie <espie@openbsd.org>
* tm.texi (LIBGCC_SPEC): Synch with reality.
From-SVN: r36939
2000-10-18 17:51:54 +00:00
Marc Espie
ea205a526b
Rectify missing entry.
...
From-SVN: r36938
2000-10-18 17:44:42 +00:00
Jakub Jelinek
c1b037bde8
iostream.cc (ends): Release the acquired lock.
...
* iostream.cc (ends): Release the acquired lock.
(endl): Likewise.
From-SVN: r36937
2000-10-18 18:52:12 +02:00
Joseph Myers
81cf47b209
c-common.c (check_format_types): Check for writing through a NULL pointer argument.
...
* c-common.c (check_format_types): Check for writing through a
NULL pointer argument.
testsuite:
* gcc.dg/c90-printf-1.c, gcc.dg/c90-scanf-1.c: Add tests for
writing through null pointers; remove comment about testing
unterminated strings.
From-SVN: r36936
2000-10-18 17:09:35 +01:00
Hans-Peter Nilsson
27c35f4b24
tm.texi (Exception Region Output): Document DWARF_CIE_DATA_ALIGNMENT.
...
* tm.texi (Exception Region Output): Document
DWARF_CIE_DATA_ALIGNMENT.
* dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
#ifndef.
[ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
DWARF_CIE_DATA_ALIGNMENT.
From-SVN: r36935
2000-10-18 12:49:47 +00:00
Michael Hayes
4a7da9b553
basic-block.h (struct loop): Delete fields pre_header_root and pre_header_trace and replace with...
...
* basic-block.h (struct loop): Delete fields pre_header_root
and pre_header_trace and replace with pre_header_edges
and num_pre_header_edges.
* flow.c (flow_loop_dump): Dump pre_header_edges.
(flow_loops_free): Free pre_header_edges.
(flow_loop_pre_header_scan): Calculate pre_header_edges.
From-SVN: r36934
2000-10-18 10:10:38 +00:00
Gerald Pfeifer
42c1075091
contrib.texi: Update references to steering committee members and Jeff Law's entry.
...
* contrib.texi: Update references to steering committee members
and Jeff Law's entry.
From-SVN: r36933
2000-10-18 09:05:45 +00:00
Jeff Law
864ab6c772
Daily bump.
...
From-SVN: r36932
2000-10-18 01:45:11 -06:00
Joseph Myers
ade7d3cc1d
c-common.c (CPLUSPLUS_STD_VER, [...]): Define.
...
* c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
(maybe_read_dollar_number, check_format_info_main): Use them for
pedantic warning messages.
From-SVN: r36931
2000-10-18 08:33:04 +01:00
Kazu Hirata
8682223f1d
h8300.c: Fix a comment typo.
...
2000-10-18 Kazu Hirata <kazu@hxi.com>
* h8300.c: Fix a comment typo.
(round_frame_size): New.
(compute_saved_regs): Likewise.
(push): Likewise.
(pop): Likewise.
(push_order): Remove.
(pop_order): Likewise.
(function_prologue): Rearrange code for readability.
(function_epilogue): Likewise.
From-SVN: r36930
2000-10-18 07:17:36 +00:00
Joseph Myers
c525126030
c-common.c (check_format_info_main): Minor cleanup...
...
* c-common.c (check_format_info_main): Minor cleanup: move
variables into inner scopes; initialize declarations where
appropriate; don't hardcode "scanf" name on warning for zero
width.
From-SVN: r36929
2000-10-18 07:49:34 +01:00
Mark Mitchell
67673f5c5b
c-common.c (back_end_hook): New variable.
...
* c-common.c (back_end_hook): New variable.
* c-common.h (back_end_hook): Declare it.
* c-lang.c (finish_file): Use it.
* emit-rtl.c (init_emit_once): Initialize the const_int_htab
earlier.
* cp-tree.h (back_end_hook): Remove declaration.
* decl2.c (back_end_hook): Remove definition.
* dump.c (dequeue_and_dump): Dump TREE_USED.
From-SVN: r36928
2000-10-18 05:45:37 +00:00
Jan Hubicka
265dab10ab
i386.c (ix86_comparison_operator, [...]): Handle CCRCmode.
...
* i386.c (ix86_comparison_operator, put_condition_code,
ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
(ix86_expand_strlensi_unroll_1): Use CCRCmode.
* i386.h (EXTRA_CC_MODES): Add CCRCmode.
* i386.md (adddi and negdi splitter): Use CCRCmode.
(add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
(subsi3_carry): add '*'
(addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
(cmp to add peep2): Use CCRCmode; swap operands.
From-SVN: r36927
2000-10-18 05:11:37 +00:00
Kazu Hirata
f27e6bb249
reorg.c: Fix formatting.
...
2000-10-18 Kazu Hirata <kazu@hxi.com>
* reorg.c: Fix formatting.
From-SVN: r36926
2000-10-18 04:41:35 +00:00
Kazu Hirata
b054460b55
h8300.md: Remove an unnecessary sign_extend expander that is used when not optimizing.
...
2000-10-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Remove an unnecessary sign_extend
expander that is used when not optimizing. Output a tab after
each assembly insns.
From-SVN: r36925
2000-10-18 04:32:48 +00:00
Matthew Hiller
15edc0cb96
* gcc.c-torture/execute/20001017-2.c: New test.
...
From-SVN: r36924
2000-10-17 20:27:57 -06:00
Joern Rennecke
19ca869b6d
reload1.c (move2add_note_store): Check for simple auto-inc in destination.
...
* reload1.c (move2add_note_store): Check for simple
auto-inc in destination.
From-SVN: r36923
2000-10-17 20:26:26 -06:00
Michael Chastain
2ddb1ca161
i386-aout.h: define INT_ASM_OP.
...
2000-09-26 Michael Chastain <chastain@redhat.com>
* config/i386/i386-aout.h: define INT_ASM_OP.
From-SVN: r36922
2000-10-17 20:23:58 -06:00
Brad Lucier
8fef2e474b
* spew.c (snarf_defarg): Cast 2nd arg to obstack_blank to (int).
...
From-SVN: r36921
2000-10-17 20:19:56 -06:00
Alan Modra
11881f37b7
* pa.c (print_operand): Handle case 'c' for .vtable_inherit
...
From-SVN: r36920
2000-10-17 20:12:03 -06:00
Martin Buchholz
189244a414
* testsuite/27_io/istream_seeks.cc: Fix spelling typo. * testsuite/27_io/ostream_seeks.cc: Similarly.
...
From-SVN: r36919
2000-10-17 20:07:54 -06:00
Martin Buchholz
33e39e3870
* i370.md: Fix spelling typo.
...
From-SVN: r36918
2000-10-17 20:06:38 -06:00
Joseph Myers
0fe6838788
20001018-1.c: New test.
...
* gcc.c-torture/compile/20001018-1.c: New test.
* gcc.c-torture/compile/20001018-1.x: Xfail.
From-SVN: r36917
2000-10-18 00:35:41 +01:00
Franz Sirl
2b7fb03423
* ChangeLog: Remove CVS conflict marker, fix typos.
...
From-SVN: r36916
2000-10-17 23:26:18 +00:00
Alexandre Petit-Bianco
1a2ebe6d57
except.c (free_eh_ranges): Don't free `whole_range.'
...
2000-10-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
* except.c (free_eh_ranges): Don't free `whole_range.'
(http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00557.html )
From-SVN: r36915
2000-10-17 15:48:59 -07:00
Franz Sirl
832ea3b309
function.c (locate_and_pad_parm): Don't align stack unconditionally.
...
2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* function.c (locate_and_pad_parm): Don't align stack unconditionally.
Fixes execute/20001017-1.c on pwerpc-linux-gnu.
* expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
* rs6000/rs6000.c (rs6000_hash_constant): use X0INT to access a
LABEL_REF.
* rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
here...
* rs6000/aix.h: ...to here.
* rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
From-SVN: r36914
2000-10-17 22:17:34 +00:00
Franz Sirl
34137553f9
20001017-1.c: New test.
...
2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20001017-1.c: New test.
From-SVN: r36913
2000-10-17 22:04:51 +00:00
Jakub Jelinek
4c646291f1
alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
...
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
sure linker can relax even the delay slot mov %g1,%o7, fix output
formating.
From-SVN: r36912
2000-10-17 23:45:23 +02:00
Kazu Hirata
07e0fe3dae
h8300.md: Remove an unnecessary zero_extend expander that is used when not optimizing.
...
2000-10-17 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Remove an unnecessary zero_extend
expander that is used when not optimizing. Output a tab after
each assembly insns.
From-SVN: r36911
2000-10-17 20:17:35 +00:00
Chandrakala Chavva
10501d8f2f
Added new option --target-help.
...
From-SVN: r36910
2000-10-17 16:07:51 -04:00
Graham Stott
c330e9c1e2
i386.md (testqi_1): Add missing operand prefix for operand 0.
...
* config/i386/i386.md (testqi_1): Add missing operand prefix
for operand 0.
* config/i386/i386-protos.h: Add missing prototype.
From-SVN: r36909
2000-10-17 19:12:43 +00:00
Graham Stott
343bf72840
* i386.md (testqi_1): Add missing operand prefix for operand 0.
...
From-SVN: r36908
2000-10-17 19:05:40 +00:00
Graham Stott
6ea15a909f
* i386-protos.h: Add missing prototype.
...
From-SVN: r36907
2000-10-17 19:01:14 +00:00
Diego Novillo
69ac483175
unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix when using -mintel-syntax.
...
2000-10-17 Diego Novillo <dnovillo@cygnus.com>
* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
_GLOBAL_OFFSET_TABLE should not have a $ prefix when
using -mintel-syntax.
From-SVN: r36906
2000-10-17 14:47:47 -04:00
Joseph Myers
b691cb00a8
c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
...
* c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
(format_types): Use it for printf.
(maybe_read_dollar_number): Add parameter for the kind of format
involved. Warn for multiple use for arguments if this is
inappropriate for the kind of format involved.
(check_format_info_main): Update calls to maybe_read_dollar_number.
testsuite:
* gcc.dg/format-xopen-1.c: Update comments; adjust for checking
for multiple use of arguments with scanf formats; add tests for
multiple use of arguments.
From-SVN: r36905
2000-10-17 19:16:15 +01:00
J. David Anglin
948eab23d0
inclhack.def (hpux_maxint): Also apply fix to values.h.
...
* inclhack.def (hpux_maxint): Also apply fix to values.h.
* fixincl.x: Rebuilt.
From-SVN: r36904
2000-10-17 10:35:12 -06:00
Alexandre Oliva
1651ab853f
genrecog.c (write_switch): Return the first condition that needs a label.
...
* genrecog.c (write_switch): Return the first condition that needs a
label.
From-SVN: r36903
2000-10-17 14:27:53 +00:00
Benjamin Kosnik
a911742751
via Alexandre Oliva <aoliva@redhat.com>
...
2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
via Alexandre Oliva <aoliva@redhat.com>
* libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am: Duplicate code.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
* aclocal.m4: Regenerate.
* configure.in: And here.
* configure: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
test for SECTION_LDFLAGS.
From-SVN: r36902
2000-10-17 10:12:23 +00:00
Bernd Schmidt
2683ed8d12
Improved sequence point warnings
...
From-SVN: r36901
2000-10-17 09:34:21 +00:00
Benjamin Kosnik
9ece379a8a
Shadow headers would work if libsupc++ was strict about namespaces.
...
2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
Shadow headers would work if libsupc++ was strict about namespaces.
This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
* include/c_std/assert.h: Add guards.
* include/c_std/bits/std_climits.h: Correct typo.
* include/c_std/ctype.h: Remove #error.
* libio/libioP.h: Break up extern "C" bits around includes.
* libio/libio.h: Only include C headers, or else _C_legacy namespaces
will be nested.
* libio/libioP.h: Same here.
From-SVN: r36900
2000-10-17 08:25:08 +00:00
Jeff Law
030d2f3414
Daily bump.
...
From-SVN: r36899
2000-10-17 01:45:08 -06:00
Joseph Myers
652469d0ab
decl.c (WINT_TYPE): Define.
...
* decl.c (WINT_TYPE): Define.
(init_decl_processing): Create types unsigned_ptrdiff_type_node,
c_size_type_node, signed_size_type_node and wint_type_node.
From-SVN: r36898
2000-10-17 08:00:06 +01:00
Joseph Myers
74ff46299b
c-common.h (warn_missing_format_attribute): New variable.
...
* c-common.h (warn_missing_format_attribute): New variable.
* c-decl.c (warn_missing_format_attribute): New variable.
(c_decode_option): Decode -Wmissing-format-attribute and
-Wno-missing-format-attribute.
* c-common.c (check_function_format): If
-Wmissing-format-attribute, give a warning where a vprintf or
vscanf function is called by a function without its own printf or
scanf attribute.
* toplev.c (documented_lang_options): Add
-Wmissing-format-attribute.
* invoke.texi: Document -Wmissing-format-attribute.
cp:
* decl2.c (warn_missing_format_attribute): New variable.
(lang_decode_option): Decode -Wmissing-format-attribute.
testsuite:
* gcc.dg/format-miss-1.c: New test.
From-SVN: r36897
2000-10-17 07:52:06 +01:00
Marc Espie
1d3b0e2c19
invoke.texi (-shared): Insist on requiring code generation flags to be used along with -shared...
...
2000-10-17 Marc Espie <espie@openbsd.org>
* invoke.texi (-shared): Insist on requiring code generation flags
to be used along with -shared, and document the subtle failure that
may occur otherwise.
From-SVN: r36896
2000-10-17 05:20:14 +00:00
J. David Anglin
1c2171710d
* pa.md (return_internal): Move `use' after `return'.
...
From-SVN: r36895
2000-10-16 22:43:58 -06:00