- 25 Feb, 2003 8 commits
-
-
From-SVN: r63409
Nick Clifton committed -
* Makefile.in (lcm.o): Add dependency on function.h * lcm.c (function.h): Include. * i386.c (machine_function, ix86_stack_locals, * ix86_save_varrargs_registers) : Move to ... * i386.h (machine_function, ix86_stack_locals, ix86_save_varrargs_registers): ... here; add optimize_mode_switching (ix86_optimize_mode_switching): New. * i386.md (fix patterns): Set ix86_optimize_mode_switching From-SVN: r63404
Jan Hubicka committed -
2003-02-25 Michael Koch <konqueror@gmx.de> * gnu/java/nio/MappedByteFileBuffer.java, gnu/java/nio/natMappedByteFileBuffer.cc: New files, both are not compiled yet to get not noncompiling CVS. From-SVN: r63403
Michael Koch committed -
Fix typo. Name of fourth arg is 'fndecl' not 'indirect'. Update comment describing the function's parameters. From-SVN: r63401
Nick Clifton committed -
From-SVN: r63400
Uwe Stieber committed -
From-SVN: r63399
Nick Clifton committed -
2003-02-25 Scott Snyder <snyder@fnal.gov> PR libstdc++/9811 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range): Correct documentation. * include/bits/stl_multimap.h (lower_bound, upper_bound, equal_range): Likewise. From-SVN: r63396
Scott Snyder committed -
From-SVN: r63392
GCC Administrator committed
-
- 24 Feb, 2003 23 commits
-
-
From-SVN: r63384
Mark Mitchell committed -
PR c++/9836 * cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE): Do not skip from specializations back to the main template. * parser.c (cp_parser_diagnose_invalid_type_name):Adjust use. * pt.c (resolve_typename_type): Likewise. PR c++/9836 * g++.dg/template/spec6.C: New test. From-SVN: r63383
Mark Mitchell committed -
* java/util/prefs/AbstractPreferences.java (isUserNode): Implemented. From-SVN: r63382
Tom Tromey committed -
From-SVN: r63380
Jan Hubicka committed -
2003-02-24 Jeffrey D. Oldham <oldham@codesourcery.com> PR c++/9778 * cp/pt.c (tsubst_copy_and_build): For a templated function inside a scope, process template arguments. * testsuite/g++.dg/parse/template6.C: New test case. From-SVN: r63379
Jeffrey D. Oldham committed -
2003-02-24 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9825 * src/fstream.cc (basic_filebuf<char/wchar_t>::_M_underflow_common): When __bump is true (uflow), always increment the read pointer (_M_in_cur) before returning successfully. * testsuite/27_io/filebuf_virtuals.cc (test12): Add. From-SVN: r63378
Paolo Carlini committed -
* i386.md (testdi_1_rex64): Discourage reload from using the %eax alternative. (testsi_1, testhi_1, testqi_1): Likewise. From-SVN: r63376
Jeff Law committed -
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for GSI_PHYSMEM. (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. From-SVN: r63373
Rainer Orth committed -
From-SVN: r63371
Jeff Law committed -
* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX. * doc/extend.texi (Tru64 Pragmas): Reflect this. * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma extern_prefix support for Tru64 UNIX V5 <sys/stat.h>. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New testcase. Fixes PR c/5059, c/6126, other/9671. testsuite: * g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX. * gcc.dg/pragma-ep-1.c: Likewise. From-SVN: r63370
Rainer Orth committed -
2003-02-24 Paolo Carlini <pcarlini@unitus.it> Nathan Myers <ncm@cantrip.org> PR libstdc++/9404, PR libstdc++/9701 (partial) (aka pptr == epptr implies overflow) * include/bits/fstream.tcc (_M_allocate_internal_buffer): Consistently, _M_out_end points to the end of the buffer just created. (overflow): Tweak to use _M_out_buf_size(). (_M_convert_to_external): The role of the old _M_out_end is now played by _M_out_lim. (_M_really_overflow): Likewise. (seekoff): Likewise. (setbuf): _M_out_end points to the end of the external buffer. * include/bits/sstream.tcc (overflow): Rewrote, taking into account the resolution of DR 169 (TC). (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim. (seekpos): Use _M_string.capacity(); tweak. * include/bits/streambuf.tcc (sputc, xsputn): Remove comments. * include/std/std_fstream.h (sync): The role of the old _M_out_end is now played by _M_out_lim. (_M_set_indeterminate): Use _M_set_determinate. (_M_set_determinate): _M_out_end is now _M_out_lim. (_M_is_indeterminate): Likewise. * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim. (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams, which have the information readily available as _M_string.capacity(); for ate and app modes, pass the string size to _M_really_sync. (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to point to the end of the buffer (i.e., epptr) and to the string end, respectively. * include/std/std_streambuf.h: tweak comments, add _M_out_lim, which points to the right limit of the used put area. (_M_out_cur_move): The role of the old _M_out_end is now played by _M_out_lim. (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter of the standard. (basic_streambuf()): Initialize _M_out_lim too. * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak. * testsuite/27_io/filebuf_virtuals.cc (test11): Add. * testsuite/27_io/stringbuf_virtuals.cc (test09): Add. Co-Authored-By: Nathan Myers <ncm@cantrip.org> From-SVN: r63367
Paolo Carlini committed -
2003-02-24 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/ios_base_storage.cc (main): Call set_memory_limits. From-SVN: r63366
Benjamin Kosnik committed -
* java/lang/ClassLoader.java (defineClass(byte[],int,int)): Deprecate. * java/lang/Thread.java (resume): Deprecate. * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo in @deprecated. From-SVN: r63364
Tom Tromey committed -
PR c++/9602 * typeck2.c (abstract_virtuals_error): Don't check when TYPE is still template parameter dependent. * g++.dg/template/friend16.C: New test. From-SVN: r63362
Kriang Lerdsuwanakij committed -
* gcc.c (do_spec_1) ['{']: Handle pending argument upon return from handle_braces in "%{...}". From-SVN: r63357
Roger Sayle committed -
From-SVN: r63356
Steven Bosscher committed -
PR c++/5333 * cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE): New macro. * parser.c (cp_parser_diagnose_invalid_type_name): Use it. * pt.c (instantiate_class_template): Don't try to instantiate dependent types. (resolve_typename_type): Use CLASSTYPE_PRIMARY_TEMPLATE. PR c++/5333 * g++.dg/parse/fused-params1.C: Adjust error messages. * g++.dg/template/nested3.C: New test. From-SVN: r63354
Mark Mitchell committed -
* config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define. (prepare_move_operands): Handle TLS operands. (tls_symbolic_operand): New. (nonpic_symbol_mentioned_p): Handle TLS UNSPECs. (legitimize_pic_address): Do nothing for the TLS symbol. (sh_encode_section_info): Handle TLS case. (sh_strip_name_encoding): Drop TLS encoding. * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype. * config/sh/sh.h (SH_TLS_ENCODING): Define. (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise. (ASM_OUTPUT_LABELREF): Drop TLS encoding. (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs. * config/sh/sh.md: Define TLS UNSPEC constants. (type): Add tls_load. ("tls_global_dynamic", "tls_local_dynamic"): New insns. ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders. ("tls_initial_exec"): New insn. ("sym2TPOFF", "symTPOFF2reg"): New expanders. ("load_gbr"): New insn. * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases. * configure: Regenerate. From-SVN: r63353
Kaz Kojima committed -
* Makefile.in: Rebuilt. * Makefile.am (JC1FLAGS): Added -Wno-deprecated. From-SVN: r63352
Tom Tromey committed -
From-SVN: r63351
Tom Tromey committed -
* lang-options.h: Added -Wdeprecated. * gcj.texi (Warnings): Document -Wdeprecated. * java-tree.h (flag_deprecated): Declare. * lang.c (lang_W_options): Added deprecated. (flag_deprecated): New global. * chartables.h: Rebuilt. * gen-table.pl (process_one): Look at whitespace. (print_tables): Define LETTER_SPACE, LETTER_MASK. * parse.h (CLEAR_DEPRECATED): New macro. (CHECK_DEPRECATED_NO_RESET): New macro. * jcf-parse.c (handle_deprecated): New function. (HANDLE_DEPRECATED_ATTRIBUTE): New define. * jcf-reader.c (get_attribute): Handle Deprecated attribute. * parse.y (resolve_type_during_patch): Check deprecation. (jdep_resolve_class): Likewise. (process_imports): Likewise. (resolve_expression_name): Likewise. (check_deprecation): Strip arrays from decl. Check flag_deprecated. (patch_method_invocation): Also check the particular constructor for deprecation. (register_fields): Use CHECK_DEPRECATED_NO_RESET in loop. * jcf-write.c (append_deprecated_attribute): New function. (generate_classfile): Generate deprecated attribute when appropriate. * lex.c (java_parse_doc_section): Return type now void. Rewrote. (java_lex) [case '*']: Simplify logic. (java_start_char_p): Use LETTER_MASK. (java_part_char_p): Likewise. (java_space_char_p): New function. From-SVN: r63350
Tom Tromey committed -
* java/lang/natRuntime.cc (libraries_size, libraries_count, libraries): Removed. (add_library): Removed. (_load): Don't call add_library. (loadLibraryInternal): Likewise. (init): Likewise. (lookup_data): New struct. (find_symbol): New function. (_Jv_FindSymbolInExecutable): Use it. From-SVN: r63348
Tom Tromey committed -
From-SVN: r63347
GCC Administrator committed
-
- 23 Feb, 2003 9 commits
-
-
From-SVN: r63339
Alan Modra committed -
* calls.c (store_one_arg): Revert 1999-02-16 change. Revert 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr. * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM. (enum block_op_methods): Reorder for better store_expr optimization. * expr.c (store_expr): Test bit 1 of "want_value" for call param stores, test bit 0 for original want_value meaning. Pass BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust recursive calls, and calls to expand_param. (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse expected, set target to 0 rather than to subtarget. Formatting. From-SVN: r63337
Alan Modra committed -
From-SVN: r63332
Kazu Hirata committed -
From-SVN: r63331
Nick Clifton committed -
From-SVN: r63327
Nick Clifton committed -
* doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document new default behavior. * ggc-common.c: Include sys/resource.h. (ggc_rlimit_bound): New function. (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update defaults to account for rlimits. From-SVN: r63323
Kaveh R. Ghazi committed -
PR c++/7982 * g++.dg/warn/implicit-typename1.C: New test. From-SVN: r63318
Kriang Lerdsuwanakij committed -
2003-02-22 Richard Henderson <rth@redhat.com> * i386.c, i386.h (TUNEMASK): Rename from CPUMASK. 2003-02-22 Kelley Cook <kelley@dwhoops.info> * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu. (ix86_tune_string): Rename from ix86_cpu_string. From-SVN: r63314
Richard Henderson committed -
* config/i386/i386.c: Replace "mcpu" with "mtune". * config/i386/i386.h (TARGET_OPTIONS): Likewise. (CC1_CPU_SPEC): Likewise. New warning for "-mcpu". * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu" with "mtune". Note that "mcpu" is a deprecated synonym for "mtune". * g++.old-deja/g++.other/store-expr1.C: Replace "mcpu" with "mtune". * g++.old-deja/g++.other/store-expr2.C: Likewise. * gcc.c-torture/execute/20010129-1.x: Likewise. * gcc.dg/20011107-1.c: Likewise. * gcc.dg/20020108-1.c: Likewise. * gcc.dg/20020122-3.c: Likewise. * gcc.dg/20020206-1.c: Likewise. * gcc.dg/20020310-1.c: Likewise. * gcc.dg/20020426-2.c: Likewise. * gcc.dg/20020517-1.c: Likewise. * gcc.dg/991230-1.c: Likewise. * gcc.dg/i386-unroll-1.c: Likewise. * gcc.misc-tests/i386-prefetch.exp: Likewise. From-SVN: r63313
Kelley Cook committed
-