* [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