hubicka [Sun, 7 Jan 2001 13:45:33 +0000 (13:45 +0000)]
* jump.c (comparison_dominates_p): Support unordered compares.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38776
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 7 Jan 2001 13:40:09 +0000 (13:40 +0000)]
* simplify-rtx.c (simplify_relational_operation): Always simplify
ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
and UNGE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38775
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 7 Jan 2001 13:37:32 +0000 (13:37 +0000)]
* combine.c (combine_simplify_rtx): Recognize the unordered compares.
(nonzero_bits): Likewise.
(simplify_comparison): Likewise.
(num_sign_bit_copies): Likewise; return more sane value depending
on STORE_FLAG_VALUE.
(known_cond): Do not assume EQ to be always true for equivalent
operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38774
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 7 Jan 2001 13:32:59 +0000 (13:32 +0000)]
* cse.c (fold_rtx): Handle unordered comparisons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38773
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 7 Jan 2001 13:06:43 +0000 (13:06 +0000)]
* rtlanal.c (set_of_1): New static function.
(reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
reg_set_last_last_regno): Remove.
(set_of): New global function.
(set_of_data): New structure.
(reg_set_p, reg_set_last): Revamp for set_of.
* rtl.h (set_of): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38772
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 7 Jan 2001 11:26:15 +0000 (11:26 +0000)]
* c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
* extend.texi: Document _Exit builtin.
testsuite:
* gcc.c-torture/execute/builtin-noret-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38771
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 7 Jan 2001 11:15:13 +0000 (11:15 +0000)]
* (initialize, initialize_builtins,
initialize_dependency_output, initialize_standard_includes):
Rename s/initialize/init. Update.
(init_dependency_output): Move to after
cpp_handle_options, the correct location temporally at least.
(opt_comp): Move next to init (), its caller. Fix prototype.
(init): Make "initialized" local scope.
(cpp_create_reader): Always call init ().
(cpp_start_read): Update.
(output_deps): New function, broken out of cpp_finish.
(cpp_finish): Break out output_deps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38770
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 7 Jan 2001 11:14:39 +0000 (11:14 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38769
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jan 2001 10:46:09 +0000 (10:46 +0000)]
* collect2.c (COFF specific stuff): Revert 12-06 patch
to prototype system functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38768
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 7 Jan 2001 10:44:59 +0000 (10:44 +0000)]
* gcc.dg/format/format.h: New file.
* gcc.dg/format/array-1.c, gcc.dg/format/attr-1.c,
gcc.dg/format/branch-1.c, gcc.dg/format/c90-printf-1.c,
gcc.dg/format/c90-printf-2.c, gcc.dg/format/c90-printf-3.c,
gcc.dg/format/c90-scanf-1.c, gcc.dg/format/c90-scanf-2.c,
gcc.dg/format/c90-scanf-3.c, gcc.dg/format/c90-scanf-4.c,
gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c94-printf-1.c, gcc.dg/format/c94-scanf-1.c,
gcc.dg/format/c99-printf-1.c, gcc.dg/format/c99-printf-2.c,
gcc.dg/format/c99-printf-3.c, gcc.dg/format/c99-scanf-1.c,
gcc.dg/format/c99-scanf-2.c, gcc.dg/format/c99-scanf-3.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/c99-strftime-2.c,
gcc.dg/format/diag-1.c, gcc.dg/format/errmk-1.c,
gcc.dg/format/ext-1.c, gcc.dg/format/ext-2.c,
gcc.dg/format/ext-3.c, gcc.dg/format/ext-4.c,
gcc.dg/format/ext-5.c, gcc.dg/format/miss-1.c,
gcc.dg/format/miss-2.c, gcc.dg/format/no-exargs-1.c,
gcc.dg/format/no-y2k-1.c, gcc.dg/format/nonlit-1.c,
gcc.dg/format/nonlit-2.c, gcc.dg/format/nonlit-3.c,
gcc.dg/format/sec-1.c, gcc.dg/format/strfmon-1.c,
gcc.dg/format/va-1.c, gcc.dg/format/warnll-1.c,
gcc.dg/format/xopen-1.c, gcc.dg/format/z-1.c: Include "format.h"
instead of declaring standard types, macros and functions in each
test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38767
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sun, 7 Jan 2001 10:38:29 +0000 (10:38 +0000)]
* hard-reg-set.h: Add multiple include guard.
* basic-block.h (struct loop): Add `sink' field.
* loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
(emit_iv_add_mult): Delete.
(loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
(loop_iv_add_mult_emit_before, loop_insn_sink): Define.
(unroll_loop): Remove end_insert_before argument.
* loop.c (loop_givs_rescan): Remove end_insert_before argument.
(maybe_eliminate_biv_1): Likewise.
(emit_iv_add_mult): Delete.
(gen_add_mult, loop_regs_update): New.
(loop_insn_emit_after, loop_insn_emit_before): New.
(loop_insn_sink, loop_insn_sink_or_swim): New.
(emit_iv_add_mult): Delete.
(scan_loop): Set loop->sink.
(loop_givs_reduce): Use loop_insn_sink and its ilk.
(loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
(maybe_eliminate_biv_1): Likewise.
(maybe_eliminate_biv_1): Add basic block argument.
* unroll.c (unroll_loop): Remove end_insert_before argument.
(find_splittable_regs): Likewise.
(find_splittable_regs): Use loop_insn_sink and its ilk.
(find_splittable_givs, final_biv_value, final_giv_value): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38766
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sun, 7 Jan 2001 10:03:39 +0000 (10:03 +0000)]
* loop.h (loop_insn_hoist): New prototype.
* loop.c (loop_insn_hoist, loop_insn_emit_before): New.
(move_movables, loop_givs_rescan): Use loop_insn_hoist.
(check_dbra_loop, load_mems): Likewise.
* unroll.c (unroll_loop, find_splittable_regs): Likewise.
(find_splittable_givs): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38765
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sun, 7 Jan 2001 09:59:09 +0000 (09:59 +0000)]
* loop.c (emit_iv_add_mult): Use single_set to examine new insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38764
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jan 2001 09:53:21 +0000 (09:53 +0000)]
* sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38763
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jan 2001 09:42:49 +0000 (09:42 +0000)]
* Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
NO_SHARED_LIBGCC_MULTILIB as required for the target.
* gcc.c (init_spec): Massage the existing libgcc_spec into a
variant that handles a shared libgcc.
(process_command): Always validate -{static,shared}-libgcc.
(do_spec_1): New 'M' case.
* invoke.text (Link Options): Document -{static,shared}-libgcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38762
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jan 2001 09:27:25 +0000 (09:27 +0000)]
* Makefile.in (slibdir): New variable.
(libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
(installdirs): Create slibdir.
(install-libgcc, install-multilib): Defer to libgcc.mk.
* configure.in (slibdir): Substitute.
* mklibgcc.in (install): New target.
* config/t-linux (SHLIB_LINK): Create links for the soname.
(SHLIB_INSTALL): New.
* config/alpha/t-osf4 (SHLIB_INSTALL): New.
* config/mips/t-iris6 (SHLIB_INSTALL): New.
* config/rs6000/t-aix43 (SHLIB_INSTALL): New.
* config/sparc/t-slibgcc (SHLIB_INSTALL): New.
* config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38761
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jan 2001 09:17:24 +0000 (09:17 +0000)]
* config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
* config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
* config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38760
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 7 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38759
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sun, 7 Jan 2001 03:59:47 +0000 (03:59 +0000)]
* loop.c (count_loop_regs_set): Delete.
(load_mems_and_recount_loop_regs_set): Delete.
(loop_regs_scan): Merge common code from count_loop_regs_set,
scan_loop, and load_mems_and_recount_loop_regs_set.
(scan_loop): Call load_mems directly and loop_regs_scan
again if new registers created.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38758
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 7 Jan 2001 03:34:28 +0000 (03:34 +0000)]
* toplev.c (main): Call the front-end specific post_options
hook if one is given.
* toplev.h (struct_lang_hooks, lang_hooks): New.
* c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
for the C front end.
* cp/decl2.c (cxx_post_options, lang_hooks): Implement
lang_hooks for the C++ front end.
* objc/objc-act.c (objc_post_options, lang_hooks): Implement
lang_hooks for the ObjC front end.
* f/com.c (lang_hooks): Hooks for the Fortran front end.
* java/lang.c (lang_hooks): Hooks for the Java front end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38757
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 7 Jan 2001 03:25:07 +0000 (03:25 +0000)]
* c-lex.c (init_c_lex): Request #define / #undef callbacks
for verbose DWARF[2] debugging.
(cb_define, cb_undef): The new callbacks.
* toplev.h (debug_define, debug_undef): Make const correct.
* toplev.c (debug_define, debug_undef): Similarly. Do not
perform the verbosity tests here anymore.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38756
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 7 Jan 2001 02:26:51 +0000 (02:26 +0000)]
* reload.c (subst_reloads): Take INSN argument. When
replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
* reload.h (subst_reloads): Adjust prototype.
* reload1.c (reload_as_needed): Pass INSN to subst_reloads.
* jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
present in JUMP_INSNs and copy them to JUMP_LABEL.
* flow.c (find_label_refs, find_basic_blocks_1): Skip
JUMP_INSNs and insns with REG_LABELs that are followed by
JUMP_INSNs with the same REG_LABEL.
* sched-rgn.c (is_cfg_nonregular): Likewise.
* rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
note is available.
* unroll.c (unroll_loop): Look for REG_LABEL notes in
JUMP_INSNs too.
* rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38755
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sat, 6 Jan 2001 23:28:40 +0000 (23:28 +0000)]
Fix comments for doclets
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38754
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 6 Jan 2001 23:15:05 +0000 (23:15 +0000)]
* gcc.c-torture/execute/
20010106-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38753
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 6 Jan 2001 23:13:58 +0000 (23:13 +0000)]
* loop.c (scan_loop): Use xcalloc for the regs array.
(load_mems_and_recount_loop_regs_set): Zero the new memory
received from xrealloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38752
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 6 Jan 2001 18:47:19 +0000 (18:47 +0000)]
* gcc.dg/format/format.exp: New file.
* gcc.dg/c90-printf-1.c: Rename to gcc.dg/format/c90-printf-1.c.
* gcc.dg/c90-printf-2.c: Rename to gcc.dg/format/c90-printf-2.c.
* gcc.dg/c90-printf-3.c: Rename to gcc.dg/format/c90-printf-3.c.
* gcc.dg/c94-printf-1.c: Rename to gcc.dg/format/c94-printf-1.c.
* gcc.dg/c99-printf-1.c: Rename to gcc.dg/format/c99-printf-1.c.
* gcc.dg/c99-printf-2.c: Rename to gcc.dg/format/c99-printf-2.c.
* gcc.dg/c99-printf-3.c: Rename to gcc.dg/format/c99-printf-3.c.
* gcc.dg/c90-scanf-1.c: Rename to gcc.dg/format/c90-scanf-1.c.
* gcc.dg/c90-scanf-2.c: Rename to gcc.dg/format/c90-scanf-2.c.
* gcc.dg/c90-scanf-3.c: Rename to gcc.dg/format/c90-scanf-3.c.
* gcc.dg/c90-scanf-4.c: Rename to gcc.dg/format/c90-scanf-4.c.
* gcc.dg/c94-scanf-1.c: Rename to gcc.dg/format/c94-scanf-1.c.
* gcc.dg/c99-scanf-1.c: Rename to gcc.dg/format/c99-scanf-1.c.
* gcc.dg/c99-scanf-2.c: Rename to gcc.dg/format/c99-scanf-2.c.
* gcc.dg/c99-scanf-3.c: Rename to gcc.dg/format/c99-scanf-3.c.
* gcc.dg/c90-strftime-1.c: Rename to gcc.dg/format/c90-strftime-1.c.
* gcc.dg/c90-strftime-2.c: Rename to gcc.dg/format/c90-strftime-2.c.
* gcc.dg/c99-strftime-1.c: Rename to gcc.dg/format/c99-strftime-1.c.
* gcc.dg/c99-strftime-2.c: Rename to gcc.dg/format/c99-strftime-2.c.
* gcc.dg/format-array-1.c: Rename to gcc.dg/format/array-1.c.
* gcc.dg/format-attr-1.c: Rename to gcc.dg/format/attr-1.c.
* gcc.dg/format-branch-1.c: Rename to gcc.dg/format/branch-1.c.
* gcc.dg/format-diag-1.c: Rename to gcc.dg/format/diag-1.c.
* gcc.dg/format-errmk-1.c: Rename to gcc.dg/format/errmk-1.c.
* gcc.dg/format-ext-1.c: Rename to gcc.dg/format/ext-1.c.
* gcc.dg/format-ext-2.c: Rename to gcc.dg/format/ext-2.c.
* gcc.dg/format-ext-3.c: Rename to gcc.dg/format/ext-3.c.
* gcc.dg/format-ext-4.c: Rename to gcc.dg/format/ext-4.c.
* gcc.dg/format-ext-5.c: Rename to gcc.dg/format/ext-5.c.
* gcc.dg/format-miss-1.c: Rename to gcc.dg/format/miss-1.c.
* gcc.dg/format-miss-2.c: Rename to gcc.dg/format/miss-2.c.
* gcc.dg/format-no-exargs-1.c: Rename to gcc.dg/format/no-exargs-1.c.
* gcc.dg/format-no-y2k-1.c: Rename to gcc.dg/format/no-y2k-1.c.
* gcc.dg/format-nonlit-1.c: Rename to gcc.dg/format/nonlit-1.c.
* gcc.dg/format-nonlit-2.c: Rename to gcc.dg/format/nonlit-2.c.
* gcc.dg/format-nonlit-3.c: Rename to gcc.dg/format/nonlit-3.c.
* gcc.dg/format-sec-1.c: Rename to gcc.dg/format/sec-1.c.
* gcc.dg/format-strfmon-1.c: Rename to gcc.dg/format/strfmon-1.c.
* gcc.dg/format-va-1.c: Rename to gcc.dg/format/va-1.c.
* gcc.dg/format-warnll-1.c: Rename to gcc.dg/format/warnll-1.c.
* gcc.dg/format-xopen-1.c: Rename to gcc.dg/format/xopen-1.c.
* gcc.dg/formatz-1.c: Rename to gcc.dg/format/z-1.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38749
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 6 Jan 2001 11:08:49 +0000 (11:08 +0000)]
* mkdeps.c (deps_add_dep): Fix vector re-allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38748
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Sat, 6 Jan 2001 09:06:13 +0000 (09:06 +0000)]
* integrate.c (copy_rtx_and_substitute): When copying
an ignored return value, strip REG_FUNCTION_VALUE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38747
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 6 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38746
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 6 Jan 2001 05:06:02 +0000 (05:06 +0000)]
From patha@softlab.ericsson.se:
* parse.y (switch_label): Use build, not build1, to construct
DEFAULT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38745
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Sat, 6 Jan 2001 03:24:58 +0000 (03:24 +0000)]
* loop.c (debug_biv, debug_giv): New.
(loop_biv_dump): Break out from ...
(record_biv): ... here.
(loop_giv_dump): Break out from ...
(record_giv): ... here.
(loop_bivs_check): Use print_simple_rtl.
* unroll.c (loop_iterations): Use print_simple_rtl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38744
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 6 Jan 2001 02:44:11 +0000 (02:44 +0000)]
2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
Fix 27_io/filebuf_members.cc
* src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
const string& __name, category __cat, size_t __refs): Set
_M_has_name with _M_name.
* include/bits/localefwd.h (locale::operator!=): Protect member
function call with this->.
* src/locale.cc (locale::operator==): Make fast checks first.
* include/bits/basic_ios.tcc (basic_ios::init): Simplify.
* include/bits/ios_base.h (_M_synced_with_stdio): Add data member
to ios_base::Init.
* src/ios.cc (ios_base::Init::Init): Initialize here.
(ios_base::sync_with_stdio): Set here.
2001-01-04 Loren J. Rittle <ljrittle@acm.org>
* config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
systems that support it, call dup() before fdopen().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38742
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 6 Jan 2001 01:12:02 +0000 (01:12 +0000)]
* pa.md (return, return_internal): Modify patterns to prevent regrename
mucking with the return pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38741
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sat, 6 Jan 2001 01:02:04 +0000 (01:02 +0000)]
Testcase for recent checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38740
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sat, 6 Jan 2001 01:00:23 +0000 (01:00 +0000)]
* varasm.c (assemble_name): Ensure we output the stripped name.
Fixes s35520.C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38739
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 6 Jan 2001 00:59:05 +0000 (00:59 +0000)]
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38738
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 6 Jan 2001 00:57:48 +0000 (00:57 +0000)]
* dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38737
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 6 Jan 2001 00:46:33 +0000 (00:46 +0000)]
Faster __mulsi routine
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38736
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 6 Jan 2001 00:15:29 +0000 (00:15 +0000)]
* cpp.texi: Update for -MQ.
* cppinit.c (cpp_create_reader): Always create pfile->deps.
(cpp_cleanup): Always free pfile->deps.
(initialize_dependency_output): Don't create pfile->deps.
(cpp_handle_option): Similarly.
(OPT_MQ): New.
* gcc.c (cpp_options): Handle -MQ.
(DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
* mkdeps.c (base_name): Remove.
(deps_init): Don't allocate vector space until it's needed.
(deps_free): Only free vectors if allocated.
(deps_add_target, deps_add_dep): Update for initial allocation.
(deps_add_default_target): Don't strip to the base_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38735
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 6 Jan 2001 00:00:35 +0000 (00:00 +0000)]
Implement __builtin_return_address (0)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38734
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 5 Jan 2001 23:41:00 +0000 (23:41 +0000)]
* cpplib.h (struct cpp_reader): Add help_only field.
* cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
(cpp_handle_option): Set pfile->help_only if we see -h,
--help, -target-help, or --version. Print version string but
do not set help_only if we see -v or -version. Make text
printed by -v match that printed by (-)-version.
* cppmain.c (main): Exit after option parsing if
pfile->help_only is true.
* toplev.c (independent_decode_option): Call print_version,
then exit, if we see --version (but not -version).
(print_version): Split lengthy message into two lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38733
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 5 Jan 2001 23:31:43 +0000 (23:31 +0000)]
Use alloca to create temporary string for initialisation before calling
ggc_alloc_string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38732
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 5 Jan 2001 23:30:50 +0000 (23:30 +0000)]
* java/io/PipedReader: Synchronize on "lock" instead of this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38731
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 23:30:02 +0000 (23:30 +0000)]
* rtl.h (print_simple_rtl): New.
* print-rtl.c (print_simple_rtl): New.
(flag_simple): New.
(print_rtx): Disable printing of flags and modes, etc.,
if `flag_simple` nonzero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38730
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 5 Jan 2001 23:23:26 +0000 (23:23 +0000)]
* function.c (fixup_var_refs): Use push_to_full_sequence where
possible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38729
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 5 Jan 2001 22:56:08 +0000 (22:56 +0000)]
Declare flag_reorder_blocks and flag_rename_registers
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38728
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 22:06:56 +0000 (22:06 +0000)]
Note that INSN_PTR may be the note at the beginning of a block
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38726
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 22:06:29 +0000 (22:06 +0000)]
* gcc.c-torture/execute/991228-1.c: Take word endianness into
account.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38725
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 5 Jan 2001 21:13:42 +0000 (21:13 +0000)]
* function.c (reorder_blocks): Make sure the flags are all reset
before using them to mark blocks, else a second invocation will
corrupt the block chain.
(reorder_blocks_0): New, resets the flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38724
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 5 Jan 2001 20:42:30 +0000 (20:42 +0000)]
* cse.c (find_comparison_args): Stop if the argument is known to
be constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38723
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 20:30:40 +0000 (20:30 +0000)]
* config/sh/sh.md (movdf): When splitting load into pair of
registers, don't clobber the register used in the address too
early.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38722
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Fri, 5 Jan 2001 20:25:09 +0000 (20:25 +0000)]
2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
* varasm.c (mark_constant_pool): Improve initial comments.
(mark_constants): Move marking of constants to mark_constant.
(mark_constant): New function to recursively mark all constants
referred to by a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38721
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 5 Jan 2001 20:15:24 +0000 (20:15 +0000)]
(dbxout_parms): Handle invisible ref where decl is a REG
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38720
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 5 Jan 2001 19:12:21 +0000 (19:12 +0000)]
2001-01-05 Phil Edwards <pme@sources.redhat.com>
* cp/lang-options.h: Bring comment in line with reality.
* f/lang-options.h: Likewise.
* java/lang-options.h: Likewise.
* objc/lang-options.h: Likewise.
* ch/lang-options.h: Likewise.
* f/g77.texi: And update the manual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38719
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Fri, 5 Jan 2001 19:08:46 +0000 (19:08 +0000)]
* config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
* config/avr/avr.c (avr_peep2_scratch_safe): New function.
* config/avr/avr.md (all peepholes that request a scratch register):
Call it, FAIL the peephole if not safe (in interrupt functions).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38718
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 5 Jan 2001 18:48:12 +0000 (18:48 +0000)]
* ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38717
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 5 Jan 2001 18:24:08 +0000 (18:24 +0000)]
* builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
Define.
* builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
BUILT_IN_CREAL and BUILT_IN_CIMAG.
* c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
(expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
BUILT_IN_CIMAG.
* extend.texi: Document these builtins.
testsuite:
* gcc.c-torture/execute/builtin-complex-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38716
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Fri, 5 Jan 2001 17:22:30 +0000 (17:22 +0000)]
VECTOR_TYPE fixes for aliasing, and dwarf2 output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38715
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 5 Jan 2001 16:35:36 +0000 (16:35 +0000)]
cp:
* parse.y (template_datadef): Check for error_mark_node.
testsuite:
* g++.old-deja/g++.pt/crash62.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38714
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Fri, 5 Jan 2001 16:28:58 +0000 (16:28 +0000)]
fix exit and atexit calls for vax-*-bsd systems
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38713
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 5 Jan 2001 16:15:59 +0000 (16:15 +0000)]
* arm.md (ldmsi_postinc): Avoid use of match_dup between input and
output operands. Use arm_hard_register_operand for operand 4.
(stmsi_postinc): Similarly.
(ldmsi): Use arm_hard_register_operand for opernand 2.
(stmsi): Similarly.
* arm.c (arm_hard_register_operand): New function.
* arm-protos.h (arm_hard_register_operand): Prototype it.
* arm.h (HARD_REGNO_RENAME_OK): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38712
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 5 Jan 2001 15:34:39 +0000 (15:34 +0000)]
* simplify-rtx.c (cfc_args): add "unordered" field.
(check_fold_consts): Set unordered field.
(simplify_relational_operation): Simplify the unordered
comparisons.
* reg-stack.c (swap_rtx_condition): Ensure that the transformation
is valid.
* emit-rtl.c (try_split): Fix code to mark labels.
* jump.c (mark_jump_label): Make global.
* rtl.h (mark_jump_label): Declare.
* predict.c (estimate_probability): Handle unordred comparisons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38711
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 5 Jan 2001 11:41:27 +0000 (11:41 +0000)]
cp:
* cp-tree.def (DEFAULT_ARG): Make `x' class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38710
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 5 Jan 2001 08:45:11 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38709
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 5 Jan 2001 08:23:51 +0000 (08:23 +0000)]
* java/io/PipedInputStream: Rewrote to be simpler and more correct.
* java/io/PipedOutputStream: Updated to match new PipedInputStream.
* java/io/PipedReader: New implementation based on new
PipedInputStream.
* java/io/PipedWriter: Updated to match new PipedOutputStream.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38708
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 5 Jan 2001 07:50:24 +0000 (07:50 +0000)]
* cpp.texi: Update for -MP. Clarify behaviour of -MT.
* cppinit.c (initialize_dependency_output): Update.
(cpp_finish): Output dummy targets for -MP.
(OPT_MP): New.
(cpp_handle_option): Handle -MP. Don't quote -MT options.
* cpplib.h (struct cpp_options): Add deps_phony_targets.
* gcc.c (cpp_options): Update to handle -MP.
* mkdeps.c (deps_add_target, deps_add_default_target): Update
to quote only the default target.
(deps_phony_targets): Insert a preceding newline. Rename from
deps_dummy_targets for consistency.
* mkdeps.h: Update
java:
* lang.c (lang_decode_option): Change -MA to -MP.
* jcf-depend.c (jcf_dependency_add_target, jcf_dependency_set_target):
Update to new prototype; do quote targets.
(jcf_dependency_write): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38707
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 07:38:47 +0000 (07:38 +0000)]
* calls.c (emit_library_call_value_1): Support
INIT_CUMULATIVE_LIBCALL_ARGS.
* tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38706
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 5 Jan 2001 05:58:23 +0000 (05:58 +0000)]
* c-decl.c (finish_struct): Detect flexible array members
used in an inappropriate context.
* c-typeck.c (really_start_incremental_init): Special case
constructor_max_index for zero length arrays.
(pop_init_level): Allow initialization of flexible array
members. Deprecate initialization of zero length arrays.
Don't issue missing initializer warning for flexible array
members or zero length arrays.
(process_init_element): Don't dereference null DECL_SIZE.
* varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
Don't abort for empty constructors. Use size_binop
(output_constructor): Add commentary regarding zero length
array futures. Abort if we try to initialize an array of
unspecified length with a non-empty constructor in the middle
of a structure.
* extend.texi (Zero Length): Update and clarify documentation
on static initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38705
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 5 Jan 2001 05:56:00 +0000 (05:56 +0000)]
* gcc.dg/
20000926-1.c: Update expected warnings.
* gcc.dg/array-2.c: Likewise.
* gcc.dg/array-4.c: Also validate flexible array members.
* gcc.dg/c99-flex-array-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38704
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 04:09:02 +0000 (04:09 +0000)]
* config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
with more than 32767 words of local storage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38703
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 03:58:12 +0000 (03:58 +0000)]
* config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
for 'abs', 'labs', and 'fabs'.
(c4x_expand_builtin): Likewise.
* config/c4x/c4x.h (enum c4x_builtins): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38702
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 03:46:12 +0000 (03:46 +0000)]
* config/sh/sh.md (prget, prset): New insn types.
(return delay slot): Dont' allow prset.
(call, sfunc delay slot): Don't allow prget.
(movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
for prset and prget.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38701
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 03:25:58 +0000 (03:25 +0000)]
* loop.h (struct loop_reg): New.
(struct loop_regs): Change to use array of `struct loop_reg'.
* loop.c: Replace assortment of varrays with single regs array.
(count_one_set): Delete may_not_move array argument
and use regs array instead. All caller's changed.
(count_loop_regs_set): Delete may_not_move and single_usage
arguments and use regs array instead. All caller's changed.
(find_single_use_in_loop): Replace usage array argument with pointer
to regs structure. All caller's changed.
(loop_optimize): Delete `moved_once' array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38700
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 02:51:18 +0000 (02:51 +0000)]
* loop.c (prescan_loop): Set loop_info->has_nonconst_call.
Use it instead of loop_info->has_call for scanning loop mems.
(check_dbra_loop): Replace loop_info->has_call test with
loop_info->has_nonconst_call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38699
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 01:58:04 +0000 (01:58 +0000)]
* config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
for TARGET_SH3E.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38698
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 5 Jan 2001 00:31:45 +0000 (00:31 +0000)]
* java/lang/Thread.java: Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38697
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 5 Jan 2001 00:03:35 +0000 (00:03 +0000)]
* fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
testsuite:
* gcc.c-torture/compile/
20001222-1.x: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38696
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 4 Jan 2001 23:53:54 +0000 (23:53 +0000)]
* c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
(flag_short_double, flag_short_wchar): Define.
(c_common_nodes_and_builtins): Create many tree nodes shared
between C and C++ here instead of in cp/decl.c and ...
* c-decl.c (init_decl_processing): ... here.
(SIZE_TYPE, WCHAR_TYPE): Don't define.
(flag_short_double, flag_short_wchar): Don't define.
(record_builtin_type): New function.
(build_void_list_node): New function.
* c-common.h (flag_short_double, flag_short_wchar,
record_builtin_type, build_void_list_node): Declare.
cp:
* decl.c (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Don't define.
(record_builtin_type): Make non-static.
(flag_short_double): Don't declare.
(init_decl_processing): Remove the creation of many tree nodes now
in c_common_nodes_and_builtins.
(build_void_list_node): New function.
* decl2.c (flag_short_double, flag_short_wchar): Don't define.
* cp-tree.h (flag_short_wchar): Don't declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38695
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 4 Jan 2001 23:28:00 +0000 (23:28 +0000)]
* integrate.c (expand_inline_function): Don't put a virtual
register into the reg map.
* function.c (fixup_var_refs_1): If force_operand didn't put
the address into the target, move it there.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38694
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 4 Jan 2001 21:57:30 +0000 (21:57 +0000)]
2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
* testsuite/17_intro/header_cwctype.cc (main): New file.
* src/Makefile.am (base_headers): Change.
* include/bits/std_string.h: And here.
* include/bits/string.tcc: Tweaks, move to...
* include/bits/basic_string.tcc: ...Here.
* src/string-inst.cc: Simplify, just instantiate the whole class,
not member-by-member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38693
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 4 Jan 2001 21:18:27 +0000 (21:18 +0000)]
Special-case tree_decl/tree_list allocations.
* ggc-page.c (OBJECT_PER_PAGE): Reimplement.
(OBJECT_SIZE): New macro.
(NUM_EXTRA_ORDER): Likewise.
(extra_order_size_table): New variable.
(NUM_ORDERS): New macro.
(objects_per_page_table): New variable.
(object_size_table): New variable.
(G.pages): Use NUM_ORDERS to bound the array.
(G.page_tails): Likewise.
(DIV_ROUND_UP): Remove.
(BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
(alloc_page): Use OBJECT_SIZE.
(size_lookup): Don't make it const.
(ggc_alloc): Use OBJECT_SIZE.
(ggc_set_mark): Likewise.
(ggc_get_size): Likewise.
(init_ggc): Set up the object_size_table, objects_per_page_table,
and adjust size_lookup.
(ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
(ggc_pop_context): Use NUM_ORDERS.
(clear_marks): Likewise.
(sweep_pages): Likewise.
(poison_pages): Likewise.
(ggc_print_statistics): Use OBJECT_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38692
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 4 Jan 2001 20:58:20 +0000 (20:58 +0000)]
* varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
Only call array_size_for_constructor if last field and array type
with no upper bound.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38691
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 4 Jan 2001 20:19:48 +0000 (20:19 +0000)]
2001-01-04 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (arm_gen_constant): Prefer to emit constants
from bit 31 downwards, if this requires no more insns.
(count_insns_for_constant): New helper function for above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38690
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 4 Jan 2001 20:10:36 +0000 (20:10 +0000)]
* gencodes.c (output_predicate_decls): Remove empty initializer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38689
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 4 Jan 2001 19:28:56 +0000 (19:28 +0000)]
* call.c (build_conv): Don't use build1 for USER_CONV.
* pt.c (tsubst_copy): Or for PREINCREMENT_EXPR and similar nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38688
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 4 Jan 2001 19:02:01 +0000 (19:02 +0000)]
* gcc.c-torture/execute/built-in-setjmp.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38687
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 4 Jan 2001 19:01:22 +0000 (19:01 +0000)]
* tree.c (copy_node): Remove documentation about obstacks.
(buidl1): Check that nobody tries to build 2-argument nodes this
way.
* call.c (build_conv): Don't use build1 for USER_CONV.
* pt.c (tsubst_copy): Or for PREINCREMENT_EXPR and similar nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38686
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 4 Jan 2001 18:54:14 +0000 (18:54 +0000)]
* sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
fp_high_losum_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38685
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 4 Jan 2001 18:08:22 +0000 (18:08 +0000)]
* gencodes.c (output_predicate_decls): Fill empty initializer
braces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38684
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 4 Jan 2001 17:26:12 +0000 (17:26 +0000)]
* tradcpp.c (deps_file, print_deps_missing_files): New variables.
(main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
or -MM.
(do_include): Handle missing headers like cpp0.
* cppfiles.c (_cpp_execute_include): Don't prefix absolute header
paths with first include pathname. Don't strcat to uninitialized
string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38683
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 4 Jan 2001 14:17:40 +0000 (14:17 +0000)]
Some tidyups for ia64 problems
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38682
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 4 Jan 2001 10:25:55 +0000 (10:25 +0000)]
* cpp.texi: Update for -MT.
* cppinit.c (initialize_dependency_output): Add a default
target if none has been given already.
(no_tgt, OPT_MT): New.
(cpp_handle_option): Handle -MT. Update -M etc.
* cpplib.h (struct cpp_options): Remove deps_target.
* gcc.c (cpp_options): Handle -MT.
* mkdeps.c (struct deps): Move from mkdeps.h.
(deps_calc_target): Rename deps_add_default_target. Add a
default target if none has been specified already.
* mkdeps.h (struct deps): Move to mkdeps.c.
(deps_calc_target): Rename deps_add_default_target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38681
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 4 Jan 2001 08:45:11 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38680
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 4 Jan 2001 04:21:42 +0000 (04:21 +0000)]
2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
* testsuite/17_intro/header_cwctype.cc (main): New file.
* src/Makefile.am (base_headers): Change.
* include/bits/std_string.h: And here.
* include/bits/string.tcc: Tweaks, move to...
* include/bits/basic_string.tcc: ...Here.
* src/string-inst.cc: Simplify, just instantiate the whole class,
not member-by-member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38679
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 4 Jan 2001 01:14:16 +0000 (01:14 +0000)]
* c-decl.c (grokdeclarator): Give zero-length arrays size zero.
Remove dead code.
* c-typeck.c (push_init_level): Move checks for flexible array
members and zero length arrays ...
(pop_init_level): ... here. Silently discard empty initializations.
Remove dead code.
* varasm.c (output_constructor): Update for sizeof change to
zero-length arrays.
* extend.texi (Zero Length): Clarify semantics.
* gcc.dg/940510-1.c: Update expected error wording.
* gcc.dg/array-2.c, gcc.dg/array-3.c, gcc.dg/array-4.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38678
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 23:47:05 +0000 (23:47 +0000)]
* configure.in (tm.h): Include isns-codes.h last.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38677
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 3 Jan 2001 22:52:42 +0000 (22:52 +0000)]
* config/alpha/alpha.md (addvsi3, addvdi3): New.
(negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38676
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 22:45:56 +0000 (22:45 +0000)]
Update the second copyright notice. Point to it from the first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38675
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Wed, 3 Jan 2001 22:26:05 +0000 (22:26 +0000)]
2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* tradcpp.c (main): Make sure finclude() is called with a valid
indepth value while handling -include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38674
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 21:13:29 +0000 (21:13 +0000)]
* gencodes.c (output_predicate_decls): New function.
(main): Call it.
* machmode.h (GET_MODE_MASK): Arrange for it to be defined
even if it is not the first time machmode.h is #included.
* config/sh/sh.c (fpul_operand): Declare MODE argument.
* tm.texi (PREDICATE_CODES): Document predicate declarations.
* gcc.texi (Copyright): Added 2001.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38673
138bc75d-0d04-0410-961f-
82ee72b054a4