aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-07-19class.c (type_requires_array_cookie): New function.Mark Mitchell6-43/+119
* class.c (type_requires_array_cookie): New function. (check_methods): Don't try to figure out whether the type needs a cookie here. (check_bases_and_members): Set TYPE_VEC_NEW_USES_COOKIE here. * cp-tree.h (TYPE_VEC_DELETE_TAKES_SIZE): Remove. (TYPE_VEC_NEW_USES_COOKIE): Reimplement. * pt.c (instantiate_class_template): Don't set TYPE_VEC_DELETE_TAKES_SIZE. * NEWS: Document ABI changes from GCC 3.0. From-SVN: r44142
2001-07-19dwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration ↵Jeff Sturm2-4/+12
at -g1. * dwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration at -g1. Fixes c++/2814. From-SVN: r44141
2001-07-19gen-num-limits.cc (set_signals_handler): New function.Gabriel Dos Reis2-6/+19
* src/gen-num-limits.cc (set_signals_handler): New function. Factor out signals setting. Set signal handler for SIGILL. Co-Authored-By: Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be> From-SVN: r44139
2001-07-18merge from glibcDJ Delorie4-19/+50
From-SVN: r44138
2001-07-18Fix markup for reload_in/out.Richard Henderson1-2/+2
From-SVN: r44137
2001-07-18howto.html: Fix typo.Phil Edwards4-41/+77
2001-07-18 Phil Edwards <pme@sources.redhat.com> * docs/html/27_io/howto.html: Fix typo. * docs/html/faq/index.html: Minor updates for 3.0 all around. * docs/html/faq/index.txt: Regenerated. From-SVN: r44135
2001-07-18md.texi (reload_in/out): Document restrictions in predicates and constraints ↵Richard Henderson2-0/+17
for these patterns. * doc/md.texi (reload_in/out): Document restrictions in predicates and constraints for these patterns. Document empty string matching ALL_REGS. From-SVN: r44134
2001-07-18configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which ↵Toon Moene4-88/+105
might be affected by them. 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl> * libI77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move these defines before tests which might be affected by them. (_XOPEN_SOURCE_EXTENDED): Define. * libI77/configure, libI77/config.h.in: Regenerate. From-SVN: r44133
2001-07-18* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.Rainer Orth2-1/+7
From-SVN: r44131
2001-07-18natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC 2533 socket options ↵Rainer Orth2-1/+16
IPV6_JOIN_GROUP... * java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC 2533 socket options IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP, falling back to old RFC 2133 variants if missing. From-SVN: r44130
2001-07-18NEWS (Changes in GCC 3.0): Fix typo.Xavier Delacour2-1/+6
* NEWS (Changes in GCC 3.0): Fix typo. Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> From-SVN: r44128
2001-07-18* cse.c: Undo my previous patch.Jan Hubicka2-27/+9
From-SVN: r44126
2001-07-18natFileWin32.cc (_access): Renamed.Tom Tromey4-12/+24
* java/io/natFileWin32.cc (_access): Renamed. (_stat): Likewise. * java/io/natFile.cc (_access): Renamed. (_stat): Likewise. * java/io/File.java (access, stat): Add leading `_' to name. Updated all callers. From-SVN: r44124
2001-07-18ostream.tcc (ostream::put): Fixed error condition check.Stephen M. Webb3-1/+34
2001-07-18 Stephen M. Webb <stephen@bregmasoft..com> Roman Sulzhyk <roman_sulzhyk@yahoo.com> libstdc++/3599 * include/bits/ostream.tcc (ostream::put): Fixed error condition check. * testsuite/27_io/streambuf.cc (test07): Added new regression test. Co-Authored-By: Roman Sulzhyk <roman_sulzhyk@yahoo.com> From-SVN: r44122
2001-07-18For PR java/2812:Tom Tromey4-7/+17
* lex.h: Use HAVE_ICONV, not HAVE_ICONV_H. * lex.c (java_new_lexer): Use ICONV_CONST. (java_read_char): Likewise. * Make-lang.in (jc1$(exeext)): Link against LIBICONV. (jv-scan$(exeext)): Likewise. From-SVN: r44120
2001-07-18For PR java/2812:Tom Tromey5-304/+527
* configure: Rebuilt. * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV instead. * aclocal.m4 (AM_ICONV): New macro from Bruno Haible. From-SVN: r44119
2001-07-18flow.c (redirect_edge_and_branch): Bail out on complex edges.Richard Henderson3-59/+33
* flow.c (redirect_edge_and_branch): Bail out on complex edges. (try_optimize_cfg): Do not remove tail recursive labels before sibcall. * jump.c (mark_jump_label): Do not forward branches. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r44118
2001-07-18All occurrences of the __value_type() and __distance_type() functions...Stephen M. Webb26-6302/+6644
2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r All occurrences of the __value_type() and __distance_type() functions, which were required to support the HP STL, have been removed along with all the auxiliary forwarding functions that were required to support their use. The __iterator_category() function was pretty much left alone because there was no benefit to removing it and its use made code just a little more readable. Incidences of distance() with nonstandard argument list were replaced by calls to the standard function (only in the files affected by the removal of the other HP functions). The signature of the rotate() algorithm was changed to match the standard. Headers were reformatted under C++STYLE guidelines (indentation, linebreaks, typename keyword). * include/bits/stl_algo.h: replaced __value_type() and __distance_type() with iterator_traits, eliminated auxiliary support functions required to support said function usage. Changed nonstandard distance() call to standard call. * include/bits/stl_algobase.h: Same. * include/bits/stl_heap.h: Same. * include/bits/stl_numeric.h: Same. * include/bits/stl_uninitialized.h: Same. * include/bits/stl_iterator_base_types.h (__value_type()): Removed. (__distance_type()): Removed. (value_type()): Gone. (distance_type()): Done in. (iterator_category()): Hasta la vista, baby. * include/bits/stl_iterator_base_funcs.h (iterator_category()): Replaced with __iterator_category(). * include/backward/iterator.h: moved definition of value_type(), distance_type(), and iterator_category() out of std:: and into here. * testsuite/23_containers/vector_ctor.cc (test03): New testcases. * testsuite/23_containers/vector_modifiers.cc (test03): New testcases. * testsuite/25_algorithms/rotate.cc: New testcase. * testsuite/25_algorithms/copy.cc: New testcase. * testsuite/25_algorithms/sort.cc: Same. * testsuite/25_algorithms/heap.cc: Same. * testsuite/25_algorithms/partition.cc: Same. * testsuite/25_algorithms/binary_search.cc: Same. * testsuite/26_numerics/sum_diff.cc: Ditto. From-SVN: r44117
2001-07-18For PR java/2812:Tom Tromey9-297/+603
* libgcj.spec.in (*lib): Added LIBICONV. * configure: Rebuilt. * configure.in: Call AM_ICONV. Don't check for iconv function. Add parameters to JV_HASH_SYNCHRONIZATION define. * acinclude.m4 (AM_ICONV): New macro, from Bruno Haible. From-SVN: r44116
2001-07-18cse.c (delete_trivially_dead_insns): Delete the libcall block when return ↵Jan Hubicka2-5/+32
value is unused. * cse.c (delete_trivially_dead_insns): Delete the libcall block when return value is unused. From-SVN: r44112
2001-07-18* gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.Jan Hubicka2-0/+5
From-SVN: r44111
2001-07-18vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is supported again.Andreas Jaeger2-14/+5
* g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is supported again. From-SVN: r44110
2001-07-18configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which ↵Kaveh R. Ghazi4-83/+101
might be affected by them. * libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move these defines before tests which might be affected by them. (_XOPEN_SOURCE_EXTENDED): Define. * libU77/configure, libU77/config.hin: Regenerate. From-SVN: r44108
2001-07-18Save a function call in common mutex locking/unlocking operationsNicola Pero1-0/+7
From-SVN: r44107
2001-07-18Save a function call on mutex locking/unlockingNicola Pero1-4/+4
From-SVN: r44106
2001-07-18Fixed bug in gthr-posix.h - buggy backend thread functions for objective-cNicola Pero1-0/+10
From-SVN: r44105
2001-07-18Fixed backend function of objc_mutex_trylock which was brokenNicola Pero1-12/+21
From-SVN: r44104
2001-07-18Daily bump.GCC Administrator6-6/+6
From-SVN: r44100
2001-07-18* gcc.dg/iftrap-1.c: Fix target line.Andreas Jaeger2-7/+11
From-SVN: r44099
2001-07-18* integrate.c (output_inline_function): Correct type of debug_hooks.Andreas Jaeger2-2/+6
From-SVN: r44098
2001-07-18combine.c (combine_simplify_rtx): DIV can be treated associatively for ↵Toon Moene2-4/+8
floats if... 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl> * combine.c (combine_simplify_rtx): DIV can be treated associatively for floats if unsafe math optimisations are enabled. From-SVN: r44097
2001-07-17* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.Richard Henderson2-5/+16
From-SVN: r44096
2001-07-17calls.c (prepare_call_address): New parameter SIBCALLP.Richard Henderson4-12/+21
* calls.c (prepare_call_address): New parameter SIBCALLP. If true, don't force the function address into a register. (expand_call, emit_library_call_value_1): Update callers. * builtins.c (expand_builtin_apply): Likewise. * expr.h (prepare_call_address): Update decl. From-SVN: r44095
2001-07-17config.gcc: For *-*-chorusos triplet, get chorus.h file from config directory.Chandra Chavva1-13939/+10
* config.gcc: For *-*-chorusos triplet, get chorus.h file from config directory. * config/i386/chorus.h: Move up. * config/sparc/chorus.h: Likewise. * config/rs6000/chorus.h: Likewise. * config/chorus.h: Moved here From-SVN: r44094
2001-07-17i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused local `_ebp.'Alexandre Petit-Bianco2-1/+5
2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com> * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused local `_ebp.' (http://gcc.gnu.org/ml/java-patches/2001-q3/msg00070.html ) From-SVN: r44093
2001-07-17config.gcc: For *-*-chorusos triplet, get chorus.h file from config directory.Chandra Chavva5-95/+13943
* config.gcc: For *-*-chorusos triplet, get chorus.h file from config directory. * config/i386/chorus.h: Move up. * config/sparc/chorus.h: Likewise. * config/rs6000/chorus.h: Likewise. * config/chorus.h: Moved here. From-SVN: r44092
2001-07-17configure.in (assembler eh_frame optimization): Handle big endian.Andreas Schwab3-11/+29
* configure.in (assembler eh_frame optimization): Handle big endian. * configure: Regenerated. From-SVN: r44091
2001-07-17expr.c (epxand_expr): Convert divisions into multiplications by reciprocals ↵Jan Hubicka2-0/+15
if -ffast-math. * expr.c (epxand_expr): Convert divisions into multiplications by reciprocals if -ffast-math. From-SVN: r44090
2001-07-17dbxout.c (dbxout_really_begin_function): Rename to dbxout_begin_function.Neil Booth15-158/+209
* dbxout.c (dbxout_really_begin_function): Rename to dbxout_begin_function. (dbx_debug_hooks, xcoff_debug_hooks): Update. (dbxout_begin_function): Remove. (dbxout_function): Update. (dbxout_source_line): Update prototype. * dbxout.h (dbxout_begin_function): Remove. * debug.c (do_nothing_debug_hooks): Update. (debug_nothing_tree): Update. (debug_nothing_charstar_rtx): Remove. * debug.h (union tree_node): Declare. (struct rtx_def): Remove. (gcc_debug_hooks): New hooks begin_prologue, end_prologue, begin_function. Change source_line prototype. (debug_nothing_tree): New. (debug_nothing_charstar_rtx): Delete. (dwarf2out_begin_prologue): Moved from ... * tree.h: ... here. * dwarf2out.c (dwarf2_debug_hooks): Update. (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2 debug info, call dwarf2out_source_line. (dwarf2out_souce_line): Update prototype. * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue. Change prototype, make static. (dwarfout_source_line): Update prototype. (dwarf_debug_hooks): Update. * dwarfout.h (dwarfout_begin_function): Remove. * final.c (final_start_function, final_scan_insn): Use appropriate debug hooks, update to use notice_source_line. (output_source_line): Rename notice_source_line. Don't call the source_line debug hook. * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue, make static, update prototype. (sdbout_mark_begin_function): Rename sdbout_begin_function, update prototype. (sdbout_end_prologue): New. (sdbout_source_line): Update prototype. (sdbout_debug_hooks): Update. (sdbout_symbol): Remove unused var. * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function): Delete. * varasm.c: Include debug.h. (assemble_start_function): Use begin_function debug_hook. * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function, update with prototype. (xcoffout_source_line): Update prototype. * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function, update prototype. (xcoffout_source_line): Update prototype. From-SVN: r44087
2001-07-17c-typeck.c (build_binary_op): Do not shorten unsigned right shift after sign ↵Richard Henderson4-13/+34
extension. * c-typeck.c (build_binary_op): Do not shorten unsigned right shift after sign extension. From-SVN: r44080
2001-07-17README: Add notes on naming test cases.Benjamin Kosnik1-4/+6
2001-07-17 Benjamin Kosnik <bkoz@redhat.com> * testsuite/README: Add notes on naming test cases. * testsuite/22_locale/members.cc: Mark as xfail. * testsuite/22_locale/numpunct_char_members.cc: Same. From-SVN: r44076
2001-07-17README: Add notes on naming test cases.Benjamin Kosnik4-4/+43
2001-07-17 Benjamin Kosnik <bkoz@redhat.com> * testsuite/README: Add notes on naming test cases. * testsuite/22_locale/members.cc: Mark as xfail. * testsuite/22_locale/numpunct_char_members.cc: Same. From-SVN: r44074
2001-07-17combine.c (combine_simplify_rtx): Attempt to simplify a*(b/c) as (a*b)/c for ↵Jan Hubicka3-120/+184
floats in unsafe_math mode. * combine.c (combine_simplify_rtx): Attempt to simplify a*(b/c) as (a*b)/c for floats in unsafe_math mode. * simplify-rtx.c (avoid_constatn_pool_reference): New static function. (simplify_binary_operation, simplify_unary_operation, simplify_relational_operation): Use it. * combine.c (combine_simplify_rtx): Don't do associative law on divisions; allow associative law on floats. From-SVN: r44073
2001-07-17c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and ↵H.J. Lu7-26/+55
ASM_OUTPUT_WEAK_ALIAS are defined. * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and ASM_OUTPUT_WEAK_ALIAS are defined. * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible. * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL): Moved ... * config/mips/iris5.h: ... here. (HANDLE_SYSV_PRAGMA): Defined as 1. * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS. * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak symbol. Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> From-SVN: r44072
2001-07-17c-parse.in (all_prefix_attributes): New variable.Joseph Myers6-144/+159
* c-parse.in (all_prefix_attributes): New variable. (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros. (maybe_resetattrs): New production. (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl, maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl, notype_initdcl, nested_function, notype_nested_function, component_decl, components, components_notype, component_declarator, component_notype_declarator, absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl, ivars, mydecl, myparm): Update. Avoid prefix attributes just after a comma being applied to more than one declarator. * doc/extend.texi (Attribute Syntax): Update. Remove documentation of bugs that are no longer present. testsuite: * gcc.c-torture/compile/20010714-1.c, gcc.dg/format/attr-4.c: New tests. From-SVN: r44070
2001-07-17com.c (lang_print_error_function): Argument context is unused.Toon Moene2-1/+7
2001-07-17 Toon Moene <toon@moene.indiv.nluug.nl> * com.c (lang_print_error_function): Argument context is unused. From-SVN: r44069
2001-07-17mips.h: Change TUNE_MIPS* options to use mips_tune.Eric Christopher3-64/+72
2001-07-16 Eric Christopher <echristo@redhat.com> * config/mips/mips.h: Change TUNE_MIPS* options to use mips_tune. (EXTRA_SPECS): Add cc1_cpu_spec. * config/mips/mips.md (muldf3): Fix typo. From-SVN: r44068
2001-07-17Daily bump.GCC Administrator6-6/+6
From-SVN: r44066
2001-07-16m68k.c: Include expr.h and reload.h.Richard Henderson2-10/+12
* config/m68k/m68k.c: Include expr.h and reload.h. (print_operand_address) [16 bit int]: Cast INTVAL to int for %d. [general int]: Use HOST_WIDE_INT_PRINT_DEC. From-SVN: r44065
2001-07-16cse.c (set_live_p): Take INSN argument for cc0; update callers.Daniel Berlin2-21/+30
* cse.c (set_live_p): Take INSN argument for cc0; update callers. (insn_live_p): Fix fall off end of function. (dead_libcall_p): Remove COUNTS argument; update callers. (delete_trivially_dead_insns): Remove unused variables. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r44064