aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-24limits.h (__glibcpp_long_double_bits): Only define if not already provided ↵Loren J. Rittle3-0/+12
by per-OS file. * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only define if not already provided by per-OS file. * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits): Define. From-SVN: r45165
2001-08-24C++STYLE: Fix typo.Jan van Male2-1/+5
2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl> * docs/html/17_intro/C++STYLE: Fix typo. From-SVN: r45163
2001-08-24howto.html: Describe implementation of insertion with hints.Phil Edwards2-4/+83
2001-08-24 Phil Edwards <pme@sources.redhat.com> * docs/html/23_containers/howto.html: Describe implementation of insertion with hints. From-SVN: r45161
2001-08-24std_sstream.h (basic_ostringstream): Fix ctor.Kenny Simpson2-1/+6
2001-08-24 Kenny Simpson <kenny.simpson@gs.com> libstdc++/3740 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor. From-SVN: r45159
2001-08-24jcf-parse.c (yyparse): Set magic to 0, don't issue error for a file smaller ↵Alexandre Petit-Bianco3-35/+113
than 4 bytes. 2001-08-23 Alexandre Petit-Bianco <apbianco@redhat.com> * jcf-parse.c (yyparse): Set magic to 0, don't issue error for a file smaller than 4 bytes. * parse.y (check_inner_circular_reference): New function. (check_circular_reference): Likewise. (array_initializer:): Accept {,}. (java_check_circular_reference): Rewritten using check_circular_reference and check_inner_circular_reference. (java_complete_expand_method): Unconditionally save and restore the unpurged exception list. (build_dot_class_method_invocation): Unmangle signature parameter. (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01417.html) From-SVN: r45156
2001-08-24re PR libstdc++/3349 (bug in map::insert(p,t))Sylvain Pion3-1/+78
2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr> Phil Edwards <pme@sources.redhat.com> PR libstdc++/3349 * include/bits/stl_tree.h (insert_unique): Revert last change. Values inserted at begin() must be less, not greater, than *begin()'s. * testsuite/23_containers/map_insert.cc: New file. Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r45155
2001-08-24Field.java (toString): Use Method.appendClassName.Tom Tromey8-79/+167
* java/lang/reflect/Field.java (toString): Use Method.appendClassName. * java/lang/reflect/Constructor.java (toString): Use Method.appendClassName. * java/lang/reflect/Method.java: Reindented. (appendClassName): New method. (toString): Use it. * defineclass.cc (handleMethod ): Initialize `throws' field of method. (read_one_method_attribute): Handle Exceptions attribute. * java/lang/reflect/natMethod.cc (ClassClass): Removed. (ObjectClass): Removed. (getType): Compute `exception_types'. * java/lang/Class.h (struct _Jv_Method): Added `throws' field. From-SVN: r45153
2001-08-24decl.c (init_decl_processing): Add `throws' field to method descriptor.Tom Tromey3-0/+46
* decl.c (init_decl_processing): Add `throws' field to method descriptor. * class.c (make_method_value): Compute `throws' field for method. From-SVN: r45152
2001-08-24* cp/rtti.c (VPARAMS): Fix parameter.Andreas Jaeger2-3/+7
From-SVN: r45151
2001-08-24expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv to zero.Zack Weinberg2-33/+28
* expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv to zero. (mode_for_extraction): No need for #ifdefs. Add default-case abort to switch. (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv in if controlling use of insv. (extract_bit_field): Likewise, for extv and extzv. From-SVN: r45150
2001-08-24* i386.md (movcc peep2): Fix load of 0.Jan Hubicka2-2/+5
From-SVN: r45149
2001-08-24fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR, *_MOD_EXPR, ↵Kaveh R. Ghazi4-0/+65
SAVE_EXPR and NON_LVALUE_EXPR. * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR, *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR. testsuite: * gcc.dg/compare5.c: New testcase. From-SVN: r45148
2001-08-24tree.c (cp_build_qualified_type_real): Use get_qualified_type.Jason Merrill1-0/+17
* 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. From-SVN: r45147
2001-08-24c-pragma.h: Move weak_syms and weak_decls...Jason Merrill3-39/+48
* 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. From-SVN: r45146
2001-08-24c-common.c (c_alignof, [...]): Move here...Jason Merrill12-167/+147
* 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. From-SVN: r45145
2001-08-24Daily bump.GCC Administrator6-6/+6
From-SVN: r45143
2001-08-24c_locale_gnu.cc: Minor tweaks.Benjamin Kosnik7-16/+340
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. From-SVN: r45142
2001-08-23Fix PowerPC long double as well.David Edelsohn2-1/+2
From-SVN: r45141
2001-08-23Correct __s390__ definitions.David Edelsohn2-3/+7
From-SVN: r45140
2001-08-23testsuite_flags.in (build-includes): Re-add backward.Jason Merrill4-5/+4
* testsuite_flags.in (build-includes): Re-add backward. (and back out earlier aclocal change) From-SVN: r45139
2001-08-23When moving asms out of the way, don't move all of them to the same placeBernd Schmidt2-2/+5
From-SVN: r45138
2001-08-23Fix abort where write_count got to 3Bernd Schmidt2-1/+9
From-SVN: r45137
2001-08-23function.c (thread_prologue_and_epilogue_insns): Avoid fallthru flag on edge ↵Jan Hubicka4-2/+18
to exit. * 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. From-SVN: r45135
2001-08-23merge from glibcUlrich Drepper2-14/+69
From-SVN: r45134
2001-08-23Remove unused functionLars Brinkhoff5-71/+9
From-SVN: r45131
2001-08-23dyn-string.h, [...]: replace "GNU CC" with "GCC".Lars Brinkhoff6-20/+25
* dyn-string.h, fibheap.h, partition.h, sort.h, splay-tree.h: replace "GNU CC" with "GCC". From-SVN: r45130
2001-08-23* aclocal.m4 (GLIBCPP_INCLUDES): Include backward.Jason Merrill3-2/+8
From-SVN: r45129
2001-08-23fixJason Merrill1-3/+3
From-SVN: r45128
2001-08-23prune.exp (prune_gcc_output): Also ignore "In constructor" and "In ↵Jason Merrill2-1/+6
instantiation". * lib/prune.exp (prune_gcc_output): Also ignore "In constructor" and "In instantiation". From-SVN: r45127
2001-08-23genconstants.c, [...]: replace "GNU CC" with "GCC".Lars Brinkhoff6-20/+25
* genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h: replace "GNU CC" with "GCC". From-SVN: r45126
2001-08-23ia64.c (ia64_register_move_cost): Add mode arguemnt.Richard Henderson4-63/+121
* 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. From-SVN: r45125
2001-08-23regclass.c (init_reg_sets_1): Don't assume cost 2 within a register class.Richard Henderson2-1/+6
* regclass.c (init_reg_sets_1): Don't assume cost 2 within a register class. From-SVN: r45124
2001-08-23Daily bump.GCC Administrator5-5/+5
From-SVN: r45123
2001-08-23Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r45122.2
2001-08-23reload1.c (emit_reload_insns): Don't look for notes on a NULL store_insn.Geoffrey Keating2-1/+6
* reload1.c (emit_reload_insns): Don't look for notes on a NULL store_insn. From-SVN: r45120
2001-08-23collate_wchar_t_members.cc: Guard with _GLIBCPP_USE_WCHAR_T.Benjamin Kosnik2-2/+10
2001-08-22 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/collate_wchar_t_members.cc: Guard with _GLIBCPP_USE_WCHAR_T. From-SVN: r45118
2001-08-23sparc.c (uns_small_int): Don't reference a constant >32-bit.Kaveh R. Ghazi2-26/+50
* 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. From-SVN: r45117
2001-08-22i386-protos.h: Correct declaration of i386_pe_asm_named_section.David Billinghurst2-2/+6
* config/i386/i386-protos.h: Correct declaration of i386_pe_asm_named_section. From-SVN: r45116
2001-08-22Look for lib-gnu-pkg-quux.so, not gnu-pkg-quux.so.Anthony Green2-5/+12
From-SVN: r45115
2001-08-22pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for variable i.John David Anglin3-0/+8
* pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for variable i. * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise. From-SVN: r45114
2001-08-22fibheap.c (fibheap_init, [...]): Remove.Matt Kraai2-44/+16
* 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. From-SVN: r45113
2001-08-22cpperror.c (print_location): Don't show _Pragma.Neil Booth9-117/+118
* 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. From-SVN: r45112
2001-08-22* gcc.c (struct prefix_list): Change prefix to const char *.Matt Kraai2-1/+5
From-SVN: r45111
2001-08-22* final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.Matt Kraai2-1/+5
From-SVN: r45110
2001-08-22parse.y (resolve_inner_class): Keep local_enclosing to NULL if circularity ↵Alexandre Petit-Bianco2-2/+9
is detected. 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) From-SVN: r45109
2001-08-22explow.c (set_mem_attributes): Avoid returning a bogus alias set from a new MEM.Jason Merrill2-0/+12
* explow.c (set_mem_attributes): Avoid returning a bogus alias set from a new MEM. From-SVN: r45108
2001-08-22jump.c (squeeze_notes): Take parms by reference.Jason Merrill7-44/+55
* 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. From-SVN: r45107
2001-08-22pt.c (tsubst_expr): Hand off to the TREE_CHAIN of a statement.Jason Merrill3-30/+35
* 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. From-SVN: r45106
2001-08-22Makefile.in, [...]: replace "GNU CC" with "GCC".Lars Brinkhoff226-2552/+2602
* 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". From-SVN: r45105
2001-08-22* gcc.c-torture/execute/divmod-1.c: Convert to ANSI.Aldy Hernandez2-26/+14
From-SVN: r45104