aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-21PR c++/8316, c++/9315, c++/10136Jason Merrill3-23/+23
PR c++/8316, c++/9315, c++/10136 * call.c (print_z_candidate): Split out from... (print_z_candidiates): ...here. (joust): Use it. From-SVN: r64650
2003-03-21re PR c++/9420 (incomplete type incorrectly reported)Jason Merrill1-0/+23
PR c++/9420 * search.c (lookup_conversions): Call complete_type here. * call.c (implicit_conversion): Not here. From-SVN: r64649
2003-03-21re PR c++/7050 (g++ segfaults on: (i ? get_string() : throw))Jason Merrill1-0/+64
PR c++/7050 * expr.c (store_expr): Don't attempt to store void-typed trees, just evaluate them for side effects. From-SVN: r64646
2003-03-21decl2.c (arg_assoc_class): Correct check for namespace-scope friends.Mark Mitchell5-7/+25
* cp/decl2.c (arg_assoc_class): Correct check for namespace-scope friends. * cp/pt.c (instantiate_class_template): Fix formatting. * g++.dg/template/friend17.C: New test. From-SVN: r64645
2003-03-21stormy16.c (xstormy16_expand_arith): Make sure we always emit at least one insn.DJ Delorie2-0/+10
* config/stormy16/stormy16.c (xstormy16_expand_arith): Make sure we always emit at least one insn. From-SVN: r64644
2003-03-21config.gcc (i[34567]86-*-cygwin*): Use new common makefile stub t-cygming.Christopher Faylor10-459/+741
2003-03-21 Christopher Faylor <cgf@redhat.com> * config.gcc (i[34567]86-*-cygwin*): Use new common makefile stub t-cygming. Use common target header cygming.h. Add extra c_target_obj and cxx_target_obj file. Default cygwin to posix threading. Enforce i386 as float format. (i[34567]86-*-mingw*): Use new common makefile stub t-cygming. Remove cygwin.h as target header. Use common target header cygming.h Enforce i386 as float format. Correct typo. * config/i386/cygming.h: New file, containing definitions common to mingw32 and cygwin. * config/i386/cygwin.h: Remove definitions common to cygwin and mingw. Simplify special spec logic. Define "wrappers" around certain include path defines to accommodate -mno-cygwin. Remove some #if 0'ed code. (STANDARD_INCLUDE_DIR) Always define when not cross-compiling. (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin. (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan. * config/i386/mingw32.h: Remove definitions common to cygwin and mingw. (EXTRA_OS_CPP_BUILTINS): Adjust. (TARGET_VERSION): Define. * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override mingw32.h definitions. (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h. * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o. Add compilation rules for cygwin1.o cygwin2.o. * config/i386/cygwin1.c: New file. * config/i386/cygwin2.c: New file. * config/i386/t-cygming: New makefile stub. From-SVN: r64643
2003-03-21Daily bump.GCC Administrator2-2/+2
From-SVN: r64642
2003-03-21New test.Alan Modra2-0/+48
From-SVN: r64635
2003-03-20fold-const.c (extract_muldiv_1): Revert changing order of operands in case ↵Richard Henderson2-8/+5
MULT_EXPR of 2003-02-16 patch. * fold-const.c (extract_muldiv_1): Revert changing order of operands in case MULT_EXPR of 2003-02-16 patch. From-SVN: r64632
2003-03-20Somehow the indentation got screwed when i patched the commit tree on a PC ↵Daniel Berlin1-3/+3
with a patch from a mac. From-SVN: r64630
2003-03-202003-03-20 Daniel Berlin <dberlin@dberlin.org>Daniel Berlin3-6/+48
Merge changes from new-regalloc-branch From Michael Matz <matz@suse.de> * df.c (df_ref_record_1): Move init of loc to safe point. Only recurse on interesting things in parallels. Handle CLASS_CANNOT_CHANGE_MODE smarter. (df_uses_record): Ditto. * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which it's already okay to use memory operands in (IE doesn't require adding another insn or anything). From-SVN: r64629
2003-03-20re PR middle-end/6348 (internal error in allocate_dynamic_stack_space with ↵Richard Henderson2-1/+7
STACK_SIZE_MODE non-default) PR middle-end/6348 * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE different from word_mode. From-SVN: r64628
2003-03-20h8300.md (*insv_si_1_n_lshiftrt): Restrict the source operand to those that ↵Kazu Hirata2-1/+7
can be extracted with bld. * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the source operand to those that can be extracted with bld. From-SVN: r64627
2003-03-20re PR target/10066 ([arm-linux] libjava build error on arm-linux)Richard Earnshaw2-3/+18
PR 10066 * arm.md (UNSPEC_PIC_BASE): New constant. (pic_add_dot_plus_four): Wrap with unspec. (pic_add_dot_plus_eight): Likewise. From-SVN: r64626
2003-03-20cp-tree.h (unemitted_tinfo_decls): Declaration of a new varray.Matt Austern4-12/+64
* cp-tree.h (unemitted_tinfo_decls): Declaration of a new varray. (unemitted_tinfo_decl_p): Remove. (emit_tinfo_decl): Change declaration to remove unused parameter. * decl2.c (finish_file): Change tinfo emission to loop through unemitted_tinfo_decls array instead of looping through all decls. * rtti.c (unemitted_tinfo_decl_p): Declare as static, remove unused second parameter. (init_rtti_processing): initialize unemitted_tinfo_decls varray. (get_tinfo_decls): push new tinfo decl on unemitted_tinfo_decls. (emit_tinfo_decl): remove unused second parameter, add assertion that decl hasn't already been emitted. From-SVN: r64621
2003-03-20h8300.md (*insv_si_1_n): New.Kazu Hirata2-0/+30
* config/h8300/h8300.md (*insv_si_1_n): New. (*insv_si_1_n_lshiftrt): Likewise. From-SVN: r64620
2003-03-20fold-const.c (fold_mathfn_compare): New function to simplify comparisons ↵Roger Sayle4-14/+260
against built-in math functions. * fold-const.c (fold_mathfn_compare): New function to simplify comparisons against built-in math functions. Fold comparisons of sqrt against constants. (fold): Call fold_mathfn_compare when appropriate. * gcc.dg/builtins-6.c: New test case. From-SVN: r64619
2003-03-20ifcvt.c (find_if_case_1): If we add a new bb, update the dominance information.Richard Earnshaw2-0/+7
* ifcvt.c (find_if_case_1): If we add a new bb, update the dominance information. From-SVN: r64618
2003-03-20Various cleanups to help compile server.Per Bothner6-32/+49
* cppinit.c (cpp_create_reader): Take extra hash_table* argument, and pass that to _cpp_init_hashtable. (cpp_read_main_file): Drop hash_table* argument; don't call _cpp_init_hashtable. * cpplib.h: Update declarations to match. * c-opts.c (c_common_init_options): Pass ident_hash to cpp_create_reader. (c_common_post_options): Don't pass ident_hash to cpp_read_main_file. * fix-header.c (read_scan_file): Likewise pass NULL table to cpp_create_reader rather than cpp_read_main_file. * cppfiles.c (cpp_rename_file): Generalized and renamed to cpp_change_file. * cpplib.h: Update declaration to match. * c-opts.c (push_command_line_line, finish_options): Change cpp_rename_file calls to cpp_change_file. From-SVN: r64617
2003-03-20Various cleanups to help compile server.Per Bothner3-9/+24
* line-map.c (add_line_map): Allow leaving the outermost file. Allowing entering an outermost-file after the initial time. * toplev.c (pop_srcloc): Allow popping from initial file. From-SVN: r64616
2003-03-20* fold-const.c (fold): Fold A - (A & B) into ~B & A.Kazu Hirata2-0/+20
From-SVN: r64615
2003-03-20* config/h8300/h8300.md (a peephole2): New.Kazu Hirata2-0/+24
From-SVN: r64614
2003-03-202003-03-20 Michael Koch <konqueror@gmx.de>Michael Koch5-108/+170
* gnu/java/nio/FileChannelImpl.java (address): Removed. (map_address): New member variable. (length): Make it package private. (fd): Make it package private. (buf): Make it package private. (file_obj): Make it package private. (FileChannelImpl): New constructor. (nio_mmap_file): Use RawData instead of long. (nio_munmap_file): Use RawData instead of long. (nio_msync): Use RawData instead of long. (implCloseChannel): New implementation using map_address. (read): Reformated. (map): Implemented. (create_direct_mapped_buffer): Implemented, use RawData, throws IOException. (force): Use map_address instead of address. * gnu/java/nio/MappedByteFileBuffer.java (address): Removed. (map_address): New member variable. (MappedByteFileBuffer): Use map_address instead of address, reformated. (several methods): Use map_address instead of address, replaced long with RawData where appropriate. * gnu/java/nio/natFileChannelImpl.cc (nio_mmap_file): Replaced long with RawData. (nio_munmap_file): Replaced long with RawData. (nio_msync): Replaced long with RawData. * gnu/java/nio/natMappedByteFileBuffer.cc (several methods): Replaced long with RawData where appropriate. From-SVN: r64612
2003-03-20InetAddress.java, [...]: Merged copyright statements with classpath for ↵Michael Koch6-39/+189
easier merging. 2003-03-20 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java, java/net/JarURLConnection.java, java/net/PlainDatagramSocketImpl.java, java/net/PlainSocketImpl.java, java/net/URLConnection.java: Merged copyright statements with classpath for easier merging. From-SVN: r64611
2003-03-202003-03-20 Michael Koch <konqueror@gmx.de>Michael Koch4-7/+50
* java/io/FileInputStream.java (getChannel): New implementation. * java/io/FileOutputStream.java (ch): New member variable. (getChannel): Implemented. * java/io/RandomAccessFile.java (RandomAccessFile): Throws FileNotFoundException instead of IOException. (getChannel): New method. (ch): New member variable. From-SVN: r64609
2003-03-20DataOutputStream.java, [...]: Merged copyright statements with classpath for ↵Michael Koch10-63/+330
easier merging. 2003-03-20 Michael Koch <konqueror@gmx.de> * java/io/DataOutputStream.java, java/io/File.java, java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/InputStreamReader.java, java/io/LineNumberReader.java, java/io/OutputStreamWriter.java, java/io/PrintStream.java, java/io/RandomAccessFile.java: Merged copyright statements with classpath for easier merging. From-SVN: r64608
2003-03-20h8300.md (*addsi3_and_r_1): New.Kazu Hirata2-0/+51
* config/h8300/h8300.md (*addsi3_and_r_1): New. (*addsi3_and_not_r_1): Likewise. From-SVN: r64607
2003-03-20Makefile.in (STRICT2_WARN): Add @WERROR@.Loren J. Rittle7-7/+23
* Makefile.in (STRICT2_WARN): Add @WERROR@. (GCC_WARN_CFLAGS): Remove $(WERROR). (fixinc.sh-warn): New. * ada/Make-lang.in (ada-warn): Add $(WERROR). * cp/Make-lang.in (cp-warn): Add $(WERROR). * f/Make-lang.in (f-warn): Add $(WERROR). * java/Make-lang.in (java-warn): Add $(WERROR). * treelang/Make-lang.in (treelang-warn): Add $(WERROR). From-SVN: r64606
2003-03-20atomicity.h (__exchange_and_add, [...]): Only .set mips2 for the o32 ABI.Alexandre Oliva2-1/+10
* config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add): Only .set mips2 for the o32 ABI. From-SVN: r64604
2003-03-20Daily bump.GCC Administrator2-2/+2
From-SVN: r64603
2003-03-19c-common.h (c_dump_tree), [...]): Change return type from 'int' to 'bool'.Nathanael Nerode11-27/+46
(gcc) * c-common.h (c_dump_tree), c-dump.c (c_dump_tree), langhooks-def.h (lhd_tree_dump_dump_tree), langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree): Change return type from 'int' to 'bool'. Replace 0 and 1 with true and false in return statements. (cp) * dump.c (cp_dump_tree), cp-tree.h (cp_dump_tree): Change return type from 'int' to 'bool'. Replace 0 and 1 with true and false in return statements. (java) * lang.c (java_dump_tree): Change return type from 'int' to 'bool'. Replace 0 and 1 with true and false in return statements. From-SVN: r64596
2003-03-19tree.c (substitute_in_expr, case 'e'): Only make recursive call on an ↵Richard Kenner1-5/+18
operand if it has a PLACEHOLDER_EXPR. * tree.c (substitute_in_expr, case 'e'): Only make recursive call on an operand if it has a PLACEHOLDER_EXPR. From-SVN: r64595
2003-03-19fix typoJason Merrill1-2/+1
From-SVN: r64592
2003-03-19PR c++/8316, c++/9315, c++/10136Jason Merrill2-23/+44
PR c++/8316, c++/9315, c++/10136 * call.c (print_z_candidate): Split out from... (print_z_candidiates): ...here. (joust): Use it. From-SVN: r64590
2003-03-19Add support for DWARF 3 64-bit sections.Kevin Buettner3-2/+45
From-SVN: r64589
2003-03-19lex.c (do_java_lex): Renamed from java_lex.Tom Tromey2-1/+26
* lex.c (do_java_lex): Renamed from java_lex. (java_lex): New function. Include timevar.h. From-SVN: r64586
2003-03-19Fix date of last entry.Ulrich Weigand1-1/+1
From-SVN: r64585
2003-03-19s390.c (s390_preferred_reload_class): Do not force constants to the pool ↵Ulrich Weigand3-43/+57
unless necessary. * config/s390/s390.c (s390_preferred_reload_class): Do not force constants to the pool unless necessary. (s390_decompose_address): Prefer to use pointer as base, not index register. * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from Q alternative. ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi", "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives. ("*extractqi", "*extracthi", "*zero_extendhisi2_31", "*zero_extendqisi2_31", "*zero_extendqihi2_31", "*adddi3_31", "*subdi3_31"): Do not set "type" attribute. From-SVN: r64583
2003-03-19i386.h (machine_function): New fields use_fast_prologue_epilogue.Jan Hubicka3-39/+66
* i386.h (machine_function): New fields use_fast_prologue_epilogue. * i386.c (use_fast_prologue_epilogue): Remove. (ix86_frame): New field save_regs-using_mov; (ix86_compute_frame_layout): Decide on fast prologues; allocate saved registers in red zone. (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters. From-SVN: r64579
2003-03-191.cc: Test char not wchar_t.Paolo Carlini2-20/+25
2003-03-19 Paolo Carlini <pcarlini@unitus.it> * testsuite/21_strings/char_traits/requirements/char/1.cc: Test char not wchar_t. From-SVN: r64576
2003-03-19Process.java: Merged from classpath.Michael Koch2-2/+7
2003-03-19 Michael Koch <konqueror@gmx.de> * java/lang/Process.java: Merged from classpath. From-SVN: r64575
2003-03-192003-03-19 Michael Koch <konqueror@gmx.de>Michael Koch3-1/+53
* java/io/FileOutputStream.java (FileOutputStream): New constructor, merged from classpath. * java/io/FileWriter.java (FileWriter): New constructor, merged from classpath. From-SVN: r64574
2003-03-19(CPP_SPEC): Remove trailing semi-colon.Nick Clifton2-21/+26
From-SVN: r64573
2003-03-19re PR target/10062 (internal compiler error: in output_cbranch, at ↵John David Anglin6-140/+271
config/pa/pa.c: 5515) PR 10062 * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine. * pa-protos.h (output_lbranch): New prototype. * pa.c (compute_frame_size): Change size of the frame marker on the 64-bit ports to 48 bytes. (pa_output_function_prologue): Document why SAVE_SP is set. (hppa_expand_prologue): Save previous stack pointer into frame marker on targets which use the hpux unwind library. (output_cbranch): Use output_lbranch. (output_lbranch): New function to output long unconditional branches. * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define. (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on 64-bit ports. * pa.md (jump): Use output_lbranch. (allocate_stack): New expander for dynamic stack allocation. From-SVN: r64570
2003-03-19rs6000.c (rs6000_emit_prologue): Don't clone the result of ↵Geoffrey Keating3-10/+25
machopic_function_base_name. * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone the result of machopic_function_base_name. * config/darwin.c (machopic_function_base_name): Use a gc-allocated string rather than a static array. From-SVN: r64569
2003-03-19rs6000.c (rs6000_stack_info): Only require a frame when debugging on XCOFF ↵Alan Modra2-12/+18
targets. * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame when debugging on XCOFF targets. Delete "abi" temp. From-SVN: r64568
2003-03-19re PR target/10073 (powerpc cannot split insn while building rscheme)Alan Modra2-0/+19
PR target/10073 * gcc.c-torture/compile/20030319-1.c: New. From-SVN: r64565
2003-03-19re PR target/10073 (powerpc cannot split insn while building rscheme)Alan Modra2-1/+7
PR target/10073 * combine.c (force_to_mode <NOT>): Use gen_int_mode. From-SVN: r64564
2003-03-19Daily bump.GCC Administrator2-2/+2
From-SVN: r64563
2003-03-19s390.c (s390_output_dwarf_dtprel): New.Jakub Jelinek7-0/+66
* config/s390/s390.c (s390_output_dwarf_dtprel): New. * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto. * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define. * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New. * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto. * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define. From-SVN: r64556