]>
git.ipfire.org Git - thirdparty/gcc.git/log
Bernd Schmidt [Wed, 2 Nov 2011 10:47:44 +0000 (10:47 +0000)]
cfgcleanup.c (try_head_merge_bb): If get_condition returns NULL for a jump that is a cc0 insn...
gcc/
* cfgcleanup.c (try_head_merge_bb): If get_condition returns
NULL for a jump that is a cc0 insn, pick the previous insn for
move_before.
gcc/testsuite/
* gcc.c-torture/compile/
20110907 .c: New file.
From-SVN: r180766
GCC Administrator [Wed, 2 Nov 2011 00:18:04 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180755
Uros Bizjak [Tue, 1 Nov 2011 22:59:36 +0000 (23:59 +0100)]
i386.md (splitters for int-float conversion): Use SUBREG_REG on SUBREGs in splitter constraints.
* config/i386/i386.md (splitters for int-float conversion): Use
SUBREG_REG on SUBREGs in splitter constraints.
From-SVN: r180749
Julian Brown [Tue, 1 Nov 2011 18:38:42 +0000 (18:38 +0000)]
re PR rtl-optimization/47918 (noreturn discovery broke non local gotos on m68k and i386)
PR rtl-optimization/47918
* reload1.c (set_initial_label_offsets): Use initial offsets
for labels on the nonlocal_goto_handler_labels chain.
From-SVN: r180740
GCC Administrator [Tue, 1 Nov 2011 00:17:50 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r180720
GCC Administrator [Mon, 31 Oct 2011 00:17:46 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r180693
Joseph Myers [Sun, 30 Oct 2011 16:29:11 +0000 (16:29 +0000)]
* ja.po: Update.
From-SVN: r180683
Paolo Carlini [Sun, 30 Oct 2011 00:24:51 +0000 (00:24 +0000)]
re PR c++/50901 (ICE: in build_new_op, at cp/call.c:5016)
/cp
2011-10-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50901
* call.c (build_new_op_1): Handle ABS_EXPR together with the
other unary EXPR.
/testsuite
2011-10-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50901
* g++.dg/cpp0x/pr50901.C: New.
From-SVN: r180671
GCC Administrator [Sun, 30 Oct 2011 00:17:27 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r180668
John David Anglin [Sat, 29 Oct 2011 21:40:55 +0000 (21:40 +0000)]
Revert last change.
From-SVN: r180665
John David Anglin [Sat, 29 Oct 2011 20:23:00 +0000 (20:23 +0000)]
re PR target/50617 (ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631)
PR target/50617
* config/pa/pa-protos.h (output_bb): Rename to pa_output_bb.
* config/pa/pa.md: Likewise.
* config/pa/pa.c: Likewise.
From-SVN: r180663
John David Anglin [Sat, 29 Oct 2011 20:19:38 +0000 (20:19 +0000)]
re PR target/50691 (Incorrect argument evaluation in call with __thread argument)
PR target/50691
* config/pa/pa.c (emit_move_sequence): Legitimize TLS symbol references.
* config/pa/pa.h (LEGITIMATE_CONSTANT_P): Return false for
TLS_MODEL_GLOBAL_DYNAMIC and TLS_MODEL_LOCAL_DYNAMIC symbol references.
From-SVN: r180662
GCC Administrator [Sat, 29 Oct 2011 00:18:31 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180645
GCC Administrator [Fri, 28 Oct 2011 00:18:13 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180587
Uros Bizjak [Thu, 27 Oct 2011 21:55:22 +0000 (23:55 +0200)]
re PR target/50875 (O3 and -mavx lead to internal compiler error: in find_reloads)
PR target/50875
* config/i386/sse.md (*avx_unpcklpd256): Remove extra insn
constraints. Change alternative 1 to "x,m,1".
testsuitee/ChangeLog:
PR target/50875
* gfortran.dg/pr50875.f90: New test.
Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
From-SVN: r180582
GCC Administrator [Thu, 27 Oct 2011 00:18:15 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180555
Jakub Jelinek [Wed, 26 Oct 2011 17:06:05 +0000 (19:06 +0200)]
BASE-VER: Set to 4.6.3.
* BASE-VER: Set to 4.6.3.
* DEV-PHASE: Set to prerelease.
From-SVN: r180529
GCC Administrator [Wed, 26 Oct 2011 09:08:24 +0000 (09:08 +0000)]
Mark as release
From-SVN: r180515
GCC Administrator [Wed, 26 Oct 2011 09:08:17 +0000 (09:08 +0000)]
Mark ChangeLog
From-SVN: r180514
GCC Administrator [Wed, 26 Oct 2011 09:08:12 +0000 (09:08 +0000)]
Mark ChangeLog
From-SVN: r180513
GCC Administrator [Wed, 26 Oct 2011 09:08:06 +0000 (09:08 +0000)]
Mark ChangeLog
From-SVN: r180512
GCC Administrator [Wed, 26 Oct 2011 09:07:59 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180511
GCC Administrator [Wed, 26 Oct 2011 09:07:54 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180510
GCC Administrator [Wed, 26 Oct 2011 09:07:50 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180509
GCC Administrator [Wed, 26 Oct 2011 09:07:44 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180508
GCC Administrator [Wed, 26 Oct 2011 09:07:39 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180507
GCC Administrator [Wed, 26 Oct 2011 09:07:33 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180506
GCC Administrator [Wed, 26 Oct 2011 09:07:29 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180505
GCC Administrator [Wed, 26 Oct 2011 09:07:23 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180504
GCC Administrator [Wed, 26 Oct 2011 09:07:18 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180503
GCC Administrator [Wed, 26 Oct 2011 09:07:13 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180502
GCC Administrator [Wed, 26 Oct 2011 09:07:07 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180501
GCC Administrator [Wed, 26 Oct 2011 09:07:01 +0000 (09:07 +0000)]
Mark ChangeLog
From-SVN: r180500
GCC Administrator [Wed, 26 Oct 2011 09:06:54 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180499
GCC Administrator [Wed, 26 Oct 2011 09:06:49 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180498
GCC Administrator [Wed, 26 Oct 2011 09:06:43 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180497
GCC Administrator [Wed, 26 Oct 2011 09:06:36 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180496
GCC Administrator [Wed, 26 Oct 2011 09:06:30 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180495
GCC Administrator [Wed, 26 Oct 2011 09:06:24 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180494
GCC Administrator [Wed, 26 Oct 2011 09:06:16 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180493
GCC Administrator [Wed, 26 Oct 2011 09:06:09 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180492
GCC Administrator [Wed, 26 Oct 2011 09:06:03 +0000 (09:06 +0000)]
Mark ChangeLog
From-SVN: r180491
GCC Administrator [Wed, 26 Oct 2011 09:05:57 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180490
GCC Administrator [Wed, 26 Oct 2011 09:05:50 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180489
GCC Administrator [Wed, 26 Oct 2011 09:05:44 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180488
GCC Administrator [Wed, 26 Oct 2011 09:05:37 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180487
GCC Administrator [Wed, 26 Oct 2011 09:05:31 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180486
GCC Administrator [Wed, 26 Oct 2011 09:05:24 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180485
GCC Administrator [Wed, 26 Oct 2011 09:05:18 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180484
GCC Administrator [Wed, 26 Oct 2011 09:05:13 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180483
GCC Administrator [Wed, 26 Oct 2011 09:05:06 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180482
GCC Administrator [Wed, 26 Oct 2011 09:05:01 +0000 (09:05 +0000)]
Mark ChangeLog
From-SVN: r180481
GCC Administrator [Wed, 26 Oct 2011 09:04:54 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180480
GCC Administrator [Wed, 26 Oct 2011 09:04:49 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180479
GCC Administrator [Wed, 26 Oct 2011 09:04:42 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180478
GCC Administrator [Wed, 26 Oct 2011 09:04:37 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180477
GCC Administrator [Wed, 26 Oct 2011 09:04:30 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180476
GCC Administrator [Wed, 26 Oct 2011 09:04:23 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180475
GCC Administrator [Wed, 26 Oct 2011 09:04:16 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180474
GCC Administrator [Wed, 26 Oct 2011 09:04:10 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180473
GCC Administrator [Wed, 26 Oct 2011 09:04:03 +0000 (09:04 +0000)]
Mark ChangeLog
From-SVN: r180472
GCC Administrator [Wed, 26 Oct 2011 09:03:57 +0000 (09:03 +0000)]
Mark ChangeLog
From-SVN: r180471
GCC Administrator [Wed, 26 Oct 2011 00:18:24 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180463
Joseph Myers [Tue, 25 Oct 2011 15:37:58 +0000 (16:37 +0100)]
* ja.po: Update.
From-SVN: r180433
Kai Tietz [Tue, 25 Oct 2011 07:28:58 +0000 (09:28 +0200)]
mingw32.h (SUBTARGET_FRAME_POINTER_REQUIRED): Use for 32-bit frame-pointer, if setjmp is used.
* config/i386/mingw32.h (SUBTARGET_FRAME_POINTER_REQUIRED):
Use for 32-bit frame-pointer, if setjmp is used.
From-SVN: r180422
GCC Administrator [Tue, 25 Oct 2011 00:18:36 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180416
Jakub Jelinek [Mon, 24 Oct 2011 18:09:21 +0000 (20:09 +0200)]
re PR debug/50816 ([4.6.1] Discriminators are emitted in DWARF 2 format)
PR debug/50816
* dwarf2out.c (dwarf2out_source_line): Emit discriminators only if
-gdwarf-4 or not -gstrict-dwarf.
From-SVN: r180398
Georg-Johann Lay [Mon, 24 Oct 2011 14:55:45 +0000 (14:55 +0000)]
re PR target/49824 ([avr] Missing documentation for OS_task and OS_main attributes)
PR target/49824
Backport from mainline r180385
* doc/extend.texi (Declaring Attributes of Functions):
Document OS_main and OS_task attributes.
(Specifying Attributes of Variables): Move up
subsection "AVR Variable Attributes" as of alphabetical order.
From-SVN: r180390
Georg-Johann Lay [Mon, 24 Oct 2011 12:22:21 +0000 (12:22 +0000)]
re PR target/50820 ([avr] Use EIND consistently)
PR target/50820
* doc/invoke.texi (AVR Options): New subsubsection to explain EIND
handling and indirect jump/calls on devices > 128k.
From-SVN: r180379
GCC Administrator [Mon, 24 Oct 2011 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r180357
Uros Bizjak [Sun, 23 Oct 2011 15:14:58 +0000 (17:14 +0200)]
re PR target/50788 (ICE: in merge_overlapping_regs, at regrename.c:318 with -mavx -fpeel-loops -fstack-protector-all and __builtin_ia32_maskloadpd256)
PR target/50788
* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
Remove (match_dup 0).
testuite/ChangeLog:
PR target/50788
* gcc.target/i386/pr50788.c: New test.
From-SVN: r180337
GCC Administrator [Sun, 23 Oct 2011 00:18:07 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180332
GCC Administrator [Sat, 22 Oct 2011 00:18:42 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180319
Georg-Johann Lay [Fri, 21 Oct 2011 14:24:21 +0000 (14:24 +0000)]
re PR target/50820 ([avr] Use EIND consistently)
PR target/50820
Backport from Mainline r180299.
* config/avr/libgcc.S (__EIND__): New define to 0x3C.
(__tablejump__): Consistently use EIND for indirect jump/call.
(__tablejump_elpm__): Ditto.
From-SVN: r180303
GCC Administrator [Fri, 21 Oct 2011 00:18:37 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180281
Uros Bizjak [Thu, 20 Oct 2011 15:22:57 +0000 (17:22 +0200)]
ipa-sra-2.c: Add dg-require-effective-target non_strict_align.
* gcc.dg/ipa/ipa-sra-2.c: Add dg-require-effective-target
non_strict_align.
* gcc.dg/ipa/ipa-sra-6.c: Ditto.
From-SVN: r180259
Ramana Radhakrishnan [Thu, 20 Oct 2011 09:24:06 +0000 (09:24 +0000)]
Backport from mainline fix for PR target/50106.
From-SVN: r180241
GCC Administrator [Thu, 20 Oct 2011 00:18:17 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180231
Jason Merrill [Wed, 19 Oct 2011 22:21:52 +0000 (18:21 -0400)]
re PR c++/50793 (G++ doesn't value-initialize all members of non-trivial type in default argument)
PR c++/50793
* tree.c (bot_manip): Propagate AGGR_INIT_ZERO_FIRST.
From-SVN: r180225
Jason Merrill [Wed, 19 Oct 2011 22:21:34 +0000 (18:21 -0400)]
re PR c++/50787 (reference fails to bind directly to variable)
PR c++/50787
* g++.dg/init/ref20.C: New.
From-SVN: r180224
Jason Merrill [Wed, 19 Oct 2011 20:31:21 +0000 (16:31 -0400)]
re PR c++/50787 (reference fails to bind directly to variable)
PR c++/50787
* g++.dg/init/ref20.C: New.
From-SVN: r180205
Jason Merrill [Wed, 19 Oct 2011 20:30:50 +0000 (16:30 -0400)]
re PR c++/50787 (reference fails to bind directly to variable)
PR c++/50787
* parser.c (cp_parser_initializer_clause): Don't call
maybe_constant_value here.
From-SVN: r180204
Janne Blomqvist [Wed, 19 Oct 2011 17:27:03 +0000 (20:27 +0300)]
re PR libfortran/50016 (Drastic I/O performance regression on Windows)
2011-10-19 Janne Blomqvist <jb@gcc.gnu.org>
Kai Tietz <ktietz@redhat.com>
Tobias Burnus <burnus@net-b.de>
PR fortran/50016
* io/unix.h (flush_sync): Add new libgfortran-internal
* prototype.
* io/unix.c (flush_sync): New function, which calls sflush and
on MinGW(-w64) also _commit.
(flush_all_units, flush_all_units_1): Replace sflush/_commit by
flush_sync.
* io/file_pos.c (st_flush): Replace sflush/_commit by
* flush_sync.
* io/intrinsics.c (flush_i4, flush_i8): Ditto.
Co-Authored-By: Kai Tietz <ktietz@redhat.com>
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r180199
Jakub Jelinek [Wed, 19 Oct 2011 08:46:53 +0000 (10:46 +0200)]
dwarf2out.c (loc_descriptor): For SUBREG pass SUBREG_REG's mode as second argument instead of mode.
* dwarf2out.c (loc_descriptor): For SUBREG pass SUBREG_REG's mode as
second argument instead of mode.
From-SVN: r180180
Jakub Jelinek [Wed, 19 Oct 2011 08:45:45 +0000 (10:45 +0200)]
re PR target/50350 (ICE (segfault) in canonicalize_float_value)
PR target/50350
Backport from mainline
2011-09-27 Richard Sandiford <rdsandiford@googlemail.com>
PR middle-end/50386
PR middle-end/50326
* tree-sra.c (build_ref_for_model): Use the type of the field as
the type of the COMPONENT_REF.
From-SVN: r180179
GCC Administrator [Wed, 19 Oct 2011 00:18:22 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180172
Jason Merrill [Tue, 18 Oct 2011 19:36:29 +0000 (15:36 -0400)]
re PR c++/50531 ([C++0x] ICE on defaulted template destructor)
PR c++/50531
* pt.c (instantiate_decl): Recognize when a function defaulted
outside the class is already instantiated.
From-SVN: r180163
Tobias Burnus [Tue, 18 Oct 2011 12:58:42 +0000 (14:58 +0200)]
re PR libfortran/50016 (Drastic I/O performance regression on Windows)
2011-10-18 Tobias Burnus <burnus@net-b.de>
Janne Blomqvist <jb@gcc.gnu.org>
PR fortran/50016
* io/file_pos.c (st_flush): Call _commit on MinGW(-w64).
* io/intrinsics.c (flush_i4, flush_i8): Ditto.
* io/unix.c (flush_all_units_1, flush_all_units): Ditto.
(buf_flush): Remove _commit call.
* io/inquire.c (inquire_via_unit): Flush internal buffer
and call file_length instead of invoking stat via file_size.
Co-Authored-By: Janne Blomqvist <jb@gcc.gnu.org>
From-SVN: r180138
Uros Bizjak [Tue, 18 Oct 2011 12:55:06 +0000 (14:55 +0200)]
re PR target/50737 (FAIL: Throw_3 -O3 execution, generic dwarf2 EH problem?)
2011-10-18 Uros Bizjak <ubizjak@gmail.com>
Eric Botcazou <ebotcazou@adacore.com>
PR target/50737
* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
fs->signal_frame to 1.
libjava/ChangeLog:
2011-10-18 Uros Bizjak <ubizjak@gmail.com>
Eric Botcazou <ebotcazou@adacore.com>
PR target/50737
* include/dwarf2-signal.h [__alpha__]: Remove MAKE_THROW_FRAME
definition.
From-SVN: r180137
GCC Administrator [Tue, 18 Oct 2011 00:18:14 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180117
Janus Weil [Mon, 17 Oct 2011 15:59:32 +0000 (17:59 +0200)]
re PR fortran/47023 (C_Sizeof: Rejects valid code)
2011-10-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/47023
* primary.c (match_kind_param): Detect ISO_C_BINDING kinds.
(get_kind): Pass on 'is_iso_c' flag.
(match_integer_constant,match_real_constant,match_logical_constant):
Set 'ts.is_c_interop'.
2011-10-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/47023
* gfortran.dg/c_kind_tests_3.f03: New.
From-SVN: r180099
GCC Administrator [Mon, 17 Oct 2011 00:18:04 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180070
GCC Administrator [Sun, 16 Oct 2011 00:17:44 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r180051
Janus Weil [Sat, 15 Oct 2011 13:30:07 +0000 (15:30 +0200)]
re PR fortran/50570 (Incorrect error for assignment to intent(in) pointer)
2011-10-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/50570
* expr.c (gfc_check_vardef_context): Don't throw an error on
non-pointer assignments involving an intent(in) pointer dummy.
2011-10-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/50570
* gfortran.dg/pointer_intent_5.f90: New.
From-SVN: r180037
Nicola Pero [Sat, 15 Oct 2011 08:04:33 +0000 (08:04 +0000)]
In gcc/cp/: 2011-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/cp/:
2011-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
Backport from mainline
2011-06-06 Nicola Pero <nicola.pero@meta-innovation.com>,
PR obj-c++/48275
* parser.c (cp_parser_objc_at_property_declaration): Allow setter
and getter names to use all the allowed method names.
In gcc/testsuite/:
2011-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
Backport from mainline
2011-06-06 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc-++/48275
* obj-c++.dg/property/cxx-property-1.mm: New.
* obj-c++.dg/property/cxx-property-2.mm: New.
From-SVN: r180023
Tobias Burnus [Sat, 15 Oct 2011 06:55:28 +0000 (08:55 +0200)]
re PR fortran/50718 (ICE (fold_convert) with -fcheck=pointer)
2011-10-15 Tobias Burnus <burnus@net-b.de>
PR fortran/50718
* trans-expr.c (gfc_conv_procedure_call): Fix -fcheck=pointer
for dummy arguments with VALUE attribute.
2011-10-15 Tobias Burnus <burnus@net-b.de>
PR fortran/50718
* gfortran.dg/pointer_check_11.f90: New.
* gfortran.dg/pointer_check_12.f90: New.
From-SVN: r180022
GCC Administrator [Sat, 15 Oct 2011 00:18:38 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180018
Eric Botcazou [Fri, 14 Oct 2011 23:04:14 +0000 (23:04 +0000)]
Add missing entry
From-SVN: r180014
Nicola Pero [Fri, 14 Oct 2011 17:19:07 +0000 (17:19 +0000)]
In libobjc/: 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
Backport from mainline
2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
PR libobjc/49883
* init.c (__objc_exec_class): Work around a bug in clang's code
generation. Clang sets the class->info field to values different
from 0x1 or 0x2 (the only allowed values in the traditional GNU
Objective-C runtime ABI) to store some additional information, but
this breaks backwards compatibility. Wipe out all the bits in the
fields other than the first two upon loading a class.
From-SVN: r179997
Nicola Pero [Fri, 14 Oct 2011 17:10:14 +0000 (17:10 +0000)]
In libobjc/: 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
Backport from mainline
2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
PR libobjc/50002
* class.c (__objc_update_classes_with_methods): Iterate over meta
classes as well as normal classes when refreshing the method
implementations. This fixes replacing class methods.
From-SVN: r179996