public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument
@ 2009-05-29 12:52 jakub at gcc dot gnu dot org
2009-05-29 12:54 ` [Bug middle-end/40291] " jakub at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-05-29 12:52 UTC (permalink / raw)
To: gcc-bugs
int
foo (void *x, char *y, unsigned long long z)
{
return memcmp (x, y, z);
}
ICEs with -m32 -O{,2,3} on i686/x86_64 with:
rh503160.i: In function 'foo':
rh503160.i:5: error: unrecognizable insn:
(insn 10 9 11 3 rh503160.i:4 (parallel [
(set (reg:SI 65)
(zero_extend:DI (reg/v:DI 62 [ z ])))
(clobber (reg:CC 17 flags))
]) -1 (nil))
rh503160.i:5: internal compiler error: in extract_insn, at recog.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with
long long last argument
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: i686-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/40291] [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
@ 2009-05-29 12:54 ` jakub at gcc dot gnu dot org
2009-05-29 15:38 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-05-29 12:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jakub at gcc dot gnu dot org 2009-05-29 12:53 -------
Works with 3.4.x.
Testing a patch.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Known to fail| |4.0.3 4.1.2 4.2.2 4.3.3
| |4.4.0 4.5.0
Known to work| |3.4.6
Last reconfirmed|0000-00-00 00:00:00 |2009-05-29 12:53:57
date| |
Target Milestone|--- |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/40291] [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
2009-05-29 12:54 ` [Bug middle-end/40291] " jakub at gcc dot gnu dot org
@ 2009-05-29 15:38 ` jakub at gcc dot gnu dot org
2009-05-29 15:47 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-05-29 15:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2009-05-29 15:38 -------
Subject: Bug 40291
Author: jakub
Date: Fri May 29 15:38:20 2009
New Revision: 147978
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147978
Log:
PR middle-end/40291
* builtins.c (expand_builtin_memcmp): Convert len to sizetype
before expansion.
* gcc.c-torture/compile/pr40291.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr40291.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/40291] [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
2009-05-29 12:54 ` [Bug middle-end/40291] " jakub at gcc dot gnu dot org
2009-05-29 15:38 ` jakub at gcc dot gnu dot org
@ 2009-05-29 15:47 ` jakub at gcc dot gnu dot org
2009-05-29 15:51 ` [Bug middle-end/40291] [4.3 " jakub at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-05-29 15:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2009-05-29 15:47 -------
Subject: Bug 40291
Author: jakub
Date: Fri May 29 15:47:31 2009
New Revision: 147979
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147979
Log:
PR middle-end/40291
* builtins.c (expand_builtin_memcmp): Convert len to sizetype
before expansion.
* gcc.c-torture/compile/pr40291.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr40291.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/builtins.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/40291] [4.3 Regression] ICE on unprototyped memcmp with long long last argument
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-05-29 15:47 ` jakub at gcc dot gnu dot org
@ 2009-05-29 15:51 ` jakub at gcc dot gnu dot org
2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-05-29 15:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2009-05-29 15:51 -------
Fixed for 4.4/4.5 so far.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jakub at gcc dot gnu dot org|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
Summary|[4.3/4.4/4.5 Regression] ICE|[4.3 Regression] ICE on
|on unprototyped memcmp with |unprototyped memcmp with
|long long last argument |long long last argument
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/40291] [4.3 Regression] ICE on unprototyped memcmp with long long last argument
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-05-29 15:51 ` [Bug middle-end/40291] [4.3 " jakub at gcc dot gnu dot org
@ 2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
2009-07-10 16:02 ` rguenth at gcc dot gnu dot org
2009-07-10 16:05 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-17 21:04 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/40291] [4.3 Regression] ICE on unprototyped memcmp with long long last argument
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
@ 2009-07-10 16:02 ` rguenth at gcc dot gnu dot org
2009-07-10 16:05 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-10 16:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-07-10 16:02 -------
Subject: Bug 40291
Author: rguenth
Date: Fri Jul 10 16:01:34 2009
New Revision: 149487
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149487
Log:
2009-07-10 Richard Guenther <rguenther@suse.de>
Backport from mainline
2009-05-29 Jakub Jelinek <jakub@redhat.com>
PR middle-end/40291
* builtins.c (expand_builtin_memcmp): Convert len to sizetype
before expansion.
* gcc.c-torture/compile/pr40291.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr40291.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/builtins.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/40291] [4.3 Regression] ICE on unprototyped memcmp with long long last argument
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-07-10 16:02 ` rguenth at gcc dot gnu dot org
@ 2009-07-10 16:05 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-10 16:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-07-10 16:04 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail|4.0.3 4.1.2 4.2.2 4.3.3 |4.0.3 4.1.2 4.2.2 4.3.3
|4.4.0 4.5.0 |4.4.0
Known to work|3.4.6 |3.4.6 4.3.4 4.4.1 4.5.0
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40291
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-07-10 16:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-29 12:52 [Bug middle-end/40291] New: [4.3/4.4/4.5 Regression] ICE on unprototyped memcmp with long long last argument jakub at gcc dot gnu dot org
2009-05-29 12:54 ` [Bug middle-end/40291] " jakub at gcc dot gnu dot org
2009-05-29 15:38 ` jakub at gcc dot gnu dot org
2009-05-29 15:47 ` jakub at gcc dot gnu dot org
2009-05-29 15:51 ` [Bug middle-end/40291] [4.3 " jakub at gcc dot gnu dot org
2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
2009-07-10 16:02 ` rguenth at gcc dot gnu dot org
2009-07-10 16:05 ` rguenth at gcc dot gnu dot org
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).