David Billinghurst [Fri, 19 Jan 2001 07:59:23 +0000 (07:59 +0000)]
* g77.f-torture/compile/
20000601-2.f: New test.
From-SVN: r39125
Gabriel Dos Reis [Fri, 19 Jan 2001 02:52:27 +0000 (02:52 +0000)]
17_intro: Prepare testcases for new style DejaGnu framework.
2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/17_intro: Prepare testcases for new style DejaGnu
framework.
From-SVN: r39124
Per Bothner [Thu, 18 Jan 2001 22:36:23 +0000 (14:36 -0800)]
gcj.texi (Input Options): Mention .java files.
2001-01-18 Per Bothner <per@bothner.com>
* gcj.texi (Input Options): Mention .java files.
From-SVN: r39123
Nathan Sidwell [Thu, 18 Jan 2001 14:27:06 +0000 (14:27 +0000)]
Remove extraneous conflict indicator
From-SVN: r39122
Nathan Sidwell [Thu, 18 Jan 2001 14:25:03 +0000 (14:25 +0000)]
typeck.c (build_modify_expr): Say `initialization' for INIT_EXPRs.
cp:
* typeck.c (build_modify_expr): Say `initialization' for
INIT_EXPRs.
* init.c (build_default_init): Convert to enumeral type, if
needed.
testsuite:
* g++.old-deja/g++.other/init17.C: New test.
From-SVN: r39121
Richard Kenner [Thu, 18 Jan 2001 13:26:47 +0000 (08:26 -0500)]
Fix typos in previous change
From-SVN: r39120
Jakub Jelinek [Thu, 18 Jan 2001 13:24:27 +0000 (14:24 +0100)]
parse.y (nomods_initdcl0): Properly set things up for initdcl0_innards.
* parse.y (nomods_initdcl0): Properly set things up for
initdcl0_innards.
From-SVN: r39119
Richard Kenner [Thu, 18 Jan 2001 13:14:34 +0000 (13:14 +0000)]
flow.c (mark_set_1, [...]): Now case; rework to allow entry to be EXPR_LIST.
* flow.c (mark_set_1, case PARALLEL): Now case; rework to allow
entry to be EXPR_LIST.
* rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
be an EXPR_LIST (but not null, which other code doesn't allow).
(note_stores): Properly handle PARALLEL in SET.
Recursively call for top-level PARALLEL.
* sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
* sched-rgn.c (check_live_1, update_live_1): Likewise.
From-SVN: r39118
Richard Kenner [Thu, 18 Jan 2001 13:03:43 +0000 (13:03 +0000)]
* config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
From-SVN: r39117
Alexandre Oliva [Thu, 18 Jan 2001 12:00:38 +0000 (12:00 +0000)]
* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
From-SVN: r39116
Nathan Sidwell [Thu, 18 Jan 2001 09:56:46 +0000 (09:56 +0000)]
pt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.
cp:
* pt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.
(type_unification_real): Set it.
(unify): Use it.
testsuite:
* g++.old-deja/g++.pt/unify8.C: New test.
From-SVN: r39115
Nathan Sidwell [Thu, 18 Jan 2001 09:39:13 +0000 (09:39 +0000)]
decl.c (finish_destructor_body): Convert to vbase pointer here.
cp:
* decl.c (finish_destructor_body): Convert to vbase pointer here.
testsuite:
* g++.old-deja/g++.abi/vbase1.C: New test.
From-SVN: r39114
Nathan Sidwell [Thu, 18 Jan 2001 09:35:59 +0000 (09:35 +0000)]
semantics.c (begin_class_definition): Check we're not inside a template parm list.
cp:
* semantics.c (begin_class_definition): Check we're not inside a
template parm list.
testsuite:
* g++.old-deja/g++.pt/crash65.C: New test.
From-SVN: r39113
Nathan Sidwell [Thu, 18 Jan 2001 09:33:08 +0000 (09:33 +0000)]
tree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of BASELINK_P.
cp:
* tree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of
BASELINK_P.
From-SVN: r39112
Jeff Law [Thu, 18 Jan 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39111
Benjamin Kosnik [Thu, 18 Jan 2001 07:24:16 +0000 (07:24 +0000)]
mkcheck.in: Construct file names that match $objdir structure.
2001-01-17 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in: Construct file names that match $objdir structure.
* testsuite/27_io/filebuf_members-1.txt: New file.
* testsuite/27_io/ifstream_members-1.txt: New file.
* testsuite/27_io/ostream_inserter_char-1.txt: New file.
* testsuite/27_io/ios_base_members_static.cc (test02): Add test.
* testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
From-SVN: r39110
Neil Booth [Thu, 18 Jan 2001 06:34:18 +0000 (06:34 +0000)]
* gcc.dg/cpp/assembl2.S: New test case.
From-SVN: r39109
Neil Booth [Thu, 18 Jan 2001 06:32:47 +0000 (06:32 +0000)]
cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping (== 0).
* cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
not pfile->skipping (== 0).
From-SVN: r39108
Alexandre Petit-Bianco [Thu, 18 Jan 2001 03:07:01 +0000 (03:07 +0000)]
lang-options.h (-Wunsupported-jdk11): Removed.
2001-01-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lang-options.h (-Wunsupported-jdk11): Removed.
* lang.c (flag_not_overriding): Deleted.
(flag_static_local_jdk1_1): Likewise.
(lang_W_options): Removed "unsupported-jdk11" entry.
* parse.y (java_check_methods): Removed dead code.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01479.html)
From-SVN: r39107
Jeffrey Oldham [Thu, 18 Jan 2001 02:30:03 +0000 (02:30 +0000)]
ecos.exp (wkali-2.c): Xfail if only weak aliases are supported.
2001-01-17 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.dg/special/ecos.exp (wkali-2.c): Xfail if only weak aliases
are supported.
From-SVN: r39106
Mark Wielaard [Thu, 18 Jan 2001 00:43:17 +0000 (00:43 +0000)]
* java/bean/Beans.java (instantiate): enable Applet code from Classpath
From-SVN: r39105
Gabriel Dos Reis [Thu, 18 Jan 2001 00:30:08 +0000 (00:30 +0000)]
libstdc++.tests, lib: New directories.
2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/libstdc++.tests, testsuite/lib: New directories.
From-SVN: r39104
Tom Tromey [Thu, 18 Jan 2001 00:20:52 +0000 (00:20 +0000)]
Changes suggested by Per Bothner:
* gcj.texi (Input Options): Don't mention input files.
(Code Generation): Updated --main information.
(Invoking jcf-dump): Mention that --javap is incomplete.
From Alexandre Petit-Bianco:
(Warnings): Don't mention -Wunsupported-jdk11.
My stuff:
(Compatibility): Mention JDK 1.2-ness of libraries.
(Resources): Mention resources used when writing gcj.
From-SVN: r39103
Nick Clifton [Wed, 17 Jan 2001 23:31:45 +0000 (23:31 +0000)]
Add missing PARAMS around prototype's parameters
From-SVN: r39102
Tom Tromey [Wed, 17 Jan 2001 23:14:11 +0000 (23:14 +0000)]
gcj.texi: New file.
* gcj.texi: New file.
* Make-lang.in ($(srcdir)/java/gcj.info): New target.
(java.info): Depend on gcj.info.
(java/gcj.dvi): New target.
(java.dvi): Depend on gcj.dvi.
(java.install-info): Wrote.
From-SVN: r39101
Nick Clifton [Wed, 17 Jan 2001 22:35:30 +0000 (22:35 +0000)]
add missing prototypes
From-SVN: r39100
Jim Wilson [Wed, 17 Jan 2001 20:45:34 +0000 (20:45 +0000)]
Improve IA-64 option documentation based on public and private comments.
* invoke.texi (IA-64 options): Improve.
From-SVN: r39099
Tom Tromey [Wed, 17 Jan 2001 20:03:40 +0000 (20:03 +0000)]
invoke.texi (Optimize Options): Use `{}' to around @samp argument.
* invoke.texi (Optimize Options): Use `{}' to around @samp
argument.
From-SVN: r39098
Aldy Hernandez [Wed, 17 Jan 2001 19:44:36 +0000 (19:44 +0000)]
document -fno-guess-branch-probability option
From-SVN: r39097
Aldy Hernandez [Wed, 17 Jan 2001 19:43:13 +0000 (19:43 +0000)]
document -fno-guess-branch-probability option
From-SVN: r39096
Kaveh R. Ghazi [Wed, 17 Jan 2001 19:09:35 +0000 (19:09 +0000)]
builtins1.C: New test.
* g++.old-deja/g++.other/builtins1.C: New test.
* g++.old-deja/g++.other/builtins2.C: Likewise.
* g++.old-deja/g++.other/builtins3.C: Likewise.
* g++.old-deja/g++.other/builtins4.C: Likewise.
From-SVN: r39095
Richard Kenner [Wed, 17 Jan 2001 18:27:37 +0000 (18:27 +0000)]
combine.c (try_combine): Don't set i3_subst_into_i2 for case of making new double-word constant.
* combine.c (try_combine): Don't set i3_subst_into_i2 for
case of making new double-word constant.
Revert last change: instead just test i3_subst_into_i2.
From-SVN: r39094
Jakub Jelinek [Wed, 17 Jan 2001 12:32:49 +0000 (13:32 +0100)]
i386.md (cmpqi_minus_1): Use q constraints instead of r.
* config/i386/i386.md (cmpqi_minus_1): Use q constraints instead of r.
* gcc.c-torture/compile/
20010117-2.c: New test.
From-SVN: r39093
Jakub Jelinek [Wed, 17 Jan 2001 11:55:10 +0000 (12:55 +0100)]
i386.md (cmpqi_minus_1): Use {b} for QImode operation.
* config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
* gcc.c-torture/compile/
20010117-1.c: New test.
From-SVN: r39092
Bryce McKinlay [Wed, 17 Jan 2001 10:22:33 +0000 (10:22 +0000)]
Class.h (isInterface): Move implementation from natClass.cc.
* java/lang/Class.h (isInterface): Move implementation from
natClass.cc. Declare inline.
(Class): Add default constructor.
* java/lang/Object.h: Update comments.
* java/lang/natClass.cc (initializeClass): Use _Jv_InitClass to
initialize superclass, saving a call if super is already initialized.
From-SVN: r39091
Jeff Law [Wed, 17 Jan 2001 08:45:09 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39090
Peter Schmid [Wed, 17 Jan 2001 08:30:25 +0000 (08:30 +0000)]
istream_sentry.cc (test02): Fix.
2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/27_io/istream_sentry.cc (test02): Fix.
From-SVN: r39089
Alexandre Petit-Bianco [Wed, 17 Jan 2001 08:13:06 +0000 (08:13 +0000)]
prims.cc (init_prim_class): Deleted.
2001-01-16 Alexandre Petit-Bianco <apbianco@cygnus.com>
* prims.cc (init_prim_class): Deleted.
(DECLARE_PRIM_TYPE): Rewritten.
* java/lang/Class.h (stdio.h): Include removed.
(stddef.h): Included.
(java/lang/reflect/Modifier.h): Likewise.
(Class): Contructor now takes arguments, initializes fields.
(initializePrim): Prototype deleted.
* java/lang/natClass.cc (initializePrim): Deleted.
(http://sources.redhat.com/ml/java-patches/2001-q1/msg00081.html)
From-SVN: r39088
Benjamin Kosnik [Wed, 17 Jan 2001 07:44:57 +0000 (07:44 +0000)]
ios_base.h (ios_base::failure): Tighten up throw specs.
2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/1605
* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
* src/ios.cc (ios_base::failure): Make definitions match.
* libsupc++/typeinfo (class bad_typeid): Add throw specs.
(class bad_cast): Same.
* libsupc++/exception (class exception): Add throw specs.
* libsupc++/exception_support.cc (set_terminate): Add throw specs.
(set_unexpected): Same.
(uncaught_exception): Same.
(what): Same.
* docs/html/17_intro/C++STYLE (classname): Fix.
From-SVN: r39087
Mark Mitchell [Wed, 17 Jan 2001 07:13:39 +0000 (07:13 +0000)]
gen-num-limits.cc (INSTANTIATIONS): New macro.
* src/gen-num-limits.cc (INSTANTIATIONS): New macro.
Use it do explicitly instantiate predicate<T> and value<T> for
all the builtin Ts.
From-SVN: r39086
Richard Henderson [Wed, 17 Jan 2001 06:45:40 +0000 (22:45 -0800)]
libjava.exp (bytecompile_file): Don't unset CLASSPATH.
* lib/libjava.exp (bytecompile_file): Don't unset CLASSPATH.
(libjava_arguments): Use .jar extension for libgcj.
From-SVN: r39085
Kriang Lerdsuwanakij [Wed, 17 Jan 2001 05:59:51 +0000 (05:59 +0000)]
typeck.c (build_function_call_real): Call fold on the CALL_EXPR.
* typeck.c (build_function_call_real): Call fold on the CALL_EXPR.
* call.c (build_over_call): Add comment.
From-SVN: r39084
Alan Modra [Wed, 17 Jan 2001 05:23:22 +0000 (05:23 +0000)]
pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
* config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
(machine_function): Define.
(PIC_OFFSET_TABLE_SAVE_RTX) : Define.
* config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
pa_free_machine_status): New functions.
(override_options): Set {init,mark,free}_machine_status to above.
(hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
PIC_OFFSET_TABLE_REGNUM_SAVED.
* config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
* config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
references to PIC_OFFSET_TABLE_REGNUM_SAVED.
* config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
From-SVN: r39083
Warren Levy [Wed, 17 Jan 2001 04:13:17 +0000 (04:13 +0000)]
* java/math/BigInteger.java: Update Copyright year.
From-SVN: r39082
DJ Delorie [Wed, 17 Jan 2001 01:54:15 +0000 (20:54 -0500)]
Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
* Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
(cpp.1): Ditto.
(gcc.1): Ditto.
From-SVN: r39081
Hans Boehm [Wed, 17 Jan 2001 01:00:53 +0000 (01:00 +0000)]
BigInteger.java (setShiftRight): Only do negative shift if count != 0.
2001-01-16 Hans Boehm <hans_boehm@hp.com>
* java/math/BigInteger.java (setShiftRight): Only do negative shift
if count != 0.
From-SVN: r39080
Jeff Sturm [Wed, 17 Jan 2001 00:39:09 +0000 (00:39 +0000)]
expr.c (java_lang_expand_expr): Use TREE_SYMBOL_REFERENCED after having called make_decl_rtl.
2001-01-16 Jeff Sturm <jeff.sturm@appnet.com>
* expr.c (java_lang_expand_expr): Use TREE_SYMBOL_REFERENCED after
having called make_decl_rtl.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01369.html)
From-SVN: r39079
Richard Kenner [Tue, 16 Jan 2001 23:10:36 +0000 (23:10 +0000)]
flow.c (propagate_on_insn): Make trying to delete a prologue or epilogue insn an ICE, not a warning.
* flow.c (propagate_on_insn): Make trying to delete a prologue
or epilogue insn an ICE, not a warning. Allow doing this if
the current function returns with stack pointer depressed.
From-SVN: r39078
Richard Kenner [Tue, 16 Jan 2001 22:21:16 +0000 (22:21 +0000)]
combine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than one SET.
* combine.c (try_combine): If i3_subst_into_i2, properly check for
I3 having more than one SET.
From-SVN: r39077
Jim Wilson [Tue, 16 Jan 2001 21:45:34 +0000 (21:45 +0000)]
* invoke.texi: Document IA-64 options.
From-SVN: r39076
Jim Wilson [Tue, 16 Jan 2001 21:37:08 +0000 (21:37 +0000)]
Delete A step Itanium support.
* config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
(fixup_errata): Delete TARGET_A_STEP use.
* config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
(TARGET_SWITCHES): Delete -ma-step option.
* config/ia64/ia64.md (all FP patterns): Delete %B0.
(movqicc_astep, movqi_internal_astep, movhicc_astep,
movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
movdfcc_astep, movdf_internal_astep, movtfcc_astep,
movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
Delete.
(movqi_internal, movhi_internal, movsi_internal, movdi_internal,
movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
cmovsi_internal): Delete ! TARGET_A_STEP check.
From-SVN: r39075
Gerald Pfeifer [Tue, 16 Jan 2001 19:33:50 +0000 (20:33 +0100)]
gcc.texi (Bug Lists): Do not mention newsgroups nor the possibility to report bugs via postal mail.
* gcc.texi (Bug Lists): Do not mention newsgroups nor the
possibility to report bugs via postal mail. Change a URL and
merge in a nearly duplicate statement...
(Bug Reporting): ...from here.
(Service): Refer to the Bug Reporting section instead of
duplicating an URL.
(Contributing): Remove trivial explanations concerning snapshots.
From-SVN: r39074
Alan Modra [Tue, 16 Jan 2001 18:40:56 +0000 (18:40 +0000)]
* cppmain.c (general_init): Don't use ANSI prototype.
From-SVN: r39073
Tom Tromey [Tue, 16 Jan 2001 18:02:01 +0000 (18:02 +0000)]
* gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
From-SVN: r39072
Daniel Berlin [Tue, 16 Jan 2001 17:57:34 +0000 (17:57 +0000)]
cvt.c (ocp_convert): Handle vector type conversion
2001-01-16 Daniel Berlin <dberlin@redhat.com>
* cvt.c (ocp_convert): Handle vector type conversion
* typeck2.c (digest_init): Handle vector type initializations
From-SVN: r39071
Richard Henderson [Tue, 16 Jan 2001 17:32:26 +0000 (09:32 -0800)]
i386.h: Fix comment typo.
* config/i386/i386.h: Fix comment typo.
* config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
(ashr+compare patterns): Match CCGOCmode not CCNOmode.
From-SVN: r39070
Phil Edwards [Tue, 16 Jan 2001 16:10:47 +0000 (16:10 +0000)]
g++spec.c: Don't add libraries needlessly if -fsyntax-only was given.
2001-01-16 Phil Edwards <pme@sources.redhat.com>
* g++spec.c: Don't add libraries needlessly if -fsyntax-only
was given.
From-SVN: r39069
Phil Edwards [Tue, 16 Jan 2001 16:09:07 +0000 (16:09 +0000)]
gcc.c: Revert previous -fsyntax-only-related change; move to cp/g++spec.c.
2001-01-16 Phil Edwards <pme@sources.redhat.com>
* gcc.c: Revert previous -fsyntax-only-related change; move
to cp/g++spec.c.
From-SVN: r39068
Jakub Jelinek [Tue, 16 Jan 2001 15:57:00 +0000 (16:57 +0100)]
i386.c (fcmov_comparison_operator): Only initialize inmode after checking GET_CODE (op).
* config/i386/i386.c (fcmov_comparison_operator): Only initialize
inmode after checking GET_CODE (op).
From-SVN: r39067
Richard Kenner [Tue, 16 Jan 2001 14:29:08 +0000 (09:29 -0500)]
Minor whitespace changes
From-SVN: r39066
Richard Henderson [Tue, 16 Jan 2001 13:57:17 +0000 (05:57 -0800)]
flow.c (struct propagate_block_info): Add mem_set_list_len.
* flow.c (struct propagate_block_info): Add mem_set_list_len.
(MAX_MEM_SET_LIST_LEN): New.
(propagate_one_insn): Update mem_set_list_len.
(invalidate_mems_from_autoinc): Likewise.
(invalidate_mems_from_set): Likewise.
(mark_used_regs): Likewise.
(init_propagate_block_info): Likewise. Stop collecting memories
when we reach MAX_MEM_SET_LIST_LEN.
(mark_set_1): Likewise.
From-SVN: r39065
Richard Henderson [Tue, 16 Jan 2001 11:15:49 +0000 (03:15 -0800)]
unroll.c (precondition_loop_p): Fail if no iteration variable found.
* unroll.c (precondition_loop_p): Fail if no iteration
variable found.
From-SVN: r39064
Nathan Sidwell [Tue, 16 Jan 2001 09:45:03 +0000 (09:45 +0000)]
exception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change.
* libsupc++/exception_support.cc (__cp_pop_exception): Fix
uninitialized thinko in last change.
From-SVN: r39063
Jeff Law [Tue, 16 Jan 2001 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39062
Mark Mitchell [Tue, 16 Jan 2001 08:30:20 +0000 (08:30 +0000)]
exception_support.cc (__cp_pop_exception): Change prototype.
* libsupc++/exception_support.cc (__cp_pop_exception): Change
prototype.
From-SVN: r39061
Benjamin Kosnik [Tue, 16 Jan 2001 07:58:40 +0000 (07:58 +0000)]
C++STYLE (classname): Add more existing and stylish patterns.
2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/C++STYLE (classname): Add more existing
and stylish patterns.
libstdc++/944
* include/bits/istream.tcc (istream::sentry::sentry()): Set
failbit if the state of the stream is not good.
* testsuite/27_io/istream_sentry.cc (test02): Add test.
* testsuite/27_io/istream_manip.cc (test01): Modify.
libstdc++/1019
reported by Paolo Carlini <pcarlini@unitus.it>
* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
* testsuite/21_strings/inserters_extractors.cc (test08): Add test.
libstdc++/1057
* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
(xsgetn): Same. Simplify.
* testsuite/27_io/streambuf.cc (test04): Add testcases.
reported by Larry Evans <jcampbell3@prodigy.net>
* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
equality with eof on returned value from overflow.
From-SVN: r39060
Benjamin Kosnik [Tue, 16 Jan 2001 07:55:26 +0000 (07:55 +0000)]
C++STYLE (classname): Add more existing and stylish patterns.
2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/C++STYLE (classname): Add more existing
and stylish patterns.
libstdc++/944
* include/bits/istream.tcc (istream::sentry::sentry()): Set
failbit if the state of the stream is not good.
* testsuite/27_io/istream_sentry.cc (test02): Add test.
* testsuite/27_io/istream_manip.cc (test01): Modify.
libstdc++/1019
reported by Paolo Carlini <pcarlini@unitus.it>
* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
* testsuite/21_strings/inserters_extractors.cc (test08): Add test.
libstdc++/1057
* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
(xsgetn): Same. Simplify.
* testsuite/27_io/streambuf.cc (test04): Add testcases.
reported by Larry Evans <jcampbell3@prodigy.net>
* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
equality with eof on returned value from overflow.
From-SVN: r39059
Phil Edwards [Tue, 16 Jan 2001 06:06:29 +0000 (06:06 +0000)]
gcc.c: When -fsyntax-only is given, do not complain about unused libraries.
2001-01-16 Phil Edwards <pme@sources.redhat.com>
* gcc.c: When -fsyntax-only is given, do not complain about
unused libraries.
From-SVN: r39058
Toon Moene [Mon, 15 Jan 2001 23:55:39 +0000 (00:55 +0100)]
re PR fortran/1636 (Format strings with identical numbers cause assembler error)
2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/
20010116.[fx]: New test,
XFAIL on i?86-*-*.
* g77.f-torture/compile/
20010115.f: Indicate it's
a test for PR fortran/1636.
From-SVN: r39056
Richard Henderson [Mon, 15 Jan 2001 23:43:10 +0000 (15:43 -0800)]
i386.c (asm_output_function_prefix): Remove.
* config/i386/i386.c (asm_output_function_prefix): Remove.
(ix86_asm_file_end): New.
(load_pic_register): Generate pic_label_name into a
staticly allocated buffer.
* config/i386/i386-protos.h: Update.
* config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
(ASM_FILE_END): New.
* config/i386/i386afe.h: New file.
* config.gcc (i?86-*-elf) [tm_file]: Use it.
(i?86-*-{freebsd,linux*,moss*}): Likewise.
* config/elfos.h (ASM_FILE_END): Undef before redefinition.
* config/i386/cygwin.h (ASM_FILE_END): Likewise.
* config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
* config/i386/sco5.h (ASM_FILE_END): Likewise.
* config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
From-SVN: r39055
Joseph Myers [Mon, 15 Jan 2001 23:34:43 +0000 (23:34 +0000)]
Makefile.in (install-man): Remove explicit dependency on $(srcdir)/gcc.1.
* Makefile.in (install-man): Remove explicit dependency on
$(srcdir)/gcc.1.
From-SVN: r39054
Joseph Myers [Mon, 15 Jan 2001 23:32:25 +0000 (23:32 +0000)]
texi2pod.pl: Fix regular expression for @r to avoid exponential recursion.
contrib:
* texi2pod.pl: Fix regular expression for @r to avoid exponential
recursion. From Russ Allbery <rra@stanford.edu>. Remove perl
version check.
gcc:
* configure.in, configure: Revert previous patch requiring perl
5.6.0.
From-SVN: r39053
Aldy Hernandez [Mon, 15 Jan 2001 22:45:32 +0000 (22:45 +0000)]
new option to disable guessing of branch prediction
From-SVN: r39052
Phil Blundell [Mon, 15 Jan 2001 22:35:15 +0000 (22:35 +0000)]
Fix garbled ChangeLog entry
From-SVN: r39051
DJ Delorie [Mon, 15 Jan 2001 21:12:14 +0000 (16:12 -0500)]
* gcc.texi (Makefile): Add documentation for Makefile targets.
From-SVN: r39050
Philip Blundell [Mon, 15 Jan 2001 19:54:42 +0000 (19:54 +0000)]
arm.c (arm_finalize_pic): New arg "prologue".
2001-01-15 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (arm_finalize_pic): New arg "prologue".
(is_pic): Delete.
* config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
(is_pic): Delete declaration.
* config/arm/arm.h (FINALIZE_PIC): Update call to above.
(OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
* config/arm/arm.md (builtin_setjmp_receiver): Likewise.
From-SVN: r39049
John David Anglin [Mon, 15 Jan 2001 18:36:00 +0000 (18:36 +0000)]
* MAINTAINERS: Add myself as vax port maintainer.
From-SVN: r39048
Joseph Myers [Mon, 15 Jan 2001 18:22:31 +0000 (18:22 +0000)]
* gcc.dg/c90-float-1.c, gcc.dg/c99-float-1.c: New tests.
From-SVN: r39047
Richard Earnshaw [Mon, 15 Jan 2001 18:13:26 +0000 (18:13 +0000)]
arm.c (use_return_insn): Don't try to determine the function type until after reload has completed.
* arm.c (use_return_insn): Don't try to determine the function type
until after reload has completed.
(arm_output_epilogue): Don't adjust the sp value recovered from the
stack.
(emit_multi_reg_push): Don't record dwarf information for the pc.
* arm.md (eh_epilogue): The function type may have changed, so it
needs to be recalculated.
* arm/netbsd.h (DWARF2_UNWIND_INFO): Can now use dwarf2 unwind tables
on arm/netbsd.
From-SVN: r39046
Kaveh R. Ghazi [Mon, 15 Jan 2001 17:53:57 +0000 (17:53 +0000)]
warn_summary (stageNfilter): Update for recent changes in bootstrap logic.
* warn_summary (stageNfilter): Update for recent changes in
bootstrap logic.
From-SVN: r39045
Jason Merrill [Mon, 15 Jan 2001 17:06:49 +0000 (12:06 -0500)]
comment
From-SVN: r39044
Mark Mitchell [Mon, 15 Jan 2001 16:52:49 +0000 (16:52 +0000)]
com.c (ffecom_lookup_label): Set DECL_CONTEXT for FORMAT label to current_function_decl.
2001-01-15 Mark Mitchell <mark@codesourcery.com>
* com.c (ffecom_lookup_label): Set DECL_CONTEXT for FORMAT
label to current_function_decl.
From-SVN: r39042
Toon Moene [Mon, 15 Jan 2001 16:48:35 +0000 (17:48 +0100)]
20010115.f: New test.
2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/compile/
20010115.f: New test.
From-SVN: r39041
Nathan Sidwell [Mon, 15 Jan 2001 16:18:43 +0000 (16:18 +0000)]
pt.c (check_nontype_parm): Rename to ...
* pt.c (check_nontype_parm): Rename to ...
(invalid_nontype_parm_type_p): ... here.
(process_template_parm): Adjust.
(convert_template_argument): Adjust.
From-SVN: r39040
Richard Earnshaw [Mon, 15 Jan 2001 16:17:08 +0000 (16:17 +0000)]
arm.md (cbranchsi4): Correct calculation of branch ranges.
* arm.md (cbranchsi4): Correct calculation of branch ranges.
(negated_cbranchsi4): Likewise.
From-SVN: r39039
Richard Earnshaw [Mon, 15 Jan 2001 14:35:55 +0000 (14:35 +0000)]
Fix ommision from previous ChangeLog entry.
From-SVN: r39038
Richard Earnshaw [Mon, 15 Jan 2001 14:30:38 +0000 (14:30 +0000)]
semi.h (SUBTARGET_EXTRA_SPECS): Define.
* config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
(SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
(ASM_SPEC): Call subtarget_extra_asm_spec.
* config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
(SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
(ASM_SPEC): Call subtarget_extra_asm_spec.
From-SVN: r39037
Andreas Jaeger [Mon, 15 Jan 2001 13:19:31 +0000 (14:19 +0100)]
i386.c (ix86_init_builtins): Make i size_t to remove warnings.
2001-01-15 Andreas Jaeger <aj@suse.de>
* config/i386/i386.c (ix86_init_builtins): Make i size_t to remove warnings.
(ix86_expand_builtin): Likewise.
* gencodes.c (output_predicate_decls): Make i size_t to avoid
warning about comparison between signed and unsigned.
From-SVN: r39036
Geoffrey Keating [Mon, 15 Jan 2001 12:03:36 +0000 (12:03 +0000)]
* expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
From-SVN: r39035
Nathan Sidwell [Mon, 15 Jan 2001 09:30:03 +0000 (09:30 +0000)]
pt.c (check_nontype_parm): New function.
cp:
* pt.c (check_nontype_parm): New function.
(process_template_parm): Use it.
(convert_template_argument): Use it.
(convert_nontype_argument, RECORD_TYPE): Assert it's a ptr to
member.
testsuite:
* g++.old-deja/g++.pt/nontype5.C: New test.
From-SVN: r39034
Jeff Law [Mon, 15 Jan 2001 08:45:17 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39033
Alexandre Petit-Bianco [Mon, 15 Jan 2001 08:11:40 +0000 (08:11 +0000)]
All files with updated copyright.
2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
All files with updated copyright.
* prims.cc (class _Jv_PrimClass): Removed.
(init_prim_class): New function.
(DECLARE_PRIM_TYPE): Rewritten. `java::lang::Class' replaces
`_Jv_PrimClass' in primitive type declarations. Assign to the
value returned by `init_prim_class.'
* gcj/array.h: `java::lang::Class' replaces `_Jv_PrimClass' in
primitive type declarations.
(JvPrimClass): Cast to `jclass' removed.
* java/lang/Class.h (Class): New constructor.
(Class): New copy constructor.
(initializePrim): New prototype.
(_Jv_PrimClass): Field removed.
* java/lang/Object.h (struct _JvObjectPrefix): New virtuals
nacd_1 and nacd_2 (for compatibility with the new C++ ABI.)
(class java::lang::Object): `finalize' moved up front.
* java/lang/natClass.cc
(isAssignableFrom): Turned outline.
(isInstance): Likewise.
(isInterface): Likewise, fixed indentation.
(initializePrim): New function.
(New C++ ABI compatibility patch:
http://sources.redhat.com/ml/java-patches/2001-q1/msg00065.html)
From-SVN: r39032
Alexandre Petit-Bianco [Mon, 15 Jan 2001 08:01:22 +0000 (08:01 +0000)]
All files with updated copyright when applicable.
2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
All files with updated copyright when applicable.
* Make-lang.in (JVGENMAIN_OBS): Removed java/mangle.o.
* class.c (mangle_class_field): Function removed.
(append_gpp_mangled_type, mangle_static_field, mangle_field): Likewise.
(utf8_cmp, cxx_keyword_p): Moved to lex.c.
(build_class_ref): Call `java_mangle_class_field' instead of
`mangle_class_field.'
(build_dtable_decl): Rewritten to call `java_mangle_vtable.'
(layout_class): Call `java_mangle_decl' instead of
`mangle_static_field.'
(cxx_keywords): Initialized static array moved to `lex.c.'
(layout_class_method): Changed leading comment. Simplified to
call `java_mangle_decl.' Local `ptr' moved in for loop body.
* decl.c (lang_mark_tree): Mark field `package_list.'
* java-tree.h (TYPE_PACKAGE_LIST): New macro.
(struct lang_type): New field `package_list.'
(unicode_mangling_length): Prototype removed.
(append_gpp_mangled_name, append_gpp_mangled_classtype,
emit_unicode_mangled_name): Likewise.
(cxx_keyword_p): New prototype.
(java_mangle_decl, java_mangle_class_field,
java_mangle_class_field_from_string, java_mangle_vtable): Likewise.
* jcf-parse.c (jcf_parse_source): Constify `file' argument to
`build_expr_wfl.'
* jvgenmain.c (main_method_prefix): Global variable removed.
(main_method_suffix): Likewise.
(do_mangle_classname): New function.
(main): Call it. Format changed to accomodate new mangling scheme.
* lex.c: (utf8_cmp): Conditionally prototyped.
(cxx_keywords): Moved from class.c, conditionally defined.
(utf8_cmp, cxx_keyword_p): Likewise.
* mangle.c (obstack.h, ggc.h): Included.
(mangle_field_decl): New function.
(mangle_method_decl, mangle_type, mangle_pointer_type,
mangle_array_type, mangle_record_type,
find_compression_pointer_match, find_compression_array_match,
find_compression_record_match,
find_compression_array_template_match, set_type_package_list,
entry_match_pointer_p, emit_compression_string, init_mangling,
finish_mangling, compression_table_add, mangle_member_name): Likewise.
(mangle_obstack): New global.
(MANGLE_RAW_STRING): New macro.
(unicode_mangling_length): Turned static.
(append_unicode_mangled_name): Renamed from
`emit_unicode_mangled_name.' Turned static. `mangle_obstack'
replaces `obstack', removed from the parameter list.
(append_gpp_mangled_name): Turned static. `mangle_obstack'
replaces parameter `obstack', removed from the parameter list. Call
`append_unicode_mangled_name' instead of `emit_unicode_mangled_name.
(append_gpp_mangled_classtype): Removed.
(compression_table, compression_next): New static variables.
* parse.y (temporary_obstack): Extern declaration removed.
(This is the new C++ ABI compatibility patch:
http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01225.html)
From-SVN: r39031
Mark Wielaard [Mon, 15 Jan 2001 07:58:16 +0000 (07:58 +0000)]
URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)
* java/net/URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)
(decode): Merge comments with Classpath, don't throw Exception
From-SVN: r39030
Neil Booth [Mon, 15 Jan 2001 07:51:18 +0000 (07:51 +0000)]
if-2.c: Comment out occasionally bogus test; we have an equivalent working one below it.
* gcc.dg/cpp/if-2.c: Comment out occasionally bogus test; we
have an equivalent working one below it.
From-SVN: r39029
Ralf Baechle [Mon, 15 Jan 2001 05:56:14 +0000 (06:56 +0100)]
linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change SUBTARGET_CPP_SPEC apropriatly.
* config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
SUBTARGET_CPP_SPEC apropriatly.
From-SVN: r39028
Jeffrey Oldham [Mon, 15 Jan 2001 04:30:35 +0000 (04:30 +0000)]
instantiate2.C: Add explanatory comment.
2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.ext/instantiate2.C: Add explanatory comment.
* g++.old-deja/g++.ext/instantiate3.C: Likewise.
From-SVN: r39027
Mark Mitchell [Mon, 15 Jan 2001 04:15:04 +0000 (04:15 +0000)]
* varasm.c (make_decl_rtl): Fix typo in last change.
From-SVN: r39026
Fergus Henderson [Mon, 15 Jan 2001 04:00:09 +0000 (04:00 +0000)]
* MAINTAINERS: Add myself as Mercury front-end maintainer.
From-SVN: r39025
Jeffrey Oldham [Mon, 15 Jan 2001 03:56:07 +0000 (03:56 +0000)]
ecos.exp (conpr-1.C): XFAIL if compile emits message containing "init_priority".
2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
* g++.dg/special/ecos.exp (conpr-1.C): XFAIL if compile emits
message containing "init_priority".
(conpr-2.C): Likewise.
(conpr-3.C): Likewise.
* g++.old-deja/g++.ext/initp1.C: XFAIL for Irix.
From-SVN: r39024