Skip to content
Snippets Groups Projects
  1. Jun 10, 2003
    • Paolo Carlini's avatar
      fstream.tcc (close): Clean up a bit. · 1f0ef651
      Paolo Carlini authored
      2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/fstream.tcc (close): Clean up a bit.
      
      	* include/bits/streambuf.tcc (sbumpc): Clean up a bit.
      
      	* include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
      	- the saved _M_in_cur, that is - cannot be null.
      	(sync): Constify a variable.
      
      	* include/std/std_streambuf.h: Tweak a comment.
      	(in_avail): Constify a variable.
      
      From-SVN: r67738
      1f0ef651
    • Nathanael Nerode's avatar
      configure.in: Fix typo. · 3b1b059c
      Nathanael Nerode authored
      	* configure.in: Fix typo.
      	* configure: Regenerate.
      
      From-SVN: r67737
      3b1b059c
    • Phil Edwards's avatar
      BUGS: Update from 2.90.8 snapshot. · 08addde6
      Phil Edwards authored
      2003-06-10  Phil Edwards  <pme@gcc.gnu.org>
      
      	* docs/html/17_intro/BUGS:  Update from 2.90.8 snapshot.
      	* docs/html/17_intro/CHECKLIST:  Bring up to date with respect to
      	correctness of container::iterator typedefs.  Fix whitespace.
      	* docs/html/20_util/howto.html, docs/html/ext/howto.html:  Add links
      	to allocator docs.
      	* docs/html/documentation.html:  Regenerate.
      
      	* include/bits/basic_string.h, include/bits/basic_string.tcc,
      	include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
      	include/bits/stl_algobase.h, include/bits/stl_bvector.h,
      	include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
      	include/bits/stl_list.h, include/bits/stl_uninitialized.h,
      	include/bits/stl_vector.h, include/bits/vector.tcc,
      	include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
      	Change _Iter names to _Iterator, and __pos to __position.
      
      	* include/bits/stl_relops.h, include/bits/stl_numeric.h,
      	include/bits/stl_multiset.h, include/bits/stl_set.h:
      	Remove emacs markers.
      
      	* include/bits/stl_threads.h (_STL_auto_lock):  Add __unused__.
      
      From-SVN: r67736
      08addde6
    • Nathanael Nerode's avatar
      * init.c, misc.c, trans.c, utils.c: Remove dead code. · e8face4c
      Nathanael Nerode authored
      From-SVN: r67735
      e8face4c
    • Janis Johnson's avatar
      fp2-struct-check.h: New file. · 90712996
      Janis Johnson authored
      	* gcc.dg/compat/fp2-struct-check.h: New file.
      	* gcc.dg/compat/fp2-struct-defs.h: New file.
      	* gcc.dg/compat/fp2-struct-init.h: New file.
      	* gcc.dg/compat/struct-by-value-10_main.c: New file.
      	* gcc.dg/compat/struct-by-value-10_x.c: New file.
      	* gcc.dg/compat/struct-by-value-10_y.c: New file.
      	* gcc.dg/compat/struct-return-10_main.c: New file.
      	* gcc.dg/compat/struct-return-10_x.c: New file.
      	* gcc.dg/compat/struct-return-10_y.c: New file.
      
      From-SVN: r67734
      90712996
    • Loren J. Rittle's avatar
      alpha.c (unicosmk_file_end): Add conditional compilation guard. · e85f3dc8
      Loren J. Rittle authored
      	* config/alpha/alpha.c (unicosmk_file_end): Add conditional
      	compilation guard.
      
      From-SVN: r67733
      e85f3dc8
    • J"orn Rennecke's avatar
      sh-protos.h (function_symbol): Declare. · 90534361
      J"orn Rennecke authored
      	* sh-protos.h (function_symbol): Declare.
      	* sh.c (expand_block_move, expand_ashiftrt): Use it.
      	(sh_expand_prologue, sh_expand_epilogue): Likewise.
      	(sh_initialize_trampoline): Likewise.
      	(function_symbol): New function.
      	* sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
      	(initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
      	(call_value_pop, shcompact_return_tramp): Likewise.
      
      	* sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.
      
      	* sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
      	target register.
      
      From-SVN: r67732
      90534361
    • Paolo Carlini's avatar
      1.cc: Remove. · 9fa543a5
      Paolo Carlini authored
      2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
      
      	* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Remove.
      
      From-SVN: r67730
      9fa543a5
    • DJ Delorie's avatar
      md.texi (Machine Constraints): Document stormy's Z constraint. · e2ce66a9
      DJ Delorie authored
      * doc/md.texi (Machine Constraints): Document stormy's Z
      constraint.
      
      From-SVN: r67729
      e2ce66a9
    • Jason Merrill's avatar
      oops · e9bbabab
      Jason Merrill authored
      From-SVN: r67727
      e9bbabab
    • Paolo Carlini's avatar
      fstream.tcc (overflow): According to 27.5.2.4.5, overflow() returns not_eof(eof()). · 9335d80a
      Paolo Carlini authored
      2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/fstream.tcc (overflow): According to
      	27.5.2.4.5, overflow() returns not_eof(eof()).
      	* testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
      	* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
      
      2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/fstream.tcc (_M_underflow): Check overflow return
      	value; tweak slightly.
      
      From-SVN: r67726
      9335d80a
    • Jason Merrill's avatar
      re PR c++/10968 (If member function implicitly instantiated, explicit... · 346eeb15
      Jason Merrill authored
      re PR c++/10968 (If member function implicitly instantiated, explicit instantiation of class fails to instantiate it)
      
              PR c++/10968
              * pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r67725.2
      346eeb15
    • Janis Johnson's avatar
      compat-common.h: New file. · aa9b0aca
      Janis Johnson authored
      	* gcc.dg/compat/compat-common.h: New file.
      	* gcc.dg/compat/fp-struct-check.h: Improve debugging output.
      	* gcc.dg/compat/fp-struct-test-by-value-x.h: Ditto.
      	* gcc.dg/compat/fp-struct-test-by-value-y.h: Ditto.
      	* gcc.dg/compat/scalar-by-value-1_main.c: Ditto.
      	* gcc.dg/compat/scalar-by-value-1_x.c: Ditto.
      	* gcc.dg/compat/scalar-by-value-1_y.c: Ditto.
      	* gcc.dg/compat/scalar-by-value-2_main.c: Ditto.
      	* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
      	* gcc.dg/compat/scalar-by-value-2_y.c: Ditto.
      	* gcc.dg/compat/scalar-return-1_main.c: Ditto.
      	* gcc.dg/compat/scalar-return-1_x.c: Ditto.
      	* gcc.dg/compat/scalar-return-1_y.c: Ditto.
      	* gcc.dg/compat/scalar-return-2_main.c: Ditto.
      	* gcc.dg/compat/scalar-return-2_x.c: Ditto.
      	* gcc.dg/compat/scalar-return-2_y.c: Ditto.
      	* gcc.dg/compat/small-struct-check.h: Ditto.
      	* gcc.dg/compat/struct-by-value-2_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-2_y.c: Ditto.
      	* gcc.dg/compat/struct-by-value-3_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-3_y.c: Ditto.
      	* gcc.dg/compat/struct-by-value-4_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-4_y.c: Ditto.
      	* gcc.dg/compat/struct-by-value-5_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-5_y.c: Ditto.
      	* gcc.dg/compat/struct-by-value-6_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-6_y.c: Ditto.
      	* gcc.dg/compat/struct-by-value-7_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-7_y.c: Ditto.
      	* gcc.dg/compat/struct-by-value-8_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-8_y.c: Ditto.
      	* gcc.dg/compat/struct-by-value-9_main.c: Ditto.
      	* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
      	* gcc.dg/compat/struct-by-value-9_y.c: Ditto.
      	* gcc.dg/compat/struct-return-2_main.c: Ditto.
      	* gcc.dg/compat/struct-return-2_x.c: Ditto.
      	* gcc.dg/compat/struct-return-2_y.c: Ditto.
      	* gcc.dg/compat/struct-return-3_main.c: Ditto.
      	* gcc.dg/compat/struct-return-3_x.c: Ditto.
      	* gcc.dg/compat/struct-return-3_y.c: Ditto.
      
      From-SVN: r67724
      aa9b0aca
    • Jason Merrill's avatar
      re PR c++/10968 (If member function implicitly instantiated, explicit... · 0c16e8d6
      Jason Merrill authored
      re PR c++/10968 (If member function implicitly instantiated, explicit instantiation of class fails to instantiate it)
      
              PR c++/10968
              * pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r67723.2
      0c16e8d6
    • Geoffrey Keating's avatar
      * except.c (call_site_base): Mark with GTY. · 21c157b4
      Geoffrey Keating authored
      From-SVN: r67722
      21c157b4
    • Richard Earnshaw's avatar
      arm-proto.h: Convert to ISO C90 prototypes. · e32bac5b
      Richard Earnshaw authored
      * arm-proto.h: Convert to ISO C90 prototypes.
      * arm.c: Likewise.
      
      From-SVN: r67721
      e32bac5b
    • Geoffrey Keating's avatar
      [multiple changes] · d192828a
      Geoffrey Keating authored
      2003-06-10  Andrew Pinski  <pinskia@physics.uc.edu>
      
      	* decl.c (start_cleanup_fn): Move static 'counter' out, mark with GTY.
      	(start_cleanup_cnt): New.
      
      2003-06-10  Geoffrey Keating  <geoffk@apple.com>
      
      	* g++.dg/pch/static-1.C: New file.
      	* g++.dg/pch/static-1.Hs: New file.
      
      From-SVN: r67719
      d192828a
    • J"orn Rennecke's avatar
      * sh.c (sh_output_mi_thunk): Call insn_locators_initialize. · 4db8f48a
      J"orn Rennecke authored
      From-SVN: r67718
      4db8f48a
    • Michael Koch's avatar
      PrintStream.java: Merged version from classpath. · fbd98522
      Michael Koch authored
      2003-06-10  Michael Koch  <konqueror@gmx.de>
      
      	* java/io/PrintStream.java:
      	Merged version from classpath.
      	(close): Removed sychronized keyword. This class is not garantied to
      	be thread-safe.
      	(write): Likewise.
      
      From-SVN: r67717
      fbd98522
    • Steve Ellcey's avatar
      calls.c (expand_call): Convert structure_value_addr to Pmode if necessary. · f80f73e1
      Steve Ellcey authored
      	* calls.c (expand_call): Convert structure_value_addr to Pmode if
      	necessary.
      
      From-SVN: r67716
      f80f73e1
    • Andrew Haley's avatar
      resource.c (write_resource_constructor): Use expand_expr to generate the... · dc952677
      Andrew Haley authored
      resource.c (write_resource_constructor): Use expand_expr to generate the address of the label attached to a resource.
      
      2003-06-10  Andrew Haley  <aph@redhat.com>
      
              * resource.c (write_resource_constructor): Use expand_expr to
              generate the address of the label attached to a resource.
              * Make-lang.in (java/resource.o): Add expr.h
      
      From-SVN: r67714
      dc952677
    • Andrew Haley's avatar
      langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New. · e076f71a
      Andrew Haley authored
      2003-05-21  Andrew Haley  <aph@redhat.com>
      
      	* langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
      	(LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
      	(lhd_decl_ok_for_sibcall): New.
      	* langhooks.c (lhd_decl_ok_for_sibcall): New.
      	* langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
      	* calls.c (expand_call): Check lang_hook before generating a
      	sibcall.
      
      2003-05-21  Andrew Haley  <aph@redhat.com>
      
      	* lang.c (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
      	(java_decl_ok_for_sibcall): New.
      
      From-SVN: r67713
      e076f71a
    • DJ Delorie's avatar
      stormy16.c (xstormy16_extra_constraint_p): Add Z, which matches (const_int 0) for addhi3. · e7e09ad8
      DJ Delorie authored
      * config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
      which matches (const_int 0) for addhi3.
      * config/stormy16/stormy16.md: Document known constraints.
      (addhi3): Handle adding zero.
      
      From-SVN: r67712
      e7e09ad8
    • Kazuhiro Inaoka's avatar
      m32r.h (HARD_REGNO_RENAME_OK): New. · a398a822
      Kazuhiro Inaoka authored
              * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
              * config/m32r/m32r.c (m32r_hard_regno_rename_ok): New.
              * config/m32r/m32r-protos.h: Prototype it.
      
      From-SVN: r67711
      a398a822
    • Richard Henderson's avatar
      * gcc.dg/asm-7.c: Adjust expected warning text. · cec31c55
      Richard Henderson authored
      From-SVN: r67709
      cec31c55
    • Janis Johnson's avatar
      eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins common to rs6000 sysv targets. · bb8f5288
      Janis Johnson authored
      	* config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
      	common to rs6000 sysv targets.
      	* config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto.
      	* config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto.
      
      From-SVN: r67708
      bb8f5288
    • Nick Clifton's avatar
      Improve support for arm-wince-pe target: · 52f97a3b
      Nick Clifton authored
      	* config.gcc: Add arm-wince-pe target.
      	* config/arm/pe.h (MULTILIB_DEFAULTS): Define.
              Add comment about default apcs26 support.
      	* config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32
      	multilib.
              (MULTILIB_DIRNAMES): Add 'apcs32'.
      	* config/arm/t-wince-pe: New makefile fragment.
      	* config/arm/wince-pe.h: New file.  Overrides a few definitions
      	in arm/pe.h
      
      From-SVN: r67705
      52f97a3b
    • Nathanael Nerode's avatar
      Makefile.tpl: Fix stupid pasto. · 01b759aa
      Nathanael Nerode authored
      	* Makefile.tpl: Fix stupid pasto.
      	* Makefile.in: Regenerate.
      
      From-SVN: r67702
      01b759aa
    • Roger Sayle's avatar
      builtins.c (fold_builtin): Optimize cos(-x) as cos(x). · 9f0a7f9d
      Roger Sayle authored
      	* builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
      	* fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x)
      	when x is easily negated and f is sin, tan or atan.
      	(fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as
      	sin(x) with flag_unsafe_math_optimizations.
      	(fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold
      	sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x).
      
      	* gcc.dg/builtins-20.c: New test case.
      
      From-SVN: r67701
      9f0a7f9d
    • Roger Sayle's avatar
      fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x is a floating point... · 8936c82f
      Roger Sayle authored
      fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x is a floating point type *and* we currently honor NaNs.
      
      
      	* fold-const.c (fold <EQ_EXPR>):  Don't fold x == x only if x
      	is a floating point type *and* we currently honor NaNs.
      	(fold <NE_EXPR>): Likewise.
      
      From-SVN: r67700
      8936c82f
    • Gerald Pfeifer's avatar
      gcc_release (build_diff): Properly use ${TAR} instead of hard-coded tar. · 5107c6e4
      Gerald Pfeifer authored
      	* gcc_release (build_diff): Properly use ${TAR} instead of
      	hard-coded tar.
      
      From-SVN: r67699
      5107c6e4
    • Mark Mitchell's avatar
      re PR c++/11131 (Unrelated declaration removes inline flag from function) · d58b7c2d
      Mark Mitchell authored
      	PR c++/11131
      	* tree-inline.c (inlinable_function_p): Call the language-specific
      	hook early.
      
      	PR c++/11131
      	* cp-tree.h (template_for_substitution): Declare.
      	* decl2.c (mark_used): Use it when figuring out whether or not a
      	function is inline.
      	* pt.c (template_for_substitution): Give it external linkage.
      	* tree.c (cp_cannot_inline_tree_fn): Instantiate as early as
      	possible.
      
      	PR c++/11131
      	* g++.dg/opt/template1.C: New test.
      
      From-SVN: r67698
      d58b7c2d
    • David Taylor's avatar
      Patch from David Taylor. · c566f9bd
      David Taylor authored
      * config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg):  Skip over
      the f_res field.
      
      From-SVN: r67697
      c566f9bd
    • Mark Mitchell's avatar
      gcc-dg.exp (dg-test): Clear additional_files and additional_sources. · e489eeb9
      Mark Mitchell authored
      	* lib/gcc-dg.exp (dg-test): Clear additional_files and
      	additional_sources.
      
      From-SVN: r67696
      e489eeb9
    • Tom Tromey's avatar
      natFont.cc (getAscent): Correctly access "ascent" field. · 4982b638
      Tom Tromey authored
      	* gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
      	field.
      	(getDescent): Likewise, for "descent".
      
      From-SVN: r67695
      4982b638
    • Nathanael Nerode's avatar
      configure.in: Remove references to host_truncate_target. · 619833ad
      Nathanael Nerode authored
      	* configure.in: Remove references to host_truncate_target.
      	* configure: Regenerate.
      	* config.gcc: Remove references to truncate_target,
      	host_truncate_target.
      
      From-SVN: r67694
      619833ad
    • Nathanael Nerode's avatar
      Makefile.tpl: Remove bogus conditional. · f7dae026
      Nathanael Nerode authored
      	* Makefile.tpl: Remove bogus conditional.
      	* Makefile.in: Regenerate.
      
      From-SVN: r67693
      f7dae026
    • Scott Gilbertson's avatar
      natFont.cc (getMaxAscent): adjusted return value. · 0940ed88
      Scott Gilbertson authored
      2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
      
      	* gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
      	(getMaxDescent): adjusted return value.
      	(getAscent): modified to use metrics for 'O'.
      	(getDescent): modified to use metrics for 'y'.
      
      From-SVN: r67692
      0940ed88
    • Nathanael Nerode's avatar
      Makefile.in, [...]: Replace "build_canonical" with build, "host_canonical" with host. · 4665e56c
      Nathanael Nerode authored
      	* Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas:
      	Replace "build_canonical" with build, "host_canonical" with host.
      	* configure.in: Use GCC_TOPLEV_SUBDIRS.
      	* aclocal.m4: Include ../config/acx.m4.
      	* configure: Regenerate.
      (ada)
      	* Makefile.in: Replace "host_canonical" with "host" for autoconf
      	substitution.
      
      From-SVN: r67691
      4665e56c
    • GCC Administrator's avatar
      Daily bump. · d4298db3
      GCC Administrator authored
      From-SVN: r67689
      d4298db3
Loading