OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * parse.y (nomods_initdcl0): Do not move stack entries
nathan [Tue, 30 Apr 2002 09:34:49 +0000 (09:34 +0000)]
* parse.y (nomods_initdcl0): Do not move stack entries
when setting things up as initdcl0_innards expects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52939 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 30 Apr 2002 09:15:48 +0000 (09:15 +0000)]
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6511
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52937 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocorrect PR number
bkoz [Tue, 30 Apr 2002 07:28:20 +0000 (07:28 +0000)]
correct PR number

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52934 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 30 Apr 2002 07:22:11 +0000 (07:22 +0000)]
2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/5280
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Check for eof.
* include/bits/streambuf_iterator.h: Match stream_iterator.h.
(istreambuf_iterator::operator++): Invalidate on eof.
(istreambuf_iterator::operator++(int)): Same.
(istreambuf_iterator::operator*): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52933 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 30 Apr 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52932 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-29 David S. Miller <davem@redhat.com>
davem [Tue, 30 Apr 2002 04:49:45 +0000 (04:49 +0000)]
2002-04-29  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
* config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
* config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52928 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mh-cxux: remove dead code
dj [Tue, 30 Apr 2002 03:30:22 +0000 (03:30 +0000)]
* config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52926 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in: replace '[' with 'test'
dj [Tue, 30 Apr 2002 03:16:53 +0000 (03:16 +0000)]
* configure.in: replace '[' with 'test'

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52925 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in: Eliminate references to gash.
dj [Tue, 30 Apr 2002 02:42:51 +0000 (02:42 +0000)]
* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52924 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
dj [Tue, 30 Apr 2002 02:35:12 +0000 (02:35 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52923 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
dj [Tue, 30 Apr 2002 02:28:23 +0000 (02:28 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52922 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in: (*-*-windows*) Finish removing.
dj [Tue, 30 Apr 2002 02:19:45 +0000 (02:19 +0000)]
* configure.in: (*-*-windows*) Finish removing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52921 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in: Eliminate redundant test for libgui.
dj [Tue, 30 Apr 2002 02:14:35 +0000 (02:14 +0000)]
* configure.in: Eliminate redundant test for libgui.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52920 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
ro [Tue, 30 Apr 2002 01:45:34 +0000 (01:45 +0000)]
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
LD_LIBRARY64_PATH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52919 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 30 Apr 2002 00:38:23 +0000 (00:38 +0000)]
2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* combine.c (find_split_point): Use gen_int_mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52916 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 29 Apr 2002 22:34:36 +0000 (22:34 +0000)]
2002-04-29  Vladimir Makarov  <vmakarov@redhat.com>

Merging code from dfa-branch:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52915 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * reload1.c (eliminate_regs, case SUBREG): Fix typo in
kenner [Mon, 29 Apr 2002 21:23:57 +0000 (21:23 +0000)]
* reload1.c (eliminate_regs, case SUBREG): Fix typo in
adjust_address_nv call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52914 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/install.texi (Testing): Provide additional information, and
janis [Mon, 29 Apr 2002 20:27:28 +0000 (20:27 +0000)]
* doc/install.texi (Testing): Provide additional information, and
a stronger encouragement, for running the testsuites.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52910 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * MAINTAINERS: Add self and realphabetize. Update entries
sayle [Mon, 29 Apr 2002 20:16:10 +0000 (20:16 +0000)]
* MAINTAINERS: Add self and realphabetize.  Update entries
for Dan Berlin, Chris Demetriou and Michael Matz.  Remove
entry for a29k port maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52908 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
dj [Mon, 29 Apr 2002 19:57:21 +0000 (19:57 +0000)]
* config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
given in upper case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52907 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
ro [Mon, 29 Apr 2002 19:42:41 +0000 (19:42 +0000)]
* fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
Solaris 2 <widec.h> if missing.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/widec.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52906 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * toplev.c (f_options): Add "profile" switch so that
nickc [Mon, 29 Apr 2002 19:07:13 +0000 (19:07 +0000)]
* toplev.c (f_options): Add "profile" switch so that
    -fno-profile can be used to disable -p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52904 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoInitial P4 SSE2 builtin support
bernds [Mon, 29 Apr 2002 18:40:47 +0000 (18:40 +0000)]
Initial P4 SSE2 builtin support

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52903 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/6477
jakub [Mon, 29 Apr 2002 15:11:36 +0000 (15:11 +0000)]
PR c++/6477
* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
non-NULL first.

* g++.dg/parse/typedef1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52900 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
hubicka [Mon, 29 Apr 2002 15:09:58 +0000 (15:09 +0000)]
* i386.md (sse_mov?fcc*): Revert patch of Mar 14th.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52899 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/6492
mmitchel [Mon, 29 Apr 2002 14:56:24 +0000 (14:56 +0000)]
PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.

PR c++/6486
* method.c (do_build_copy_constructor): Avoid building
cv-qualified reference types.

PR c++/6486
* g++.dg/template/friend6.C: New test.

PR c++/6492
* g++.dg/init/copy1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52895 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/contrib.texi (Contributors): Add Paolo Carlini and
gerald [Mon, 29 Apr 2002 13:13:08 +0000 (13:13 +0000)]
* doc/contrib.texi (Contributors): Add Paolo Carlini and
Janis Johnson.
Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
Refer to Objective-C instead of ObjC, SPARC instead of sparc,
and CPU instead of cpu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52893 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * toplev.c (flag_if_conversion, flag_if_conversion2): New static
hubicka [Mon, 29 Apr 2002 11:39:31 +0000 (11:39 +0000)]
* toplev.c (flag_if_conversion, flag_if_conversion2): New static
variables.
(lang_independent_options): Add -fif-conversion, -fif-conversion2
(rest_of_compilation): Do if conversion only when asked for.
(parse_options_and_default_flags): Set new variables to 1 for -O1
* invoke.texi (-fif-conversion, -fif-conversion2): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52891 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386.c (dbx64_register_map): Fix typo.
hubicka [Mon, 29 Apr 2002 11:04:18 +0000 (11:04 +0000)]
* i386.c (dbx64_register_map): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52890 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
hubicka [Mon, 29 Apr 2002 10:19:56 +0000 (10:19 +0000)]
* predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
real_one_half, real_bb_freq_max): New static variables.
(debug_profile_bbauxs): Kill.
(process_note_predictions): Kill unused variable.
(block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
volatile double.
(propagate_freq): Use REAL_ARITHMETICS.
(estimate_bb_frequencies): Likevise; init new static variables.
* Makefile.in (predict.o): Add dependency on real.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52889 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Mon, 29 Apr 2002 08:47:31 +0000 (08:47 +0000)]
cp:
PR c++/5719
* decl.c (grok_op_properties): Assignment ops don't have to return
by value. operator% should.
testsuite:
* g++.dg/warn/effc1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52888 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * invoke.texi: Use @gol at ends of lines inside @gccoptlist.
jsm28 [Mon, 29 Apr 2002 07:57:20 +0000 (07:57 +0000)]
* invoke.texi: Use @gol at ends of lines inside @gccoptlist.
* g77.texi: Update last update date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52885 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Mon, 29 Apr 2002 07:17:01 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52883 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 29 Apr 2002 07:00:50 +0000 (07:00 +0000)]
2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5280
        * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
        (__basic_file::sys_ungetc): Take int.
        * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Use sys_getc for unbuffered input.
        * testsuite/27_io/narrow_stream_objects.cc (test06): New.

        * src/ios.cc (_M_grow_words): Adjust error checking.
        * testsuite/27_io/ios_base_storage.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52879 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-28 David S. Miller <davem@redhat.com>
