- Apr 28, 2003
-
-
zack authored
(struct tree_int_cst, struct tree_real_cst, struct tree_string, struct tree_complex, struct tree_vector): Remove RTL field. (CONSTRUCTOR_ELTS): Use elt 0. * tree.def (CONSTRUCTOR): Delete first of its two operands. * varasm.c (output_constant_def): Remove early exit if TREE_CST_RTL is set. Don't set TREE_CST_RTL. (decode_addr_const): Don't mention TREE_CST_RTL in comment. * target.h (select_section): Don't mention TREE_CST_RTL in comment. * doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL. ada: * utils.c (convert): No need to clear TREE_CST_RTL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66182 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
for built-in, adjust built_in_decls as well as expr.c decls. * expr.c (init_block_move_fn, init_block_clear_fn): New functions. (emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it. * expr.c (init_block_move_fn, init_block_clear_fn): New prototypes. * gcc.c-torture/execute/string-opt-asm-1.c: New test. * gcc.c-torture/execute/string-opt-asm-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66181 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
cachedHashCode. (init): Likewise. (_Jv_NewStringUtf8Const): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66180 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of integral constant mult operand. (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise. (const_smulsi3_highpart_v8plus): Likewise. (const_smulsi3_highpart): Likewise. (const_umulsidi3_sp32): Likewise; sign-extend it in the output. (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise. (const_umulsi3_highpart_v8plus): Likewise. (const_umulsi3_highpart): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66179 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
2003-04-28 Petur Runolfsson <peturr02@ru.is> PR libstdc++/9523 * include/bits/ios_base.h (Init::_S_ios_create, Init::_S_ios_destroy): Remove declarations. (Init::_S_create_buffers, Init::_S_destroy_buffers): Declare * src/ios.cc (Init::_S_ios_create): Remove (Init::_S_create_buffers): Create buffers and add to streams. (Init::_S_ios_destroy): Rename to... (Init::_S_destroy_buffers): this. (Init::Init): Only construct streams once. (Init::~Init): Flush streams, don't destroy them. (ios_base::sync_with_stdio): Don't destroy streams, only buffers. * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test. * testsuite/27_io/objects/char/5.cc: New test. * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior. * testsuite/27_io/objects/char/6.cc: New test. * testsuite/27_io/objects/char/7.cc: New test. 2003-04-28 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/objects/char/8.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66177 138bc75d-0d04-0410-961f-82ee72b054a4
-
obrien authored
* config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE): Define as 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66174 138bc75d-0d04-0410-961f-82ee72b054a4
-
obrien authored
* config/i386/i386.h (builtin_define): Add __amd64 and __amd64__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66171 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
2003-04-28 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage. * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66170 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New. * builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New functions. (expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE. * gcc.c-torture/execute/string-opt-19.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66169 138bc75d-0d04-0410-961f-82ee72b054a4
-
nickc authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66156 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66154 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* method.c (use_thunk): Decrement immediate_size_expand. PR c++/10503 * cp-tree.h (DECL_VAR_MARKED_P): New macro. (DECL_MAYBE_TEMPLATE): Remove. * class.c (fixed_type_or_null): Avoid infinite recursion. PR c++/10506 * g++.dg/init/new6.C: New test. PR c++/10503 * g++.dg/init/ref6.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66150 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
2003-04-27 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to _M_destroy_pback. _M_pback_create to _M_create_pback. _M_underflow_common to _M_underflow. _M_really_overflow to _M_overflow. * include/bits/fstream.tcc: Same. * src/fstream.cc: Same. * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to _M_move_in_cur. _M_out_cur_move to _M_move_out_cur. * include/bits/streambuf.tcc: Same. * include/bits/fstream.tcc: Same. * include/bits/sstream.tcc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66149 138bc75d-0d04-0410-961f-82ee72b054a4
-
zack authored
output_constant_def, use its result instead of TREE_CST_RTL (exp). Can assume it has the form (mem (symbol_ref ".LCxxx")). (expand_expr <COMPONENT_REF>): Can always just extract the relevant field of a CONSTRUCTOR. (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF, ARRAY_RANGE_REF>): Make control flow explicit. * varasm.c (output_constant_def): Can look at TREE_CST_RTL of an INTEGER_CST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66148 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
2003-04-27 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_classes.h (locale::_Impl): Change _M_names from fixed size array. (locale): Change _S_categories as well. Formatting tweaks. * include/bits/locale_facets.tcc: Tweak. * config/locale/gnu/c_locale.cc: Assign _S_categories. * config/locale/generic/c_locale.cc: Same. * src/locale.cc: Tweak. * src/globals.cc: Change facet_name to name_vec, add names_c. * src/localename.cc: Use them. (locale::_Impl::~_Impl): Destroy _M_names. (locale::_Impl::_Impl): Create _M_names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66147 138bc75d-0d04-0410-961f-82ee72b054a4
-
drow authored
* Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66145 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66144 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 27, 2003
-
-
kazu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66137 138bc75d-0d04-0410-961f-82ee72b054a4
-
schwab authored
(__enc_traits): Use __ibom and __ebom instead of ignoring them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66136 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* pt.c (instantiate_decl): Move call to import_export_decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66135 138bc75d-0d04-0410-961f-82ee72b054a4
-
zack authored
struct deferred_string, const_str_htab): Kill. (n_deferred_strings): New static variable. (build_constant_desc): Set SYMBOL_REF_DECL of the new symbol_ref to point to the constant. (output_constant_def): When a deferred string is forced out, just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings. (mark_constant): Likewise. (maybe_output_constant_def_contents): When deferring a string constant, just set STRING_POOL_ADDRESS_P and increment n_deferred_strings. (mark_constant_pool): Check n_deferred_strings, not the size of const_str_htab. (init_varasm_once): No need to create const_str_htab. * rtl.def, rtl.h, doc/rtl.texi: Document possibility that SYMBOL_REF_DECL points to a constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66133 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
Move some basic_string members out of line because they are too big to reasonably be inline. * include/bits/basic_string.h (assign(const basic_string&, size_type, size_type), assign(const _CharT*, size_type), insert(size_type, const basic_string&, size_type, size_type), insert(size_type, const _CharT*, size_type), replace(size_type, size_type, const _CharT*, size_type)): Move from here to... * include/bits/basic_string.tcc: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66132 138bc75d-0d04-0410-961f-82ee72b054a4
-
zack authored
functions, build_constant_desc and maybe_output_constant_def_contents. Restructure for comprehensibility. Don't call output_addressed_constants. Treat defstr being non-NULL for STRING_POOL_ADDRESS_P constants as an invariant. (struct deferred_string): Remove labelno field. (output_constant_def_contents): Kill labelno argument. Call output_addressed_constants here. Use ASM_OUTPUT_LABEL, not asm_out.internal_label. (mark_constant): Update call to output_constant_def_contents. Treat defstr being non-NULL for STRING_POOL_ADDRESS_P constants as an invariant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66129 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
(ix86_expand_call, ix86_rtx_consts): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66128 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66127 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 26, 2003
-
-
dje authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66120 138bc75d-0d04-0410-961f-82ee72b054a4
-
neil authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66118 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66117 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
* doc/md.texi (cmpstr): Document additional restrictions. testsuite: * gcc.c-torture/execute/string-opt-8.c: Don't perform cmpstr checks for __pj__, but do them for !__OPTIMIZE__ and __s390__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66116 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66114 138bc75d-0d04-0410-961f-82ee72b054a4
-
neil authored
* timevar.c (timevar_enable): New. (TIMEVAR_ENABLE): Remove, use timevar_enable. (timevar_init): Rename from init_timevar. * timevar.h (timevar_init): Rename from init_timevar. * toplev.c (time_report): Make static. (do_compile): Conditionally call init_timevar first. (preprocess_options): Move some code to do_compile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66110 138bc75d-0d04-0410-961f-82ee72b054a4
-
ciceron authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66107 138bc75d-0d04-0410-961f-82ee72b054a4
-
neil authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66106 138bc75d-0d04-0410-961f-82ee72b054a4
-
ciceron authored
for 68HC11 and 68HC12. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66104 138bc75d-0d04-0410-961f-82ee72b054a4
-
kenner authored
make it TYPE_QUAL_CONST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66103 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines) the innermost 'if' by factoring out some code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66102 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/bits/streambuf.tcc (__copy_streambufs): Don't use in_avail(), simplify. 2003-04-26 Paolo Carlini <pcarlini@unitus.it> * include/std/std_sstream.h (setbuf): don't set _M_buf_size, in basic_stringbuf it's unused. * include/std/std_sstream.h (underflow): consistently use _M_in_cur, not gptr(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66100 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
2003-04-25 Ranjit Mathew <rmathew@hotmail.com> Phil Edwards <pme@gcc.gnu.org> * testsuite_flags.in: Guard against the possibility of having "xgcc" as a part of a folder name in the path to the GCC build folder. * testsuite/Makefile.am: Likewise. * testsuite/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66098 138bc75d-0d04-0410-961f-82ee72b054a4
-
pme authored
* toplev.c (read_integral_parameter): Use "argument" in error message to distinguish it from actual invalid options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66097 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
functions that are not defined. (handle_class_head): Robustify. * pt.c (instantiate_decl): Do not call cp_finish_decl for variables that are not defined. * g++.old-deja/g++.pt/instantiate12.C: Explicit instantiate initialized static data members. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66095 138bc75d-0d04-0410-961f-82ee72b054a4
-