jason [Fri, 24 Aug 2001 12:08:35 +0000 (12:08 +0000)]
* c-pragma.h: Move weak_syms and weak_decls...
* varasm.c: ...here. Now static.
(declare_weak, weak_finish, remove_from_pending_weak_list): Don't
depend on HANDLE_PRAGMA_WEAK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45146
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 24 Aug 2001 12:07:46 +0000 (12:07 +0000)]
* c-common.c (c_alignof, c_alignof_expr): Move here...
* c-typeck.c: ...from here.
* c-tree.h, c-common.h: Adjust.
* tree.c (cp_build_qualified_type_real): Use get_qualified_type.
(build_cplus_array_type): Use cp_build_qualified_type, not
TYPE_MAIN_VARIANT, to get an unqualified version.
* decl2.c (grok_alignof): Lose.
(build_expr_from_tree): Use expr_sizeof and c_alignof_expr.
* typeck.c (c_alignof): Lose.
* semantics.c (finish_sizeof, finish_alignof): New.
* parse.y: Use them.
* cp-tree.h: Declare them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45145
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 24 Aug 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45143
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 24 Aug 2001 04:11:23 +0000 (04:11 +0000)]
2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Minor tweaks.
(moneypunct<wchar_t>): Implement.
* include/bits/locale_facets.h: Same.
* testsuite/22_locale/moneypunct.cc: New file.
* testsuite/22_locale/moneypunct_byname.cc: New file.
* testsuite/22_locale/moneypunct_char_members.cc: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45142
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 23 Aug 2001 23:02:01 +0000 (23:02 +0000)]
Fix PowerPC long double as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45141
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 23 Aug 2001 22:49:20 +0000 (22:49 +0000)]
Correct __s390__ definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45140
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Aug 2001 22:35:52 +0000 (22:35 +0000)]
* testsuite_flags.in (build-includes): Re-add backward.
(and back out earlier aclocal change)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45139
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 23 Aug 2001 19:27:54 +0000 (19:27 +0000)]
When moving asms out of the way, don't move all of them to the same place
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45138
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 23 Aug 2001 19:25:03 +0000 (19:25 +0000)]
Fix abort where write_count got to 3
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45137
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 23 Aug 2001 15:33:13 +0000 (15:33 +0000)]
* function.c (thread_prologue_and_epilogue_insns): Avoid
fallthru flag on edge to exit.
* i386.md (trunc?fsi splitter): Conditionionize for non-sse.
* flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
dead edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45135
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Thu, 23 Aug 2001 15:19:05 +0000 (15:19 +0000)]
merge from glibc
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45134
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 23 Aug 2001 13:40:40 +0000 (13:40 +0000)]
Remove unused function
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45131
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 23 Aug 2001 12:07:58 +0000 (12:07 +0000)]
* dyn-string.h, fibheap.h, partition.h, sort.h, splay-tree.h:
replace "GNU CC" with "GCC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45130
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Aug 2001 11:38:07 +0000 (11:38 +0000)]
* aclocal.m4 (GLIBCPP_INCLUDES): Include backward.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45129
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Aug 2001 11:34:32 +0000 (11:34 +0000)]
fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45128
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Aug 2001 10:52:12 +0000 (10:52 +0000)]
* lib/prune.exp (prune_gcc_output): Also ignore "In constructor"
and "In instantiation".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45127
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 23 Aug 2001 10:21:42 +0000 (10:21 +0000)]
* genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
replace "GNU CC" with "GCC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45126
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 23 Aug 2001 07:44:03 +0000 (07:44 +0000)]
* config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
(ia64_secondary_reload_class): Need GR between AR/BR and anything.
Need GR between FR and not GR_AND_FR.
* config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
* config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
AR regs before GR regs.
(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
(PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
(REGISTER_MOVE_COST): Update.
(MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45125
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 23 Aug 2001 07:37:03 +0000 (07:37 +0000)]
* regclass.c (init_reg_sets_1): Don't assume cost 2 within
a register class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45124
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 23 Aug 2001 07:16:49 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45123
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 23 Aug 2001 07:16:45 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45122
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 23 Aug 2001 05:32:09 +0000 (05:32 +0000)]
* reload1.c (emit_reload_insns): Don't look for notes
on a NULL store_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45120
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 23 Aug 2001 04:50:55 +0000 (04:50 +0000)]
2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/collate_wchar_t_members.cc: Guard
with _GLIBCPP_USE_WCHAR_T.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45118
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 23 Aug 2001 01:27:25 +0000 (01:27 +0000)]
* sparc.c (uns_small_int): Don't reference a constant >32-bit.
(addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
(sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
format specifier warnings.
(sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45117
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 23 Aug 2001 00:18:56 +0000 (00:18 +0000)]
* config/i386/i386-protos.h: Correct declaration of
i386_pe_asm_named_section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45116
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Wed, 22 Aug 2001 23:10:07 +0000 (23:10 +0000)]
Look for lib-gnu-pkg-quux.so, not gnu-pkg-quux.so.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45115
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 22 Aug 2001 21:18:09 +0000 (21:18 +0000)]
* pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
variable i.
* pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45114
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Wed, 22 Aug 2001 21:02:06 +0000 (21:02 +0000)]
* fibheap.c (fibheap_init, fibnode_init): Remove.
(fibheap_new, fibnode_new): Use xcalloc to allocate and
initialize memory.
(fibheap_insert): Remove check for node allocation failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45113
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 22 Aug 2001 20:37:20 +0000 (20:37 +0000)]
* cpperror.c (print_location): Don't show _Pragma.
* cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
and file change callback generation here.
(stack_include_file): Update use of cpp_push_buffer.
* cpphash.h (_cpp_pop_file_buffer): Update prototype.
(struct cpp_buffer): Remove type, pfile members.
* cppinit.c (cpp_handle_option): Use free_chain.
* cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
(skip_escaped_newlines, get_effective_char, lex_percent): Take
a cpp_reader rather than a cpp_buffer.
(skip_escaped_newlines, get_effective_char, skip_block_comment,
skip_line_comment, parse_string, lex_percent, lex_dot,
_cpp_lex_token): Update accordingly.
* cpplib.c (_cpp_pop_buffer): Don't do file change callback
generation here.
(cpp_push_buffer): Update prototype.
(run_directive): Update use of cpp_push_buffer.
(_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
handle_assertion): Update use of run_directive.
* cpplib.h (enum cpp_buffer_type): Remove.
(cpp_push_buffer): Update prototype.
* fix-header.c (read_scan_file): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45112
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Wed, 22 Aug 2001 18:09:24 +0000 (18:09 +0000)]
* gcc.c (struct prefix_list): Change prefix to const char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45111
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 16:29:08 +0000 (16:29 +0000)]
* final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45110
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 22 Aug 2001 15:27:35 +0000 (15:27 +0000)]
2001-08-22 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (resolve_inner_class): Keep local_enclosing to NULL if
circularity is detected.
(ctors_unchecked_throws_clause_p): Fixed leading comment.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01283.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45109
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 22 Aug 2001 14:53:20 +0000 (14:53 +0000)]
* explow.c (set_mem_attributes): Avoid returning a bogus alias set
from a new MEM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45108
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 22 Aug 2001 14:51:32 +0000 (14:51 +0000)]
* jump.c (squeeze_notes): Take parms by reference. Handle END being
a squeezable note.
* rtl.h: Adjust.
* ifcvt.c (dead_or_predicable): Adjust.
* loop.c (find_and_verify_loops): Adjust.
* stmt.c (expand_end_case): Adjust.
* flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
head and end insn pointers in the basic block, not just local copies.
(merge_blocks_move_predecessor_nojumps): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45107
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 22 Aug 2001 14:42:22 +0000 (14:42 +0000)]
* pt.c (tsubst_expr): Hand off to the TREE_CHAIN of a statement.
Don't loop in COMPOUND_STMT, FOR_STMT or TRY_BLOCK.
* tree.c (cp_statement_code_p): A TAG_DEFN is a statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45106
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 22 Aug 2001 14:35:51 +0000 (14:35 +0000)]
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
bitmap.h, builtin-types.def, builtins.c, builtins.def,
c-aux-info.c, c-common.c, c-common.def, c-common.h,
c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
conditions.h, config.gcc, configure.frag, configure.in,
conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
emit-rtl.c, errors.c, errors.h, except.c, except.h,
exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
gencheck.c, gencodes.c, genconfig.c, genemit.c,
genextract.c, genflags.c, gengenrtl.c, genmultilib,
genopinit.c, genoutput.c, genpeep.c, genrecog.c,
gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
params.h, predict.c, predict.def, predict.h, prefix.c,
prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
regclass.c, regmove.c, regrename.c, regs.h, reload.c,
reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
xcoffout.h: replace "GNU CC" with "GCC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45105
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 22 Aug 2001 10:38:22 +0000 (10:38 +0000)]
* gcc.c-torture/execute/divmod-1.c: Convert to ANSI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45104
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 08:31:44 +0000 (08:31 +0000)]
* final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
(final_scan_insn): Consider jump tables data even if we have no
independant text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
ADDR_VEC_ALIGN.
* config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
(ASM_OUTPUT_CASE_END): Remove.
(ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
* config/ia64/ia64.md (tablejump): Decode pc-relative references.
* config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45103
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 08:18:33 +0000 (08:18 +0000)]
* config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
at barrier insns. Emit stop bits before barriers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45102
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 08:13:00 +0000 (08:13 +0000)]
* flow.c (flow_find_cross_jump): Don't consider unconditional
return insns for commoning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45101
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 08:04:15 +0000 (08:04 +0000)]
* final.c (compute_alignments): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45100
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 07:56:13 +0000 (07:56 +0000)]
* expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
(CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
(store_bit_field): Use mode_for_extraction more places.
(extract_bit_field): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45099
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 22 Aug 2001 07:16:50 +0000 (07:16 +0000)]
* caller-save.c: Don't include insn-codes.h.
(reg_save_code, reg_restore_code): Make arrays of int.
All uses updated to match.
(insert_save, insert_restore): No need to initialize "code"
variable upon declaration.
* Makefile.in: update dependencies; fix typo in clean rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45098
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 22 Aug 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45096
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 22 Aug 2001 05:47:35 +0000 (05:47 +0000)]
2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/collate_byname.cc (test01): Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45094
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 05:21:10 +0000 (05:21 +0000)]
* ifcvt.c (find_if_block): Allow join_bb as EXIT.
(merge_if_block): Handle fallout from same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45093
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 22 Aug 2001 03:53:51 +0000 (03:53 +0000)]
* builtins.c (type_to_class): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45092
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 02:10:53 +0000 (02:10 +0000)]
* config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
copy of gp while the real gp register contains garbage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45091
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 02:04:42 +0000 (02:04 +0000)]
* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
ia64_asm_output_label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45090
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 01:56:34 +0000 (01:56 +0000)]
* Makefile.in (fibheap.o): Depend on config.h.
* fibheap.c: Tidy formatting. Use config.h.` Rearrange some
functions for inlining.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45089
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 22 Aug 2001 01:53:38 +0000 (01:53 +0000)]
* fibheap.h: Tidy formatting.
(fibnode_t): Limit degree to 31 bits to avoid warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45088
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 22 Aug 2001 00:39:24 +0000 (00:39 +0000)]
* caller-save.c: Don't include insn-codes.h.
(reg_save_code, reg_restore_code): Make arrays of int.
All uses updated to match.
(insert_save, insert_restore): No need to initialize "code"
variable upon declaration.
* Makefile.in: update dependencies; fix typo in clean rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45087
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 22 Aug 2001 00:33:33 +0000 (00:33 +0000)]
* expmed.c (mode_for_extraction): New function.
(store_bit_field, extract_bit_field): Use it.
* expr.h: Prototype it and provide an enum for its first argument.
* combine.c, function.c, recog.c: Don't include insn-codes.h.
Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
and digging through the insn_data tables.
* Makefile.in: Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45086
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 23:05:12 +0000 (23:05 +0000)]
* cppfiles.c (stack_include_file): line-map.c now handles include
depth.
(handle_missing_handler): Similarly.
(_cpp_execute_include): Similarly.
(_cpp_pop_file_buffer): Similarly.
* cpphash.h (struct cpp_reader): Remove system_include_depth,
buffer_stack_depth and include_depth.
* cpplib.c (do_include_common): line-map.c now handles include depth.
(cpp_push_buffer): Similarly.
(_cpp_pop_buffer): Similarly.
* cppmacro.c (builtin_macro): Update.
* line-map.c (init_line_maps): Set depth.
(add_line_map): Increment "used" earlier. Update and use the
include depth.
(trace_include): Use the include depth.
* line-map.h (struct line_maps): New member depth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45085
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 21:17:48 +0000 (21:17 +0000)]
* cppfiles.c (stack_include_file): Don't handle -H here.
* cppinit.c (cpp_start_read): Set include tracing after
cpp_post_options and after stacking the main file.
* line-map.c (trace_include): New.
(init_line_maps, add_line_map): Update.
* line-map.h (struct line_maps): New member trace_includes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45084
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 19:23:24 +0000 (19:23 +0000)]
* cppfiles.c (stack_include_file): Harmonize system headerness tests.
* cppfiles.c (stack_include_file): Only stack a file if there
is something to do. Return a boolean indicating whether a
buffer was stacked or not.
(_cpp_execute_include): Similarly.
(_cpp_read_file): Similarly.
* cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45083
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 17:10:22 +0000 (17:10 +0000)]
* tradcpp.c (rescan): define obufp_before_macroname before RECACHE
(RECACHE): keep obufp_before_macroname up to date
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45082
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Tue, 21 Aug 2001 16:40:45 +0000 (16:40 +0000)]
* configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hosting
on cygwin.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45081
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 21 Aug 2001 16:11:35 +0000 (16:11 +0000)]
* gcc.misc-tests/gcov.exp: Add support for branch information.
* gcc.misc-tests/gcov-2.c: Change to invoke gcov and clean up.
* gcc.misc-tests/gcov-4.c: New test.
* gcc.misc-tests/gcov-4b.c: New test.
* gcc.misc-tests/gcov-5b.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45080
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 21 Aug 2001 16:09:59 +0000 (16:09 +0000)]
Remove information about new tests, to move to testsuite/ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45079
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 21 Aug 2001 15:51:22 +0000 (15:51 +0000)]
* stmt.c: Don't include insn-codes.h.
(expand_end_case): Machine specific logic moved to expr.c.
No need to worry about __builtin_classify_type.
(check_for_full_enumeration_handling, emit_case_nodes):
Kill #if 0 blocks.
* builtins.o (expand_builtin_classify_type): Split up so code
can be shared with fold_builtin_classify_type.
(type_to_class, fold_builtin_classify_type): New functions.
(fold_builtins): Handle __builtin_classify_type.
* expr.c (do_tablejump): Now static.
(case_values_threshold, try_casesi, try_tablejump): New;
code mostly from stmt.c (expand_end_case).
(expr.h): Update prototypes.
* Makefile.in (stmt.o): Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45078
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 21 Aug 2001 14:24:48 +0000 (14:24 +0000)]
* java/util/IdentityHashMap.java (get): Fix off-by-one error.
(put): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45077
138bc75d-0d04-0410-961f-
82ee72b054a4
wcohen [Tue, 21 Aug 2001 12:17:28 +0000 (12:17 +0000)]
2001-08-21 Will Cohen <wcohen@redhat.com>
* configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
declaration of variable i.
* configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
declaration of variable i.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45076
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 21 Aug 2001 10:12:07 +0000 (10:12 +0000)]
* crtstuff.c: Fix thinko last change. Move list tails to start
of CRT_END section. Tidy ifdefs.
(__EH_FRAME_BEGIN__): Always static for ELF.
(__do_global_ctors_1): Rename from __frame_dummy.
* config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
name change; don't hide __EH_FRAME_BEGIN__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45075
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 21 Aug 2001 08:54:33 +0000 (08:54 +0000)]
* gdbinit.in: Move break on exit after break on fancy_abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45074
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 21 Aug 2001 08:50:36 +0000 (08:50 +0000)]
* config/ia64/ia64.c (ia64_return_in_memory): True for variable
sized types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45073
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 21 Aug 2001 07:16:14 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45071
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 21 Aug 2001 06:20:18 +0000 (06:20 +0000)]
* cpphash.h (_cpp_push_next_buffer): New.
* cppinit.c (do_includes): Remove.
(push_include, free_chain, _cpp_push_next_buffer): New.
(cpp_start_read): Use them to rework command line option handling.
(cpp_handle_option): Combine handling of -include and -imacros.
* cpplex.c (_cpp_lex_token): Push a new -include buffer if
appropriate. Always insert missing \n at EOF.
* cpplib.c (start_directive): Get the directive position right.
* cppmain.c (cb_file_change): Always print the first line, unless
preprocessed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45070
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 21 Aug 2001 05:06:55 +0000 (05:06 +0000)]
* profile.c (compute_branch_probabilities): Remove extra new-line
in error message.
* flow.c (verify_flow_info): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45069
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 21 Aug 2001 03:22:26 +0000 (03:22 +0000)]
* basic-block.h (basic_block): Add new field 'flags'.
(BB_REACHABLE): Define.
(expunge_block): Declare.
* flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
(EXIT_BLOCK_PTR): Ditto.
(expunge_block): Remove static declaration.
(cleanup_cfg): Clear bb->aux on every basic block.
(find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
computing reachability.
(delete_unreachable_blocks): Delete block b if b->flags has
BB_REACHABLE unset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45068
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Tue, 21 Aug 2001 02:34:14 +0000 (02:34 +0000)]
* doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45067
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 21 Aug 2001 00:17:47 +0000 (00:17 +0000)]
* sparc.c (sparc_variable_issue): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45066
138bc75d-0d04-0410-961f-
82ee72b054a4
cagney [Tue, 21 Aug 2001 00:09:09 +0000 (00:09 +0000)]
* floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45065
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 20 Aug 2001 22:25:30 +0000 (22:25 +0000)]
* gcc.c-torture/execute/
20000801-4.x: Delete, test no longer
expected to fail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45064
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 20 Aug 2001 20:53:21 +0000 (20:53 +0000)]
* varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45063
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Mon, 20 Aug 2001 20:06:07 +0000 (20:06 +0000)]
include/
2001-08-20 Daniel Berlin <dan@cgsoftware.com>
* fibheap.h: New file. Fibonacci heap.
libiberty/
2001-08-20 Daniel Berlin <dan@cgsoftware.com>
* fibheap.c: New file. Fibonacci heap.
* Makefile.in (CFILES): Add fibheap.c.
(REQUIRED_OFILES): Add fibheap.o.
(fibheap.o): Add dependencies for fibheap.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45062
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 20 Aug 2001 19:53:14 +0000 (19:53 +0000)]
* java/awt/GridBagConstraints.java: Removed comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45061
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 20 Aug 2001 19:52:02 +0000 (19:52 +0000)]
* jni.cc (nathash, nathash_count, nathash_size): New globals.
(DELETED_ENTRY): New define.
(hash): New function.
(nathash_find_slot): Likewise.
(natrehash): Likewise.
(nathash_add): Likewise.
(_Jv_JNI_RegisterNatives): No longer interpreter-specific. Use
nathash_add.
(nathash_find): New function.
(_Jv_LookupJNIMethod): Use it. Synchronize body.
(call): Synchronize around assignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45060
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Mon, 20 Aug 2001 18:12:39 +0000 (18:12 +0000)]
* pa.h (RETURN_IN_MEMORY): Improve comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45059
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:40:26 +0000 (17:40 +0000)]
Test of gcov branch coverage reporting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45058
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:39:20 +0000 (17:39 +0000)]
Test of gcov line coverage information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45057
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:37:23 +0000 (17:37 +0000)]
Change to invoke gcov and clean up.
Remove dg-prms-id, which carried over to other tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45056
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:36:05 +0000 (17:36 +0000)]
Add support for branch information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45055
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:34:48 +0000 (17:34 +0000)]
* gcc.misc-tests/gcov.exp: Add support for branch information.
* gcc.misc-tests/gcov-2.c: Change to invoke gcov and clean up.
* gcc.misc-tests/gcov-4.c: New test.
* gcc.misc-tests/gcov-4b.c: New test.
* gcc.misc-tests/gcov-5b.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45054
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 20 Aug 2001 17:08:14 +0000 (17:08 +0000)]
* doc/invoke.texi (Profiling options): Clarify the interactions
between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45053
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 20 Aug 2001 16:40:46 +0000 (16:40 +0000)]
* configure: Rebuilt.
* configure.in: Always ask gcc for threads package.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45052
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Mon, 20 Aug 2001 15:24:24 +0000 (15:24 +0000)]
2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
* crtstuff.c (__do_global_ctors): Fix typo in preprocessing
command.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45051
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Mon, 20 Aug 2001 13:39:36 +0000 (13:39 +0000)]
* gcc.c (make_relative_prefix): Allocate a sufficiently large
buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45049
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 20 Aug 2001 09:08:57 +0000 (09:08 +0000)]
Fixed ChangeLog entry: mips.c (reload_outcc) -> (reload_incc)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45048
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 20 Aug 2001 07:27:32 +0000 (07:27 +0000)]
* final.c (end_final): Fix typo last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45047
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 20 Aug 2001 07:16:49 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45046
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 20 Aug 2001 07:16:44 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45044
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 20 Aug 2001 06:14:53 +0000 (06:14 +0000)]
* cppinit.c (init_standard_includes): The returned buffer
is already malloc-ed.
* gcc.c (add_prefix): Similarly.
* prefix.c (translate_name): Update to support clear buffer
ownership rules.
(update_path): Similarly. Be sure to free any newly allocated
key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
(tr): New function.
* prefix.h (update_path): Update prototype and document.
* config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
up and update to new buffer ownership rules.
* doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45043
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 19 Aug 2001 23:46:10 +0000 (23:46 +0000)]
* final.c (compute_alignments): New function.
(init_insn_lengths): Do not care label_align.
(LABEL_ALIGN_AFTER_BARRIER): Default to 1.
(LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
(JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
(shorted_branches): Realloc label_align array; do
not call init_insn_lengths; Do not care about loop alignments.
* output.h (compute_alignments): Declare.
* toplev.c (rest_of_compilation): Call compute_alignments.
* tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
* predict.c (block_info_def): Add npredecesors, remove nvisited;
change visited to tovisit.
(propagate_freq): Use faster traversing algorithm.
(estimate_loops_at_level, estimate_bb_frequencies): Change visited
to tovisit; reverse meaning.
* predict.c (struct block_info_def): Remove nvisited.
(propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
(estimate_bb_frequencies): Call mark_dfs_back_edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45042
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sun, 19 Aug 2001 21:40:37 +0000 (21:40 +0000)]
* doc/invoke.texi (MIPS Options): Document -mfused-madd.
* config/mips/mips.h (MASK_NO_FUSED_MADD): New.
(TARGET_FUSED_MADD): New.
(TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
* config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
the multiply-add instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45041
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 19 Aug 2001 21:00:30 +0000 (21:00 +0000)]
* g++.dg/special/ecos.exp (initp1.C): Run initp1.C test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45037
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 20:08:36 +0000 (20:08 +0000)]
* dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
is aligned to pointer size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45034
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 19 Aug 2001 18:35:06 +0000 (18:35 +0000)]
* typeck2.c (add_exception_specifier): Only require complete type if
not in processing template declaration.
* g++.dg/eh/template1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45032
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 15:42:38 +0000 (15:42 +0000)]
* config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
display markers during final schedule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45031
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Aug 2001 09:04:31 +0000 (09:04 +0000)]
* function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45030
138bc75d-0d04-0410-961f-
82ee72b054a4