davem [Mon, 29 Apr 2002 05:48:05 +0000 (05:48 +0000)]
2002-04-28  David S. Miller  <davem@redhat.com>

* configure.in, configure: Fix SPARC test in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52878 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-28 David S. Miller <davem@redhat.com>
davem [Mon, 29 Apr 2002 05:33:00 +0000 (05:33 +0000)]
2002-04-28  David S. Miller  <davem@redhat.com>

PR target/6500
* config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
several {reads,writes} instead.
* config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52876 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
bryce [Mon, 29 Apr 2002 04:15:57 +0000 (04:15 +0000)]
2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>

* java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52874 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
bryce [Mon, 29 Apr 2002 04:14:44 +0000 (04:14 +0000)]
2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>

* Makefile.am: Add Linux for S/390 support.
* Makefile.in: Regenerate.
* configure.in: Add Linux for S/390 support.
* configure: Regenerate.
* include/ffi.h.in: Add Linux for S/390 support.
* src/s390/ffi.c: New file from libffi CVS tree.
* src/s390/sysv.S: New file from libffi CVS tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52873 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-27 David S. Miller <davem@redhat.com>
davem [Mon, 29 Apr 2002 04:12:02 +0000 (04:12 +0000)]
2002-04-27  David S. Miller  <davem@redhat.com>

