]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agorevert: configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
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

23 years agoFix for PR 3128, IA-64 linux kernel miscompile
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

23 years agoconfig-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be...
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

23 years agoextend.texi (Function Attributes): Document SH's sp_switch and trap_exit.
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

23 years agofpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
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

23 years agofpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
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

23 years agoinvoke.texi: Use more logical markup.
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

23 years agoi386.c (ix86_expand_prologue): Always use gen_pro_epilogue_adjust_stack; update argum...
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

23 years ago* g++.old-deja/g++.other/crash27.C: Don't XFAIL.
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

23 years agoporting.texi: Add documentation about libstdc++-v3-specific macros that are currently...
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

23 years agostd_sstream.h: Add allocator_type, as per DR 251.
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

23 years agogcc.texi: Change the font used for @def...
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

23 years agostd_sstream.h: Add allocator_type, as per DR 251.
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

23 years agogcc.texi (HOST_BITS_PER_LONGLONG): Document.
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

23 years agoinstall.texi (--exec-prefix, [...]): Document.
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

23 years agoosf.S (__FRAME_BEGIN__): Conditionalize for ELF.
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

23 years agoPR c++/3130, c++/3131, c++/3132
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

23 years agodamn me,
Jan Hubicka [Tue, 12 Jun 2001 17:54:39 +0000 (17:54 +0000)]
damn me,

now it must be correct.

From-SVN: r43264

23 years ago* recog.c (validate_replace_rtx_1): Fix previous patch.
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

23 years ago* recog.c (validate_replace_rtx_1): Do plus_constant call always.
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

23 years agosimplify-rtx.c (simplify_subreg): Allow volatile memory to be subregged in case we...
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

23 years agoc-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
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

23 years agoexpr.c (store_field): Don't set MEM_ALIAS_SET for a field in a structure at a variabl...
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

23 years ago* doc/gcov.texi: Use more logical markup.
Joseph Myers [Tue, 12 Jun 2001 11:00:29 +0000 (12:00 +0100)]
* doc/gcov.texi: Use more logical markup.

From-SVN: r43253

23 years ago* analyze_brprob: New file.
Jan Hubicka [Tue, 12 Jun 2001 10:39:42 +0000 (12:39 +0200)]
* analyze_brprob: New file.

From-SVN: r43252

23 years agoloop.c: Include predict.h
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

23 years agore PR c++/3089 (ICE in dfs_accumulate_vtbl_inits)
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

