- 01 Mar, 2004 1 commit
-
-
From-SVN: r78686
GCC Administrator committed
-
- 29 Feb, 2004 30 commits
-
-
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 committed -
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
Mark Mitchell committed -
* configure.ac: Rearrange some threading code for clarity; add section comment. * configure: Regenerate. From-SVN: r78678
Nathanael Nerode committed -
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 committed -
From-SVN: r78674
Kazu Hirata committed -
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
Andrew Pinski committed -
From-SVN: r78672
Nathanael Nerode committed -
From-SVN: r78671
Nathanael Nerode committed -
From-SVN: r78670
Nathanael Nerode committed -
From-SVN: r78669
Nathanael Nerode committed -
* 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
Nathanael Nerode committed -
From-SVN: r78667
Kazu Hirata committed -
* Makefile.am, configure.in: Updated accordingly. From-SVN: r78666
Per Bothner committed -
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 committed -
* 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 committed -
* 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 committed -
* 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 committed -
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 committed -
* 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
Per Bothner committed -
* config/h8300/h8300.md: Tweak operand numbers of some peephole2's. From-SVN: r78658
Kazu Hirata committed -
From-SVN: r78657
Kazu Hirata committed -
From-SVN: r78653
Kazu Hirata committed -
* 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
Kazu Hirata committed -
* parse.c (ffe_parse_file): Handle the case that main_input_filename is NULL. From-SVN: r78650
Roger Sayle committed -
* jcf-parse.c (java_parse_file): Handle the case that input_filename is NULL. From-SVN: r78649
Roger Sayle committed -
2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl> PR middle-end/14203 * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P instead of testing whether DECL_RTL is not NULL. 2004-02-29 Roger Sayle <roger@eyesopen.com> PR middle-end/14203 * g++.dg/warn/Wunused-6.C: New test case. From-SVN: r78648
Roger Sayle committed -
2004-02-29 Phil Edwards <phil@codesourcery.com> * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy the summary file to the logfile. * testsuite/Makefile.in: Regenerate. From-SVN: r78647
Phil Edwards committed -
From-SVN: r78646
Kazu Hirata committed -
From-SVN: r78645
Kazu Hirata committed -
From-SVN: r78642
GCC Administrator committed
-
- 28 Feb, 2004 9 commits
-
-
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu> * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in my previous patch. From-SVN: r78635
Andrew Pinski committed -
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu> * config/darwin.h (machopic_finish): Output stub even if the symbol is already defined. From-SVN: r78634
Andrew Pinski committed -
* config/cpu/hppa/atomicity.h (__atomic_add): Make first argument volatile. * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK. From-SVN: r78633
John David Anglin committed -
From-SVN: r78632
John David Anglin committed -
PR bootstrap/7087 * Makefile.tpl: Guard XFOO sed statements better. * Makefile.tpl: Add dependency for configure-target-libada. * Makefile.in: Regenerate (incidentally fixes broken commit when libada-branch was merged). From-SVN: r78630
Nathanael Nerode committed -
2004-02-28 Michael Koch <konqueror@gmx.de> * java/io/ObjectInputStream.java: Compile fix, damn I commited the wrong code. From-SVN: r78629
Michael Koch committed -
* genattr.c (main): Don't define TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE. * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison. (DFA_PIPELINE_INTERFACE): Likewise. * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove. (DFA_PIPELINE_INTERFACE): Likewise. From-SVN: r78628
Kazu Hirata committed -
* java/io/ObjectInputStream.java (readClassDescriptor): Keep elements of the mapping non null. (checkTypeConsistency): New method. (readFields): Fixed main loop and base logic. Small reindentation. * java/io/ObjectStreamField.java (lookupField): New method to update the field reference. (checkFieldType): New method. * java/io/ObjectStreamClass.java (setClass, setFields): Call lookupField when building the field database. Check the real field type. From-SVN: r78627
Guilhem Lavaux committed -
* java/nio/ByteOrder.java (nativeOrder): Use equals() to compare strings. From-SVN: r78626
Michael Koch committed
-