PR target/6494
* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
of the stack bias.

* config/sparc/linux.h, config/sparc/linux64.h: Don't bother
including signal.h and sys/ucontext.h, not needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52872 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * varasm.c (output_constant_def): Correct test for not calling
hp [Mon, 29 Apr 2002 03:57:30 +0000 (03:57 +0000)]
* varasm.c (output_constant_def): Correct test for not calling
ENCODE_SECTION_INFO for INTEGER_CST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52870 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-29 Adam King <aking@dreammechanics.com>
bryce [Mon, 29 Apr 2002 03:54:50 +0000 (03:54 +0000)]
2002-04-29  Adam King <aking@dreammechanics.com>

* java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
of file in APPEND mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52869 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppexp.c (lex): Move some code to _cpp_parse_expr, but
neil [Sun, 28 Apr 2002 23:14:56 +0000 (23:14 +0000)]
* cppexp.c (lex): Move some code to _cpp_parse_expr, but
keep most cases as function eval_token.
(eval_token): New function.
(_cpp_parse_expr): Read token here for improved diagnostics.
Don't use op_as_text.  Detect bad ':' here.
(reduce): Don't detect bad ':' here.
(op_as_text): Remove.
* cpphash.h (_cpp_test_assertion): Change prototype.
* cpplib.c (_cpp_test_assertion): Change prototype.
testsuite:
* gcc.dg/cpp/if-cexp.c: Add a test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52866 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
rth [Sun, 28 Apr 2002 20:40:39 +0000 (20:40 +0000)]
    * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
        (ggc_mark_rtx_children): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52864 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR target/6496
jakub [Sun, 28 Apr 2002 20:37:05 +0000 (20:37 +0000)]
PR target/6496
* config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
after call peepholes for UltraSPARC.
(call + jump 64-bit peepholes): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52863 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 28 Apr 2002 20:26:57 +0000 (20:26 +0000)]
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6497
* config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
result as temporary value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52860 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
jakub [Sun, 28 Apr 2002 19:57:42 +0000 (19:57 +0000)]
* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
%r_disp32().
* src/sparc/v8.S: Use it.
* src/sparc/v9.S: Likewise.
* fficonfig.h.in: Rebuilt.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52858 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/6396
jakub [Sun, 28 Apr 2002 19:52:33 +0000 (19:52 +0000)]
PR c++/6396
* toplev.c (rest_of_compilation): Only run regrename and copy
propagation if optimizing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52857 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoArgh, lost closing brace.
jakub [Sun, 28 Apr 2002 19:48:10 +0000 (19:48 +0000)]
Argh, lost closing brace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52856 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR optimization/6475
jakub [Sun, 28 Apr 2002 19:47:12 +0000 (19:47 +0000)]
PR optimization/6475
* reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
register of REGNO_DECL (i).
* Makefile.in (reload1.o): Add $(TREE_H).

