Chromium Code Reviews
DescriptionARM: Work around ICE with gcc-4.3 when building ICU
Using a crosstool-ng build toolchain, the following error is encountered at the
default optimisation level (-O2) when targetting ARMv5:
third_party/icu/source/i18n/rematch.cpp: In member function 'void icu_4_2::RegexMatcher::MatchAt(int32_t, UBool, UErrorCode&)':
third_party/icu/source/i18n/rematch.cpp:2785: error: unrecognizable insn:
(insn 4627 1680 1682 231 third_party/icu/source/i18n/rematch.cpp:1949 (set (reg:SI 0 r0)
(plus:SI (reg:SI 3 r3 [1112])
(mult:SI (reg/v:SI 14 lr [orig:252 opValue.2394 ] [252])
(const_int 32 [0x20])))) -1 (nil))
third_party/icu/source/i18n/rematch.cpp:2785: internal compiler error: in extract_insn, at recog.c:1990
This can be worked around by building the file at -Os.
Patch by Joel Stanley <joel@jms.id.au>
BUG=19954
Patch Set 1 #Patch Set 2 : '' #
Total comments: 1
Patch Set 3 : '' #Patch Set 4 : '' #
Total comments: 1
Messages
Total messages: 7 (0 generated)
|