This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/8178: __builtin_ffs broken
- From: reichelt at igpm dot rwth-aachen dot de
- To: christianbiere at gmx dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 22 Nov 2002 23:19:32 -0000
- Subject: Re: optimization/8178: __builtin_ffs broken
- Reply-to: reichelt at igpm dot rwth-aachen dot de, christianbiere at gmx dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: Internal compiler error in extract_insn, at recog.c:2148
New Synopsis: __builtin_ffs broken
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Nov 22 15:19:32 2002
State-Changed-Why:
Confirmed.
The bug can be reproduced with the following line:
int main() { return __builtin_ffs(4); }
Just compile without optimization on i686-pc-linux-gnu.
The bug affects all compilers since 2.95.x.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8178