* gcc.dg/20020426-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52855 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppexp.c (lex): Update to use state.skip_eval.
neil [Sun, 28 Apr 2002 19:42:54 +0000 (19:42 +0000)]
* cppexp.c (lex): Update to use state.skip_eval.
(struct op): Remove prio and flags members.
(FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
(LEFT_ASSOC): New macro.
(optab): New table of operator priorities and flags.
(SHIFT): Update.
(_cpp_parse_expr): Clean up logic.  Return bool.  Use a
malloc-ed parser stack.
(reduce): New; reduce the operator stack.
(_cpp_expand_op_stack): Expand the operator stack as necessary.
* cpphash.h (struct op): Predeclare.
(struct cpp_reader): New members op_stack, op_limit.
(struct lexer_state): New member skip_eval.
(_cpp_parse_expr): Update.
(_cpp_expand_op_stack): New.
* cpplib.c (do_if): Update.
* cppinit.c (cpp_create_reader): Create op stack.
(cpp_destroy): And destroy it.
* cpplib.h (CPP_LAST_CPP_OP): Correct.
(TTYPE_TABLE): Correct.
testsuite:
* gcc.dg/cpp/if-mop.c: Update.
* gcc.dg/cpp/if-mpar.c: Add test.
* gcc.dg/cpp/if-oppr.c: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52853 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * .cvsignore: Remove files that are present in CVS.
mmitchel [Sun, 28 Apr 2002 18:41:51 +0000 (18:41 +0000)]
* .cvsignore: Remove files that are present in CVS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52845 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 28 Apr 2002 18:31:34 +0000 (18:31 +0000)]
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6343
* c-decl.c (duplicate_decls): Call merge_weak.
* c-pragma.c (apply_pragma_weak): Warn about misuse.
* output.h (merge_weak): Prototype merge_weak.
* varasm.c (merge_weak): New function.
(declare_weak): Make sure we don't give an error on VAR_DECLs.
Mark RTL with SYMBOL_REF_WEAK.

cp:
* decl.c (duplicate_decls): Call merge_weak.

testsuite:
* gcc.dg/weak-[2-7].c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52844 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
paolo [Sun, 28 Apr 2002 16:21:32 +0000 (16:21 +0000)]
2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/ext/stl_hashtable.h: Import __iterator_category

2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/ext/hash_set.cc: New testfile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52843 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sun, 28 Apr 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52842 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 28 Apr 2002 00:42:12 +0000 (00:42 +0000)]
2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
_G_USING_THUNKS.
* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
* config/os/solaris/solaris2.7/bits/os_defines.h: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52838 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago For PR java/6382:
tromey [Sat, 27 Apr 2002 20:31:42 +0000 (20:31 +0000)]
For PR java/6382:
* parse.y (string_convert_int_cst): New function.
(merge_string_cste): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52835 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tree-inline.c (inlinable_function_p): Improve heuristics
rth [Sat, 27 Apr 2002 18:59:40 +0000 (18:59 +0000)]
    * tree-inline.c (inlinable_function_p): Improve heuristics
        by using a smoother function to cut down allowable inlinable size.
        * param.def: Add parameters max-inline-insns-single,
        max-inline-slope, min-inline-insns that determine the exact
        shape of the above function.
        * param.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52832 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sat, 27 Apr 2002 07:17:23 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52831 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-parse.in (malloced_yyss, malloced_yyvs): New.
rth [Sat, 27 Apr 2002 06:53:07 +0000 (06:53 +0000)]
    * c-parse.in (malloced_yyss, malloced_yyvs): New.
        (yyoverflow): Re-add.  Set them.
        (free_parser_stacks): New.
        * c-common.h: Declare it.
        * c-lex.c (c_common_parse_file): Call it.

        * parse.y (malloced_yyss, malloced_yyvs): New.
        (yyoverflow): Re-add.  Set them.
        (free_parser_stacks): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52827 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
rth [Sat, 27 Apr 2002 06:41:38 +0000 (06:41 +0000)]
    * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
        for fallthru search.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52826 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-26 Eric Christopher <echristo@redhat.com>
echristo [Sat, 27 Apr 2002 02:33:37 +0000 (02:33 +0000)]
2002-04-26  Eric Christopher  <echristo@redhat.com>

PR optimization/3700
* config/mips/mips.c (mips_issue_rate): Define.  New function.
(TARGET_SCHED_ISSUE_RATE): Use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52825 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR bootstrap/6445
mmitchel [Sat, 27 Apr 2002 00:26:36 +0000 (00:26 +0000)]
PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52824 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-25 David S. Miller <davem@redhat.com>
davem [Sat, 27 Apr 2002 00:07:16 +0000 (00:07 +0000)]
2002-04-25  David S. Miller  <davem@redhat.com>

PR target/6422
* reorg.c (optimize_skip): Do not allow exception causing
instructions to be considered for delay slots.
(fill_simply_delay_slots, fill_slots_from_thread): Likewise.
(relax_delay_slots): Do not try to consider exception causing
instructions as redundant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52822 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-25 David S. Miller <davem@redhat.com>
davem [Sat, 27 Apr 2002 00:04:14 +0000 (00:04 +0000)]
2002-04-25  David S. Miller  <davem@redhat.com>