23 years agoDaily bump.
GCC Administrator [Tue, 12 Jun 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43246

23 years agoAdd GNATS ID.
Loren J. Rittle [Tue, 12 Jun 2001 05:08:23 +0000 (05:08 +0000)]
Add GNATS ID.

From-SVN: r43244

23 years agostrerror.c (sys_nerr): Hide the OS header version.
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

23 years agounroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and REG_NOTE_KIND, not PUT_MO...
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

23 years agobasic_string.h (string::compare): Adjust signatures as per DR 5.
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

23 years ago* darwin.h (ASM_FILE_END): Remove decl of language_string.
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

23 years agoPOTFILES.in: Comment out config/float-*.
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

23 years ago920501-8.x: New file, sprintf() does not support %f for HC11/HC12 targets.
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

23 years agom68hc11.md ("*lshrdi3_const32"): Mark the clobber as an early clobber to make sure...
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

23 years agogcc.pot: Regenerate, again.
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

23 years agoMakefile.in.in: Take --defines switch off of xgettext command line.
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

23 years agoMAINTAINERS (Write After Approval): Add myself.
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

23 years agoc-tree.texi: Update information about flag_honor_std.
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

23 years agoAdd bug ID.
Loren J. Rittle [Mon, 11 Jun 2001 21:18:44 +0000 (21:18 +0000)]
Add bug ID.

From-SVN: r43223

23 years agogcc_build: Output information about the commands used to configure the compiler.
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

23 years ago* doc/md.texi: Use TeX dashes and quotes.
Joseph Myers [Mon, 11 Jun 2001 20:52:30 +0000 (21:52 +0100)]
* doc/md.texi: Use TeX dashes and quotes.

From-SVN: r43219

23 years ago* doc/rtl.texi: Reference manual chapter about trees.
Joseph Myers [Mon, 11 Jun 2001 20:47:35 +0000 (21:47 +0100)]
* doc/rtl.texi: Reference manual chapter about trees.

From-SVN: r43217

23 years agoiris6.h (NO_BUILTIN_WINT_TYPE): Define.
Rainer Orth [Mon, 11 Jun 2001 20:36:56 +0000 (20:36 +0000)]
iris6.h (NO_BUILTIN_WINT_TYPE): Define.

* config/mips/iris6.h (NO_BUILTIN_WINT_TYPE): Define.
(WINT_TYPE): Override.
(WINT_TYPE_SIZE): Likewise.
(SUBTARGET_CPP_SIZE_SPEC): Define __WINT_TYPE__ as appropriate.

* config/sparc/sol2.h (WINT_TYPE): Define.
(WINT_TYPE_SIZE): Likewise.

* config/sparc/sol2-sld-64.h (NO_BUILTIN_WINT_TYPE): Define.
(WINT_TYPE): Override.
(WINT_TYPE_SIZE): Likewise.
(CPP_ARCH32_SPEC): Add __WINT_TYPE__ definition.
(CPP_ARCH64_SPEC): Likewise.

testsuite:
* gcc.dg/wchar_t-1.c: New file.
* gcc.dg/wint_t-1.c: Likewise.

From-SVN: r43216

23 years agounwind-dw2-fde.c (__deregister_frame_info): Don't play games with alias attribute.
Richard Henderson [Mon, 11 Jun 2001 20:15:44 +0000 (13:15 -0700)]
unwind-dw2-fde.c (__deregister_frame_info): Don't play games with alias attribute.

        * unwind-dw2-fde.c (__deregister_frame_info): Don't play games
        with alias attribute.

From-SVN: r43214

23 years agoFix typo in comment.
Richard Henderson [Mon, 11 Jun 2001 19:51:59 +0000 (12:51 -0700)]
Fix typo in comment.

From-SVN: r43211

23 years agolinux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
Richard Henderson [Mon, 11 Jun 2001 19:51:02 +0000 (12:51 -0700)]
linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).

        * config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
        * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.

From-SVN: r43210

23 years agolinux.h (CPLUSPLUS_CPP_SPEC): New.
Franz Sirl [Mon, 11 Jun 2001 19:39:06 +0000 (19:39 +0000)]
linux.h (CPLUSPLUS_CPP_SPEC): New.

        2001-06-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.

From-SVN: r43207

23 years agoREADME: Update to reflect reality.
Phil Edwards [Mon, 11 Jun 2001 19:35:32 +0000 (19:35 +0000)]
README: Update to reflect reality.

2001-06-11  Phil Edwards  <pme@sources.redhat.com>

* README:  Update to reflect reality.
* acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
* configure.in:  Make certain target_alias is set and subst'd for 2.50.
* aclocal.m4:  Regenerate.
* configure:  Regenerate (with 2.13).

From-SVN: r43203

23 years agoRemove Stepanov test
Bernd Schmidt [Mon, 11 Jun 2001 19:28:51 +0000 (19:28 +0000)]
Remove Stepanov test

From-SVN: r43202

23 years agoostream.tcc (ostream::seekp): Add error checking as per DR 129.
Benjamin Kosnik [Mon, 11 Jun 2001 19:20:20 +0000 (19:20 +0000)]
ostream.tcc (ostream::seekp): Add error checking as per DR 129.

2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/3114
* include/bits/ostream.tcc (ostream::seekp): Add error checking as
per DR 129.
* include/bits/istream.tcc (istream::seekg): Same.
* testsuite/27_io/istream_seeks.cc: Fix.

libstdc++/3113
* include/bits/stl_function.h (binder2nd): Fix as per DR 109.
(binder1st): Same.
* include/bits/std_queue.h: Add c++config.h.
* testsuite/20_util/binders.cc: New test.

From-SVN: r43201

