This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: target/9150: [3.4 regression] ICE in recog.c:2177 using -march=pentium3and -fPIC



Hi All,

It looks like the fix for bootstrap/9036 also fixes target/9150

ice.c:
---------------
float
foo(float bar)
{
return (((bar) < 0.0f) ? -bar : bar);
}
----------------

% /usr/local/gcc-3.4-20030108-i686-pc-linux-gnu/bin/gcc -c ice.c -msse2 -fpic
ice.c: In function `foo':
ice.c:5: error: unrecognizable insn:
(insn 18 33 19 2 (nil) (set (reg:V4SF 63)
(mem/u/f:V4SF (symbol_ref/u:SI ("*.LC1")) [0 S16 A128])) -1 (nil)
(expr_list:REG_EQUAL (const_vector:V4SF [
(const_double:SF 0 [0x0] -0.0 [-0x0.0p+0])
(const_double:SF 0 [0x0] 0.0 [0x0.0p+0])
(const_double:SF 0 [0x0] 0.0 [0x0.0p+0])
(const_double:SF 0 [0x0] 0.0 [0x0.0p+0])
])
(nil)))
ice.c:5: internal compiler error: in extract_insn, at recog.c:2177
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

% gcc34 -v
Reading specs from /usr/local/gcc-3.4-20030115-i686-pc-linux-gnu/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: /usr/local/src/cvs/gcc/configure --prefix=/usr/local/gcc-3.4-20030115-i686-pc-linux-gnu --with-gnu-as --with-as=/usr/local/binutils-2.13.90.0.16-i686-pc-linux-gnu/bin/as --with-gnu-ld -with-ld=/usr/local/binutils-2.13.90.0.16-i686-pc-linux-gnu/bin/ld --enable-threads=posix --with-dwarf2 --disable-shared --enable-languages=c++ --enable-__cxa_atexit
Thread model: posix
gcc version 3.4 20030115 (experimental)

% gcc34 -c ice.c -msse2 -fpic
%

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]