aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-02-27stdexceptions.cc (test03): Fix.Benjamin Kosnik2-3/+7
2001-02-27 Benjamin Kosnik <bkoz@redhat.com> * testsuite/19_diagnostics/stdexceptions.cc (test03): Fix. From-SVN: r40095
2001-02-27* md.texi (min, max): DocumentJan Hubicka2-0/+12
From-SVN: r40094
2001-02-27i386.md (movsf, movdf): Use movaps for reg-reg moves if ↵Jan Hubicka2-9/+23
TARGET_PARTIAL_REG_DEPENDENCY. * i386.md (movsf, movdf): Use movaps for reg-reg moves if TARGET_PARTIAL_REG_DEPENDENCY. (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case. From-SVN: r40093
2001-02-27* i386.md (mins*, maxs*): New patterns, expanders and splitters.Jan Hubicka2-0/+294
From-SVN: r40092
2001-02-27Fix ctor vtable vcall offsets.Nathan Sidwell5-49/+106
cp: Fix ctor vtable vcall offsets. * class.c (struct vtbl_init_data_s): Add rtti_binfo member. (build_rtt_vtbl_entries): Lose RTTI_BINFO parameter. (get_matching_base): Remove. (get_original_base): New function. (build_vtbl_initializer): Initialize vid.rtti_binfo. Use a virtual thunk for a ctor vtable with an index (add_vcall_offset_vtbl_entries_1): Check if binfo has lost a primary base within a constructor vtable. Only set BV_VCALL_INDEX when not a constructor vtable. Adjust vcall offset when primary base has been lost. * cp-tree.h (BINFO_VIRTUALS): Remove ambiguity from comment. testsuite: * g++.old-deja/g++.abi/vtable3.h: Check vcall offsets too. From-SVN: r40090
2001-02-27libgcj.spec.in: Insert %(libgcc) before %(liborig) to fix static linking.Bryce McKinlay2-1/+6
* libgcj.spec.in: Insert %(libgcc) before %(liborig) to fix static linking. From-SVN: r40089
2001-02-27Daily bump.GCC Administrator5-5/+5
From-SVN: r40084
2001-02-27std_stdexcept.h (logic_error::logic_error): Use string object, not reference.Benjamin Kosnik1-4/+4
2001-02-26 Benjamin Kosnik <bkoz@redhat.com> libstdc++/1972 libstdc++/2089 * include/bits/std_stdexcept.h (logic_error::logic_error): Use string object, not reference. (runtime_error::runtime_error): Same. From-SVN: r40082
2001-02-27std_stdexcept.h (logic_error::logic_error): Use string object, not reference.Benjamin Kosnik3-3/+92
2001-02-26 Benjamin Kosnik <bkoz@redhat.com> libstdc++/1972 libstdc++/2089 * include/bits/std_stdexcept.h (logic_error::logic_error): Use string object, not reference. (runtime_error::runtime_error): Same. * testsuite/19_diagnostics/stdexceptions.cc: New file. From-SVN: r40079
2001-02-27mips.c (mips_make_temp_file): Fix thinko in last change.Jeffrey Oldham2-1/+5
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com> * mips.c (mips_make_temp_file): Fix thinko in last change. From-SVN: r40078
2001-02-27combine.c (known_cond): Do not reverse the condition when SMAX/UMAX is being ↵Jason Eckhardt3-1/+31
considered and the... * combine.c (known_cond): Do not reverse the condition when SMAX/UMAX is being considered and the condition is for equality or inequality. * testsuite/gcc.c-torture/execute/20010221-1.c: New test. From-SVN: r40077
2001-02-26acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.Phil Edwards12-802/+735
2001-02-26 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version. (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new diagnostics. Remove WFMT_FLAGS. * configure.in: Replace WFMT_FLAGS with diagnostics options. * libsupc++/Makefile.am: Likewise. * src/Makefile.am: Likewise. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. From-SVN: r40075
2001-02-26Fixes libstdc++/2079Phil Edwards3-0/+32
2001-02-26 Phil Edwards <pme@sources.redhat.com> Fixes libstdc++/2079 * include/backward/iomanip.h: Expose <ios> manipulators to global namespace. * include/backward/iostream.h: Also expose std::ws. From-SVN: r40073
2001-02-26configure.in: Test for ftruncate.Toon Moene4-10/+85
2001-02-26 Toon Moene <toon@moene.indiv.nluug.nl> * libI77/configure.in: Test for ftruncate. * libI77/configure: Rebuilt. * libI77/endfile.c: Use fflush/ftruncate when available. From-SVN: r40072
2001-02-2620010226-1.c: New test.Will Cohen2-0/+21
2001-02-26 Will Cohen <wcohen@redhat.com> * gcc.c-torture/execute/ieee/20010226-1.c: New test. From-SVN: r40071
2001-02-26config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and "armv2-*-linux".Philip Blundell5-103/+16
2001-02-26 Philip Blundell <philb@gnu.org> * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and "armv2-*-linux". * config/arm/linux-elf.h: Remove historical relics related to above configurations. * config/arm/linux-oldld.h: Delete. * config/arm/linux-elf26.h: Delete. From-SVN: r40070
2001-02-26note DECL_INITIAL changeJason Merrill1-1/+7
From-SVN: r40069
2001-02-26call.c (joust): Ensure more_specialized()'s argument length parameter has ↵Jeffrey Oldham2-3/+12
correct value for... 2001-02-26 Jeffrey Oldham <oldham@codesourcery.com> * call.c (joust): Ensure more_specialized()'s argument length parameter has correct value for constructors. From-SVN: r40068
2001-02-26overload15.C: New test to stress overloaded templatized constructors.Jeffrey Oldham2-0/+30
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com> * g++.old-deja/g++.pt/overload15.C: New test to stress overloaded templatized constructors. From-SVN: r40067
2001-02-26c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope ↵Jason Merrill3-19/+28
definitions. * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope definitions. * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to recognize a tentative definition. Lose obsolete code. * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT variables unless necessary, either. From-SVN: r40066
2001-02-26except.c (call_eh_info): Cleanup generation of cp_eh_info struct.Nathan Sidwell3-38/+68
* except.c (call_eh_info): Cleanup generation of cp_eh_info struct. * decl.c (mark_inlined_fns): Prototype. From-SVN: r40065
2001-02-26Daily bump.GCC Administrator5-5/+5
From-SVN: r40064
2001-02-25ifcvt.c (struct noce_if_info): Add test_bb.Richard Henderson3-15/+352
* ifcvt.c (struct noce_if_info): Add test_bb. (noce_get_alt_condition): New. (noce_try_minmax, noce_try_abs): New. (noce_operand_ok): New. (noce_process_if_block): Use them. * rtlanal.c (may_trap_p): NEG and ABS can never trap. From-SVN: r40060
2001-02-25* config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api include.Christopher Faylor2-1/+6
From-SVN: r40059
2001-02-25config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.Zack Weinberg3-4/+12
* config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd. * config/mips/mips.c (mips_make_temp_file): Set temp_filename properly. (mips_asm_file_end): Free temp_filename here. From-SVN: r40058
2001-02-25i386-protos.h (ix86_set_move_mem_attrs): Move decl.Richard Kenner3-3/+6
* config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl. * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo. From-SVN: r40056
2001-02-25* config/i386/i386.md (movstrsi): Handle FAIL case.Richard Kenner2-2/+9
From-SVN: r40054
2001-02-25cppinit.c (builtin_array): Update.Neil Booth5-37/+55
* cppinit.c (builtin_array): Update. (init_builtins): Flag builtins to warn if redefined or undefined. Define __GXX_WEAK as a normal macro. * cpplib.c (do_undef): Warn if flagged NODE_WARN. * cpplib.h (NODE_WARN): New flag. * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__. Handle __STDC__ as a builtin only on Solaris. (warn_of_redefinition): Renamed from check_macro_definition. Reverse sense of test. Always warn if NODE_WARN. (_cpp_create_definition): Use warn_of_redefinition. Flag any macro beginning with "__STDC_" to require a mandatory warning if redefined or undefined. From-SVN: r40053
2001-02-25mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.Greg Freemyer2-2/+6
2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com> * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko. From-SVN: r40051
2001-02-25Daily bump.GCC Administrator5-5/+5
From-SVN: r40049
2001-02-25xm-interix.h, [...]: Don't define any of...Zack Weinberg35-408/+75
* xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h, i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h, i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h, i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h, m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h, mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h: Don't define any of: USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H, P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS, NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex, index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK, STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN. * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h, fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro definitions. * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h: Delete now-empty file. * alpha/vms.h: Define NEED_ATEXIT here... * alpha/xm-vms.h: ...not here. * i386/cygwin.h: Don't define PARAMS. * mips/mips.c: Don't prototype mktemp. Don't define P_tmpdir. Use make_temp_file to create temporary files. Don't be clever and delete temporary files early. * f/com.c: Don't define STDC_HEADERS, autoconf handles it. * config.gcc: Drop references to deleted files. Don't define FULL_PROTOTYPES. * gcc.texi: Don't mention USE_PROTOTYPES. From-SVN: r40048
2001-02-24i386.c (ix86_set_move_mem_attrs): New function.Richard Kenner4-4/+69
* config/i386/i386.c (ix86_set_move_mem_attrs): New function. (ix86_set_move_mem_attrs_1): Likewise. * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration. * config/i386/i386.md (movstrsi): Call it. From-SVN: r40046
2001-02-25config.gcc: Expunge references to alpha/t-pe...Zack Weinberg1-27/+51
* config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd, x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv, ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas, rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete. (i750a-*-*): Error here if hosting on i750a. (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely. * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h: Remove (empty modulo comments). * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h, alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h, i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h, i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs, mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas, rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete) * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h: Remove reference to winnt.h in comment. * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null. From-SVN: r40045
2001-02-25config.gcc: Expunge references to alpha/t-pe...Zack Weinberg28-762/+15
* config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd, x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv, ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas, rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete. (i750a-*-*): Error here if hosting on i750a. (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely. * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h: Remove (empty modulo comments). * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h, alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h, i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h, i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs, mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas, rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete) * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h: Remove reference to winnt.h in comment. * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null. From-SVN: r40044
2001-02-2520010224-1.c: New test.Franz Sirl2-0/+48
2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20010224-1.c: New test. From-SVN: r40043
2001-02-25loop.c (check_dbra_loop): A biv has uses besides counting if it is used to ↵Franz Sirl2-0/+14
set another biv. 2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * loop.c (check_dbra_loop): A biv has uses besides counting if it is used to set another biv. From-SVN: r40042
2001-02-24tree.h (BLOCK_DEAD): New macro.Richard Kenner6-22/+45
* tree.h (BLOCK_DEAD): New macro. (struct tree_block): New flag, dead_flag. * print-tree.c (print_node, case 'b'): Print missing fields. * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD. * function.c (identify_blocks): Enable test for misplaced notes. (all_blocks): Skip BLOCK_DEAD blocks. * integrate.c (integrate_decl_tree): Likewise. From-SVN: r40039
2001-02-24errors.c (internal_error, [...]): New functions.Richard Kenner3-7/+67
* errors.c (internal_error, trim_filename): New functions. (fancy_abort): Call internal_error. * errors.h (internal_error, trim_filename): New declarations. From-SVN: r40037
2001-02-24Kill stray blank linesZack Weinberg13-15/+1
From-SVN: r40036
2001-02-24Daily bump.GCC Administrator5-5/+5
From-SVN: r40034
2001-02-24sendmsg.c (__objc_forward): Delete strlen() declaration.Rainer Orth2-1/+4
Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * sendmsg.c (__objc_forward): Delete strlen() declaration. From-SVN: r40033
2001-02-24mn10300.h (DBX_REGISTER_NUMBER): Reverted 2000-08-26's patch.Alexandre Oliva2-7/+10
* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted 2000-08-26's patch. (EXTRA_CONSTRAINT): Formatting changes. From-SVN: r40031
2001-02-23Change to sometimes include class name in ClassFormatError message.Per Bothner4-55/+115
From-SVN: r40030
2001-02-24* rtl.c (rtl_check_failed_code2): Fix typo in last change.Kaveh R. Ghazi2-1/+5
From-SVN: r40029
2001-02-23Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select ↵Per Bothner2-1/+6
java-style output. * java/lang/Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select java-style output. From-SVN: r40027
2001-02-23Handle compiling multiple input files at once, and @FILE syntax.Per Bothner3-4/+42
* gcj.texi: Updated documentation to match. and parse.h inadvertently left out from previous check-in. From-SVN: r40026
2001-02-23Handle compiling multiple input files at once, and @FILE syntax. See ChangeLog.Per Bothner8-86/+208
From-SVN: r40024
2001-02-23gcc.c (record_temp_file, [...]): Make non-static, so they can be called from ↵Per Bothner3-7/+12
java/jvspec.c. * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static, so they can be called from java/jvspec.c. * gcc.h (record_temp_file, pfatal_with_name, error): Declare. From-SVN: r40023
2001-02-24i386.c (ix86_frame): New structure.Jan Hubicka2-133/+161
* i386.c (ix86_frame): New structure. (ix86_compute_frame_size): Kill. (ix86_compute_frame_layout): New. (ix86_save_reg): New. (ix86_can_use_return_insn_p): Use frame layout stuff. (ix86_expand_prologue): Likewise. (ix86_expand_epilogue): Likewise. (ix86_initial_elimination_offset): Likewise. (ix86_nsaved_regs): Use ix86_save_reg. (ix86_emit_save_regs): Likewise. From-SVN: r40022
2001-02-24flow.c (find_sub_basic_blocks): New function.Jan Hubicka2-5/+130
* flow.c (find_sub_basic_blocks): New function. (split_block): Be ready for basic block introduced by CODE_LABEL. (commit_one_edge_insertion): Call find_sub_basic_block. * flow.c (make_edges): Add edge from entry for blocks starting with label having ALTERNATE_NAME From-SVN: r40021