23 years agodarwin.c (darwin_encode_section_info): Rewrite to simplify and fix coding mistakes.
Stan Shebs [Mon, 11 Jun 2001 18:59:42 +0000 (18:59 +0000)]
darwin.c (darwin_encode_section_info): Rewrite to simplify and fix coding mistakes.

        * darwin.c (darwin_encode_section_info):  Rewrite to simplify
        and fix coding mistakes.

From-SVN: r43200

23 years agoFix compile time warnings
Nick Clifton [Mon, 11 Jun 2001 16:58:56 +0000 (16:58 +0000)]
Fix compile time warnings

From-SVN: r43199

23 years ago* g++.old-deja/g++.law/code-gen5.C: Don't send raw pointers to assert.
Richard Henderson [Mon, 11 Jun 2001 16:34:29 +0000 (09:34 -0700)]
* g++.old-deja/g++.law/code-gen5.C: Don't send raw pointers to assert.

From-SVN: r43198

23 years agoosf5.h (TARGET_LD_BUGGY_LDGP): New.
Richard Henderson [Mon, 11 Jun 2001 16:27:26 +0000 (09:27 -0700)]
osf5.h (TARGET_LD_BUGGY_LDGP): New.

        * config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
        * config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Default.
        (struct machine_function): Add gp_save_rtx.
        * config/alpha/alpha.c (alpha_mark_machine_status): Mark it.
        (alpha_gp_save_rtx): New.
        * config/alpha/alpha-protos.h: Declare it.
        * config/alpha/alpha.md (exception_receiver): Make an expander.
        Use alpha_gp_save_rtx if TARGET_LD_BUGGY_LDGP.

From-SVN: r43196

23 years ago* config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.
Richard Henderson [Mon, 11 Jun 2001 16:21:52 +0000 (09:21 -0700)]
* config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.

From-SVN: r43194

23 years agoconfigure.in: Align --help messages.
Rainer Orth [Mon, 11 Jun 2001 15:01:40 +0000 (15:01 +0000)]
configure.in: Align --help messages.

* configure.in: Align --help messages.
Remove trailing full stops.
Consistently use lower case.
Fix DWARF 2 spelling.
* configure: Rebuilt.

From-SVN: r43192

23 years agoalpha.h (CPP_SPEC): Don't define __LANGUAGE_C and variants for .cpp/.cp/.c++ files.
Rainer Orth [Mon, 11 Jun 2001 14:48:11 +0000 (14:48 +0000)]
alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and variants for .cpp/.cp/.c++ files.

* config/alpha/alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and
variants for .cpp/.cp/.c++ files.
Move definition of __LANGUAGE_C_PLUS_PLUS ...
(CPLUSPLUS_CPP_SPEC): ... here.

From-SVN: r43190

23 years ago* jump.c (duplicate_loop_exit_test): Fix loop header heuristics.
Jan Hubicka [Mon, 11 Jun 2001 13:49:24 +0000 (15:49 +0200)]
* jump.c (duplicate_loop_exit_test): Fix loop header heuristics.

From-SVN: r43189

23 years agore PR c/3116 (Bug with using oldstyle prototype declarations)
Joseph Myers [Mon, 11 Jun 2001 13:26:19 +0000 (14:26 +0100)]
re PR c/3116 (Bug with using oldstyle prototype declarations)

* c-decl.c (store_parm_decls): When comparing types in an
old-style function declaration with those from a previous
prototype, compare the unqualified versions of parameter types.
Fixes PR c/3116.

testsuite:
* gcc.c-torture/compile/20010611-1.c: New test.

From-SVN: r43186

23 years agorun_doxygen (find_doxygen): Tweak version check.
Matthias Klose [Mon, 11 Jun 2001 13:04:07 +0000 (13:04 +0000)]
run_doxygen (find_doxygen): Tweak version check.

2001-06-11  Matthias Klose  <doko@debian.org>
            Phil Edwards  <pme@sources.redhat.com>

* docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
(main script):  Echo more information.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r43184

23 years ago* doc/objc.texi: Use more logical markup. Use TeX dashes.
Joseph Myers [Mon, 11 Jun 2001 12:05:10 +0000 (13:05 +0100)]
* doc/objc.texi: Use more logical markup.  Use TeX dashes.

