- 26 Feb, 2003 9 commits
-
-
PR c++/9829 * g++.dg/parse/namespace6.C: New test. From-SVN: r63452
Mark Mitchell committed -
From-SVN: r63449
Alan Modra committed -
* config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine pseudo-op. From-SVN: r63448
David Edelsohn committed -
From-SVN: r63447
Jeff Law committed -
* combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P. * cse.c (invalidate_skipped_set): Likewise. * integrate.c (subst_constants): Likewise. * jump.c (reversed_comparison_code_parts): Likewise. * loop.c (canonicalize_condition): Likewise. * simplify-rtx.c (simplify_relational_operation): Likewise. From-SVN: r63446
Roger Sayle committed -
* builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete. (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use the appropriate macro to define built-in function. (fmod,fmodf,fmodl): New built-in functions. * java/decl.c (java_init_decl_processing): Get soft_fmod_node from built_in_decls[BUILT_IN_FMOD] rather than define it ourselves. * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins. From-SVN: r63445
Roger Sayle committed -
* config/i386/i386.c (function_arg): Pass variable sized structures correctly on the stack. From-SVN: r63442
Richard Henderson committed -
From-SVN: r63440
GCC Administrator committed -
2003-02-25 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/Intro.3: Update with new (proper) names. * docs/doxygen/TODO: Update. * docs/doxygen/run_doxygen: More comments, fix up man pages. Fake entries for standard typedefs. * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on. * docs/html/documentation.html: Top-level man page is now called C++Intro. * include/std/std_limits.h: Doxygenate. From-SVN: r63433
Phil Edwards committed
-
- 25 Feb, 2003 18 commits
-
-
* reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS does not reduce the cost of SET. From-SVN: r63426
Kazu Hirata committed -
2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR target/9732 * gcc.dg/20030225-1.c: New test. From-SVN: r63424
Franz Sirl committed -
2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR target/9732 * config/rs6000/rs6000.c (first_reg_to_save): Handle PIC_OFFSET_TABLE_REGNUM for -fPIC too. (rs6000_emit_prologue): Likewise. (rs6000_emit_epilogue): Likewise. * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC. From-SVN: r63423
Franz Sirl committed -
* real.c (real_to_integer2): Force overflow result only for unsigned overflow. From-SVN: r63421
Richard Henderson committed -
From-SVN: r63420
Kazu Hirata committed -
From-SVN: r63417
Vladimir Makarov committed -
2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> Richard Henderson <rth@redhat.com> * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when there is no similar load. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r63416
Vladimir Makarov committed -
2003-02-25 Vladimir Makarov <vmakarov@redhat.com> Richard Henderson <rth@redhat.com> * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from sched-rgn.c. (add_forward_dependence): New function prototype. * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to sched-init.h. (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move them to haifa-sched.c. * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move them from sched-rgn.c. * sched-deps.c (add_dependence): Return flag of creating a new entry. (add_forward_dependence): New function. (compute_forward_dependences): Use the function. * sched-ebb.c (earliest_block_with_similiar_load): New function. (add_deps_for_risky_insns): New function. (schedule_ebb): Call the function. From-SVN: r63415
Vladimir Makarov committed -
* doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to TARGET_VECTOR_OPAQUE_P. Document accordingly. * testsuite/gcc.dg/20030218-1.c: Check that initialization of opaque types fail. * c-typeck.c (comptypes): Change call to vector_types_compatible to vector_opaque_p. (convert_for_assignment): Call vector_opaque_p instead of vector_types_compatible. (really_start_incremental_init): Disallow initialization of opaque types. * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE. Define TARGET_VECTOR_OPAQUE_P. (TARGET_INITIALIZER): Same. * target.h (struct gcc_target): Remove vector_types_compatible. Add vector_opaque_p. * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible): Remove. (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is a vector type. Change return type to bool. (TARGET_VECTOR_TYPES_COMPATIBLE): Remove. (TARGET_VECTOR_OPAQUE_P): Define. * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p target hook. Include target.h. (cp_parser_init_declarator): Fix typo in function comments. From-SVN: r63411
Aldy Hernandez committed -
* decl.c (add_binding): Time TV_NAME_LOOKUP. (push_class_binding): Likewise. (set_namespace_binding): Likewise. From-SVN: r63410
Gabriel Dos Reis committed -
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 13 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
-