public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084
@ 2006-11-04 19:02 gcc-bugzilla at gcc dot gnu dot org
2006-11-04 19:07 ` [Bug target/29714] " phil dot sidler at attachmate dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2006-11-04 19:02 UTC (permalink / raw)
To: gcc-bugs
../hercules/general2.c: In function 'z900_test_and_set':
../hercules/general2.c:1415: error: unrecognizable insn:
(insn 130 128 131 17 (set (reg:QI 102)
(const_int 255 [0xff])) -1 (nil)
(nil))
../hercules/general2.c:1415: internal compiler error: in
extract_insn, at recog.c:2084
Environment:
System: Linux herc-host 2.6.15-27-amd64-server #1 SMP Sat Sep 16 02:04:37 UTC
2006 x86_64 GNU/Linux
Architecture: x86_64
host: x86_64-pc-linux-gnu
build: x86_64-pc-linux-gnu
target: x86_64-pc-linux-gnu
configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release
x86_64-linux-gnu
How-To-Repeat:
can I attach the preprocessor output using this script?
------- Comment #1 from phil dot sidler at attachmate dot com 2006-11-04 19:02 -------
Fix:
unknown>
--
Summary: internal compiler error: in extract_insn, at
recog.c:2084
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: phil dot sidler at attachmate dot com
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
@ 2006-11-04 19:07 ` phil dot sidler at attachmate dot com
2006-11-04 20:33 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: phil dot sidler at attachmate dot com @ 2006-11-04 19:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from phil dot sidler at attachmate dot com 2006-11-04 19:07 -------
Created an attachment (id=12548)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12548&action=view)
preprocessed source gzipped
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
2006-11-04 19:07 ` [Bug target/29714] " phil dot sidler at attachmate dot com
@ 2006-11-04 20:33 ` rguenth at gcc dot gnu dot org
2006-11-04 23:24 ` phil dot sidler at attachmate dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-11-04 20:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2006-11-04 20:33 -------
how did you compile the testcase?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
2006-11-04 19:07 ` [Bug target/29714] " phil dot sidler at attachmate dot com
2006-11-04 20:33 ` rguenth at gcc dot gnu dot org
@ 2006-11-04 23:24 ` phil dot sidler at attachmate dot com
2006-11-06 20:18 ` phil dot sidler at attachmate dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: phil dot sidler at attachmate dot com @ 2006-11-04 23:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from phil dot sidler at attachmate dot com 2006-11-04 23:24 -------
gcc -W -Wall -O3 -march=k8 -fomit-frame-pointer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-11-04 23:24 ` phil dot sidler at attachmate dot com
@ 2006-11-06 20:18 ` phil dot sidler at attachmate dot com
2006-11-06 20:20 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: phil dot sidler at attachmate dot com @ 2006-11-06 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from phil dot sidler at attachmate dot com 2006-11-06 20:18 -------
Recreated with the following
#include <stdint.h>
main()
{
uint8_t area = 1;
uint8_t oldval;
uint8_t res;
oldval = area;
res = __sync_val_compare_and_swap(&area, oldval, 128);
}
Note that constant values less that 128 in the 3rd parameter work OK.
Casting the 3rd parameter to be unsigned does not work.
Using a temporary variable instead of a constant does work, but only with
optimization turned off.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-11-06 20:18 ` phil dot sidler at attachmate dot com
@ 2006-11-06 20:20 ` pinskia at gcc dot gnu dot org
2006-11-06 20:27 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-06 20:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-11-06 20:20 -------
I think this has been fixed already, see PR 28924.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-11-06 20:20 ` pinskia at gcc dot gnu dot org
@ 2006-11-06 20:27 ` pinskia at gcc dot gnu dot org
2006-11-06 20:29 ` phil dot sidler at attachmate dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-06 20:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-11-06 20:26 -------
(In reply to comment #5)
> Recreated with the following
What exact version of 4.1.2 are you using?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-11-06 20:27 ` pinskia at gcc dot gnu dot org
@ 2006-11-06 20:29 ` phil dot sidler at attachmate dot com
2006-11-06 20:31 ` pinskia at gcc dot gnu dot org
2006-11-06 21:58 ` phil dot sidler at attachmate dot com
8 siblings, 0 replies; 10+ messages in thread
From: phil dot sidler at attachmate dot com @ 2006-11-06 20:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from phil dot sidler at attachmate dot com 2006-11-06 20:29 -------
I see you're right, this is probably fixed now.
This was on
cc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-11-06 20:29 ` phil dot sidler at attachmate dot com
@ 2006-11-06 20:31 ` pinskia at gcc dot gnu dot org
2006-11-06 21:58 ` phil dot sidler at attachmate dot com
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-06 20:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2006-11-06 20:31 -------
This is a dup of bug 28924 after all and has been fixed already.
*** This bug has been marked as a duplicate of 28924 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/29714] internal compiler error: in extract_insn, at recog.c:2084
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-11-06 20:31 ` pinskia at gcc dot gnu dot org
@ 2006-11-06 21:58 ` phil dot sidler at attachmate dot com
8 siblings, 0 replies; 10+ messages in thread
From: phil dot sidler at attachmate dot com @ 2006-11-06 21:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from phil dot sidler at attachmate dot com 2006-11-06 21:58 -------
fyi, does work OK at
gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
cheers
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-11-06 21:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-04 19:02 [Bug c/29714] New: internal compiler error: in extract_insn, at recog.c:2084 gcc-bugzilla at gcc dot gnu dot org
2006-11-04 19:07 ` [Bug target/29714] " phil dot sidler at attachmate dot com
2006-11-04 20:33 ` rguenth at gcc dot gnu dot org
2006-11-04 23:24 ` phil dot sidler at attachmate dot com
2006-11-06 20:18 ` phil dot sidler at attachmate dot com
2006-11-06 20:20 ` pinskia at gcc dot gnu dot org
2006-11-06 20:27 ` pinskia at gcc dot gnu dot org
2006-11-06 20:29 ` phil dot sidler at attachmate dot com
2006-11-06 20:31 ` pinskia at gcc dot gnu dot org
2006-11-06 21:58 ` phil dot sidler at attachmate dot com
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).