Richard Kenner [Fri, 15 Jun 2001 22:05:09 +0000 (22:05 +0000)]
* explow.c (expr_size): If DECL and size specified, use it.
From-SVN: r43407
Zack Weinberg [Fri, 15 Jun 2001 17:57:48 +0000 (17:57 +0000)]
cpp.texi: Formatting corrections.
* doc/cpp.texi: Formatting corrections.
Correct buggy example of use of __GNUC__ etc.
Clarify $ in identifiers.
* doc/cpp.1: Regenerate.
From-SVN: r43404
Jan Hubicka [Fri, 15 Jun 2001 17:44:56 +0000 (19:44 +0200)]
* optabs.c (expand_twoval_binop): Avoid undefined behaviour.
From-SVN: r43403
Rainer Orth [Fri, 15 Jun 2001 17:35:48 +0000 (17:35 +0000)]
install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX etc.
* doc/install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX
etc. spelling.
(Specific, alpha-*-osf1): Renamed to alpha*-*-osf*.
Added Tru64 UNIX V5.1 bootstrap hints.
(Specific, alpha*-*-osf*): Removed old section, obsolete.
From-SVN: r43402
Andreas Jaeger [Fri, 15 Jun 2001 16:41:07 +0000 (18:41 +0200)]
install.texi (Specific): Mention that glibc cannot be compiled with GCC 3.0.
* doc/install.texi (Specific): Mention that glibc cannot be
compiled with GCC 3.0.
From-SVN: r43400
Jason Merrill [Fri, 15 Jun 2001 14:03:09 +0000 (10:03 -0400)]
class.c (dfs_accumulate_vtbl_inits): Just point to the base we're sharing a ctor vtable with.
* class.c (dfs_accumulate_vtbl_inits): Just point to the base we're
sharing a ctor vtable with. Merge code for cases 1 and 2.
(binfo_ctor_vtable): New fn.
(build_vtt_inits, dfs_build_secondary_vptr_vtt_inits): Use it.
From-SVN: r43399
Andrew Haley [Fri, 15 Jun 2001 13:27:03 +0000 (13:27 +0000)]
combine.c (nonzero_bits): Don't optimize away division by zero.
2001-06-14 Andrew Haley <aph@redhat.com>
* combine.c (nonzero_bits): Don't optimize away division by
zero.
From-SVN: r43398
Jason Merrill [Fri, 15 Jun 2001 11:45:27 +0000 (07:45 -0400)]
add missing function
From-SVN: r43397
Zack Weinberg [Fri, 15 Jun 2001 07:25:51 +0000 (07:25 +0000)]
cpp.texi: Revised and brought up to date.
* doc/cpp.texi: Revised and brought up to date.
* doc/cpp.1: Regenerate.
[[Split portion of a mixed commit.]]
From-SVN: r43395.2
Zack Weinberg [Fri, 15 Jun 2001 07:21:48 +0000 (07:21 +0000)]
cpp.texi: Revised and brought up to date.
* doc/cpp.texi: Revised and brought up to date.
* doc/cpp.1: Regenerate.
From-SVN: r43394
Loren J. Rittle [Fri, 15 Jun 2001 07:18:55 +0000 (07:18 +0000)]
* doc/install.texi: Update --enable-threads to match reality.
From-SVN: r43393
GCC Administrator [Fri, 15 Jun 2001 07:18:46 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r43392
Hartmut Penner [Fri, 15 Jun 2001 06:25:24 +0000 (06:25 +0000)]
Add myself as s390 backend maintainer.
From-SVN: r43390
Michael Hayes [Fri, 15 Jun 2001 01:19:39 +0000 (01:19 +0000)]
* README.C4X: Remove (finally...).
From-SVN: r43388
Michael Hayes [Fri, 15 Jun 2001 01:07:47 +0000 (01:07 +0000)]
install.texi: Update for C4x.
* doc/install.texi: Update for C4x.
* README.C4X: Remove.
From-SVN: r43385
Joseph Myers [Thu, 14 Jun 2001 22:51:18 +0000 (23:51 +0100)]
c-tree.texi, [...]: Fix spelling and typos.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi: Fix spelling and typos.
Consistently use "built-in" and "bit-field". Minor logical markup
improvements.
* doc/gcc.1: Regenerate.
From-SVN: r43383
Richard Henderson [Thu, 14 Jun 2001 20:15:19 +0000 (13:15 -0700)]
* config/mips/mips.md (exception_receiver): New.
From-SVN: r43379
Albert Chin-A-Young [Thu, 14 Jun 2001 19:02:00 +0000 (19:02 +0000)]
* contrib/gcc_update: Fix timestamp on gcc/f/intdoc.texi.
From-SVN: r43377
Daniel J. Berlin [Thu, 14 Jun 2001 18:54:44 +0000 (18:54 +0000)]
gcc.texi: Update passes documentation to be more in tune with reality.
2001-06-14 Daniel J. Berlin <dan@cgsoftware.com>
* doc/gcc.texi: Update passes documentation to be more in tune
with reality.
From-SVN: r43376
Tom Tromey [Thu, 14 Jun 2001 17:46:53 +0000 (17:46 +0000)]
jni.exp: New file.
* libjava.jni/jni.exp: New file.
* lib/libjava.exp (gcj_link): New proc.
From-SVN: r43375
Tom Tromey [Thu, 14 Jun 2001 15:41:57 +0000 (15:41 +0000)]
re PR libgcj/3144 (java.lang.Date.compareTo() not supported)
Fix for PR libgcj/3144:
* java/util/Date.java: Merged with Classpath.
From-SVN: r43374
Jan Hubicka [Thu, 14 Jun 2001 13:41:22 +0000 (15:41 +0200)]
* i386.c (ix86_expand_prologue): Fix merging conflict.
From-SVN: r43373
Jason Merrill [Thu, 14 Jun 2001 12:59:40 +0000 (08:59 -0400)]
class.c (dfs_find_final_overrider): Fix logic.
* class.c (dfs_find_final_overrider): Fix logic.
* class.c (update_vtable_entry_for_fn): Uncomment optimization to use
virtual thunk instead of non-virtual.
(get_matching_virtual): Uncomment.
* pt.c (unify): Don't recurse between the POINTER_TYPE and the
OFFSET_TYPE. If we're adding cv-quals, the extra ones would be on
PARM, not ARG.
From-SVN: r43372
Joseph Myers [Thu, 14 Jun 2001 11:08:04 +0000 (12:08 +0100)]
c-tree.texi, [...]: Use more logical markup.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/gcov.texi, doc/install-old.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Use more
logical markup. Use TeX quotes and dashes. Use @dots{} and
@minus{}. Avoid spaces inside @var. Update last modification
date in gcc.texi.
* doc/gcc.1, doc/gcov.1: Regenerate.
From-SVN: r43369
Nathan Sidwell [Thu, 14 Jun 2001 10:48:20 +0000 (10:48 +0000)]
class.c (dfs_accumulate_vtbl_inits): For case 2 & 3...
cp:
* class.c (dfs_accumulate_vtbl_inits): For case 2 & 3, make sure
we've not emerged from the hierarchy of RTTI_BINFO on reaching
a non-virtual base.
testsuite:
* g++.old-deja/g++.abi/vbase8-9.C: New test.
From-SVN: r43368
Jan Hubicka [Thu, 14 Jun 2001 10:45:38 +0000 (12:45 +0200)]
i386.c (x86_accumulate_outgoing_args, [...]): New global variables.
* i386.c (x86_accumulate_outgoing_args, x86_prologue_using_move,
x86_epilogue_using_move): New global variables.
(override_options): Enable ACCUMULATE_OUTGOING_ARGS if preferred.
(ix86_emit_save_regs_using_mov): New static function.
(ix86_expand_prologue, ix86_expand_epilogue): Use moves if preferred.
* i386.h (MASK_MMX, MASK_SSE, MASK_SSE2, MASK_128BIT_LONG_DOUBLE,
MASK_MIX_SSE_I387): Renumber.
(MASK_NO_ACCUMULATE_OUTGOING_ARGS): New.
(x86_accumulate_outgoing_args, x86_prologue_using_move,
x86_epilogue_using_move): Declare.
(TARGET_PROLOGUE_USING_MOVE, TARGET_EPILOGUE_USING_MOVE): New.
From-SVN: r43366
Nathan Sidwell [Thu, 14 Jun 2001 08:45:38 +0000 (08:45 +0000)]
configure.in (auxdir): Replace by ...
* configure.in (auxdir): Replace by ...
(toprel): ... new variable.
(toplevel_srcdir): Construct from $toprel.
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
rather than .. to locate gcc source directory.
(GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
* aclocal.m4, configure: Rebuilt.
From-SVN: r43364
GCC Administrator [Thu, 14 Jun 2001 07:16:56 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43362
John David Anglin [Thu, 14 Jun 2001 06:06:48 +0000 (06:06 +0000)]
globals.cc: Define globals _GLIBCPP_mutex_init ()...
* src/globals.cc: Define globals _GLIBCPP_mutex_init (),
_GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
and _GLIBCPP_mutex_address.
* include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
once-only runtime initialization of _M_lock mutex when
__GTHREAD_MUTEX_INIT_FUNCTION is defined.
(__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
for __GTHREAD_MUTEX_INIT_FUNCTION case.
From-SVN: r43360
John David Anglin [Thu, 14 Jun 2001 03:51:26 +0000 (03:51 +0000)]
Blow away a duplicate definition of "pow()" for C++
From-SVN: r43358
Richard Henderson [Thu, 14 Jun 2001 00:40:44 +0000 (17:40 -0700)]
* ifcvt.c (dead_or_predicable): Fix return value last patch.
From-SVN: r43357
Gabriel Dos Reis [Wed, 13 Jun 2001 22:16:24 +0000 (22:16 +0000)]
slice_array_assignment.cc (main): New test.
* testsuite/26_numerics/slice_array_assignment.cc (main): New test.
* include/bits/slice_array.h (slice_array<>::operator=): Make
public and implement.
(slice_array<>::slice_array): Make copy-constructor public.
* include/bits/valarray_array.h (__valarray_copy): Add another
overload to copy between strided arrays.
From-SVN: r43352
Franz Sirl [Wed, 13 Jun 2001 21:56:12 +0000 (21:56 +0000)]
objc.exp (objc_target_compile): Add ${rootme} to ld_library_path variable.
2001-06-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* lib/objc.exp (objc_target_compile): Add ${rootme} to ld_library_path
variable.
From-SVN: r43351
Toon Moene [Wed, 13 Jun 2001 21:06:15 +0000 (23:06 +0200)]
inquire.c: Include "config.h".
2001-06-13 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/inquire.c: Include "config.h".
From-SVN: r43350
Joseph Myers [Wed, 13 Jun 2001 18:48:09 +0000 (19:48 +0100)]
* README: Remove version number.
From-SVN: r43346
Mark Mitchell [Wed, 13 Jun 2001 18:38:01 +0000 (18:38 +0000)]
* NEWS: Update release number.
From-SVN: r43344
Mark Mitchell [Wed, 13 Jun 2001 18:37:16 +0000 (18:37 +0000)]
* gennews: Set TERM to vt100 for Lynx.
From-SVN: r43343
Mark Mitchell [Wed, 13 Jun 2001 18:35:53 +0000 (18:35 +0000)]
* NEWS: Remove.
From-SVN: r43342
Mark Mitchell [Wed, 13 Jun 2001 18:30:39 +0000 (18:30 +0000)]
* NEWS: Remove.
From-SVN: r43341
Mark Mitchell [Wed, 13 Jun 2001 18:29:38 +0000 (18:29 +0000)]
BUGS: Remove.
* BUGS: Remove.
* NEWS: Likewise.
From-SVN: r43340
Richard Henderson [Wed, 13 Jun 2001 18:16:31 +0000 (11:16 -0700)]
ifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.
* ifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.
(cond_exec_process_if_block, dead_or_predicable): Likewise.
From-SVN: r43336
Rainer Orth [Wed, 13 Jun 2001 18:07:34 +0000 (18:07 +0000)]
mips-tfile.c (copy_object): Always pass indexNil for symbol table index.
* mips-tfile.c (copy_object): Always pass indexNil for symbol
table index.
From-SVN: r43334
Benjamin Kosnik [Wed, 13 Jun 2001 17:51:38 +0000 (17:51 +0000)]
acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/bits/c++config (__GLIBCPP__): Update date.
From-SVN: r43332
Per Bothner [Wed, 13 Jun 2001 17:44:40 +0000 (10:44 -0700)]
Added John Gilmore.
From-SVN: r43330
Kazu Hirata [Wed, 13 Jun 2001 17:41:19 +0000 (17:41 +0000)]
h8300.h (OK_FOR_T): Remove.
2001-06-13 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.h (OK_FOR_T): Remove.
(EXTRA_CONSTRAINT): Do not use OK_FOR_T.
* config/h8300/h8300.md: Remove alternatives involving inc and dec
in the helper patterns for addhi3 and addsi3.
From-SVN: r43329
Tom Tromey [Wed, 13 Jun 2001 16:48:29 +0000 (16:48 +0000)]
aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Find configure.host in srcdir.
From-SVN: r43325
Tom Tromey [Wed, 13 Jun 2001 16:38:39 +0000 (16:38 +0000)]
aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Find configure.host in srcdir.
From-SVN: r43324
Gerald Pfeifer [Wed, 13 Jun 2001 16:27:29 +0000 (18:27 +0200)]
* release: Remove.
From-SVN: r43322
Phil Edwards [Wed, 13 Jun 2001 15:15:24 +0000 (15:15 +0000)]
contrib.texi: Link to libstdc++'s thanks.html for now.
2001-06-13 Phil Edwards <pme@sources.redhat.com>
* doc/contrib.texi: Link to libstdc++'s thanks.html for now.
From-SVN: r43319
Gerald Pfeifer [Wed, 13 Jun 2001 14:51:33 +0000 (16:51 +0200)]
README: Update wrt.
* INSTALL/README: Update wrt. to the installation instructions now
residing in gcc/doc/install.texi.
From-SVN: r43318
Zack Weinberg [Wed, 13 Jun 2001 14:26:03 +0000 (14:26 +0000)]
Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
* Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
* libgcc-std.ver: Take out __bb* and __gcc_bcmp.
* config/t-slibgcc-elf-ver, config/t-slibgcc-sld,
config/alpha/t-osf4, config/mips/t-iris6: Extract all
references to @shlib_map_file@, @shlib_objs@, or
@shlib_base_name@ to Makefile variables.
Bump soname version of libgcc to 1.
From-SVN: r43316
Joseph Myers [Wed, 13 Jun 2001 13:07:28 +0000 (14:07 +0100)]
install.texi: Use more logical markup.
* doc/install.texi: Use more logical markup. Include @node
commands in the source when generating any non-HTML.
From-SVN: r43314
Joseph Myers [Wed, 13 Jun 2001 07:55:27 +0000 (08:55 +0100)]
README: Replace with a cut-down and updated version of gcc/README.
* README: Replace with a cut-down and updated version of gcc/README.
gcc:
* README: Remove. Some of the contents moved to ../README.
From-SVN: r43312
GCC Administrator [Wed, 13 Jun 2001 07:18:21 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r43311
Alexandre Oliva [Wed, 13 Jun 2001 07:11:59 +0000 (07:11 +0000)]
install.texi (--enable-shared): List package names recognized by GCC.
* doc/install.texi (--enable-shared): List package names
recognized by GCC.
From-SVN: r43308
Jeff Law [Wed, 13 Jun 2001 04:16:45 +0000 (22:16 -0600)]
Add various folks.
From-SVN: r43305
Alexandre Oliva [Wed, 13 Jun 2001 03:38:52 +0000 (03:38 +0000)]
install.texi (ix86-*-solaris*): Removed, outdated.
* doc/install.texi (ix86-*-solaris*): Removed, outdated.
(*-*-solaris*): Document problem in /bin/sh that affects
configuring libraries.
(sparc-*-solaris*): Recommend GNU binutils 2.11.1 or vendor tools.
(*-sun-solaris2.8): Document linker problem that explains why
libjava is disabled by default.
From-SVN: r43303
Mark Mitchell [Wed, 13 Jun 2001 03:21:48 +0000 (03:21 +0000)]
Revert this patch:
* toplev.c (rest_of_compilation): Remove dead code before
purge_addressof.
From-SVN: r43301
Alexandre Oliva [Wed, 13 Jun 2001 03:10:44 +0000 (03:10 +0000)]
revert: configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
Reverted:
2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.
From-SVN: r43300
Jim Wilson [Wed, 13 Jun 2001 02:48:45 +0000 (02:48 +0000)]
Fix for PR 3128, IA-64 linux kernel miscompile
Fix for PR 3128, IA-64 linux kernel miscompile
* loop.c (strength_reduce): Move bl->all_reduced set before
check_ext_dependant_givs call.
(check_ext_dependant_givs): Clear bl->all_reduced when ignoring givs.
From-SVN: r43298
David Edelsohn [Wed, 13 Jun 2001 02:12:07 +0000 (02:12 +0000)]
config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be disabled.
* config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread
multilibs to be disabled.
From-SVN: r43294
Alexandre Oliva [Wed, 13 Jun 2001 02:09:18 +0000 (02:09 +0000)]
extend.texi (Function Attributes): Document SH's sp_switch and trap_exit.
* doc/extend.texi (Function Attributes): Document SH's sp_switch
and trap_exit.
From-SVN: r43293
Benjamin Kosnik [Wed, 13 Jun 2001 01:50:27 +0000 (01:50 +0000)]
fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fpos.h (fpos::operator-): Don't return reference,
return original, non-modified version.
(fpos::operator+): Same.
* testsuite/27_io/fpos.cc: Add test.
[[Split portion of a mixed commit.]]
From-SVN: r43290.2
Benjamin Kosnik [Wed, 13 Jun 2001 01:14:42 +0000 (01:14 +0000)]
fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fpos.h (fpos::operator-): Don't return reference,
return original, non-modified version.
(fpos::operator+): Same.
From-SVN: r43287
Joseph Myers [Wed, 13 Jun 2001 01:12:19 +0000 (02:12 +0100)]
invoke.texi: Use more logical markup.
* doc/invoke.texi: Use more logical markup. Use TeX quotes,
dashes and @dots{}.
From-SVN: r43286
Richard Henderson [Wed, 13 Jun 2001 00:54:41 +0000 (17:54 -0700)]
i386.c (ix86_expand_prologue): Always use gen_pro_epilogue_adjust_stack; update arguments.
* config/i386/i386.c (ix86_expand_prologue): Always use
gen_pro_epilogue_adjust_stack; update arguments.
(ix86_expand_epilogue): Likewise.
(ix86_emit_epilogue_esp_adjustment): Remove.
(ix86_adjust_cost): Remove pro_epilogue_adjust_stack hack.
* config/i386/i386.md (pro_epilogue_adjust_stack): Use a BLKmode
clobber of scratch memory instead of a modification of EBP as the
barrier. Update all peepholes to match.
From-SVN: r43284
Richard Henderson [Wed, 13 Jun 2001 00:43:18 +0000 (17:43 -0700)]
* g++.old-deja/g++.other/crash27.C: Don't XFAIL.
From-SVN: r43282
Loren J. Rittle [Tue, 12 Jun 2001 23:09:09 +0000 (23:09 +0000)]
porting.texi: Add documentation about libstdc++-v3-specific macros that are currently...
libstdc++/2071
* porting.texi: Add documentation about libstdc++-v3-specific
macros that are currently included in os_defines.h files.
* config/basic_file_stdio.h (sys_getc): New method.
(sys_ungetc): New method.
* include/bits/basic_file.h: (sys_getc): New method signature.
(sys_ungetc): New method signature.
* include/bits/fstream.tcc (underflow): Add conditional code
paths which avoid using short seeks on streams (especially
useful when the stream might be interactive or a pipe). At
the moment, this alternate path only avoids seeking when the
``buffer size'' of underflow() is 1 since the C standard only
guarantees buffer space for one ungetc (this technique could
be extended since *-*-solaris* supports buffering for 4 calls
to ungetc and *-*-*bsd* supports buffering limited only by
memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
in a port's os_defines.h file for this alternate path to even
be considered. As a bonus, the idiom of using getc/ungetc
requires no system calls whereas fseek maps to one or two
system call(s) on many platforms.
* config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
Define it.
* config/os/solaris/solaris2.5/bits/os_defines.h
(_GLIBCPP_AVOID_FSEEK): Likewise.
* config/os/solaris/solaris2.6/bits/os_defines.h
(_GLIBCPP_AVOID_FSEEK): Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h
(_GLIBCPP_AVOID_FSEEK): Likewise.
From-SVN: r43278
Benjamin Kosnik [Tue, 12 Jun 2001 23:00:39 +0000 (23:00 +0000)]
std_sstream.h: Add allocator_type, as per DR 251.
2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3142
* include/bits/std_sstream.h: Add allocator_type, as per DR 251.
libstdc++/3141
* include/bits/istream.tcc (getline, get): Fix as per DR 243.
libstdc++/3140
* include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
libstdc++/3139
* include/bits/limits_generic.h: Fix as per DR 184.
From-SVN: r43276
Joseph Myers [Tue, 12 Jun 2001 22:40:00 +0000 (23:40 +0100)]
gcc.texi: Change the font used for @def...
* doc/gcc.texi: Change the font used for @def... commands to a
fixed width font.
* doc/extend.texi: Use more logical markup. Use "built-in"
instead of "builtin". Use @deftypefn to mark up built-in
functions; specify their types in the @deftypefn and not in the
descriptive text. Use TeX quotes and dashes. Add more index
entries.
From-SVN: r43274
Benjamin Kosnik [Tue, 12 Jun 2001 22:14:08 +0000 (22:14 +0000)]
std_sstream.h: Add allocator_type, as per DR 251.
2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3142
* include/bits/std_sstream.h: Add allocator_type, as per DR 251.
libstdc++/3141
* include/bits/istream.tcc (getline, get): Fix as per DR 243.
libstdc++/3140
* include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
libstdc++/3139
* include/bits/limits_generic.h: Fix as per DR 184.
From-SVN: r43273
Lars Brinkhoff [Tue, 12 Jun 2001 19:47:44 +0000 (19:47 +0000)]
gcc.texi (HOST_BITS_PER_LONGLONG): Document.
* gcc.texi (HOST_BITS_PER_LONGLONG): Document.
(DIR_SEPARATOR_2): Likewise.
From-SVN: r43272
Joseph Myers [Tue, 12 Jun 2001 19:36:53 +0000 (20:36 +0100)]
install.texi (--exec-prefix, [...]): Document.
* doc/install.texi (--exec-prefix, --bindir, --libdir,
--with-slibdir, --infodir, --mandir, --with-cpp-install-dir):
Document.
(--enable-cpp): Change to document --disable-cpp instead; update
to reflect current default.
(--without-fast-fixincludes): Remove documentation.
(Final install): Document installation directories in more
detail. Document use of make dvi.
From-SVN: r43270
Andrew Haley [Tue, 12 Jun 2001 19:14:04 +0000 (19:14 +0000)]
osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
2001-06-06 Andrew Haley <aph@redhat.com>
* src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
From-SVN: r43268
Nathan Sidwell [Tue, 12 Jun 2001 18:08:05 +0000 (18:08 +0000)]
PR c++/3130, c++/3131, c++/3132
cp:
PR c++/3130, c++/3131, c++/3132
* cp-tree.h (BINFO_UNSHARED_MARKED): New #define.
* class.c (force_canonical_binfo_r): Move
BINFO_UNSHARED_MARKED, BINFO_LOST_PRIMARY_P. Don't move
virtual bases unless they're primary and what they're primary
too has been moved.
(dfs_unshared_virtual_bases): Use BINFO_UNSHARED_MARKED. Cope
with morally virtual bases. Duplicate BINFO_LOST_PRIMARY_P and
BINFO_PRIMARY_BASE_OF. Clear BINFO_VTABLE for all but the most
derived binfo.
(mark_primary_bases): Use BINFO_UNSHARED_MARKED.
(layout_nonempty_base_or_field): Add most derived type
parameter. Adjust.
(layout_empty_base): Likewise.
(build_base_field): Likewise.
(build_base_fields): Likewise.
(propagate_binfo_offsets): Add most derived type
parameter. Skip non canonical virtual bases too.
(dfs_set_offset_for_unshared_vbases): Don't skip primary
bases. Do skip canonical bases.
(layout_virtual_bases): Adjust.
(layout_class_type): Adjust.
(dfs_get_primary_binfo): Build list of virtual primary base
candidates.
(get_primary_binfo): Check that the shared virtual primary
base candidate was found first.
(accumulate_vtbl_inits): Don't do anything for non-vptr
containing binfos. For case 1 primary virtual bases, keep
checking that we've not emerged from the hierarchy of RTTI_BINFO.
testsuite:
* g++.old-deja/g++.abi/vbase5.C: New test.
* g++.old-deja/g++.abi/vbase6.C: New test.
* g++.old-deja/g++.abi/vbase7.C: New test.
From-SVN: r43266
Jan Hubicka [Tue, 12 Jun 2001 17:54:39 +0000 (17:54 +0000)]
damn me,
now it must be correct.
From-SVN: r43264
Jan Hubicka [Tue, 12 Jun 2001 17:06:18 +0000 (19:06 +0200)]
* recog.c (validate_replace_rtx_1): Fix previous patch.
From-SVN: r43263
Jan Hubicka [Tue, 12 Jun 2001 15:26:49 +0000 (17:26 +0200)]
* recog.c (validate_replace_rtx_1): Do plus_constant call always.
From-SVN: r43262
Jan Hubicka [Tue, 12 Jun 2001 15:25:16 +0000 (17:25 +0200)]
simplify-rtx.c (simplify_subreg): Allow volatile memory to be subregged in case we don't have move instruction.
* simplify-rtx.c (simplify_subreg): Allow volatile memory
to be subregged in case we don't have move instruction.
From-SVN: r43261
Kaveh R. Ghazi [Tue, 12 Jun 2001 12:15:46 +0000 (12:15 +0000)]
c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
* c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
* c-typeck.c (c_start_case): Likewise.
testsuite:
* gcc.c-torture/compile/
20010610-1.c: New test.
From-SVN: r43257
Mark Mitchell [Tue, 12 Jun 2001 11:17:09 +0000 (11:17 +0000)]
expr.c (store_field): Don't set MEM_ALIAS_SET for a field in a structure at a variable address.
* expr.c (store_field): Don't set MEM_ALIAS_SET for a field
in a structure at a variable address.
From-SVN: r43256
Joseph Myers [Tue, 12 Jun 2001 11:00:29 +0000 (12:00 +0100)]
* doc/gcov.texi: Use more logical markup.
From-SVN: r43253
Jan Hubicka [Tue, 12 Jun 2001 10:39:42 +0000 (12:39 +0200)]
* analyze_brprob: New file.
From-SVN: r43252
Jan Hubicka [Tue, 12 Jun 2001 10:22:22 +0000 (10:22 +0000)]
loop.c: Include predict.h
* loop.c: Include predict.h
(strength_reduce): Drop branch prediction note in case
number of iterations is known.
* predict.def (PRED_LOOP_ITERATIONS): new.
* Makefile.in (loop.o): Add dependancy on predict.h
From-SVN: r43251
Nathan Sidwell [Tue, 12 Jun 2001 08:47:48 +0000 (08:47 +0000)]
re PR c++/3089 (ICE in dfs_accumulate_vtbl_inits)
cp:
PR c++/3089
* class.c (dfs_accumulate_vtbl_inits): Always walk down the
hierarchy looking for primary bases for a ctor
vtable. Recursively call oneself, if we meet our primary via
this route and haven't met it yet via inheritance graph order.
testsuite:
* g++.old-deja/g++.abi/vbase4.C: New test.
From-SVN: r43248
GCC Administrator [Tue, 12 Jun 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43246
Loren J. Rittle [Tue, 12 Jun 2001 05:08:23 +0000 (05:08 +0000)]
Add GNATS ID.
From-SVN: r43244
Loren J. Rittle [Tue, 12 Jun 2001 05:04:42 +0000 (05:04 +0000)]
strerror.c (sys_nerr): Hide the OS header version.
* strerror.c (sys_nerr): Hide the OS header version.
* strsignal.c (sys_nsig): Likewise.
From-SVN: r43242
Mark Mitchell [Tue, 12 Jun 2001 04:42:46 +0000 (04:42 +0000)]
unroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and REG_NOTE_KIND, not PUT_MODE and GET_MODE.
* unroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and
REG_NOTE_KIND, not PUT_MODE and GET_MODE.
(final_reg_note_copy): Remove REG_WAS_0 notes that are no longer
valid.
From-SVN: r43241
Benjamin Kosnik [Tue, 12 Jun 2001 02:30:37 +0000 (02:30 +0000)]
basic_string.h (string::compare): Adjust signatures as per DR 5.
2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3126
* include/bits/basic_string.h (string::compare): Adjust signatures
as per DR 5.
* include/bits/basic_string.tcc: And here.
libstdc++/2346
* config/c_io_stdio.h: Remove whitespace.
* testsuite/27_io/istream_seeks.cc (test03): Add regression.
(test02): Add regression.
* testsuite/27_io/istream_seeks-3.tst: New file.
From-SVN: r43240
Stan Shebs [Tue, 12 Jun 2001 00:27:31 +0000 (00:27 +0000)]
* darwin.h (ASM_FILE_END): Remove decl of language_string.
From-SVN: r43238
Zack Weinberg [Mon, 11 Jun 2001 23:00:39 +0000 (23:00 +0000)]
POTFILES.in: Comment out config/float-*.
* POTFILES.in: Comment out config/float-*.
No need to regenerate gcc.pot.
From-SVN: r43237
Stephane Carrez [Mon, 11 Jun 2001 22:26:58 +0000 (00:26 +0200)]
920501-8.x: New file, sprintf() does not support %f for HC11/HC12 targets.
* gcc.c-torture/execute/920501-8.x: New file, sprintf() does not
support %f for HC11/HC12 targets.
* gcc.c-torture/execute/930513-1.x: New file, likewise.
* gcc.c-torture/execute/980709-1.x: New file, pow() is not available
on HC11/HC12 targets.
* gcc.c-torture/execute/990826-0.x: New file, likewise for floor().
From-SVN: r43233
Stephane Carrez [Mon, 11 Jun 2001 22:11:02 +0000 (00:11 +0200)]
m68hc11.md ("*lshrdi3_const32"): Mark the clobber as an early clobber to make sure it is not used by reload in...
* config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark the clobber
as an early clobber to make sure it is not used by reload in
one of the operands.
From-SVN: r43231
Zack Weinberg [Mon, 11 Jun 2001 22:05:04 +0000 (22:05 +0000)]
gcc.pot: Regenerate, again.
* gcc.pot: Regenerate, again. You go away for five minutes
and someone tweaks the messages on you.
* cat-id-tbl.c: Regenerate this too.
From-SVN: r43230
Zack Weinberg [Mon, 11 Jun 2001 21:50:54 +0000 (21:50 +0000)]
Makefile.in.in: Take --defines switch off of xgettext command line.
* Makefile.in.in: Take --defines switch off of xgettext
command line.
* POTFILES.in: Massive update, removing all dead files and
adding approximately 300 files which had been left out.
Clarify comments on what should and should not appear here.
* gcc.pot: Regenerate.
From-SVN: r43228
Daniel Berlin [Mon, 11 Jun 2001 21:49:05 +0000 (21:49 +0000)]
MAINTAINERS (Write After Approval): Add myself.
2001-06-11 Daniel Berlin <dan@cgsoftware.com>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r43227
Mark Mitchell [Mon, 11 Jun 2001 21:29:39 +0000 (21:29 +0000)]
c-tree.texi: Update information about flag_honor_std.
* doc/c-tree.texi: Update information about flag_honor_std.
* doc/install.texi: Note that binutils is required on HPUX 11.
* doc/invoke.texi (-fhonor-std): Note that -fno-honor-std is
now the default.
* config/mips/abi64.h (RETURN_IN_MEMORY): Fix handling of
variable-sized types.
* lang-options.h: Emit documentation for -fno-honor-std, not
-fhonor-std.
From-SVN: r43226
Loren J. Rittle [Mon, 11 Jun 2001 21:18:44 +0000 (21:18 +0000)]
Add bug ID.
From-SVN: r43223
Mark Mitchell [Mon, 11 Jun 2001 21:13:36 +0000 (21:13 +0000)]
gcc_build: Output information about the commands used to configure the compiler.
* gcc_build: Output information about the commands used to
configure the compiler.
From-SVN: r43222