aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2003-05-20README: Move to...Benjamin Kosnik15-239/+1040
2003-05-20 Benjamin Kosnik <bkoz@redhat.com> * testsuite/README: Move to... * docs/html/test.html: ...here. Add documentation. * docs/html/install.html: Move testing bits out.. * docs/html/documentation.html: Add separate testing link. * testsuite/performance: Add. * testsuite/performance/allocator.cc: New. * testsuite/performance/complex_norm.cc: New. * testsuite/performance/cout_insert_int.cc: New. * testsuite/performance/fstream_seek_write.cc: New. * testsuite/performance/ifstream_getline.cc: New. * testsuite/performance/map_create_fill.cc: New. * testsuite/performance/ofstream_insert_float.cc: New. * testsuite/performance/ofstream_insert_int.cc: New. * testsuite/performance/string_append.cc: New. * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter performance tests. From-SVN: r67040
2003-05-20struct-by-value-3_x.c: Move common pieces to headers.Janis Johnson17-1390/+595
2003-05-20 Janis Johnson <janis187@us.ibm.com> * gcc.dg/compat/struct-by-value-3_x.c: Move common pieces to headers. * gcc.dg/compat/struct-by-value-3_y.c: Ditto. * gcc.dg/compat/struct-by-value-5_x.c: Ditto. * gcc.dg/compat/struct-by-value-5_y.c: Ditto. * gcc.dg/compat/struct-by-value-6_x.c: Ditto. * gcc.dg/compat/struct-by-value-6_y.c: Ditto. * gcc.dg/compat/struct-by-value-7_x.c Ditto. * gcc.dg/compat/struct-by-value-7_y.c Ditto. * gcc.dg/compat/small-struct-defs.h: New file. * gcc.dg/compat/small-struct-init.h: New file. * gcc.dg/compat/small-struct-check.h: New file. * gcc.dg/compat/fp-struct-defs.h: New file. * gcc.dg/compat/fp-struct-check.h: New file. * gcc.dg/compat/fp-struct-init.h: New file. * gcc.dg/compat/fp-struct-test-by-value-y.h: New file. * gcc.dg/compat/fp-struct-test-by-value-x.h: New file. * 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. From-SVN: r67038
2003-05-20doc/extend.texi: Put warning into documentation of attribute regparm.Kevin Ryde2-0/+18
Co-Authored-By: Wolfgang Bangerth <bangerth@dealii.org> From-SVN: r67037
2003-05-20fix whitespaceJason Merrill1-1/+1
From-SVN: r67036
2003-05-20tree.c (expr_last): New fn.Jason Merrill4-4/+23
* tree.c (expr_last): New fn. * tree.h: Declare it. * objc/objc-act (expr_last): Rename to objc_expr_last. From-SVN: r67035
2003-05-20sh.c (sh_register_move_cost): Add clase for moving between FP registers and ↵J"orn Rennecke2-0/+9
MAC registers. * sh.c (sh_register_move_cost): Add clase for moving between FP registers and MAC registers. From-SVN: r67028
2003-05-202003-05-20 Michael Koch <konqueror@gmx.de>Michael Koch3-6/+22
* java/io/DataInputStream.java (convertFromUTF): Merged comment from classpath. * java/io/PrintStream.java (error_occured): Renamed from error, merged comment from classpath. (PrintStream): No need to initialized error. (checkError): Replace error with error_occurred. (setError): Likewise. From-SVN: r66997
2003-05-20gcc_release (upload_files): Put diff files into a "diffs" subdirectoryGerald Pfeifer2-3/+18
* gcc_release (upload_files): Put diff files into a "diffs" subdirectory From-SVN: r66996
2003-05-20DataInputStream.java: Reformatted, Replaced < and & with html entitites in ↵Michael Koch4-147/+167
documentation. 2003-05-20 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation. * java/io/File.java: Reformatted. * java/io/PrintWriter.java: Moved class documentation. From-SVN: r66992
2003-05-20Accidently comitted this during last commit, revert this little change:Michael Koch1-1/+1
-TAR = tar +TAR = gtar From-SVN: r66991
2003-05-20ByteBufferImpl.java, [...]: Moved files to java/nio.Michael Koch26-193/+145
2003-05-20 Michael Koch <konqueror@gmx.de> * gnu/java/nio/ByteBufferImpl.java, gnu/java/nio/CharBufferImpl.java, gnu/java/nio/CharViewBufferImpl.java, gnu/java/nio/DirectByteBufferImpl.java, gnu/java/nio/DoubleBufferImpl.java, gnu/java/nio/DoubleViewBufferImpl.java, gnu/java/nio/FloatBufferImpl.java, gnu/java/nio/FloatViewBufferImpl.java, gnu/java/nio/IntBufferImpl.java, gnu/java/nio/IntViewBufferImpl.java, gnu/java/nio/LongBufferImpl.java, gnu/java/nio/LongViewBufferImpl.java, gnu/java/nio/natDirectByteBufferImpl.cc, gnu/java/nio/ShortBufferImpl.java, gnu/java/nio/ShortViewBufferImpl.java: Moved files to java/nio. * gnu/java/nio/SocketChannelImpl.java * java/nio/ByteBuffer.java, java/nio/CharBuffer.java, java/nio/DoubleBuffer.java, java/nio/FloatBuffer.java, java/nio/IntBuffer.java, java/nio/LongBuffer.java, java/nio/ShortBuffer.java: Dont import anything. * java/nio/ByteBufferImpl.java, java/nio/CharBufferImpl.java, java/nio/CharViewBufferImpl.java, java/nio/DirectByteBufferImpl.java, java/nio/DoubleBufferImpl.java, java/nio/DoubleViewBufferImpl.java, java/nio/FloatBufferImpl.java, java/nio/FloatViewBufferImpl.java, java/nio/IntBufferImpl.java, java/nio/IntViewBufferImpl.java, java/nio/LongBufferImpl.java, java/nio/LongViewBufferImpl.java, java/nio/natDirectByteBufferImpl.cc, java/nio/ShortBufferImpl.java, java/nio/ShortViewBufferImpl.java: Moved from gnu/java/nio. * Makefile.am (ordinary_java_source_files): Moved files from gnu/java/nio to java/nio. (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio to java/nio. * Makefile.in: Regenerated. From-SVN: r66990
2003-05-20re PR libstdc++/10689 (pow(std::complex(0),1/3) returns (nan, nan) instead ↵Gabriel Dos Reis3-4/+29
of 0.) PR libstdc++/10689 * include/std/std_complex.h (pow): Tidy From-SVN: r66989
2003-05-19* config.table: Accept i[345867]86 variant.Kelley Cook2-2/+6
From-SVN: r66986
2003-05-20* pa/milli64.S ($$mulI): Fix typo.John David Anglin2-1/+5
From-SVN: r66985
2003-05-20* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)Matt Kraai10-13/+13
(nonlocal_set_p): Remove initial blank line. * dwarf2out.c (simple_type_size_in_bits): Likewise. * et-forest.c (et_forest_create): Likewise. * explow.c (stabilize): Likewise. * fix-header.c (write_lbrac): Likewise. * graph.c (start_fct, node_data): Likewise. * jump.c (only_sets_cc0_p, sets_cc0_p): Likewise. * rtlanal.c (global_reg_mentioned_p): Likewise. * tree.c (bit_position): Likewise. From-SVN: r66984
2003-05-20configure.in: Switch more things to use maybe dependencies.Nathanael Nerode5-231/+472
2003-05-19 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in: Switch more things to use maybe dependencies. * Makefile.tpl: Switch more things to use maybe dependencies. Factor out common code from autogen IF statements. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r66982
2003-05-20linux64.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.Alexandre Oliva2-1/+8
* config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread. From-SVN: r66981
2003-05-20Daily bump.GCC Administrator2-2/+2
From-SVN: r66979
2003-05-19c-opts.c (c_common_decode_option): Don't accept dollars as identifier ↵Neil Booth3-3/+13
characters in assembly. * c-opts.c (c_common_decode_option): Don't accept dollars as identifier characters in assembly. * doc/cpp.texi: Document this. From-SVN: r66976
2003-05-19rs6000.c (rs6000_stack_info): Do not add vrsave_size twice.Seth Arnold2-1/+6
2003-05-19 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_stack_info): Do not add vrsave_size twice. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r66974
2003-05-19tm.texi (function_arg): Fix typo.Aldy Hernandez2-1/+5
2003-05-19 Aldy Hernandez <aldyh@redhat.com> * doc/tm.texi (function_arg): Fix typo. From-SVN: r66973
2003-05-19Add a new flag...Matt Austern10-1/+79
Add a new flag, -W(no-)invalid-offsetof, to control whether or not the compiler warns about incorrect use of the offsetof macro in C++. By default the warning is on. From-SVN: r66972
2003-05-194.cc: New file, testing that upon filebuf::close() 27.8.1.1,3 is enforced.Paolo Carlini2-0/+77
2003-05-19 Paolo Carlini <pcarlini@unitus.it> * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing that upon filebuf::close() 27.8.1.1,3 is enforced. From-SVN: r66970
2003-05-19configure.in: Accept i[3456789]86 for machine type.Kelley Cook3-58/+63
* configure.in: Accept i[3456789]86 for machine type. * configure: Regenerate. From-SVN: r66969
2003-05-19* acinclude.m4: Accept i[3456789]86 for machine type.Kelley Cook2-1/+5
From-SVN: r66968
2003-05-19rs6000.c (rs6000_alignment_string, [...]): New variables.Kevin B. Hendricks6-3/+75
2003-05-18 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> David Edelsohn <edelsohn@gnu.org> * config/rs6000/rs6000.c (rs6000_alignment_string, rs6000_alignment_flags): New variables. (rs6000_parse_alignment_option): New function. (rs6000_override_options): Call it. * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option. (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New macros. * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED natural alignment if TARGET_NATURAL_ALIGNMENT (ROUND_TYPE_ALIGN): Always use default record alignment if TAGET_NATURAL_ALIGNMENT. * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same (ROUND_TYPE_ALIGN): Same. * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same (ROUND_TYPE_ALIGN): Same. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r66967
2003-05-19c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME of a function ↵J"orn Rennecke2-6/+17
using ASMSPEC, prepend a star. * c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME of a function using ASMSPEC, prepend a star. From-SVN: r66965
2003-05-19tree-inline.c (copy_body_r): Avoid generating &* during inline substitution.Jason Merrill2-14/+44
* tree-inline.c (copy_body_r): Avoid generating &* during inline substitution. From-SVN: r66964
2003-05-19* gcc.dg/20030225-2.c: New test.Jakub Jelinek2-0/+47
From-SVN: r66962
2003-05-19Fix comment-style.Gabriel Dos Reis1-1/+1
From-SVN: r66957
2003-05-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+12
* java/util/Calendar.java (get): Not final anymore since JDK 1.4 (set): Likewise. From-SVN: r66956
2003-05-19CollationKey.java: Merged copyright and dat from classpath.Michael Koch3-2/+95
2003-05-19 Michael Koch <konqueror@gmx.de> * java/text/CollationKey.java: Merged copyright and dat from classpath. * java/text/RuleBasedCollator.java: Merged class documentation from classpath. From-SVN: r66955
2003-05-19(xstormy16_expand_prologue): Do not mark assignments to the hard frame ↵Andrew MacLeod2-19/+38
pointer as being stack frame related. (xstormy16_expand_prologue): Do not mark assignments to the hard frame pointer as being stack frame related. (xstormy16_expand_epilogue): Mark adjustments to the stack pointer as being stack frame related. From-SVN: r66954
2003-05-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+8
* java/nio/CharBuffer.java (toString): Compile fix. From-SVN: r66953
2003-05-19mips.h (ISA_HAS_LOAD_DELAY, [...]): New macros.Richard Sandiford4-17/+95
* config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY, ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros. (PREDICATE_CODES): Add hilo_operand. * config/mips/mips.c (hilo_operand): New predicate. (mips_adjust_insn_length): Account for the number nops that might be needed to avoid hardware hazards. * config/mips/mips.md (dslot): Remove attribute. (hazard): New attribute. (can_delay): Use it. Check for calls, branches & jumps. (muldi3): Use the standard dmult pattern for mips16 code. (muldi3_internal, muldi3_internal2): Adjust conditions accordingly. From-SVN: r66952
2003-05-19mips-protos.h (final_prescan_insn, [...]): Remove.Richard Sandiford6-526/+96
* config/mips/mips-protos.h (final_prescan_insn, mips_count_memory_refs, mips_fill_delay_slot): Remove. * config/mips/mips.h (delay_type, dslots_load_total, dslots_load_filled, dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4): Remove. (MASK_STATS): Remove. (MASK_EXPLICIT_RELOCS): Reuse its value. (TARGET_STATS): Remove. (TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops. Warn that -mstats is now ignored. (FINAL_PRESCAN_INSN): Undefine. (DBR_OUTPUT_SEQEND): Remove handling of dslot statistics. (ASM_OUTPUT_REG_POP): Likewise. * config/mips/mips.c (dslots_load_total, dslots_load_filled, dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4, mips_fill_delay_slot, mips_count_memory_refs, final_prescan_insn): Remove. (output_block_move): Remove calls to mips_count_memory_refs. (print_operand): Remove printing of #nop for TARGET_STATS. (mips_output_function_epilogue): Remove TARGET_STATS code. Reorganize setting of fnnmae. * config/mips/mips.md: Remove handling of dslot statistics throughout file. Change all fcmp patterns into normal asm templates, removing calls to mips_fill_delay_slot. * doc/invoke.texi: Remove documentation of -mstats. From-SVN: r66951