Skip to content
Snippets Groups Projects
  1. Oct 05, 2003
  2. Oct 04, 2003
  3. Oct 03, 2003
    • Ziemowit Laski's avatar
      objc-act.c (lookup_category): Mark as 'inline'. · be1bbc41
      Ziemowit Laski authored
      2003-10-03  Ziemowit Laski  <zlaski@apple.com>
      
              * objc/objc-act.c (lookup_category): Mark as 'inline'.
      
      From-SVN: r72081
      be1bbc41
    • Alexander Malmberg's avatar
      objc-act.c (add_method_to_hash_list, [...]): New functions. · 81ff723b
      Alexander Malmberg authored
      
      [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: default avatarZiemowit Laski <zlaski@apple.com>
      
      From-SVN: r72080
      81ff723b
    • Roger Sayle's avatar
      PR optimization/9325, PR java/6391 · 875eda9c
      Roger Sayle authored
      	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
      875eda9c
    • Chris Demetriou's avatar
      mips.c (mips_emit_prefetch): Restructure to avoid use of arrays, handle indexed prefetch. · 4dbe1556
      Chris Demetriou authored
      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
      4dbe1556
    • Gabriel Dos Reis's avatar
      decl.c (struct cp_binding_level): Move to name-lookup.h · 1ec57cf0
      Gabriel Dos Reis authored
      	* 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
      1ec57cf0
    • Jeff Sturm's avatar
      * configure: Rebuild. · a97386cd
      Jeff Sturm authored
      From-SVN: r72075
      a97386cd
    • Hans Boehm's avatar
      configure.in: Remove NO_GETENV definition for win32. · aa44273b
      Hans Boehm authored
      	* 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
      aa44273b
    • Jeff Sturm's avatar
      re PR rtl-optimization/12289 (Solaris 9/Intel bootstrap failure: ICE in... · f451eeef
      Jeff Sturm authored
      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: default avatarRoger Sayle <roger@eyesopen.com>
      
      From-SVN: r72073
      f451eeef
    • Andreas Schwab's avatar
      re PR bootstrap/12276 (Configure check for libunwind does not work with cross) · c6c51600
      Andreas Schwab authored
      	PR bootstrap/12276
      	* configure.in: Check for libunwind on the host only if building
      	a native compiler.
      	* configure: Regenerated.
      
      From-SVN: r72072
      c6c51600
    • Paolo Carlini's avatar
      unwind-pe.h (read_encoded_value_with_base): Constify u and its inizialization cast. · 290f6157
      Paolo Carlini authored
      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
      290f6157
    • Gabriel Dos Reis's avatar
      name-lookup.c (binding_entry_free): Nullify name and type fields. · 04693f2f
      Gabriel Dos Reis authored
              * name-lookup.c (binding_entry_free): Nullify name and type
              fields.
      
      From-SVN: r72069
      04693f2f
    • Andrew Haley's avatar
      Added a missing ChangeLog Entry: · ec00bfc0
      Andrew Haley authored
      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
      ec00bfc0
    • Richard Sandiford's avatar
      re PR target/12485 (MIPS -mxgot causes "bad" exception handling code.) · 17a35133
      Richard Sandiford authored
      	PR target/12485
      	* config/mips/mips.c (mips_load_got): GOT accesses can't trap.
      
      From-SVN: r72066
      17a35133
    • Mark Mitchell's avatar
      Fix typo · 8b47fa06
      Mark Mitchell authored
      From-SVN: r72064
      8b47fa06
    • Harald Boehme's avatar
      re PR libstdc++/12451 (missing(late) class forward declaration in cxxabi.h) · cafc7337
      Harald Boehme authored
      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
      cafc7337
    • Mark Mitchell's avatar
      Fix typo · 4eb9573d
      Mark Mitchell authored
      From-SVN: r72058
      4eb9573d
    • Mark Mitchell's avatar
      re PR rtl-optimization/12180 (Inline optimization fails for variadic function) · 5114f0ed
      Mark Mitchell authored
      	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
      5114f0ed
Loading