aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-02-09gcc.c (cpp_options): Delete .d files on error.Neil Booth2-3/+9
* gcc.c (cpp_options): Delete .d files on error. Don't delete .o files when using the -M options. From-SVN: r39561
2001-02-09In libf2c:Geoffrey Keating12-597/+442
* configure.in: Don't run AC_PROG_CC_WORKS, because we're not interested in the result and it might fail. * libF77/configure.in: Likewise. * libI77/configure.in: Likewise. * libU77/configure.in: Likewise. * configure: Regenerated. * libF77/configure: Likewise. * libI77/configure: Likewise. * libU77/configure: Likewise. In libobjc: * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because we're not interested in the result and they might fail. * configure: Regenerated. From-SVN: r39560
2001-02-09OutputStreamWriter.java: (flush, writeChars): Throw IOException if stream ↵Bryce McKinlay2-1/+10
closed. * java/io/OutputStreamWriter.java: (flush, writeChars): Throw IOException if stream closed. From-SVN: r39559
2001-02-08Oops, fix entry timestamp.David Edelsohn1-1/+1
From-SVN: r39558
2001-02-08rs6000.c (output_toc): Allow 32-bit targets to handle DImode constants.Franz Sirl2-8/+33
* config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to handle DImode constants. Use one TOC entry for SImode and smaller constants, aligned properly. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r39557
2001-02-09Byte.java: Remove redundant instanceof and null checks.Bryce McKinlay7-51/+50
* java/lang/Byte.java: Remove redundant instanceof and null checks. * java/lang/Integer.java: Likewise. * java/lang/Long.java: Likewise. * java/lang/Short.java: Likewise. * java/lang/Double.java: Likewise. (doubleToRawLongBits): New method. * java/lang/Float.java: As above. (floatToRawIntBits): New method. From-SVN: r39556
2001-02-09* java/lang/Float.java (parseFloat): New method.Tom Tromey2-1/+13
From-SVN: r39555
2001-02-08arm.c (arm_expand_prologue): Do tell the dwarf2 backend about the SP ↵Jason Merrill3-16/+30
adjustment for saving the static chain... * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend about the SP adjustment for saving the static chain pointer. * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified offset when setting a temporary CFA register. From-SVN: r39554
2001-02-09re PR libgcj/1913 (reading closed streams throws NullPointerException, not ↵Tom Tromey2-1/+16
IOException) From paul@dawa.demon.co.uk. Fix for PR libgcj/1913: * java/io/InputStreamReader.java (ready, read): Throw IOException if stream has been closed. From-SVN: r39553
2001-02-08Make-lang.in (JAVA_OBJS): Added java/mangle_name.oAlexandre Petit-Bianco6-142/+264
2001-02-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * Make-lang.in (JAVA_OBJS): Added java/mangle_name.o (JVGENMAIN_OBJS): Likewise. * java-tree.h (append_gpp_mangled_name): New prototype. * jcf-parse.c (ggc_mark_jcf): Argument now `void *.' Removed cast calling `gcc_add_root.' * jvgenmain.c (mangle_obstack): New global, initialized. (main): Use it. (do_mangle_class): Constify local `ptr.' Removed macro `MANGLE_NAME.' Removed cast in `for.' Call append_gpp_mangle_name and update `count' if necessary. Use `mangle_obstack.' * mangle.c (append_unicode_mangled_name): Removed. (append_gpp_mangled_name): Likewise. (unicode_mangling_length): Likewise. (mangle_member_name): Return type set to `void.' (mangle_field_decl): Don't append `U' in escaped names. (mangle_method_decl): Likewise. (mangle_member_name): Just use `append_gpp_mangled_name.' * mangle_name.c: New file. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00492.html) From-SVN: r39552
2001-02-08config.gcc: New targets, i386-*-chorusos*, sparc-*-chorusos*, ↵Chandrakala Chavva6-1/+210
powerpc-*-chorusos* . * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*, powerpc-*-chorusos* . * config/rs6000/chorus.h : New file. * config/i386/chorus.h : New file. * config/sparc/chorus.h : New file. * config/sparc/t-chorus-elf : New file. From-SVN: r39551
2001-02-08configure.in: for *-chorusos, don't config target-newlib and target-libgloss.Chandrakala Chavva2-0/+8
* configure.in: for *-chorusos, don't config target-newlib and target-libgloss. From-SVN: r39550
2001-02-08locale-inst.cc (fill_n): Instantiate with size_t arguments.Benjamin Kosnik2-21/+16
2001-02-08 Loren J. Rittle <ljrittle@acm.org> * src/locale-inst.cc (fill_n): Instantiate with size_t arguments. From-SVN: r39549
2001-02-08Add missing part of __WCHAR_TYPE__ patch.David Edelsohn1-1/+2
From-SVN: r39548
2001-02-08rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...David Edelsohn4-7/+28
* config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ... * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here. * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it. (__WCHAR_TYPE__): Correct macro name. From-SVN: r39547
2001-02-08* configure.target (aix4*): Remove extra set of brackets.David Edelsohn2-1/+5
From-SVN: r39546
2001-02-08i386.c (ix86_frame_pointer_required): New.Richard Henderson8-61/+123
* config/i386/i386.c (ix86_frame_pointer_required): New. (ix86_setup_frame_addresses): New. (struct machine_funciton): Add accesses_prev_frame. * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call ix86_frame_pointer_required. (SUBTARGET_FRAME_POINTER_REQUIRED): New. (SETUP_FRAME_ADDRESSES): New. * config/i386/i386-protos.h: Update. * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename from FRAME_POINTER_REQUIRED. * config/i386/svr3gas.h: Likewise. * config/i386/sysv3.h: Likewise. * config/i386/v3gas.h: Likewise. From-SVN: r39545
2001-02-08sparc.c (function_arg_record_value_3): Fix calculation of the number of ↵Richard Henderson2-4/+27
integer registers required. * config/sparc/sparc.c (function_arg_record_value_3): Fix calculation of the number of integer registers required. (function_arg_record_value): Likewise. From-SVN: r39544
2001-02-08diagnostic.c (internal_error): Say "confused" after 1 error, not two.Jason Merrill2-2/+6
* diagnostic.c (internal_error): Say "confused" after 1 error, not two. Print file and line with "confused" message. From-SVN: r39543
2001-02-08dwarf2out.c (dwarf2out_line): Include filename in -dA output.Jason Merrill2-8/+16
* dwarf2out.c (dwarf2out_line): Include filename in -dA output. and improve comments. From-SVN: r39542
2001-02-08* rtlanal.c (remove_node_from_expr_list): Correctly update PREV.Richard Kenner2-4/+9
From-SVN: r39541
2001-02-08search.c (shared_member_p): New function.Jason Merrill13-49/+232
* search.c (shared_member_p): New function. (lookup_field_r): Use it. * cp-tree.h (SHARED_MEMBER_P): Remove. * method.c (process_overload_item): Handle template-dependent array bounds. * pt.c (type_unification_real): If we end up with undeduced nontype parms, try again. * decl.c (lookup_name_real): Tweak warning to refer to decls, not types. * typeck2.c (friendly_abort): Don't say anything if we have earlier errors or sorries. * decl.c (check_tag_decl): Notice attempts to redefine bool and wchar_t. Ignore if in_system_header. * decl.c (maybe_push_cleanup_level): New fn... (start_decl_1): ...split out from here. * cvt.c (build_up_reference): Use it. * cp-tree.h: Declare it. From-SVN: r39540
2001-02-08Properly handle asms for stop bit generationBernd Schmidt2-0/+5
From-SVN: r39539
2001-02-08Eliminate SUBREGs inside MEMs.Bernd Schmidt2-2/+9
From-SVN: r39538
2001-02-08improve commentsJason Merrill1-5/+15
From-SVN: r39537
2001-02-08mauve.exp: Added support for XFAILs.Warren Levy3-5/+45
* libjava.mauve/mauve.exp: Added support for XFAILs. * libjava.mauve/xfails: New file. From-SVN: r39536
2001-02-08Daily bump.Jeff Law5-5/+5
From-SVN: r39535
2001-02-07check-init.c (check_init): Fix TRY_FINALLY_EXPR logic.Per Bothner2-3/+10
* check-init.c (check_init): Fix TRY_FINALLY_EXPR logic. * check-init.c (check_init): Don't call done_alternative after processing loop code, as a LOOP_EXPR never terminates normally. From-SVN: r39534
2001-02-08gcc.texi (Incompatibilities): Update documentation of preprocessing numbers.Joseph Myers2-3/+10
* gcc.texi (Incompatibilities): Update documentation of preprocessing numbers. From-SVN: r39533
2001-02-08default.exp, [...]: Remove bug reporting instructions with ancient email ↵Joseph Myers32-93/+19
addresses. * config/default.exp, gcc.dg/cpp/cpp.exp, gcc.dg/dg.exp, gcc.dg/noncompile/noncompile.exp, gcc.dg/format/format.exp, g++.dg/dg.exp, g++.old-deja/old-deja.exp, g77.f-torture/execute/execute.exp, g77.f-torture/noncompile/noncompile.exp, gcc.c-torture/execute/execute.exp, gcc.c-torture/execute/memcheck/memcheck.exp, gcc.misc-tests/acker1.exp, gcc.misc-tests/dg-test.exp, gcc.misc-tests/dhry.exp, gcc.misc-tests/gcov.exp, gcc.misc-tests/linkage.exp, gcc.misc-tests/matrix1.exp, gcc.misc-tests/mg.exp, gcc.misc-tests/msgs.exp, gcc.misc-tests/sieve.exp, gcc.misc-tests/sort2.exp, lib/g++-dg.exp, lib/g++.exp, lib/g77.exp, lib/gcc-dg.exp, lib/gcc.exp, lib/mike-g++.exp, lib/mike-gcc.exp, lib/old-dejagnu.exp, lib/scanasm.exp, objc/execute/execute.exp: Remove bug reporting instructions with ancient email addresses. From-SVN: r39532
2001-02-08gcj.texi: Change sources.redhat.com reference to gcc.gnu.org.Joseph Myers9-10/+24
gcc/java/: * gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. libffi/: * include/ffi.h.in: Change sourceware.cygnus.com references to gcc.gnu.org. libjava/: * README, gij.cc, java/lang/natClass.cc, java/lang/natSystem.cc: Change sources.redhat.com and sourceware.cygnus.com references to gcc.gnu.org. From-SVN: r39531
2001-02-07cpphash.h (struct spec_nodes): Add n_true and n_false.Zack Weinberg1-0/+2
* cpphash.h (struct spec_nodes): Add n_true and n_false. * cppinit.c (cpp_create_reader): Initialize them. (append_include_chain): cxx_aware arg might be unused. * cppexp.c (lex): In C++ mode, recognize 'true' and 'false' keywords and give them their phase 7 meaning. Pedwarn about this unless '__bool_true_false_are_defined' is defined. * g++.dg/stdbool-if.C: New test. From-SVN: r39530
2001-02-07re PR libgcj/1906 (difference between gcj and jdk for MessageFormat)Tom Tromey2-25/+26
Fix for PR libgcj/1906: * java/text/MessageFormat.java (setLocale): Use named class literals. (forName): Removed. (format(Object,StringBuffer,FieldPosition)): Special case if argument is an Object[]. From-SVN: r39529
2001-02-07jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Don't handle field DECLs.Alexandre Petit-Bianco2-3/+9
2001-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Don't handle field DECLs. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00424.html) From-SVN: r39528
2001-02-07c-decl.c (finish_enum): Revert part of 2000-01-05 change.Jakub Jelinek5-6/+45
* c-decl.c (finish_enum): Revert part of 2000-01-05 change. * gcc.dg/20010202-1.c: New test. * gcc.dg/991209-1.c: Compile on whole ia32 family, not just i386. From-SVN: r39527
2001-02-07Clean up stdexcept.Benjamin Kosnik13-204/+282
2001-02-07 Benjamin Kosnik <bkoz@redhat.com> Clean up stdexcept. * include/bits/stringfwd.h: New file. * include/bits/stl_string_fwd.h: Remove. * include/bits/localefwd.h: Remove declaration for allocator. * include/bits/std_iosfwd: Same. * include/bits/std_string.h: Include it. * include/bits/std_ios.h: Remove include. * include/bits/basic_string.h: Tweak. * libsupc++/new: Format. * src/Makefile.am (base_headers): Add stringfwd.h, remove stl_string_fwd.h * src/Makefile.in: Regenerate. * include/bits/std_stdexcept.h: Rewrite. * src/stdexcept.cc: Same. From-SVN: r39526
2001-02-07* config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.Mark Mitchell2-0/+15
From-SVN: r39525
2001-02-07defaults.h (CPLUSPLUS_CPP_SPEC): New macro.Mark Mitchell6-11/+56
* defaults.h (CPLUSPLUS_CPP_SPEC): New macro. * gcc.c (struct compiler): Add cpp_spec field. (input_file_compiler): New variable. (do_spec_1): Allow a particular compiler to handle `%C' specially. (main): Store the current compiler in input_file_compiler. * tm.texi (CPLUSPLUS_CPP_SPEC): Document. * lang-specs.h: Use CPLUSPLUS_CPP_SPEC for the preprocessor spec. From-SVN: r39524
2001-02-07cpphash.h (struct spec_nodes): Add n_true and n_false.Zack Weinberg5-11/+77
* cpphash.h (struct spec_nodes): Add n_true and n_false. * cppinit.c (cpp_create_reader): Initialize them. (append_include_chain): cxx_aware arg might be unused. * cppexp.c (lex): In C++ mode, recognize 'true' and 'false' keywords and give them their phase 7 meaning. Pedwarn about this unless '__bool_true_false_are_defined' is defined. * g++.dg/stdbool-if.C: New test. From-SVN: r39523
2001-02-07fdecl.m: Added main().Ovidiu Predescu1-0/+4
Wed Feb 7 09:54:47 2001 Ovidiu Predescu <ovidiu@cup.hp.com> * objc/execute/fdecl.m: Added main(). From-SVN: r39522
2001-02-07Added main().Ovidiu Predescu1-0/+6
From-SVN: r39521
2001-02-07* lex.c (java_new_lexer): Longer error message.Tom Tromey2-1/+5
From-SVN: r39520
2001-02-07Update Copyright noticeAlexandre Oliva1-1/+1
From-SVN: r39519
2001-02-07lcm.c (optimize_mode_switching): Emit mode_set before the JUMP_INSN of an ↵Alexandre Oliva2-1/+9
abnormal edge. * lcm.c (optimize_mode_switching): Emit mode_set before the JUMP_INSN of an abnormal edge. From-SVN: r39518
2001-02-07* gcc.c-torture/execute/20010206-1.c: New test.Jakub Jelinek2-0/+20
From-SVN: r39517
2001-02-07Document MD_INIT_BUILTINS, MD_EXPAND_BUILTINBernd Schmidt2-0/+31
From-SVN: r39516
2001-02-07Avoid scheduling builtin setjmp receiversBernd Schmidt2-0/+12
From-SVN: r39515
2001-02-07re PR java/1895 (Libjava: Arrays.sort doesn't work)Bryce McKinlay2-89/+65
* java/util/Arrays.java: Removed "cmp" methods. (qsort): Don't use "cmp". (med3): Likewise. 2001-02-07 Mark Benvenuto <mcb54@columbia.edu> * java/util/Arrays.java (qsort): Handle N value of 7 with insertion sort. Fix for PR java/1895. From-SVN: r39514
2001-02-07Daily bump.Jeff Law5-5/+5
From-SVN: r39513
2001-02-07Tweak for new preprocessorAlexandre Oliva1-26/+5
From-SVN: r39512