summaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)Author
2001-02-05Remove more libio.rth
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39462 138bc75d-0d04-0410-961f-82ee72b054a4
2001-02-05Remove libiommitchel
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39453 138bc75d-0d04-0410-961f-82ee72b054a4
2000-11-282000-11-28 Geoffrey Keating <geoffk@redhat.com>geoffk
Felix Lee <flee@redhat.com> * gen-params: Put in cases for O_EXCL, O_APPEND not being defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37821 138bc75d-0d04-0410-961f-82ee72b054a4
2000-10-18 * iostream.cc (ends): Release the acquired lock.jakub
(endl): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36937 138bc75d-0d04-0410-961f-82ee72b054a4
2000-10-16 * iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]:jakub
Initialize new fields wide and i18n of struct printf_info. (ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 2]: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36876 138bc75d-0d04-0410-961f-82ee72b054a4
2000-09-23 2000-09-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>sirl
* stdstreams.cc: Include <libio.h>, not "libio.h". * iolibio.h: Likewise. (_IO_pos_BAD): Use _IO_off_t instead of _IO_fpos_t. * libio.h (_IO_USER_LOCK): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36580 138bc75d-0d04-0410-961f-82ee72b054a4
2000-09-07 Move statement-tree facilities from C++ to C front-end.mmitchel
* c-common.h (c_tree_index): Add CTI_VOID_ZERO. (void_zero_node): New macro. (struct stmt_tree_s): New type. (stmt_tree): New typedef. (struct language_function): New type. (last_tree): New macro. (last_expr_type): Likewise. (walk_tree_fn): New typedef. (current_stmt_tree): New function. (begin_stmt_tree): Likewise. (add_stmt): Likewise. (finish_stmt_tree): Likewise. (statement_code_p): Likewise. (lang_statement_code_p): New variable. (walk_stmt_tree): New function. (STMT_IS_FULL_EXPR_P): New macro. * c-common.c (lang_statement_code_p): New variable. (c_common_nodes_and_builtins): Initialize void_zero_node. (statement_code_p): New function. (walk_stmt_tree): Likewise. * c-decl.c (language_function): Rename to ... (c_language_function): ... this. Include language_function. (push_c_function_context): Adjust accordingly. (pop_c_function_context): Likewise. (mark_c_function_context): Likewise. (current_stmt_tree): Define. * c-semantics.c (begin_stmt_tree): New function. (add_stmt): Likewise. (prune_unused_decls): Likewise. (finish_stmt_tree): Likewise. Move statement-tree facilities from C++ to C front-end. * cp-tree.h (cp_tree_index): Remove CPTI_VOID_ZERO. (void_zero_node): Remove. (stmt_tree): Likewise. (scope_chain): Adjust. (language_function): Rename to cp_language_function. (cp_function_chain): Adjust. (current_stmt_tree): Remove. (last_tree): Likewise. (last_expr_type): Likewise. (struct lang_decl): Adjust. (STMT_IS_FULL_EXPR_P): Remove. (add_tree): Remove. (begin_stmt_tree): Likewise. (finish_stmt_tree): Likewise. (walk_tree_fn): Likewise. (walk_stmt_tree): Likewise. * class.c (finish_struct): Replace use of add_tree with add_stmt. * decl.c (mark_stmt_tree): Adjust type. (init_decl_processing): Don't build void_zero_node. (initialize_local_var): Adjust usage of current_stmt_tree. (finish_enum): Use add_stmt, not add_tree. (save_function_data): Adjust use of language_function. (finish_constructor_body): Use add_stmt, not add_tree. (finish_destructor_body): Likewise. (push_cp_function_context): Adjust use of language_function. (pop_cp_function_context): Likewise. (mark_lang_function): Likewise. (mark_cp_function_context): Likewise. * init.c (build_aggr_init): Adjust use of current_stmt_tree. (build_vec_init): Likewise. * semantics.c (SET_LAST_STMT): Remove. (RECHAIN_STMTS): Don't use it. (stmts_are_full_exprs_p): Adjust use of current_stmt_tree. (current_stmt_tree): Define. (add_tree): Remove. (finish_goto_stmt): Use add_stmt, not add_tree. (finish_expr_stmt): Likewise. (begin_if_stmt): Likewise. (finish_then_clause): Likewise. (begin_while_stmt): Likewise. (begin_do_stmt): Likewise. (finish_return_stmt): Likewise. (begin_for_stmt): Likewise. (finish_break_stmt): Likewise. (finish_continue_stmt): Likewise. (begin_switch_stmt): Likewise. (finish_case_label): Likewise. (begin_try_block): Likewise. (begin_function_try_block): Likewise. (begin_handler): Likewise. (begin_catch_block): Likewise. (begin_compound_stmt): Likewise. (begin_asm_stmt): Likewise. (finish_asm_stmt): Likewise. (finish_label_stmt): Likewise. (add_decl_stmt): Likewise. (finish_subobject): Likewise. (finish_decl_cleanup): Likewise. (finish_named_return_value): Likewise. (setup_vtbl_ptr): Likewise. (add_scope_stmt): Likewise. (finish_stmt_expr): Likewise. (prune_unused_decls): Remove. (begin_stmt_tree): Likewise. (finish_stmt_tree): Likewise. (prep_stmt): Adjust use of current_stmt_tree. (lang_expand_stmt): Likewise. * tree.c (statement_code_p): Remove. (cp_statement_code_p): New function. (walk_stmt_tree): Remove. (init_tree): Set lang_statement_code_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36221 138bc75d-0d04-0410-961f-82ee72b054a4
2000-08-18 * editbuf.h (edit_streambuf): Fix syntax error ingdr
friend-declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35782 138bc75d-0d04-0410-961f-82ee72b054a4
2000-08-14top level:zack
* configure: Make enable_threads and enable_shared defaults explicit. Substitute enable_threads into generated Makefiles. * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. * libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*. gcc: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. * fixinc/inclhack.def: Likewise. * fixinc/mkfixinc.sh: Likewise. * configure: Regenerate. * fixinc/fixincl.x: Regenerate. * install.texi: Document equivalence of linux and linux-gnu. libio: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. Honor --disable-threads. libstdc++: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. Honor --disable-threads. libstdc++-v3: * configure: Regenerate after change to ../libtool.m4. libobjc: * configure: Regenerate after change to ../libtool.m4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35680 138bc75d-0d04-0410-961f-82ee72b054a4
2000-07-23 * gen-params: Added trailing space for 'long long int' regexp.law
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35200 138bc75d-0d04-0410-961f-82ee72b054a4
2000-06-30in libiberty/ChangeLog:samuel
* cp-demangle.c (demangle_encoding): Accept no substitutions. (demangle_name): Handle <substitution> followed by <unqualified-template-name>. (demangle_type): Follow special substitutions with <class-enum-type> (demangle_subtitution): Set template_p for special substitutions. (main): Fix typos. in gcc/cp/ChangeLog: * mangle.c (find_substitution): Use same_type_p. (write_encoding): Don't check for substitutions. in libio/ChangeLog: * libioP.h (VTABLE_LABEL): Update for new vtable mangling. * stdstrbufs.cc (filebuf_vtable): Likewise. (stdiobuf_vtable): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34811 138bc75d-0d04-0410-961f-82ee72b054a4
2000-06-10Revert previous patchmmitchel
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34482 138bc75d-0d04-0410-961f-82ee72b054a4
2000-06-08 * libioP.h: Remove old ABI mangling code.mmitchel
* stdstrbufs.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34459 138bc75d-0d04-0410-961f-82ee72b054a4
2000-06-04 * libioP.h: Handle new ABI mangling.mmitchel
* stdstrbufs.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34395 138bc75d-0d04-0410-961f-82ee72b054a4
2000-05-24Update.drepper
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34129 138bc75d-0d04-0410-961f-82ee72b054a4
2000-05-24(endl): Fix bug in last change.drepper
(ends): Make same change as for endl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34128 138bc75d-0d04-0410-961f-82ee72b054a4
2000-05-24 * iostream.cc (endl): Verify stream can accept characterslaw
before writing its eol. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34122 138bc75d-0d04-0410-961f-82ee72b054a4
2000-05-23gcc/testsuite:zack
* c-torture/execute/bcp-1.c: Replace abort in arg of __builtin_constant_p with a generic external function. * gcc.dg/20000108-1.c, gcc.dg/980211-1.c, gcc.dg/980414-1.c, gcc.dg/990119-1.c, gcc.dg/990409.c, gcc.dg/990424-1.c, gcc.dg/991230-1.c, gcc.dg/clobbers.c, gcc.dg/lineno.c, gcc.dg/noreturn-1.c, gcc.dg/trigraphs.c, gcc.dg/uninit-4.c: Prototype abort and/or exit. * gcc.dg/990407-1.c, gcc.dg/strpaste.c, gcc.dg/special/alias-1.c, gcc.dg/special/gcsec-1.c, gcc.dg/special/weak-1.c, gcc.dg/special/weak-2.c, gcc.dg/special/wkali-1.c, gcc.dg/special/wkali-2.c: Include stdlib.h. libio/tests: * tfformat.c: Include stdlib.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34110 138bc75d-0d04-0410-961f-82ee72b054a4
2000-05-16 * config.shared: Change "pic" to depend on $(PICFLAG), notdje
on $(enable_shared). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33920 138bc75d-0d04-0410-961f-82ee72b054a4
2000-05-112000-05-11 Robert Lipe <robertlipe@usa.net>robertl
* configure.in: Remove special casing for sco3.2v[45]. * config/sco4.mt: Deleted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33864 138bc75d-0d04-0410-961f-82ee72b054a4
2000-05-11 * config.table: Use mh-sparcpic for sparc*-*-*.jakub
* configure.in: Use mh-sparcpic for sparc*-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33848 138bc75d-0d04-0410-961f-82ee72b054a4
2000-04-02 * configure.in: Indent the # of #include_next one space.zack
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32871 138bc75d-0d04-0410-961f-82ee72b054a4
2000-03-30 * configure.in: -linux-gnu*, not -linux-gnu.jason
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32823 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-28 * fstream.h (ifstream::ifstream): Add ios::in to mode.loewis
(ifstream::open): Likewise. (ofstream::ofstream): Add ios::out to mode. (ofstream::open): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31666 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-28 * dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declarezack
malloc, calloc, free, atol, atoi, or errno. (errno.h was already being included.) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31659 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-13 * configure.in (*-*-beos*): Recognize.jason
* config/beos.mt: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31374 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-22 * libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead ofjakub
_IO_fpos_t. (_IO_seekoff, _IO_seekpos): Likewise. Use _IO_off64_t instead of _IO_fpos64_t. * libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Likewise. (_IO_seekoff, _IO_seekpos): Likewise. (_IO_default_seekoff, _IO_default_seekpos): Likewise. (_IO_default_seek): Likewise. (_IO_file_seekoff, _IO_file_seek, _IO_str_seekoff): Likewise. * streambuf.h (streampos): Typedef to _IO_off_t resp. _IO_off64_t. * parsestream.h (class parsebuf::pos_at_line_start): Change type to _IO_off_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31068 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-21Add commentary:Remove seek for ios::app if not.loewis
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31059 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-21 * filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.loewis
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31057 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-15 * filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Removejason
advertising clause from BSD license, pursuant with ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30947 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-15 * strstream.h (strstreambuf::streambuf): Rename parameters toloewis
avoid shadow warning. * stream.h (WS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30941 138bc75d-0d04-0410-961f-82ee72b054a4
1999-09-30 * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.law
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29725 138bc75d-0d04-0410-961f-82ee72b054a4
1999-09-27 * configure.in: Recognize target *vxworks* and add fragment vxworks.mt.law
* config/vxworks.mt: New file. * gen-params: Let configure override HAVE_PRINTF_FP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29679 138bc75d-0d04-0410-961f-82ee72b054a4
1999-09-27Kill RCSid strings.law
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29678 138bc75d-0d04-0410-961f-82ee72b054a4
1999-09-13 * config/mpeix.mt: New for MPEiX port.law
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29374 138bc75d-0d04-0410-961f-82ee72b054a4
1999-09-08 * configure.in: Add mpeix.mt make fragment.law
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29202 138bc75d-0d04-0410-961f-82ee72b054a4
1999-09-04dummy checkin to prevent merge lossagelaw
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29102 138bc75d-0d04-0410-961f-82ee72b054a4
1999-08-09* streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in theoliva
global scope. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28604 138bc75d-0d04-0410-961f-82ee72b054a4
1999-08-07 * iostream.cc: Add missing calls to isfx and setup a cleanuplaw
region for the locked stream. * iostream.h: Likewise. * isgetline.cc: Likewise. * isgetsb.cc: Likewise. * isscan.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28573 138bc75d-0d04-0410-961f-82ee72b054a4
1999-06-298law
* configure.in (post-target): Use "$(topsrcdir)", not "$(srcdir)/..". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27836 138bc75d-0d04-0410-961f-82ee72b054a4
1999-06-23 * lib/libio.exp (test_libio): Use additional_flags, notmmitchel
additional_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27716 138bc75d-0d04-0410-961f-82ee72b054a4
1999-06-01 * configure.in: Added DG/UX target fragmentlaw
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27294 138bc75d-0d04-0410-961f-82ee72b054a4
1999-05-30 * libio/dgux.mt: New file for DG/UX configuration of libiolaw
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27248 138bc75d-0d04-0410-961f-82ee72b054a4
1999-05-20libchill, libf2c, libobjc:law
* configure.in (AC_PREREQ): Update to 2.13. (AC_EXEEXT): Call to find possible file extension. (compiler_name): Use. * configure: Regenerate. libio, libstdc++ * configure.in: Test for ${compiler_name}.exe as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27050 138bc75d-0d04-0410-961f-82ee72b054a4
1999-05-17 * libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.law
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26980 138bc75d-0d04-0410-961f-82ee72b054a4
1999-05-12 * configure.in (compiler_name): Don't do the skip-this-dir thingjason
if we're reconfiguring. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26899 138bc75d-0d04-0410-961f-82ee72b054a4
1999-04-29 * streambuf.h (ios::~ios): Use operator delete[] to remove _arrays.nathan
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26691 138bc75d-0d04-0410-961f-82ee72b054a4
1999-04-27Fixed some old ChangeLog entries I wrote before becoming aware of the GNUoliva
coding standards. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26679 138bc75d-0d04-0410-961f-82ee72b054a4
1999-04-12 * filedoalloc.c (_POSIX_SOURCE): Remove definition.law
* fileops.c (_POSIX_SOURCE): Likewise. * iopopen.c (_POSIX_SOURCE): Likewise. * procbuf.cc (_POSIX_SOURCE): Likewise. * libioP.h (_POSIX_SOURCE): And define it here. * stdiostream.cc: Include libioP.h before others. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26380 138bc75d-0d04-0410-961f-82ee72b054a4
1999-04-07 * configure.in: Check cygwin*, not cygwin32*.law
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26235 138bc75d-0d04-0410-961f-82ee72b054a4