From-SVN: r43182

23 years ago* doc/c-tree.texi: Use more logical markup.
Joseph Myers [Mon, 11 Jun 2001 12:00:41 +0000 (13:00 +0100)]
* doc/c-tree.texi: Use more logical markup.

From-SVN: r43180

23 years agoc-decl.c (xref_tag): Don't return previous tags of wrong type.
Joseph Myers [Mon, 11 Jun 2001 11:50:29 +0000 (12:50 +0100)]
c-decl.c (xref_tag): Don't return previous tags of wrong type.

* c-decl.c (xref_tag): Don't return previous tags of wrong type.

testsuite:
* gcc.dg/c99-tag-1.c: Add more tests.

From-SVN: r43179

23 years agodo not combine asm stmts in scan_loop
Aldy Hernandez [Mon, 11 Jun 2001 09:36:06 +0000 (09:36 +0000)]
do not combine asm stmts in scan_loop

From-SVN: r43178

23 years agosimplify-rtx.c (simplify_subreg): Fix offset calculation for complex values within...
Michael Hayes [Mon, 11 Jun 2001 09:30:50 +0000 (09:30 +0000)]
simplify-rtx.c (simplify_subreg): Fix offset calculation for complex values within a CONCAT.

* simplify-rtx.c (simplify_subreg): Fix offset calculation
for complex values within a CONCAT.

From-SVN: r43177

23 years agoinstall.texi: Update details of what components are included in the GCC distribution.
Joseph Myers [Mon, 11 Jun 2001 07:26:33 +0000 (08:26 +0100)]
install.texi: Update details of what components are included in the GCC distribution.

* doc/install.texi: Update details of what components are included
in the GCC distribution.  Update default directory for g++
includes.  Update documentation relating to old libio.  Adjust
documentation on DejaGnu environment variables.  Remove
documentation of --enable-cpplib.

From-SVN: r43175

23 years agocontrib.texi: Fix alphabetical order.
Joseph Myers [Mon, 11 Jun 2001 07:23:20 +0000 (08:23 +0100)]
contrib.texi: Fix alphabetical order.

* doc/contrib.texi: Fix alphabetical order.  Fix typos.  Improve
markup.

From-SVN: r43173

