aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-23re PR libstdc++/3066 (configure.in generates bad arguments for cross ↵Benjamin Kosnik6-1629/+1657
compiling libraries) 2003-05-22 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/3066. * configure.in: Switch target to host, don't assume newlib. (target_alias): Remove. * configure: Regenerate. * acinclude.m4: Same. * aclocal.m4: Regenerate. * configure.target: Same. Rename to... * configure.host: This. From-SVN: r67110
2003-05-22Fix a loose end of a sentence in the way rth suggested.Wolfgang Bangerth1-1/+1
From-SVN: r67108
2003-05-22Finish correcting inadvertent checkin.Richard Kenner1-3/+3
From-SVN: r67107
2003-05-23Daily bump.GCC Administrator2-2/+2
From-SVN: r67105
2003-05-22Remove hunk commited in error.Richard Kenner1-1/+1
From-SVN: r67103
2003-05-22std_fstream.h (_S_pback_size): Remove definition.Paolo Carlini13-85/+23
2003-05-22 Paolo Carlini <pcarlini@unitus.it> * include/std/std_fstream.h (_S_pback_size): Remove definition. (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char pback buffer. * include/bits/fstream.tcc (_S_pback_size): Remove declaration. * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation of _S_pback_size for systems with no COMDAT or weak support. * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise. * testsuite/27_io/basic_fstream/3.cc: Likewise. * testsuite/27_io/basic_ifstream/3.cc: Likewise. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise. * testsuite/27_io/basic_ofstream/3.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise. * testsuite/27_io/basic_streambuf/3.cc: Likewise. From-SVN: r67102
2003-05-22config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the default.Mike Stump2-2/+5
* config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the default. From-SVN: r67101
2003-05-22calls.c (expand_call): If the arg block is going to grow downward...DJ Delorie2-1/+12
* calls.c (expand_call): If the arg block is going to grow downward, we need argblock to point to the top of the block, not the bottom. From-SVN: r67099
2003-05-22expr.c (expand_expr, [...]): Put into memory if constant and ↵Richard Kenner2-8/+10
EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER. * expr.c (expand_expr, case CONSTRUCTOR): Put into memory if constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER. From-SVN: r67098
2003-05-22com.c (ffecom_sym_transform_): Error out on unallocatable storage after type ↵Bud Davis2-5/+10
is set. 2003-05-22 Bud Davis <bdavis9659@comcast.net> * com.c (ffecom_sym_transform_): Error out on unallocatable storage after type is set. From-SVN: r67097
2003-05-22* c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.Richard Kenner2-1/+8
From-SVN: r67096
2003-05-22fstream.tcc (_M_underflow): simplify...Paolo Carlini2-11/+9
2003-05-22 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (_M_underflow): simplify: !__testout implies _M_filepos == _M_in_end, therefore the first _M_file.seekoff call is never issued. From-SVN: r67094
2003-05-22m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.Kaveh R. Ghazi4-57/+63
* m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers. * m68k.c: Likewise. * m68k.h: Likewise. From-SVN: r67093
2003-05-22[multiple changes]Benjamin Kosnik3-1262/+1319
2003-05-22 Benjamin Kosnik <bkoz@redhat.com> * configure.in: Sort cross table. * configure: Regenerate. 2003-05-22 Brad Spencer <spencer@infointeractive.com> * configure.in: Add Solaris cross bits. From-SVN: r67091
2003-05-22re PR other/2873 ([3.3 only][fixinclude] Bogus fixinclude of stdio.h from ↵Zack Weinberg3-19/+56
glibc 2.2.3) PR other/2873 * fixinc/inclhack.def (avoid_wchar_t_type): Add bypass expressions to prevent triggering on recent curses.h, linux/nls.h, or X11/Xlib.h. (stdio_va_list): Add _G_va_list to bypass pattern. (strict_ansi_not): Add bypass pattern for __SCO_VERSION__. * fixinc/fixincl.x: Regenerate. From-SVN: r67090
2003-05-22* gnat_rm.texi : Remove reference to Ada Core Technologies.Geert Bosch2-3/+7
From-SVN: r67089
2003-05-22sh.h (TARGET_SWITCHES): Display all the target switches when --target-help ↵Rekha Bhintade2-20/+25
option is specified. 2003-05-22 Rekha Bhintade <rekhad@kpitcummins.com> * gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target switches when --target-help option is specified. From-SVN: r67087
2003-05-22re PR bootstrap/10805 ([sun-solaris2.7] relocation error when creating ↵Eric Botcazou2-0/+16
sparcv9/libgcc_s.so.1) PR bootstrap/10805 * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap failure with Sun assembler 5.0 Alpha 03/27/98. From-SVN: r67085
2003-05-22Tweak last commit, adjust ChangeLog to reflect complete delta.Loren J. Rittle2-2/+2
From-SVN: r67083
2003-05-22I'm sure Loren James Little meant 2003-05-21, not 2003-03-21. :-)Ben Elliston1-1/+1
From-SVN: r67082
2003-05-22freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 -D__sparc__ to match ↵Loren J. Rittle2-1/+7
system compiler convention. * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 -D__sparc__ to match system compiler convention. From-SVN: r67080
2003-05-21configure.in: Use curly braces in the definition of tooldir.Maciej W. Rozycki3-2/+7
* configure.in: Use curly braces in the definition of tooldir. * configure: Regenerate. From-SVN: r67078
2003-05-21Makefile.tpl (configure-target-libiberty): Depend only on gcc, not newlib or ↵DJ Delorie3-2/+8
libgloss. * Makefile.tpl (configure-target-libiberty): Depend only on gcc, not newlib or libgloss. * Makefile.in: Regenerate. From-SVN: r67077
2003-05-22Daily bump.GCC Administrator2-2/+2
From-SVN: r67075
2003-05-21init.c (build_vec_delete): Copy the address into a temporary variable before ↵Jason Merrill3-7/+22
calling build_vec_delete_1. * init.c (build_vec_delete): Copy the address into a temporary variable before calling build_vec_delete_1. * decl2.c (delete_sanity): Don't call stabilize_reference. From-SVN: r67072
2003-05-21scalar-return-1_main.c: New file.Janis Johnson13-13/+996
2003-05-21 Janis Johnson <janis187@us.ibm.com> * gcc.dg/compat/scalar-return-1_main.c: New file. * gcc.dg/compat/scalar-return-1_x.c: New file. * gcc.dg/compat/scalar-return-1_y.c: New file. * gcc.dg/compat/scalar-return-2_main.c: New file. * gcc.dg/compat/scalar-return-2_x.c: New file. * gcc.dg/compat/scalar-return-2_y.c: New file. * gcc.dg/compat/struct-return-3_main.c: New file. * gcc.dg/compat/struct-return-3_y.c: New file. * gcc.dg/compat/struct-return-3_x.c: New file. * gcc.dg/compat/struct-return-2_main.c: New file. * gcc.dg/compat/struct-return-2_x.c: New file. * gcc.dg/compat/struct-return-2_y.c: New file. (I thought I had committed these yesterday) From-SVN: r67070
2003-05-21gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if ↵Danny Smith4-3/+27
defined. * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if defined. * libstdc++-v3/config/os/mingw32/os_defines.h (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt. (NOMINMAX): Define. From-SVN: r67069
2003-05-21re PR target/6428 ([hppa*-hp-hpux] gmon.out is not generated when ↵John David Anglin8-20/+76
application to be profiled is linked with shared libgcc) PR target/6428 * pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling directories from LIB_SPEC to LINK_SPEC. Emit warning if `-p' or `-pg' option is used without `-static'. * pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise. * pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise. * g++.old-deja/g++.law/profile1.C (dg-options): Add -static to options for hppa*-hp-hpux*. * gcc.dg/20021014-1.c (dg-options): Likewise. * gcc.dg/nest.c (dg-options): Likewise. From-SVN: r67068
2003-05-21xtensa.h (MASK_SERIALIZE_VOLATILE, [...]): Delete.Bob Wilson5-24/+21
* config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE, TARGET_SERIALIZE_VOLATILE): Delete. (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits. (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE. (TARGET_SWITCHES): Remove "-mserialize-volatile" and "-mno-serialize-volatile". * config/xtensa/xtensa.c (print_operand): Remove checks of TARGET_SERIALIZE_VOLATILE. * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise. * doc/invoke.texi (Option Summary, Xtensa Options): Remove "-mserialize-volatile" and "-mno-serialize-volatile" options. From-SVN: r67067
2003-05-21Makefile.tpl: Add missing empty maybe-check-gcc target.DJ Delorie3-0/+7
* Makefile.tpl: Add missing empty maybe-check-gcc target. * Makefile.in: Regenerate. From-SVN: r67066
2003-05-21std_fstream.h (_M_set_buffer): Fix indentation.Paolo Carlini2-11/+15
2003-05-21 Paolo Carlini <pcarlini@unitus.it> * include/std/std_fstream.h (_M_set_buffer): Fix indentation. From-SVN: r67065
2003-05-21c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.Nathan Sidwell4-29/+54
* c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier. (nested_function): Likewise. (notype_nested_function): Likewise. cp: * pt.c (register_specialization): Update the decl's location, if necessary. (check_explicit_specialization): Likewise. From-SVN: r67063
2003-05-21Update overflow type for R_XSTORMY16_16 reloc.Nick Clifton2-1/+6
From-SVN: r67062
2003-05-21index.html: Fix typo.Jonathan Wakely3-2/+7
2003-05-21 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/faq/index.html: Fix typo. * docs/html/faq/index.txt: Regenerate. From-SVN: r67061
2003-05-21test.html: Fix markup.Jonathan Wakely2-23/+40
2003-05-21 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/test.html: Fix markup. From-SVN: r67060
2003-05-21remove conflict markerNathan Sidwell1-1/+0
From-SVN: r67059
2003-05-21c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.Nathan Sidwell7-203/+33
* c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED. * c-parse.in (reswords): Remove __bounded__ and __unbounded__. (rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots. * print-tree.c (print_node): Remove ambient-boundedness. * tree.h (tree_common): Remove bounded_flag. (BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P, BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P, MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P, TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P, TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED): Remove. (TYPE_QUALS): Remove BOUNDED. (TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove. (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT, TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH, TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT, VA_LIST_POINTER_DEPTH): Remove. (struct tree_type): Remove pointer_depth. treelang: * treetree.c (reswords): Remove __bounded__, __unbounded__. From-SVN: r67058
2003-05-20invoke.texi (Option Summary, [...]): Document new options.Kevin B. Hendricks2-0/+13
* doc/invoke.texi (Option Summary, PowerPC Options): Document new options. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r67056
2003-05-21c-pretty-print.c (pp_c_integer_literal): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX.Kaveh R. Ghazi4-15/+14
gcc: * c-pretty-print.c (pp_c_integer_literal): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX. cp: * error.c (dump_expr): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX. From-SVN: r67055
2003-05-21gcse.c (cprop_jump): Make use of REG_EQUAL notes on both setcc and jump, if ↵Roger Sayle3-15/+93
they exist. * gcse.c (cprop_jump): Make use of REG_EQUAL notes on both setcc and jump, if they exist. If substituted instruction fails to validate, store current effort in a REG_EQUAL note. (cprop_insn): Don't attempt further substitutions if the current instruction has been deleted. (local_cprop_pass): Likewise. * jump.c (redirect_jump): Also update REG_EQUAL note, if one is attached to the jump instruction. (invert_jump): Delete REG_EQUAL note on jump, if one exists. Co-Authored-By: Joern Rennecke <joern.rennecke@superh.com> Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu> From-SVN: r67054
2003-05-21* MAINTAINERS: Update my e-mail address.Ian Lance Taylor2-1/+5
From-SVN: r67053
2003-05-21stubs.c (hypot, [...]): Don't divide by zero.Danny Smith2-1/+13
* libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by zero. Update copyright year. From-SVN: r67051
2003-05-21Concatenate one of the fprintf calls in the previous change.Kaveh Ghazi1-3/+2
From-SVN: r67050
2003-05-21re PR c++/9738 ([mingw] Internal compiler error in rest_of_compilation, at ↵Danny Smith7-4/+70
toplev.c: 3491) PR c++/9738 * config/i386/winnt.c (i386_pe_encode_section_info): Enable even if not first. * cp/decl.c (duplicate_decls): Re-invoke make_decl_rtl if the old decl had instantiated DECL_RTL. (Base on Richard Henderson 2003-05-13 patch to c-decl.c). * testsuite/g++.dg/ext/dllimport2.C: New file. * testsuite/g++.dg/ext/dllimport3.C: New file. From-SVN: r67049
2003-05-21Daily bump.GCC Administrator2-2/+2
From-SVN: r67047
2003-05-21genautomata.c (output_description, [...]): Add missing specifiers.Kaveh R. Ghazi2-3/+8
* genautomata.c (output_description, output_automaton_units, output_state_arcs): Add missing specifiers. From-SVN: r67045
2003-05-20lib1funcs.asm: Avoid use of .Lfe* in .size directives.Bob Wilson6-132/+198
* config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives. (do_abs, do_addx2, do_addx4, do_addx8): New assembler macros. (__mulsi3): Use do_addx* instead of ADDX* instructions. Formatting. (nsau): Rename to do_nsau. Provide alternate version for use when the NSAU instruction is available. (__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro. (__divsi3, __modsi3): Use do_abs macro instead of ABS instruction. * config/xtensa/xtensa-config.h: Update comments to match binutils. (XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define. * config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define. (TARGET_ABS, TARGET_ADDX): Define. (TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX. (TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx". * config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4, *subx8): Set predicate condition to TARGET_ADDX. (abssi2): Set predicate condition to TARGET_ABS. * doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs", "-maddx", and "-mno-addx" options. (Xtensa Options): Likewise. Also tag some opcode names with @code. From-SVN: r67044
2003-05-204.cc: Fix typo.Paolo Carlini2-2/+6
2003-05-20 Paolo Carlini <pcarlini@unitus.it> * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo. From-SVN: r67043
2003-05-205.cc: New file, further testing that upon filebuf::close() 27.8.1.1,3 is ↵Paolo Carlini2-0/+112
enforced. 2003-05-20 Paolo Carlini <pcarlini@unitus.it> * testsuite/27_io/basic_filebuf/close/char/5.cc: New file, further testing that upon filebuf::close() 27.8.1.1,3 is enforced. From-SVN: r67042
2003-05-20stl_alloc.h (__default_alloc_template::_S_chunk_alloc): Cast via void* to ↵Gerald Pfeifer2-5/+11
avoid -Wcast-align warnings. * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc): Cast via void* to avoid -Wcast-align warnings. (__default_alloc_template::_S_refill): Likewise. From-SVN: r67041