aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-05-21combine.c (simplify_comparison): Update op1 after constant extension.Richard Henderson4-14/+26
* combine.c (simplify_comparison): Update op1 after constant extension. * recog.c (const_int_operand): Accept only constants valid for the given mode. * genrecog.c: Update comments wrt const_int_operand. From-SVN: r42427
2001-05-22* gcc_build: Use -d when invoking gcc_update.Mark Mitchell2-2/+6
From-SVN: r42426
2001-05-21Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).Per Bothner2-5/+11
* Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files). (libgcj_la_LIBADD): Likewise. (libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD): Add $(x_nat_files). From-SVN: r42424
2001-05-21emit-rtl.c (init_emit_once): Zero unused memory in a CONST_DOUBLE.Richard Henderson2-1/+13
* emit-rtl.c (init_emit_once): Zero unused memory in a CONST_DOUBLE. From-SVN: r42423
2001-05-22std_cstring.h (memchr): Define "C" functions to __glibcpp_memchr.Benjamin Kosnik3-67/+73
2001-05-21 Stephen M. Webb <stephen@bregmasoft.com> * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to __glibcpp_memchr. (strchr): Same, but to __glibcpp_strchr. (strpbrk): Same. (strrchr): Same. (strstr): Same. * include/c_std/bits/std_cwchar.h (wcschr): Same. (wcsbrk): Same. (wcsrchr): Same. (wcsstr): Same. (wmemchr): Same. From-SVN: r42421
2001-05-22c_strings.cc (main): Fix.Benjamin Kosnik1-4/+4
2001-05-21 Benjamin Kosnik <bkoz@kredhat.com> * testsuite/21_strings/c_strings.cc (main): Fix. From-SVN: r42420
2001-05-21javaprims.h (_Jv_FormatInt): New declaration.Per Bothner10-40/+98
* gcj/javaprims.h (_Jv_FormatInt): New declaration. * java/lang/natString.cc (_JvFormatInt): New primitive, with logic taken from old Integer.toString code. (Integer::valueOf): Use _Jv_FormatInt. * java/lang/Integer.java (toString): Just use call String.valueOf. * java/lang/Long.java (toString): Fix typo in comment. * java/lang/String.java (valueOf(int)): Make native. * java/lang/StringBuffer.java (append(int)): Make native. * java/lang/natStringBuffer.cc: New file, for append(jint). * Makefile.am (ant_source_files): Add java/lang/natStringBuffer.cc. From-SVN: r42419
2001-05-22tree.h (type_num_arguments): Declare it.Mark Mitchell3-0/+28
* tree.h (type_num_arguments): Declare it. * tree.c (type_num_arguments): New function. From-SVN: r42418
2001-05-21* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.Jason Merrill2-2/+5
From-SVN: r42415
2001-05-21lose START_CATCH_STMTJason Merrill1-9/+9
From-SVN: r42414
2001-05-22call.c (build_op_delete_call): Ignore exception-specifications when looking ↵Mark Mitchell4-17/+112
for matching delete operators. * call.c (build_op_delete_call): Ignore exception-specifications when looking for matching delete operators. * init.c (build_new_1): Compute whether or not the allocation function used is a placement allocation function or not, and communicate this information to build_op_delete_call. From-SVN: r42413
2001-05-21dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef.Richard Henderson2-7/+12
* dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef. From-SVN: r42411
2001-05-21jcf-parse.c (read_class): If class is from .class or .zip file and it's ↵Per Bothner2-10/+19
already been read... * jcf-parse.c (read_class): If class is from .class or .zip file and it's already been read, don't push/pop parser context. From-SVN: r42407
2001-05-21920520-1.x: Merge previous contents into this file.Geoffrey Keating2-0/+7
* gcc.c-torture/compile/920520-1.x: Merge previous contents into this file. From-SVN: r42406
2001-05-21* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.Tom Tromey2-2/+6
From-SVN: r42405
2001-05-21rs6000.md (maxsf3): Use rs6000_emit_minmax.Geoffrey Keating5-205/+297
* config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax. (maxsf3+1): Delete. (minsf3): Use rs6000_emit_minmax. (minsf3+1): Generalize to handle both SMIN and SMAX. Use rs6000_emit_minmax. (movsfcc): Use rs6000_emit_cmove. (fselsfsf4): Don't compare a CONST_INT with a floating-point value. Don't generate emit_fselsfsf4. (fseldfsf4): Likewise. (maxdf3): Use rs6000_emit_minmax. (maxdf3+1): Delete. (mindf3): Use rs6000_emit_minmax. (mindf3+1): Generalize to handle both SMIN and SMAX. Use rs6000_emit_minmax. (movdfcc): Use rs6000_emit_cmove. (fseldfdf4): Don't compare a CONST_INT with a floating-point value. Don't generate emit_fselsfsf4. (fselsfdf4): Likewise. * config/rs6000/rs6000.c (zero_fp_constant): New predicate. (min_max_operator): New predicate. (rs6000_emit_cmove): New function. (rs6000_emit_minmax): New function. * config/rs6000/rs6000-protos.h: Prototype new functions. * config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant and min_max_operator. * config/rs6000/rs6000.c (output_cbranch): Handle all conditional types in the switch statement. From-SVN: r42404
2001-05-21c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for non-register ↵Mark Mitchell4-2/+45
variables. * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for non-register variables. * extend.texi: Document that asm-specifications do not make sense for non-static local variables. From-SVN: r42403
2001-05-21dwarf2-signal.h: New file.Andrew Haley5-283/+378
2001-05-18 Andrew Haley <aph@cambridge.redhat.com> * include/dwarf2-signal.h: New file. * configure.in (SYSDEP_SOURCES): Add dwarf2-signal.h for PPC. * configure.host (EXCEPTIONSPEC): Don't use sjlj on PPC. * configure: Rebuilt. From-SVN: r42400
2001-05-21fix commentJason Merrill1-1/+1
From-SVN: r42396
2001-05-21class.c (build_vtable_entry_ref): Lose vtbl parm.Jason Merrill15-71/+68
* class.c (build_vtable_entry_ref): Lose vtbl parm. Fix for new abi. (build_vtbl_ref): Adjust. (dfs_accumulate_vtbl_inits): Set TREE_CONSTANT on the vtable address. * decl2.c (lang_f_options): Remove huge-objects, vtable-thunks. Re-add vtable-gc. (unsupported_options): Correspondingly. * decl2.c (maybe_make_one_only): Check flag_weak, not supports_one_only(). From-SVN: r42393
2001-05-21class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here.Jason Merrill1-0/+29
* class.c (build_vtable): Set DECL_ASSEMBLER_NAME for vtables here. (get_vtable_decl, build_vtt): Not here. From-SVN: r42392
2001-05-21dbxout.c (MINIMAL_DEBUG, [...]): Lose.Jason Merrill2-176/+57
* dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose. (dbxout_type_fields): Lose minimal_debug support. (dbxout_type_methods, dbxout_type): Likewise. From-SVN: r42391
2001-05-21add vague linkage nodeJason Merrill1-17/+78
From-SVN: r42389
2001-05-21cp-tree.def (START_CATCH_STMT): Lose.Jason Merrill9-79/+52
* cp-tree.def (START_CATCH_STMT): Lose. * dump.c (cp_dump_tree): Don't dump it. Do dump HANDLER_PARMS. * tree.c (cp_statement_code_p): Don't case it. * semantics.c (cp_expand_stmt): Likewise. * except.c (expand_start_catch_block): Don't start any blocks. Return the type. (expand_end_catch_block): Don't end any blocks. * parse.y (handler): Don't pass anything from finish_handler_parms to finish_handler. * pt.c (tsubst_expr): Likewise. * semantics.c (begin_handler): Call note_level_for_catch here. (finish_handler_parms): Don't return anything. (genrtl_catch_block, begin_catch_block): Lose. (genrtl_handler): Call expand_start_catch here. * cp-tree.h (START_CATCH_TYPE): Lose. (HANDLER_TYPE): New. From-SVN: r42388
2001-05-21tweak formattingJason Merrill1-3/+3
From-SVN: r42387
2001-05-21linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.Andrew Haley2-0/+57
2001-05-17 Andrew Haley <aph@redhat.com> * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. From-SVN: r42386
2001-05-21msp.c (A_SIZE): Define according to STACK_SIZE;Stephane Carrez5-4/+43
* gcc.c-torture/unsorted/msp.c (A_SIZE): Define according to STACK_SIZE; * gcc.c-torture/compile/991214-2.c (HISTO_SIZE): Define according to STACK_SIZE; Use it to define size of add_histo array. * gcc.c-torture/compile/920723-1.c (GITT_SIZE): Define according to STACK_SIZE. (f): Use GITT_SIZE to define size of gitt local table. * gcc.c-torture/compile/930621-1.c (BYTEMEM_SIZE): Define according to STACK_SIZE; Use it to define size of bytemem array. From-SVN: r42384
2001-05-2120000804-1.x: New file, this test fails on 68HC11/HC12 due to the asm ↵Stephane Carrez6-1/+53
instruction. * gcc.c-torture/compile/20000804-1.x: New file, this test fails on 68HC11/HC12 due to the asm instruction. * gcc.c-torture/compile/20001205-1.x: New file, ditto. * gcc.c-torture/compile/920520-1.x: Likewise. * gcc.c-torture/compile/20001226-1.x: New file, this test fails on 68HC11/HC12 because the function is larger than 64K. * gcc.c-torture/compile/961203-1.x: New file, this test fails on 68HC11/HC12 because the structure is too large. From-SVN: r42381
2001-05-21configure.in: Update boehm-gc include dir for new GC version.Bryce McKinlay9-324/+313
* configure.in: Update boehm-gc include dir for new GC version. * configure: Rebuilt. * exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and extern "C" wrapper. * boehm.cc: Update includes for new GC version. MAKE_PROC is now GC_MAKE_PROC. mark_proc is now GC_mark_proc. * posix-threads.cc: Only include <gc.h>. Don't need to wrap with extern "C". From-SVN: r42380
2001-05-21Imported version version 6.0alpha7.Bryce McKinlay96-14763/+5688
* README, README.Mac, README.OS2, README.QUICK, README.alpha, README.amiga, README.debugging, README.dj, README.hp, README.linux, README.rs6000, README.sgi, README.solaris2, README.uts, README.win32, SCoptions.amiga, backptr.h, barrett_diagram, dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h, gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h, hpux_irix_threads.c, makefile.depend, nursery.c, solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README, cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h, cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h, include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved files. From-SVN: r42379
2001-05-21Daily bump.GCC Administrator5-5/+5
From-SVN: r42378
2001-05-21dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.Richard Henderson2-4/+9
* dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION. Update all users. From-SVN: r42376
2001-05-21This commit was generated by cvs2svn to compensate for changes in r42373,Bryce McKinlay11-1130/+1852
which included commits to RCS files with non-trunk default branches. From-SVN: r42374
2001-05-21Initial revisionBryce McKinlay41-0/+7939
From-SVN: r42370
2001-05-20dwarf2out.c (DEBUG_ABBREV_SECTION, [...]): Rename from s/DEBUG_//.Richard Henderson5-63/+87
* dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION, DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_STR_SECTION): Rename from s/DEBUG_//. Update all users. * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION, DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION): Likewise. * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION, DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION, DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above. (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New. * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION, DEBUG_PUBNAMES_SECTION): Rename as above. (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New. From-SVN: r42368
2001-05-20New test.Richard Henderson2-0/+16
From-SVN: r42367
2001-05-20optabs.c (emit_cmp_and_jump_insns): Don't swap commutative operands unless ↵Richard Henderson2-3/+11
the operation is commutative. * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative operands unless the operation is commutative. From-SVN: r42366
2001-05-21fold-const.c (tree_expr_nonnegative_p): Detect more non-negative cases.Kaveh R. Ghazi5-0/+107
* fold-const.c (tree_expr_nonnegative_p): Detect more non-negative cases. testsuite: * g++.old-deja/g++.warn/compare1.C: New test. * gcc.dg/compare4.c: New test. From-SVN: r42365
2001-05-21re PR other/930 (Out of date docs for C99 features as extensions)Joseph Myers2-51/+131
* extend.texi: Clarify documentation of extensions included in ISO C99. Prefer C99 terminology and syntax to old GNU terminology and syntax. Add more index entries. Document mixed declarations and code as an extension in C89 mode. Warn about future changes to semantics of inline functions. Fixes PR other/930. From-SVN: r42363
2001-05-20configure.host: Build with -fexceptions.Hans Boehm3-1/+14
* configure.host: Build with -fexceptions. * linux_threads.c: Remember which thread stopped world for From-SVN: r42362
2001-05-20expr.c (expand_expr, [...]): Don't fold constant access if ↵Richard Kenner2-28/+31
EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. * expr.c (expand_expr, case ARRAY_REF): Don't fold constant access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. (expand_expr, case COMPONENT_REF): Do copy if misaligned even if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. From-SVN: r42361
2001-05-20* stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.Richard Kenner2-5/+19
From-SVN: r42360
2001-05-20sched-deps.c (sched_analyze_insn): Force volatile memory reads to be output ↵Richard Henderson2-0/+18
before a branch. * sched-deps.c (sched_analyze_insn): Force volatile memory reads to be output before a branch. From-SVN: r42358
2001-05-20* Makefile.in (dwarf2asm.o): Depend on $(TREE_H).Richard Henderson2-2/+6
From-SVN: r42357
2001-05-20att.h (ASM_SHORT, ASM_LONG): Add trailing \t.Richard Henderson20-103/+100
* config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t. (ASM_DOUBLE): Remove. * config/i386/bsd.h, config/i386/sco5.h: Likewise. * config/i386/sun386.h: Likewise. * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New. (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New. * config/i386/cygwin.h (INT_ASM_OP): Remove. * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise. * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise. * config/i386/netbsd.h, config/i386/openbsd.h: Likewise. * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t. * config/i386/djgpp.h, config/i386/i386.h: Likewise. * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise. * config/i386/sco5.h, config/i386/svr3gas.h: Likewise. * config/i386/sysv4.h, config/i386/vsta.h: Likewise. * config/i386/win32.h: Likewise. From-SVN: r42355
2001-05-20ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.Alexandre Oliva13-1740/+1837
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4. From-SVN: r42351
2001-05-20* invoke.texi: Add more options to summary list.Joseph Myers2-4/+9
From-SVN: r42349
2001-05-20re PR other/567 ("make dvi" fails)Joseph Myers4-8/+16
ch: * Make-lang.in (chill.dvi): Remove bogus dependencies. Don't cd to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS. Don't move chill.dvi after creating it. Fixes PR other/567 and PR other/1018. f: * Make-lang.in (f/g77.dvi): Include $(srcdir) in TEXINPUTS. From-SVN: r42345
2001-05-20re PR c++/2781 (bad code generated for reference call with -O2 (regression ↵Nathan Sidwell4-1/+88
from 2.95)) cp: PR c++/2781 * optimize.c (update_cloned_parm): Copy addressability and other flags. testsuite: * g++.old-deja/g++.other/optimize1.C: New test. From-SVN: r42344
2001-05-20pt.c (determine_specialization): Ignore artificial functions.Kriang Lerdsuwanakij4-0/+21
2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * pt.c (determine_specialization): Ignore artificial functions. 2001-05-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * g++.old-deja/g++.pt/spec41.C: New test. From-SVN: r42342