- Mar 01, 2004
-
-
Benjamin Kosnik authored
2004-03-01 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Quote correctly. * aclocal.m4: Regenerate. * linkage.m4: Same. From-SVN: r78715
-
Jeff Law authored
* fold-const.c (fold): An equality comparison of a non-weak object against zero has a known result. Similarly an equality comparison of the address of two non-weak, unaliased symbols has a known result. * ggc-page.c (struct page_entry): New field PREV. (ggc_alloc): Update PREV field appropriately. (sweep_pages): Likewise. (ggc_free): Likewise. Use PREV field rather than loop to improve ggc_free performance. cp/ * init.c (build_vec_delete_1): Convert 2nd argument to NE_EXPR to the proper type. From-SVN: r78713
-
Richard Sandiford authored
* config/mips/mips.c (mips_output_division): Use the division instruction to fill the delay slot of a zero check. (mips_idiv_insns): Adjust accordingly. From-SVN: r78712
-
Benjamin Kosnik authored
2004-03-01 Benjamin Kosnik <bkoz@redhat.com> * docs/html/test.html: Add multilib RUNTESTFLAGS example. * docs/html/18_support/howto.html: Add bit about writing to stderr, mostly by Zack. From-SVN: r78709
-
Paolo Carlini authored
2004-03-01 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (money_get<>::_M_extract, money_get<>::do_get(string_type&)): ... and two more. From-SVN: r78708
-
Paolo Carlini authored
locale_facets.tcc (money_get<>::_M_extract): Fix thinkos in the switch from string_type& to string& as last argument. 2004-03-01 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (money_get<>::_M_extract): Fix thinkos in the switch from string_type& to string& as last argument. From-SVN: r78707
-
Michael Matz authored
From-SVN: r78706
-
Nathanael Nerode authored
* config.gcc: Create a default tmake_file for linux, and use it in all but two linux clauses. Comment those two. From-SVN: r78704
-
Brian Booth authored
From-SVN: r78703
-
Paolo Carlini authored
locale_facets.tcc (num_get<>::_M_extract_float): Also when parsing exponent sign, first look for thousands_sep and decimal_point... 2004-03-01 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): Also when parsing exponent sign, first look for thousands_sep and decimal_point; tweak a bit. * testsuite/22_locale/num_get/get/char/15.cc: New. * testsuite/22_locale/num_get/get/wchar_t/15.cc: New. * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, num_get<>::_M_extract_int): Reorder some conditionals. 2004-03-01 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (money_get<>::_M_extract): Consistently with numpunct, enforce the requirements in 22.2.6.3, p3 for the thousands separators; tweak a bit. * testsuite/22_locale/money_get/get/char/15.cc: New. * testsuite/22_locale/money_get/get/wchar_t/15.cc: New. From-SVN: r78699
-
Paolo Bonzini authored
2004-03-01 Paolo Bonzini <bonzini@gnu.org> * combine.c (try_combine): Do not refer to is_replaced. (gen_lowpart_for_combine): Perverse subregs now have a more politically correct name. * cse.c (cse_insn): Likewise. * jump.c: Fix bogus reference to delete_insn. From-SVN: r78698
-
Paolo Bonzini authored
From-SVN: r78697
-
Mark Mitchell authored
PR c++/14138 * name-lookup.h (push_scope): Change prototype. * name-lookup.c (push_scope): Do not reenter the current class scope. * decl.c (grokfndecl): Check return code from push_scope before calling pop_scope. * decl2.c (check_classfn): Likewise. * parser.c (cp_parser_conversion_function_id): Likewise. (cp_parser_init_declarator): Likewise. (cp_parser_direct_declarator): Likewise. (cp_parser_class_specifier): Likewise. (cp_parser_class_head): Likewise. (cp_parser_lookup_name): Likewise. (cp_parser_constructor_declarator_p): Likewise. * pt.c (instantiate_class_template): Likewise. (resolve_typename_type): Likewise. From-SVN: r78696
-
David Billinghurst authored
libstdc++.exp (v3-list-tests): Use testsuite_files from correct multilib blddir when running testsuite. 2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com> * testsuite/lib/libstdc++.exp (v3-list-tests): Use testsuite_files from correct multilib blddir when running testsuite. From-SVN: r78692
-
Mark Mitchell authored
PR debug/14328 * dwarf2out.c (gen_enumeration_type_die): Output all enumeration constants as signed values. From-SVN: r78690
-
Mark Mitchell authored
PR c++/14267 * typeck.c (build_modify_expr): Remove more of the cast-as-lvalue extension. PR c++/14267 * g++.dg/expr/crash2.C: New test. From-SVN: r78689
-
GCC Administrator authored
From-SVN: r78686
-
- Feb 29, 2004
-
-
Mark Mitchell authored
PR middle-end/13448 * c-tree.h (readonly_warning): Rename to ... (readonly_error): ... this. * c-typeck.c (build_unary_op): Adjust accordingly. (readonly_warning): Rename to ... (readonly_error): ... this and issue errors, not warnings. (build_modify_expr): Call readonly_error, not readonly_warning. (c_expand_asm_operands): Likewise. * tree-inline.c (optimize_inline_calls): Do not inline functions after errors have occurred. PR middle-end/13448 * gcc.dg/inline-5.c: New test. * gcc.dg/always-inline.c: Split out tests into ... * gcc.dg/always-inline2.c: ... this and ... * gcc.dg/always-inline3.c: ... this. From-SVN: r78682
-
Mark Mitchell authored
re PR debug/12103 (-g only crash (segfault) with a forward declared class used as a template parameter) PR debug/12103 * class.c (update_vtable_entry_for_fn): Do not go through covariance machinery if the type returned by an overrider is the same as the original. PR debug/12103 * g++.dg/debug/crash1.C: New test. From-SVN: r78680
-
Nathanael Nerode authored
* configure.ac: Rearrange some threading code for clarity; add section comment. * configure: Regenerate. From-SVN: r78678
-
Kazu Hirata authored
gcc/ * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment typos. * doc/cppopts.texi: Fix a typo. gcc/cp/ * call.c: Fix a comment typo. From-SVN: r78676
-
Kazu Hirata authored
From-SVN: r78674
-
Andrew Pinski authored
2004-02-29 Andrew Pinski <pinskia@physics.uc.edu> * gcc_update (files_and_dependencies): Update intl/configure.in to intl/configure.ac. From-SVN: r78673
-
Nathanael Nerode authored
From-SVN: r78672
-
Nathanael Nerode authored
From-SVN: r78671
-
Nathanael Nerode authored
From-SVN: r78670
-
Nathanael Nerode authored
From-SVN: r78669
-
Nathanael Nerode authored
* configure.in: Convert to autoconf 2.57, gratuitous stylistic cleanup, rename to configure.ac. * configure.ac: Renamed from configure.in. * config.h.in: Rebuilt with autoheader 2.57. * configure: Rebuilt with autoconf 2.57 * README: Update to reflect rename of configure.in to configure.ac. From-SVN: r78668
-
Kazu Hirata authored
From-SVN: r78667
-
Per Bothner authored
* Makefile.am, configure.in: Updated accordingly. From-SVN: r78666
-
Per Bothner authored
natPosixProcess.cc (startProcess): Implement standard streams using FileChannelImpl, not FileDescriptor. * java/lang/natPosixProcess.cc (startProcess): Implement standard streams using FileChannelImpl, not FileDescriptor. * java/lang/natWin32Process.cc (startProcess): Likewise. From-SVN: r78664
-
Per Bothner authored
* gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by: (ch): New FileChannelImpl field. Update constructor to match. (releaseImpl): Remove native method. Instead ... (release): Call unlock on channel. * gnu/java/nio/natFileLockImpl.cc: Removed file. From-SVN: r78663
-
Per Bothner authored
* java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl, unmapImpl): New dummy methods, to be overridden by subclass. (finalize, isLoaded, load, force): New methods. * java/nio/MappedByteBufferImpl.java: More-or-less rewrite. Now works, at least for read mapping. From-SVN: r78662
-
Per Bothner authored
* java/io/FileDescriptor.java: Implement on top of FileChannel. Remove native methods. * java/io/natFileDescriptorEcos.cc: Remove file. * java/io/natFileDescriptorPosix.cc: Remove file. * java/io/natFileDescriptorWin32.cc: Remove file. * java/io/FileInputStream.java (ch): Change type to FileChannelImpl. (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor. (<init>(FileChannelImpl)): New package-private constructor. (<init>(FileDescriptor)): Extract FileChannelImpl from arg. (available, close, read, skip): Implement using FileChannelImpl. (getFD): Allocate FileDescriptor if needed. (getChannel): Is now trivial. * java/io/FileOutputStream.java: Corresponding changes. * java/io/RandomAccessFile.java: Corresponding changes. From-SVN: r78661
-
Per Bothner authored
FileChannelImpl.java: Moved to package gnu/java/nio/channels, since we need to refer to it from java.io. * java/nio/channels/FileChannelImpl.java: Moved to package gnu/java/nio/channels, since we need to refer to it from java.io. * java/nio/channels/natFileChannelImpl.cc: Removed file. * Makefile.am, configure.in: Updated accordingly. From-SVN: r78660
-
Per Bothner authored
* gnu/java/nio/channels/FileChannelImpl.java: New class, renamed from java/nio/channels. Don't depend on FileDescriptor. (in, out, err): New static fields. (mode): New field. (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants from FileDescriptor. (by): Removed MappedByteBuffer field. (map): New working implementation. * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though some code "ported" from natFileDescriptoPosix.cc. * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise. * gnu/java/nio/channels/natFileChannelWin32.cc Likewise. From-SVN: r78659
-
Kazu Hirata authored
* config/h8300/h8300.md: Tweak operand numbers of some peephole2's. From-SVN: r78658
-
Kazu Hirata authored
From-SVN: r78657
-
Kazu Hirata authored
From-SVN: r78653
-
Kazu Hirata authored
* gcc.dg/sibcall-3.c (recurser_void1): Make it an extern function with __attribute__((noinline)). (recurser_void2): Likewise. * gcc.dg/sibcall-4.c (recurser_void1): Likewise. (recurser_void2): Likewise. From-SVN: r78652
-