Phil Edwards
e6f3b89df9
extend.texi: Move C++-extension-related node from the C section into the C++ section.
...
2001-01-12 Phil Edwards <pme@sources.redhat.com>
* extend.texi: Move C++-extension-related node from the C section
into the C++ section.
From-SVN: r38950
2001-01-12 17:07:51 +00:00
Joseph Myers
01d9cb8b77
* objc-features.texi: Use @email.
...
From-SVN: r38949
2001-01-12 17:06:15 +00:00
Joseph Myers
89aed48390
extend.texi: Refer to an array of pointers to functions instead of one of functions.
...
* extend.texi: Refer to an array of pointers to functions instead
of one of functions.
From-SVN: r38948
2001-01-12 16:58:51 +00:00
Richard Earnshaw
efce71c65a
f-torture.exp (f_torture_compile): Prune the warnings before testing that no relevant ones were found.
...
* lib/f-torture.exp (f_torture_compile): Prune the warnings before
testing that no relevant ones were found.
From-SVN: r38944
2001-01-12 16:11:34 +00:00
Andreas Jaeger
c3ffea5051
combine.c (reversed_comparison): Fix typo in last patch.
...
* combine.c (reversed_comparison): Fix typo in last patch.
Check X for NULL.
(combine_reversed_comparison_code): Make static to follow
prototype declaration.
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r38942
2001-01-12 11:12:34 +00:00
Nathan Sidwell
0949f72302
typeck.c (build_c_cast): Do template processing earlier.
...
cp:
* typeck.c (build_c_cast): Do template processing earlier.
Always pedwarn on array casts.
testsuite:
* g++.old-deja/g++.pt/cast2.C: New test.
From-SVN: r38941
2001-01-12 09:47:23 +00:00
Phil Edwards
159227d5a8
install.texi: Remove misplaced duplicate entry.
...
2001-01-12 Phil Edwards <pme@sources.redhat.com>
* install.texi: Remove misplaced duplicate entry.
From-SVN: r38940
2001-01-12 09:25:56 +00:00
Nathan Sidwell
a864166135
friend.c (make_friend_class): Make sure a templated class is actually a template.
...
cp:
* friend.c (make_friend_class): Make sure a templated class is
actually a template.
testsuite:
* g++.old-deja/g++.pt/friend47.C: New test.
From-SVN: r38939
2001-01-12 09:13:16 +00:00
Jeff Law
47d4f11635
Daily bump.
...
From-SVN: r38938
2001-01-12 01:45:08 -07:00
Ulrich Drepper
ac70ce2150
Update.
...
From-SVN: r38937
2001-01-12 05:29:26 +00:00
Ulrich Drepper
165d57cc25
Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
...
From-SVN: r38936
2001-01-12 05:28:26 +00:00
John Wehle
b660f82f15
* final.c: (leaf_function_p): Fix typo.
...
From-SVN: r38935
2001-01-12 05:02:00 +00:00
Zack Weinberg
825b692620
aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
...
2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
which you have.
(AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
* configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
mmap_anon, and valloc is available.
* ggc-page.c: Restructure ifdef logic to match new autoconf
spec. Don't throw away the test page in init_ggc.
* configure, config.in: Regenerate.
From-SVN: r38934
2001-01-12 04:54:42 +00:00
Michael Hayes
099f0f3f6e
loop.h (total_biv_increment): Constify iv_class pointer.
...
* loop.h (total_biv_increment): Constify iv_class pointer.
(struct induction): Replace `mem_mode' with `mem' rtx.
* unroll.c (total_biv_increment): Constify iv_class pointer.
* loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
(find_mem_givs, combine_givs_p): Likewise.
(debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
From-SVN: r38933
2001-01-12 04:09:43 +00:00
Thomas Pfaff
69e905c854
gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 LastError.
...
* gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
LastError.
(__gthread_getspecific): Ditto.
From-SVN: r38932
2001-01-12 01:23:46 +00:00
Joseph Myers
0fc39d8ad7
sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside printf.
...
* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
printf.
From-SVN: r38931
2001-01-12 00:30:53 +00:00
Jan Hubicka
9a9157721d
i386.c (ix86_comparison_operator, [...]): Convert fp comparison codes to integer before handling.
...
* i386.c (ix86_comparison_operator, fcmov_comparison_operator,
put_condition_code): Convert fp comparison codes to integer
before handling.
(ix86_expand_fp_compare): Postnote the fp comparison code converison
to final.
* i386.c (unsigned_comparison, no_comparison_operator): Kill.
* i386-protos.h (no_comparison_operator): Kill.
* i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
* combine.c (REVERSIBLE_CC_MODE): Remove.
(reversible_comparison_p): Remove.
(combine_reversed_comparison_code): New.
(reversed_comparison): New.
(combine_simplify_rtx): Use
combine_reversed_comparison_code/reversed_comparison instead
of reversible_comparison_p.
(simplify_if_then_else): Likewise.
(simplify_set): Likewise.
(simplify_logical): Likewise.
(if_then_else_cond): Likewise.
(known_cond): Likewise.
(simplify_comparison): Likewise.
From-SVN: r38930
2001-01-11 23:10:30 +00:00
Alan Lehotsky
bbc7fda9b0
*** empty log message ***
...
From-SVN: r38929
2001-01-11 18:01:40 -05:00
Neil Booth
a4299d07de
* cppinit.c (do_includes): Fix typo.
...
From-SVN: r38928
2001-01-11 22:20:51 +00:00
Stephane Carrez
76028b1f3b
Fix constraints in 68HC11/HC12 port
...
From-SVN: r38927
2001-01-11 23:13:52 +01:00
Neil Booth
d395676671
* cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
...
From-SVN: r38926
2001-01-11 22:10:49 +00:00
Neil Booth
05e8172427
[multiple changes]
...
2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
* cppinit.c (cpp_start_read): If -fpreprocessed, ignore
-D, -U and -A, and don't initialize the builtins.
* cppmain.c (cb_define, cb_undef): Unconditionally process
the callback.
* tradcpp.c (main): Fix typo.
2000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
* cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
(read_name_map): Use IS_ABSOLUTE_PATH.
* tradcpp.c (get_filename): Likewise.
From-SVN: r38925
2001-01-11 21:30:16 +00:00
Stephane Carrez
76d06edcf6
Fix operand numbers in m68hc11.md
...
From-SVN: r38924
2001-01-11 22:10:39 +01:00
Alexandre Oliva
1594c6bcec
sh.c (barrier_align): Recognize branch around far branch and redundant insn.
...
* config/sh/sh.c (barrier_align): Recognize branch around far
branch and redundant insn.
From-SVN: r38923
2001-01-11 20:03:09 +00:00
Neil Booth
d396403a85
* invoke.texi: Fix typo.
...
From-SVN: r38922
2001-01-11 18:37:17 +00:00
Neil Booth
7da723efd9
invoke.texi: Restore documentation of the drivers' switches -MD and -MMD.
...
* invoke.texi: Restore documentation of the drivers' switches -MD
and -MMD.
From-SVN: r38920
2001-01-11 18:28:14 +00:00
Joseph Myers
57043d914e
std_cstdio.h: Undef printf.
...
2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
* include/c_std/bits/std_cstdio.h: Undef printf.
From-SVN: r38917
2001-01-11 18:16:16 +00:00
Tom Tromey
c1ef066249
Cursor.java (Cursor(String)): Set type to custom.
...
* java/awt/Cursor.java (Cursor(String)): Set type to custom.
(Cursor(int), getPredefinedCursor): Throw exception if argument
invalid.
From-SVN: r38911
2001-01-11 17:49:47 +00:00
Alexandre Oliva
f6f1dc952a
* config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
...
From-SVN: r38910
2001-01-11 17:15:13 +00:00
Alexandre Oliva
a738a85c04
Makefile.in (check-gcc//%, [...]): Support parallel testing of multilibs.
...
* Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
check-objc//%): Support parallel testing of multilibs.
(TESTSUITEDIR): Set to testsuite by default, but override for
parallel testing.
(check-gcc, check-g++, check-g77, check-objc): Enter
$(TESTSUITEDIR).
From-SVN: r38909
2001-01-11 17:11:28 +00:00
Bernd Schmidt
fb6754f096
Partially undo a previous patch
...
From-SVN: r38908
2001-01-11 17:02:44 +00:00
Bernd Schmidt
d2796d4ebc
Update for 2.95.3
...
From-SVN: r38907
2001-01-11 15:57:59 +00:00
Richard Earnshaw
919ee051d3
encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that determines the value dynamically.
...
* encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
determines the value dynamically.
From-SVN: r38906
2001-01-11 14:01:45 +00:00
Nathan Sidwell
844511c89b
decl2.c (get_guard): Set linkage from guarded decl.
...
cp:
* decl2.c (get_guard): Set linkage from guarded decl.
From-SVN: r38905
2001-01-11 13:34:00 +00:00
Nathan Sidwell
79c9e15977
instantiate13.C: New test.
...
testsuite:
* g++.old-deja/g++.pt/instantiate13.C: New test.
From-SVN: r38904
2001-01-11 12:50:28 +00:00
Nathan Sidwell
96a1e32dcd
call.c (convert_default_arg): Check for unprocessed DEFAULT_ARG.
...
cp:
* call.c (convert_default_arg): Check for unprocessed
DEFAULT_ARG.
* cp-tree.h (replace_defarg): Move to spew.c.
(maybe_snarf_defarg, add_defarg_fn, do_pending_defargs): Move to
spew.c, which is where they really are.
(done_pending_defargs): Declare.
(unprocessed_defarg_fn): Declare.
* decl.c (replace_defarg): Move to spew.c
* parse.y (structsp): Call done_pending_defargs.
* spew.c (defarg_fns): Rearrange list structure.
(defarg_fnsdone): New static variable.
(defarg_depfns): New static variable.
(init_spew): Adjust.
(add_defarg_fn): Store the type in TREE_TYPE.
(do_pending_defargs): Detect and deal with ordering constraints
and circularity.
(done_pending_defargs): New function.
(unprocessed_defarg_fn): New function.
(replace_defarg): Moved from decl.c. Robustify. Don't save
if circularity detected.
testsuite:
* g++.old-deja/g++.other/defarg7.C: New test.
* g++.old-deja/g++.other/defarg8.C: New test.
From-SVN: r38903
2001-01-11 12:29:20 +00:00
Nathan Sidwell
34e225a30b
pt.c (unify): Check array has a domain, before checking whether it is variable sized.
...
cp:
* pt.c (unify): Check array has a domain, before checking
whether it is variable sized.
testsuite:
* g++.old-deja/g++.pt/crash64.C: New test.
From-SVN: r38902
2001-01-11 11:45:03 +00:00
Nathan Sidwell
98979fe0b0
decl.c (grokparms): Unobfuscate and get correct diagnostic for parameters with pointers to arrays...
...
cp:
* decl.c (grokparms): Unobfuscate and get correct diagnostic for
parameters with pointers to arrays of unknown bound.
From-SVN: r38901
2001-01-11 11:37:15 +00:00
Nathan Sidwell
b37bf5bdb3
parse.y (template_parm_header, [...]): New reductions.
...
cp:
* parse.y (template_parm_header, template_spec_header): New
reductions. Split out from ...
(template_header): ... here. Use them.
(template_template_parm): Use template_parm_header.
* semantics.c (finish_template_template_parm): Add assert.
testsuite:
* g++.old-deja/g++.pt/crash63.C: New test.
From-SVN: r38900
2001-01-11 11:29:06 +00:00
Michael Hayes
0ab409ed42
flow.c (flow_call_edges_add): New.
...
* flow.c (flow_call_edges_add): New.
* basic_block.h (flow_call_edges_add): New.
From-SVN: r38899
2001-01-11 09:13:02 +00:00
Jeff Law
9e96a929d0
Daily bump.
...
From-SVN: r38898
2001-01-11 01:45:08 -07:00
Neil Booth
a5624f140d
* gcc.dg/cpp/if-2.c: Fix bogus update.
...
From-SVN: r38897
2001-01-11 08:11:29 +00:00
Neil Booth
f7d7b65139
* gcc.dg/cpp/if-2.c: Add wide char test without sign extension.
...
From-SVN: r38896
2001-01-11 07:53:41 +00:00
Benjamin Kosnik
752808fb43
ios.cc: Fix typo: change cout->wcout.
...
2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
* src/ios.cc: Fix typo: change cout->wcout.
* src/Makefile.am (targetincludep): Fix for version-specific-libs.
* src/Makefile.in: Regenerate.
From-SVN: r38895
2001-01-11 07:27:50 +00:00
Mark Mitchell
792508b58b
* mangle.c (write_builtin_type): Fix thinko.
...
From-SVN: r38894
2001-01-11 03:15:49 +00:00
Mark Mitchell
8afa707fab
pt.c (copy_default_args_to_explicit_spec_1): New function.
...
* pt.c (copy_default_args_to_explicit_spec_1): New function.
(copy_default_args_to_explicit_spec): Likewise.
(check_explicit_specialization): Use it.
From-SVN: r38893
2001-01-11 03:10:12 +00:00
Bryce McKinlay
7e1376a14c
parse.y (resolve_expression_name): Permit instance variables from enclosing context in super constructor call.
...
* parse.y (resolve_expression_name): Permit instance variables from
enclosing context in super constructor call.
(resolve_qualified_expression_name): Permit enclosing class's
qualified "this" in super constructor call.
From-SVN: r38892
2001-01-11 03:00:56 +00:00
J"orn Rennecke
ada6635f2b
reload1.c (move2add_note_store): Update reg_set_luid even if base reg remains the same.
...
* reload1.c (move2add_note_store): Update reg_set_luid even if
base reg remains the same.
From-SVN: r38891
2001-01-11 02:57:52 +00:00
Bryce McKinlay
f6d1c49e80
Makefile.am: Re-enable dependencies.
...
* Makefile.am: Re-enable dependencies.
* Makefile.in: Rebuilt.
From-SVN: r38890
2001-01-11 02:50:47 +00:00
Jeff Law
38fd12eaa5
Rotate ChangeLog entries.
...
From-SVN: r38889
2001-01-10 19:12:48 -07:00