PR target/6422
* include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
program counter to next program counter minus 8.  Update
comments in this macro to explain why.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52820 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* gcc.dg/enum1.c: New test.
aoliva [Fri, 26 Apr 2002 23:44:46 +0000 (23:44 +0000)]
* gcc.dg/enum1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52815 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * verify.cc (construct_primitive_array_type) [void_type]: New
tromey [Fri, 26 Apr 2002 22:39:29 +0000 (22:39 +0000)]
* verify.cc (construct_primitive_array_type) [void_type]: New
case.
(branch_prepass): Added dummy entries for unused instruction
values.
(verify_instructions_0): Likewise.
* interpret.cc (continue1): Comment fix.
* include/java-insns.h (op_xxxunusedxxx1): Removed.
* Makefile.in: Rebuilt.
* Makefile.am: Added -Wswitch-enum.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52814 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-26 Joel Sherrill <joel@OARcorp.com>
joel [Fri, 26 Apr 2002 22:30:19 +0000 (22:30 +0000)]
2002-04-26 Joel Sherrill <joel@OARcorp.com>

* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52813 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
rth [Fri, 26 Apr 2002 21:56:55 +0000 (21:56 +0000)]
    * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
* gcc.dg/lvalue1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52812 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR bootstrap/6445
mmitchel [Fri, 26 Apr 2002 21:28:47 +0000 (21:28 +0000)]
PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.

PR c++/6497
* method.c (do_build_assign_ref): Pass a derivation to
build_method_call when calling base class assignment operators.

PR c++/6497
* g++.dg/inherit/access2.C: New test.

PR bootstrap/6445
* gcc.dg/20020426-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52809 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* g++.dg/abi/enum1.C: New test.
aoliva [Fri, 26 Apr 2002 20:09:56 +0000 (20:09 +0000)]
* g++.dg/abi/enum1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52804 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* tree.c (tree_int_cst_lt): Compare constants whose types differ
aoliva [Fri, 26 Apr 2002 19:35:33 +0000 (19:35 +0000)]
* tree.c (tree_int_cst_lt): Compare constants whose types differ
in unsigned-ness correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52802 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
danglin [Fri, 26 Apr 2002 18:58:16 +0000 (18:58 +0000)]
* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
portable runtime model.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52800 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-26 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 26 Apr 2002 18:21:32 +0000 (18:21 +0000)]
2002-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
Fix and tighten __throw_length_error check.
* testsuite/21_strings/replace.cc (test05): New.
* testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52797 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-parse.in (yyoverflow): Revert.
rth [Fri, 26 Apr 2002 17:04:37 +0000 (17:04 +0000)]
    * c-parse.in (yyoverflow): Revert.
        * parse.y (yyoverflow): Revert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52794 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
dje [Fri, 26 Apr 2002 15:23:26 +0000 (15:23 +0000)]
    * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
        result as temporary value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52793 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c (fix_string_type): Split out of ...
rth [Fri, 26 Apr 2002 07:40:12 +0000 (07:40 +0000)]
    * c-common.c (fix_string_type): Split out of ...
        (combine_strings): ... here.  Take a varray, not a tree list.
        (c_expand_builtin_printf): Use fix_string_type.
        * c-common.h: Update decls.
        * c-parse.in (string): Remove.  Update all uses to use STRING
        instead, and not call combine_strings.
        (yylexstring): New.
        (_yylex): Use it.
        * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
        (build_asm_stmt): Likewise.
        * objc/objc-act.c (my_build_string): Use fix_string_type.
        (build_objc_string_object): Build varray for combine_strings.

        * parse.y (string): Remove.  Update all uses to use STRING
        instead, and not call combine_strings.
        * rtti.c (tinfo_name): Use fix_string_type.
        * semantics.c (finish_asm_stmt): Don't call combine_strings.
        * spew.c (yylexstring): New.
        (read_token): Use it.

* g++.dg/parse/concat1.C: New.
* gcc.dg/concat2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52790 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/c99-bool-1.c: Expect always true warning.
rth [Fri, 26 Apr 2002 07:24:39 +0000 (07:24 +0000)]
    * gcc.dg/c99-bool-1.c: Expect always true warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52787 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 26 Apr 2002 07:17:49 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52786 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-26 Bo Thorsen <bo@suse.co.uk>
