summaryrefslogtreecommitdiff
path: root/libio
Commit message (Collapse)AuthorAgeFilesLines
* 2000-11-28 Geoffrey Keating <geoffk@redhat.com>geoffk2000-11-282-1/+40
| | | | | | | | | 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
* * iostream.cc (ends): Release the acquired lock.jakub2000-10-182-2/+17
| | | | | | | (endl): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36937 138bc75d-0d04-0410-961f-82ee72b054a4
* * iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]:jakub2000-10-162-1/+16
| | | | | | | | | 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 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>sirl2000-09-234-3/+15
| | | | | | | | | | * 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
* Move statement-tree facilities from C++ to C front-end.mmitchel2000-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * editbuf.h (edit_streambuf): Fix syntax error ingdr2000-08-182-1/+6
| | | | | | | friend-declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35782 138bc75d-0d04-0410-961f-82ee72b054a4
* top level:zack2000-08-142-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * gen-params: Added trailing space for 'long long int' regexp.law2000-07-232-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35200 138bc75d-0d04-0410-961f-82ee72b054a4
* in libiberty/ChangeLog:samuel2000-06-303-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Revert previous patchmmitchel2000-06-103-11/+32
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34482 138bc75d-0d04-0410-961f-82ee72b054a4
* * libioP.h: Remove old ABI mangling code.mmitchel2000-06-083-32/+11
| | | | | | | * stdstrbufs.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34459 138bc75d-0d04-0410-961f-82ee72b054a4
* * libioP.h: Handle new ABI mangling.mmitchel2000-06-043-4/+22
| | | | | | | * stdstrbufs.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34395 138bc75d-0d04-0410-961f-82ee72b054a4
* Update.drepper2000-05-241-4/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34129 138bc75d-0d04-0410-961f-82ee72b054a4
* (endl): Fix bug in last change.drepper2000-05-241-2/+3
| | | | | | | (ends): Make same change as for endl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34128 138bc75d-0d04-0410-961f-82ee72b054a4
* * iostream.cc (endl): Verify stream can accept characterslaw2000-05-242-1/+8
| | | | | | | before writing its eol. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34122 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite:zack2000-05-232-0/+6
| | | | | | | | | | | | | | | | | | | | | | * 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
* * config.shared: Change "pic" to depend on $(PICFLAG), notdje2000-05-162-7/+14
| | | | | | | on $(enable_shared). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33920 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-11 Robert Lipe <robertlipe@usa.net>robertl2000-05-113-4/+6
| | | | | | | | * 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
* * config.table: Use mh-sparcpic for sparc*-*-*.jakub2000-05-112-0/+5
| | | | | | | * configure.in: Use mh-sparcpic for sparc*-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33848 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Indent the # of #include_next one space.zack2000-04-022-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32871 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: -linux-gnu*, not -linux-gnu.jason2000-03-302-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32823 138bc75d-0d04-0410-961f-82ee72b054a4
* * fstream.h (ifstream::ifstream): Add ios::in to mode.loewis2000-01-282-5/+12
| | | | | | | | | (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
* * dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declarezack2000-01-283-12/+8
| | | | | | | | 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
* * configure.in (*-*-beos*): Recognize.jason2000-01-133-0/+31
| | | | | | | * config/beos.mt: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31374 138bc75d-0d04-0410-961f-82ee72b054a4
* * libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead ofjakub1999-12-225-34/+49
| | | | | | | | | | | | | | | | | _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
* Add commentary:Remove seek for ios::app if not.loewis1999-12-211-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31059 138bc75d-0d04-0410-961f-82ee72b054a4
* * filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.loewis1999-12-212-4/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31057 138bc75d-0d04-0410-961f-82ee72b054a4
* * filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Removejason1999-12-155-44/+103
| | | | | | | | | 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
* * strstream.h (strstreambuf::streambuf): Rename parameters toloewis1999-12-153-5/+11
| | | | | | | | avoid shadow warning. * stream.h (WS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30941 138bc75d-0d04-0410-961f-82ee72b054a4
* * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.law1999-09-304-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29725 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Recognize target *vxworks* and add fragment vxworks.mt.law1999-09-274-8/+21
| | | | | | | | * 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
* Kill RCSid strings.law1999-09-272-8/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29678 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mpeix.mt: New for MPEiX port.law1999-09-132-0/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29374 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add mpeix.mt make fragment.law1999-09-082-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29202 138bc75d-0d04-0410-961f-82ee72b054a4
* dummy checkin to prevent merge lossagelaw1999-09-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29102 138bc75d-0d04-0410-961f-82ee72b054a4
* * streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in theoliva1999-08-092-1/+6
| | | | | | | global scope. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28604 138bc75d-0d04-0410-961f-82ee72b054a4
* * iostream.cc: Add missing calls to isfx and setup a cleanuplaw1999-08-076-7/+94
| | | | | | | | | | | 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
* 8law1999-06-292-1/+5
| | | | | | | * 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
* * lib/libio.exp (test_libio): Use additional_flags, notmmitchel1999-06-232-1/+6
| | | | | | | additional_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27716 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Added DG/UX target fragmentlaw1999-06-012-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27294 138bc75d-0d04-0410-961f-82ee72b054a4
* * libio/dgux.mt: New file for DG/UX configuration of libiolaw1999-05-302-0/+29
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27248 138bc75d-0d04-0410-961f-82ee72b054a4
* libchill, libf2c, libobjc:law1999-05-202-13/+5
| | | | | | | | | | | | * 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
* * libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.law1999-05-172-6/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26980 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (compiler_name): Don't do the skip-this-dir thingjason1999-05-122-1/+8
| | | | | | | if we're reconfiguring. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26899 138bc75d-0d04-0410-961f-82ee72b054a4
* * streambuf.h (ios::~ios): Use operator delete[] to remove _arrays.nathan1999-04-292-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26691 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed some old ChangeLog entries I wrote before becoming aware of the GNUoliva1999-04-271-3/+3
| | | | | | | coding standards. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26679 138bc75d-0d04-0410-961f-82ee72b054a4
* * filedoalloc.c (_POSIX_SOURCE): Remove definition.law1999-04-127-11/+14
| | | | | | | | | | | * 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
* * configure.in: Check cygwin*, not cygwin32*.law1999-04-072-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26235 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure (gxx_include_dir): Removed.law1999-04-023-0/+35
| | | | | | | | | | | | * configure.in (gxx_include_dir): Handle it. * Makefile.in: Likewise. * libio/configure.in (gxx_include_dir): Handle it. * libio/Makefile.in: Likewise. * libstdc++/configure.in (gxx_include_dir): Handle it. * libstdc++/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26126 138bc75d-0d04-0410-961f-82ee72b054a4
* 0law1999-03-241-3/+18
| | | | | | | | * configure.in (EXEEXT): Define. (compiler_name): Use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25950 138bc75d-0d04-0410-961f-82ee72b054a4