public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: optimization/8178: __builtin_ffs broken
Date: Fri, 18 Apr 2003 16:26:00 -0000	[thread overview]
Message-ID: <20030418162600.489.qmail@sources.redhat.com> (raw)

The following reply was made to PR optimization/8178; it has been noted by GNATS.

From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: reichelt@igpm.rwth-aachen.de
Cc: christianbiere@gmx.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: optimization/8178: __builtin_ffs broken
Date: 18 Apr 2003 18:23:15 +0200

 reichelt@igpm.rwth-aachen.de writes:
 
 > Synopsis: __builtin_ffs broken
 > 
 > State-Changed-From-To: analyzed->closed
 > State-Changed-By: reichelt
 > State-Changed-When: Fri Apr 18 15:36:52 2003
 > State-Changed-Why:
 >     Fixed in gcc 3.2 branch, 3.3 branch and mainline.
 
 It still doesn't work for me on mainline with -march=k6:
 
 % cat ffs.c
 int f(int x) { return __builtin_ffs(x); }
 
 % /tmp/bla/bin/gcc -v 
 Reading specs from /usr/tmp/bla/bin/../lib/gcc-lib/i586-pc-linux-gnu/3.4/specs
 Configured with: ./configure --enable-languages=c --disable-nls
 Thread model: posix
 gcc version 3.4 20030415 (experimental)
 % /tmp/bla/bin/gcc -c ffs.c 
 % /tmp/bla/bin/gcc -c -march=k6 ffs.c
 ffs.c: In function `f':
 ffs.c:1: error: unrecognizable insn:
 (insn 26 22 27 0 0x401705d8 (parallel [
             (set (reg:SI 1 edx)
                 (const_int 0 [0x0]))
             (clobber (reg:CC 17 flags))
         ]) -1 (nil)
     (nil))
 ffs.c:1: internal compiler error: in extract_insn, at recog.c:2188
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://gcc.gnu.org/bugs.html> for instructions.
 
 -- 
 	Falk


             reply	other threads:[~2003-04-18 16:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 16:26 Falk Hueffner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-18 15:36 reichelt
2003-03-13  0:46 Richard Henderson
2003-03-12 12:36 Volker Reichelt
2003-03-10 15:46 Eric Botcazou
2003-03-10 15:06 Volker Reichelt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030418162600.489.qmail@sources.redhat.com \
    --to=falk.hueffner@student.uni-tuebingen.de \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).