23 years agoDaily bump.
GCC Administrator [Mon, 11 Jun 2001 07:16:15 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43171

23 years agoifcvt.c (life_data_ok): New.
Richard Henderson [Mon, 11 Jun 2001 05:16:10 +0000 (22:16 -0700)]
ifcvt.c (life_data_ok): New.

        * ifcvt.c (life_data_ok): New.
        (merge_if_block): Use it to determine whether to update
        global_live_at_end.
        (if_convert): Set it.

From-SVN: r43170

23 years agostd_cwchar.h: Alphabetize.
Benjamin Kosnik [Mon, 11 Jun 2001 04:36:59 +0000 (04:36 +0000)]
std_cwchar.h: Alphabetize.

2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cwchar.h: Alphabetize.
* include/bits/char_traits.h: Tweak.
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
everything used by std_cwchar.h.
* aclocal.m4: Regenerate.
* configure.in: Regenerate.
* config.h.in: Regenerate.

From-SVN: r43167

23 years ago* config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
Richard Henderson [Mon, 11 Jun 2001 02:31:56 +0000 (19:31 -0700)]
* config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.

From-SVN: r43166

23 years agoinvoke.texi (MN10300 Options): Document -mno-crt0.
Alexandre Oliva [Mon, 11 Jun 2001 01:03:12 +0000 (01:03 +0000)]
invoke.texi (MN10300 Options): Document -mno-crt0.

* doc/invoke.texi (MN10300 Options): Document -mno-crt0.
(SH Options): Document -mieee.
* doc/install.texi (Final install): Remove obsolete information
about installing cross compilers.
* doc/gcc.1: Rebuilt.

From-SVN: r43164

23 years agoacinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
Benjamin Kosnik [Sun, 10 Jun 2001 23:26:34 +0000 (23:26 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.

2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
Add checking for strtof, _Exit in stdlib.h
* aclocal.m4: Regenerate.
* configure.in: Regenerate.
* include/c_std/bits/std_cstdio.h: Alphabetize lists.
(snprintf): Put C99 functions into __gnu_cxx namespace.
(vfscanf): Same.
(vscanf): Same.
(vsnprintf): Same.
(vsscanf): Same.
* include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
for C99 functions within _GLIBCPP_USE_C99 guard.
(_Exit): Same.
(strtof): Same.
(strtold): Same.
* include/bits/locale_facets.tcc: Check if C99 is enabled.
* include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
C99 guard.
* include/c_std/bits/cmath.tcc: Formatting tweak.
* include/c_std/bits/std_cmath.h: Same.

From-SVN: r43161

23 years agoalpha.c (override_options): Set align_loops, align_jumps, and align_functions.
Richard Henderson [Sun, 10 Jun 2001 23:15:03 +0000 (16:15 -0700)]
alpha.c (override_options): Set align_loops, align_jumps, and align_functions.

        * config/alpha/alpha.c (override_options): Set align_loops,
        align_jumps, and align_functions.
        * config/alpha/alpha.h (FUNCTION_BOUNDARY): Set to 32 bits.
        (LOOP_ALIGN, LABEL_ALIGN_AFTER_BARRIER): Remove.

From-SVN: r43160

23 years agoemit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode are one and...
Michael Hayes [Sun, 10 Jun 2001 22:49:40 +0000 (22:49 +0000)]
emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode are one and two words in size.

* emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode
are one and two words in size.

From-SVN: r43158

23 years agoptrmem.C: Take into account different representation on MN10300 and ARM/Thumb.
Alexandre Oliva [Sun, 10 Jun 2001 21:50:47 +0000 (21:50 +0000)]
ptrmem.C: Take into account different representation on MN10300 and ARM/Thumb.

* g++.old-deja/g++.abi/ptrmem.C: Take into account different
representation on MN10300 and ARM/Thumb.

From-SVN: r43157

23 years agotypeck.c (get_member_function_from_ptrfunc): Don't clobber delta.
Alexandre Oliva [Sun, 10 Jun 2001 21:50:40 +0000 (21:50 +0000)]
typeck.c (get_member_function_from_ptrfunc): Don't clobber delta.

* typeck.c (get_member_function_from_ptrfunc) [vbit_in_delta]:
Don't clobber delta.
(expand_ptrmemfunc_cst) [ptrmemfunc_vbit_in_delta]: Adjust pfn.

From-SVN: r43156

23 years agoexception.cc (cstdlib): Replaces stdlib.h.
Alexandre Petit-Bianco [Sun, 10 Jun 2001 20:59:37 +0000 (13:59 -0700)]
exception.cc (cstdlib): Replaces stdlib.h.

2001-06-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * exception.cc (cstdlib): Replaces stdlib.h.
        (_Jv_Throw): Use std::abort().
        (PERSONALITY_FUNCTION): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00620.html )

From-SVN: r43153

23 years agoinvoke.texi (Optimization Options): Document -fpeephole2.
Richard Henderson [Sun, 10 Jun 2001 19:55:57 +0000 (12:55 -0700)]
invoke.texi (Optimization Options): Document -fpeephole2.

        * doc/invoke.texi (Optimization Options): Document -fpeephole2.
        (Code Generation Options): Document -fnon-call-exceptions.

From-SVN: r43151

23 years agoconcat.c: Include string.h.
Richard Henderson [Sun, 10 Jun 2001 18:57:15 +0000 (11:57 -0700)]
concat.c: Include string.h.

        * concat.c: Include string.h.  Fix int vs size_t usage.
        Simplify the iteration loops.  Use memcpy.

From-SVN: r43149

23 years ago* config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
Mark Kettenis [Sun, 10 Jun 2001 18:54:50 +0000 (18:54 +0000)]
* config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.

From-SVN: r43148

23 years agore PR java/2299 (Use of += for String arrays produces Segfault during compilation)
Tom Tromey [Sun, 10 Jun 2001 18:45:06 +0000 (18:45 +0000)]
re PR java/2299 (Use of += for String arrays produces Segfault during compilation)

2001-03-20  Tom Tromey  <tromey@redhat.com>
    Alexandre Petit-Bianco <apbianco@redhat.com>

* parse.y (patch_assignment): Handle the case of a SAVE_EXPR
inside an array reference. Insertion of the array store check
rewritten. Fixes PR java/2299.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00611.html )

Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>
From-SVN: r43146

23 years agodecl.c (create_primitive_vtable): Don't call make_decl_rtl.
Jeff Sturm [Sun, 10 Jun 2001 18:24:53 +0000 (18:24 +0000)]
decl.c (create_primitive_vtable): Don't call make_decl_rtl.

2001-06-05  Jeff Sturm  <jsturm@one-point.com>

* decl.c (create_primitive_vtable): Don't call make_decl_rtl.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00265.html )

From-SVN: r43144

23 years ago20010610.f: New.
Toon Moene [Sun, 10 Jun 2001 17:57:29 +0000 (19:57 +0200)]
20010610.f: New.

2001-06-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20010610.f: New.

From-SVN: r43143

23 years ago* m68hc11.md (peepholes): Remove unused and wrong peepholes.
Stephane Carrez [Sun, 10 Jun 2001 17:08:27 +0000 (19:08 +0200)]
* m68hc11.md (peepholes): Remove unused and wrong peepholes.

From-SVN: r43142

23 years agoMakefile.in (c-parse.o): Depend on diagnostic.h
Gabriel Dos Reis [Sun, 10 Jun 2001 13:48:04 +0000 (13:48 +0000)]
Makefile.in (c-parse.o): Depend on diagnostic.h

gcc/

2001-06-10  Mark Mitchell <mark@codesourcery.com>
    Gabriel Dos Reis  <gdr@codesourcery.com>

* Makefile.in (c-parse.o): Depend on diagnostic.h
(dwarf2out.o): Likewise.

* dwarf2out.c: #include diagnostic.h

* toplev.h (warningcount, errorcount, sorrycount): Remove
declarations.

* toplev.c (warningcount, errorcount, sorrycount): Remove
definitions.

* diagnostic.h (struct output_buffer): Reorder fields.
(diagnostic_kind_count): New macro.
(errorcount, warningcount, sorrycount): Define as macros.
(diagnostic_report_warnings_p): New macro.
(output_state): Add diagnostic_count field.

* diagnostic.c (warningcount, errorcount, inhibit_warnings):
Remove tentative declaration.
(count_error): Use diagnostic_report_warnings_p.

* c-parse.in: #include diagnostic.h

ch/

2001-06-10  Gabriel Dos Reis  <gdr@codesourcery.com>

* decl.c: #include diagnostic.h
* actions.c: #include diagnostic.h
* Makefile.in (actions.o): Depend on diagnostic.h
(decl.o): Depend on diagnostic.h

cp/

2001-06-10  Mark Mitchell <mark@codesourcery.com>
    Gabriel Dos Reis  <gdr@codesourcery.com>

* Make-lang.in (cp/call.o): Depend on diagnostic.h
(cp/typeck.o): Depend on diagnostic.h
(cp/typeck2.o): Depend on diagnostic.h
(cp/repo.o): Depend on dignostic.h
* typeck.c: #include diagnostic.h
(convert_for_initialization): Remove extern declaration for
warningcount and errorcount.

* call.c: #include diagnostic.h
(convert_like_real): Remove extern declaration for warnincount and
errorcount.

* repo.c: #include diagnostic.h
* typeck2.c: #include diagnostic.h

From-SVN: r43140

23 years agog77install.texi: Remove.
Toon Moene [Sun, 10 Jun 2001 13:23:19 +0000 (15:23 +0200)]
g77install.texi: Remove.

2001-06-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77install.texi: Remove.
* Make-lang.in: Remove all mention of g77install.texi.
* g77.texi: Add documentation on how to get output always
flushed and how to increase the maximum unit number.
Remove all mention of g77install.texi.
* bugs.texi: Add documentation on how to change the threshold
for putting local arrays on the stack.

From-SVN: r43139

23 years agom68hc11.md ("extendhisi2"): Fix constraints to prefer a memory for operand 1.
Stephane Carrez [Sun, 10 Jun 2001 10:24:48 +0000 (12:24 +0200)]
m68hc11.md ("extendhisi2"): Fix constraints to prefer a memory for operand 1.

* config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
prefer a memory for operand 1.
("*addsi3"): Fix constraints, the '!' was too strong.
("*addsi3_split"): Accept soft register and split accordingly.

From-SVN: r43137

23 years agom68hc11-protos.h (m68hc11_initialize_trampoline): Move definition in the RTX_CODE...
Stephane Carrez [Sun, 10 Jun 2001 10:18:40 +0000 (12:18 +0200)]
m68hc11-protos.h (m68hc11_initialize_trampoline): Move definition in the RTX_CODE section.

* config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
Move definition in the RTX_CODE section.

From-SVN: r43134

23 years agom68hc11.h (RETURN_ADDR_RTX): Define the return address as relative to the argument...
Stephane Carrez [Sun, 10 Jun 2001 10:16:27 +0000 (12:16 +0200)]
m68hc11.h (RETURN_ADDR_RTX): Define the return address as relative to the argument pointer.

* config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return
address as relative to the argument pointer.

From-SVN: r43133

23 years ago* predict.def (PRED_OPCODE): Place before call and error_return.
Jan Hubicka [Sun, 10 Jun 2001 08:59:51 +0000 (10:59 +0200)]
* predict.def (PRED_OPCODE): Place before call and error_return.

From-SVN: r43131

23 years agopredict.def (PRED_CALL, [...]): New.
Jan Hubicka [Sun, 10 Jun 2001 08:01:57 +0000 (10:01 +0200)]
predict.def (PRED_CALL, [...]): New.

* predict.def (PRED_CALL, PRED_ERROR_RETURN): New.
* predict.c (estimate_probability): Calculate dominance
information; improve detection of NORETURN heuristics;
add call/error_return heuiristics; tweak comparison heuristics
to recognize -1.

From-SVN: r43130

23 years agostd_cstdio.h: Include cstddef for size_t.
Benjamin Kosnik [Sun, 10 Jun 2001 07:42:25 +0000 (07:42 +0000)]
std_cstdio.h: Include cstddef for size_t.

2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cstdio.h: Include cstddef for size_t.

From-SVN: r43128

23 years agoDaily bump.
GCC Administrator [Sun, 10 Jun 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43126

23 years agoinvoke.texi (C Dialect Options): Document -aux-info.
Alexandre Oliva [Sun, 10 Jun 2001 00:34:45 +0000 (00:34 +0000)]
invoke.texi (C Dialect Options): Document -aux-info.

* doc/invoke.texi (C Dialect Options): Document -aux-info.
(Debugging Options): Document -print-multi-directory and
-print-multi-lib.
* doc/gcc.1: Rebuilt.

From-SVN: r43124

23 years agotoplev.c (independent_decode_option): Require `=' between `-aux-info' and filename...
Alexandre Oliva [Sun, 10 Jun 2001 00:31:07 +0000 (00:31 +0000)]
toplev.c (independent_decode_option): Require `=' between `-aux-info' and filename in the same argument.

* toplev.c (independent_decode_option): Require `=' between
`-aux-info' and filename in the same argument.
* gcc.c: Don't pass -aux-info=filename twice.

From-SVN: r43123

23 years agoNew test.
Mark Mitchell [Sat, 9 Jun 2001 23:08:24 +0000 (23:08 +0000)]
New test.

From-SVN: r43121

23 years agoexpr.c (expand_expr, [...]): Do not replace an array element with the known initializ...
Mark Mitchell [Sat, 9 Jun 2001 23:08:05 +0000 (23:08 +0000)]
expr.c (expand_expr, [...]): Do not replace an array element with the known initializing value if...

* expr.c (expand_expr, case ARRAY_REF): Do not replace
an array element with the known initializing value if it has
side-effects.

* toplev.c (rest_of_compilation): Remove dead code before
purge_addressof.

From-SVN: r43120

This page took 0.112063 seconds and 5 git commands to generate.