bo [Fri, 26 Apr 2002 07:05:56 +0000 (07:05 +0000)]
2002-04-26  Bo Thorsen  <bo@suse.co.uk>

* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
x86-64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52781 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
neil [Fri, 26 Apr 2002 06:32:50 +0000 (06:32 +0000)]
* cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
(HAVE_NO_R_OPERAND): Remove.
(HAVE_VALUE): Remove.
(op_to_prio): Update.
(UNARY): Don't alter flags.
(_cpp_parse_expr): want_value used to indicate whether
a number or unary operator is expected next.  Distinguish
unary and binary +/-.
(op_as_text): Update for unary operators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52780 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-parse.in (yyoverflow): New.
rth [Fri, 26 Apr 2002 05:35:13 +0000 (05:35 +0000)]
* c-parse.in (yyoverflow): New.
* cp/parse.y (yyoverflow): New.
* g++.dg/parse/stack1.C: New.
* gcc.dg/20020425-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52779 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/2098
rth [Fri, 26 Apr 2002 02:15:52 +0000 (02:15 +0000)]
    PR c/2098
        * c-common.c (shorten_compare): Simplfy conditions leading to
        the generation of a warning.

* gcc.dg/compare6.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52778 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/2035
rth [Fri, 26 Apr 2002 02:09:21 +0000 (02:09 +0000)]
    PR c/2035
        * expmed.c (extract_bit_field): Fall through to generic code rather
        than aborting on subreg special case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52777 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-25 David S. Miller <davem@redhat.com>
davem [Fri, 26 Apr 2002 02:05:08 +0000 (02:05 +0000)]
2002-04-25  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
for DECL being NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52776 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago 2002-04-25 Steve Christiansen <smc@us.ibm.com>
wilson [Fri, 26 Apr 2002 00:24:41 +0000 (00:24 +0000)]
2002-04-25  Steve Christiansen  <smc@us.ibm.com>
* doc/md.texi (Machine Constraints): Add IA-64 constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52774 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-decl.c (grokdeclarator): Remove outdated ??? note
rth [Fri, 26 Apr 2002 00:22:23 +0000 (00:22 +0000)]
    * c-decl.c (grokdeclarator): Remove outdated ??? note
        on invalid declaration of flexible array members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52772 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/i386-memset-1.c: New test case for PR target/6456.
hp [Fri, 26 Apr 2002 00:09:43 +0000 (00:09 +0000)]
* gcc.dg/i386-memset-1.c: New test case for PR target/6456.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52771 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
rth [Thu, 25 Apr 2002 22:31:31 +0000 (22:31 +0000)]
    * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52769 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/s390/s390.c (s390_emit_epilogue): Always restore registers
uweigand [Thu, 25 Apr 2002 21:26:04 +0000 (21:26 +0000)]
* config/s390/s390.c (s390_emit_epilogue): Always restore registers
needed by the compiler, even if they are used as global regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52768 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-04-24 Matt Hiller <hiller@redhat.com>
hiller [Thu, 25 Apr 2002 19:31:45 +0000 (19:31 +0000)]
2002-04-24  Matt Hiller  <hiller@redhat.com>

* mips.c (mips_class_max_nregs, mips_register_move_cost): New
functions.
* mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
of the corresponding functions.
* mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
New prototypes.

2002-04-24  Matt Hiller  <hiller@redhat.com>

* config/mips/mips.h (mips_sw_reg_names): Declare as extern.

(ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
(FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
registers, adjust comment accordingly.
(FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
for coprocessor registers.
(ADDITIONAL_REGISTER_NAMES): Include
ALL_COP_ADDITIONAL_REGISTER_NAMES.

(COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.

(mips_char_to_class): Adjust comment to include coprocessor
constraint letters.

* config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
New functions.
(mips_reg_names, mips_regno_to_class): Include coprocessor
information.
(mips_sw_reg_names): Ditto, make non-static.
(mips_move_1word): Handle moves to and from coprocessor registers.
(mips_move_2words): Handle moves to and from coprocessor
registers.
(mips_class_max_nregs, mips_register_move_cost): Handle
coprocessor register classes.
(override_options): Initialize mips_char_to_class and
mips_hard_regno_mode_ok properly for coprocessor registers.

* config/mips/mips.md (movdi_internal, movdi_internal2,
movsi_internal1, movsi_internal2): Add constraint-sets for
coprocessor registers.
* testsuite/gcc.c-torture/mipscop-1.c: New testcase.
* testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
isn't mips.
* testsuite/gcc.c-torture/mipscop-2.c: New testcase.
* testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
isn't mips.
* testsuite/gcc.c-torture/mipscop-3.c: New testcase.
* testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
isn't mips.
* testsuite/gcc.c-torture/mipscop-4.c: New testcase.
* testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
isn't mips.

* doc/tm.texi: Document feature.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52765 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * integrate.c (function_attribute_inlinable_p): Simplify.
neil [Thu, 25 Apr 2002 18:55:48 +0000 (18:55 +0000)]
* integrate.c (function_attribute_inlinable_p): Simplify.
Check the table pointer is not NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52763 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
ghazi [Thu, 25 Apr 2002 18:49:02 +0000 (18:49 +0000)]
* gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52762 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/5607
jason [Thu, 25 Apr 2002 18:04:50 +0000 (18:04 +0000)]
    PR c++/5607
        * search.c (check_final_overrider): No longer static.
        * class.c (update_vtable_entry_for_fn): Call it.
        * cp-tree.h: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52760 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/c-tree.texi: Fix typo in introduction.
rsandifo [Thu, 25 Apr 2002 09:30:11 +0000 (09:30 +0000)]
* doc/c-tree.texi: Fix typo in introduction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52758 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 25 Apr 2002 07:17:29 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52757 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.h (c_common_parse_file): Update.
neil [Thu, 25 Apr 2002 06:24:41 +0000 (06:24 +0000)]
* c-common.h (c_common_parse_file): Update.
* c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
* c-lex.c (YYDEBUG): Get from c-lex.h.
(c_common_parse_file): Update.
* c-lex.h (YYDEBUG, yydebug): New.
* c-parse.in (YYDEBUG): Get from c-lex.h.
(c_set_yydebug): Remove.
* c-tree.h (c_set_yydebug): Remove.
* langhooks-def.h (lhd_do_nothing_i): New.
(lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
(LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
* langhooks.c  (lhd_do_nothing_i): New.
(lhd_set_yydebug): Remove.
* langhooks.h (struct lang_hooks): Update.
* toplev.c (set_yydebug): New.
(compile_file): Update call to parse_file hook.
(decode_d_option): Update.
ada:
* misc.c (gnat_parse_file): Update.
cp:
* cp-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
* cp-tree.h (cxx_set_yydebug): Die.
* lex.c (YYDEBUG): Get from c-lex.h.
(cxx_set_yydebug): Remove.
* parse.y: Include c-lex.h.
(YYDEBUG): Get from c-lex.h.
f:
* com.h (ffe_parse_file): Update.
* lex.c (ffe_parse_file): Update.
java:
* java-tree.h (java_parse_file): Update.
(java_set_yydebug): Remove.
* jcf-parse.c (yydebug): Remove.
(java_set_yydebug): Die.
(java_parse_file): Update.
* lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
objc:
* objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52753 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago For PR java/6425:
tromey [Thu, 25 Apr 2002 01:09:47 +0000 (01:09 +0000)]
For PR java/6425:
* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
EXPR_WFL_QUALIFICATION of qual_wfl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52751 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
mmitchel [Thu, 25 Apr 2002 01:05:25 +0000 (01:05 +0000)]
* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
out an array type.
(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
to determine qualifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52749 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * typeck.c (build_modify_expr): The pedwarn for array assignment is
jason [Thu, 25 Apr 2002 00:13:45 +0000 (00:13 +0000)]
    * typeck.c (build_modify_expr): The pedwarn for array assignment is
        now unconditional.
        * tree.c (build_cplus_array_type_1): Still process simple array types
        normally in templates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52746 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * loop.c (load_mems): Don't change the interface of called functions.
amylaar [Wed, 24 Apr 2002 23:52:16 +0000 (23:52 +0000)]
* loop.c (load_mems): Don't change the interface of called functions.

* calls.c (expand_call): Take current_function_pretend_args_size
into account when setting argblock for sibcalls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52745 138bc75d-0d04-0410-961f-82ee72b054a4