- 04 Oct, 2003 12 commits
-
-
PR c/12446 * c-typeck.c (convert_for_assignment): Issue an error for array to pointer assignment after default conversion. (digest_init): Likewise. From-SVN: r72096
Eric Botcazou committed -
From-SVN: r72095
Fariborz Jahanian committed -
Reviewed by Geoffrey Keating. From-SVN: r72094
Fariborz Jahanian committed -
2003-10-04 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (num_get::_M_extract_float): Constify a couple of variables. (num_get::do_get(..., bool&)): Constify __c; prefer *__beg, ++__beg to *__beg++. From-SVN: r72093
Paolo Carlini committed -
* doc/extend.texi (Function Attributes): Fix title of GNU C Preprocessor manual. (C++ Extensions): Fix reference to "Predefined Macros" in the GNU C Preprocessor manual. From-SVN: r72091
Gerald Pfeifer committed -
2003-10-04 Paolo Carlini <pcarlini@unitus.it> Petur Runolfsson <peturr02@ru.is> * include/ext/stdio_sync_filebuf.h: Don't include the whole <fstream>, only <streambuf> and <cstdio>. Co-Authored-By: Petur Runolfsson <peturr02@ru.is> From-SVN: r72090
Paolo Carlini committed -
* doc/extend.texi: Document how GCC estimates and relies on the size of an asm. From-SVN: r72089
Richard Earnshaw committed -
* config/mips/mips.c (mips_pad_arg_upward): Pad floating-point arguments downward for big-endian o64. From-SVN: r72088
Richard Sandiford committed -
2003-10-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/12206 * include/bits/fstream.tcc (imbue): In case a codecvt facet is not available, set _M_codecvt = 0. * testsuite/27_io/basic_filebuf/imbue/12206.cc: New. From-SVN: r72087
Paolo Carlini committed -
2003-10-03 H.J. Lu <hongjiu.lu@intel.com> * ltconfig (sys_lib_search_path_spec): Fix a typo for HPUX. From-SVN: r72086
H.J. Lu committed -
* ggc-page.c: (ggc_pch_write_object) replace fseek() with fwrite() in PCH generation, avoiding too-frequent flushes when writing to NFS file system From-SVN: r72085
Robert Bowdidge committed -
From-SVN: r72083
GCC Administrator committed
-
- 03 Oct, 2003 18 commits
-
-
2003-10-03 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (lookup_category): Mark as 'inline'. From-SVN: r72081
Ziemowit Laski committed -
[gcc] 2003-10-03 Alexander Malmberg <alexander@malmberg.org> Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (add_method_to_hash_list, lookup_category): New functions. (lookup_method_in_hash_lists): New parameter indicating whether we are messaging 'Class' or 'id'. (check_duplicates): Likewise; do not assume all methods will be either class or instance methods. (generate_category, finish_class): Use lookup_category(). (add_method): Use add_method_to_hash_list(); insert instance methods of root classes into the global class method hash table. (add_category): Use lookup_category(); avoid constructing duplicate categories. (really_start_method): Add method to corresponding @interface, if not already there (and if the @interface exists). (finish_message_expr, finish_objc): Adjust calls to check_duplicates(). [gcc/testsuite] 2003-10-03 Alexander Malmberg <alexander@malmberg.org> Ziemowit Laski <zlaski@apple.com> * objc.dg/method-6.m ('starboard'): Move prototype from 'Base' to 'Derived', so that it is never considered a class method; add new warning for '+port' method ambiguity. * objc.dg/method-12.m: Include <objc/objc.h> instead of <objc/objc-api.h> (needed on Mac OS X). * objc.dg/method-13.m: New test. Co-Authored-By: Ziemowit Laski <zlaski@apple.com> From-SVN: r72080
Alexander Malmberg committed -
PR optimization/9325, PR java/6391 * fold-const.c (fold_convert): For floating point to integer conversions, return the maximum/minimum representable integer value if the real constant overflows the destination type. * tree.c (real_value_from_int_cst): Allow the type to be NULL, meaning don't truncate the result to a floating point mode. Simplify the logic by calling real_from_integer directly. * simplify-rtx.c (simplify_unary_operation): Implement the same semantics for folding floating point to integer conversions in RTL. * gcc.c-torture/execute/20031003-1.c: New test case. From-SVN: r72079
Roger Sayle committed -
2003-10-03 Chris Demetriou <cgd@broadcom.com> * config/mips/mips.c (mips_emit_prefetch): Restructure to avoid use of arrays, handle indexed prefetch. * config/mips/mips.h (ISA_HAS_FP4, ISA_HAS_PREFETCH): Update comments. (ISA_HAS_PREFETCHX): New deffine. * config/mips/mips.md ("type" attr): Add new "prefetchx" value, update comments. (prefetch_indexed_di, prefetch_indexed_si): New insns. From-SVN: r72077
Chris Demetriou committed -
* decl.c (struct cp_binding_level): Move to name-lookup.h (current_binding_level): Likewise. (class_binding_level): Likewise. * cp-tree.h (enum scope_kind): Likewise. From-SVN: r72076
Gabriel Dos Reis committed -
From-SVN: r72075
Jeff Sturm committed -
* configure.in: Remove NO_GETENV definition for win32. * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization. * misc.c (GC_init_inner): Call GC_thr_init for win32. (GC_set_warn_proc): Add assertion. * win32_threads.c: Import 6.3alpha2 version. * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS. From-SVN: r72074
Hans Boehm committed -
re PR rtl-optimization/12289 (Solaris 9/Intel bootstrap failure: ICE in expand_call compiling java/io/ObjectInputStream.java) PR optimization/12289 * calls.c (emit_call_1): Pretend to have popped the arguments to noreturn and longjmp functions instead of ignoring them. (expand_call): Don't adjust stack_pointer_dela while inhibit_defer_pop is set. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r72073
Jeff Sturm committed -
PR bootstrap/12276 * configure.in: Check for libunwind on the host only if building a native compiler. * configure: Regenerated. From-SVN: r72072
Andreas Schwab committed -
2003-10-03 Paolo Carlini <pcarlini@unitus.it> * unwind-pe.h (read_encoded_value_with_base): Constify u and its inizialization cast. From-SVN: r72071
Paolo Carlini committed -
* name-lookup.c (binding_entry_free): Nullify name and type fields. From-SVN: r72069
Gabriel Dos Reis committed -
2003-08-20 Andrew Haley <aph@redhat.com> * except.c (prepare_eh_table_type): Use new encoding for exception handlers when using -fno-assume-compiled. From-SVN: r72068
Andrew Haley committed -
PR target/12485 * config/mips/mips.c (mips_load_got): GOT accesses can't trap. From-SVN: r72066
Richard Sandiford committed -
From-SVN: r72064
Mark Mitchell committed -
2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de> PR libstdc++/12451 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info. From-SVN: r72059
Harald Boehme committed -
From-SVN: r72058
Mark Mitchell committed -
PR optimization/12180 * tree-inline.c (inline_forbidden_p_1): Do not permit inlining of functions containing calls to PR optimization/12180 * gcc.dg/20031002-1.c: New test. From-SVN: r72057
Mark Mitchell committed -
From-SVN: r72055
GCC Administrator committed
-
- 02 Oct, 2003 10 commits
-
-
2003-10-02 Chris Demetriou <cgd@broadcom.com> * config/mips/mips.c (mips_emit_prefetch): Use operand 3 in instructions being output. * config/mips/mips.md (prefetch_si_address): Change third operand's constraint letter to 'I'. (prefetch_di_address): Likewise. (prefetch_si, prefetch_di): Set third operand to const0_rtx. From-SVN: r72053
Chris Demetriou committed -
PR c++/12486 * typeck.c (finish_class_member_access_expr): Issue diagnostic on erroneous use of qualified name. PR c++/12486 * g++.dg/inherit/error1.C: New test. From-SVN: r72052
Mark Mitchell committed -
2003-10-02 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add. * src/locale.cc: Define. * src/localename.cc: Use it. * config/locale/generic/time_members.h: Same. * config/locale/gnu/messages_members.h: Same. * config/locale/gnu/time_members.h: Same. From-SVN: r72050
Benjamin Kosnik committed -
2003-10-02 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/12232 * include/bits/fstream.tcc (seekoff): Ignore the openmode argument; simplify. * config/io/basic_file_stdio.h (__basic_file<char>::seekoff, seekpos): Remove the openmode argument. * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff, seekpos): Remove redundant placeholder for the openmode argument. * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New. * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak. * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise. From-SVN: r72048
Paolo Carlini committed -
* java/net/InetSocketAddress.java (InetSocketAddress): Made exception more clear. (equals): Handle case when addr is null. (toString): Likewise. * java/net/NetworkInterface.java (static): Load native library. (getNetworkInterfaces): Rewritten. From-SVN: r72047
Guilhem Lavaux committed -
* strerror.c: Revert last change. Declare static sys_nerr and sys_errlist using different names. From-SVN: r72046
Daniel Jacobowitz committed -
2003-10-02 Benjamin Kosnik <bkoz@redhat.com> * src/locale.cc (locale::_S_initialize): Use __gthread_active_p. (locale::facet::_S_get_c_locale): Same. From-SVN: r72045
Benjamin Kosnik committed -
2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New field. (initializeInsets): New method. (GtkComponentPeer): Call initializeInsets. Call setCursor and setBounds unconditionally. (setBounds): Convert coordinates if parent is a Window. * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move field to GtkComponentPeer. (GtkContainerPeer): Don't initialize insets. * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets): New method. (create): Call new GtkWindowPeer create method. * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets): New method. (create): Call new GtkWindowPeer create method. (setBounds): Remove method. (postConfigureEvent): Likewise. * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window type constants with GDK window type constants. (create(int,boolean,int,int,GtkWindowPeer)): New method. (create(int,boolean)): Likewise. (create()): Call create(int,boolean). (nativeSetBounds): New native method declaration. (setBounds): Call native method declaration. (setSize): New native method declaration. (setBoundsCallback): Likewise. (postConfigureEvent): Handle change in insets. Call setSize and setBoundsCallback methods. * java/awt/Window.java (Window): Set visible to false. (setBoundsCallback): New method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (gtkWidgetGetLocationOnScreen): If this component is not a container, adjust the location returned based on the peer's allocation. (set(String,boolean)): Revert change from 2003-09-19. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Fix inset calculation. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI glue for Window.setBoundsCallback. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Set up stacking order, window decorations and window manager hints. (setBoundsCallback): New method. (setSize): New method. (nativeSetBounds): New method. * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID. From-SVN: r72043
Thomas Fitzsimmons committed -
From-SVN: r72042
Jason Merrill committed -
* system.h: Poison macros obsoleted by earlier patch. * config/cris/cris.c: C90-ify a function definition. From-SVN: r72041
Zack Weinberg committed
-