public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30383] New: ice for legal code on x86_64
@ 2007-01-05 15:30 dcb314 at hotmail dot com
2007-01-05 15:31 ` [Bug c/30383] " dcb314 at hotmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2007-01-05 15:30 UTC (permalink / raw)
To: gcc-bugs
I just tried to compile package libhugetlbfs-1.0.1-200612221420
with the GNU C compiler version 4.2 snapshot 20061230
The compiler said
/usr/include/bits/string3.h: In function 'jumpfunc':
/usr/include/bits/string3.h:51: internal compiler error: in ix86_expand_movmem,
at config/i386/i386.c:13608
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Preprocessed source code attached. Flags -march=opteron -O2 required.
--
Summary: ice for legal code on x86_64
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: x86_64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/30383] ice for legal code on x86_64
2007-01-05 15:30 [Bug c/30383] New: ice for legal code on x86_64 dcb314 at hotmail dot com
@ 2007-01-05 15:31 ` dcb314 at hotmail dot com
2007-01-06 0:37 ` [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2007-01-05 15:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dcb314 at hotmail dot com 2007-01-05 15:31 -------
Created an attachment (id=12860)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12860&action=view)
C source code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem
2007-01-05 15:30 [Bug c/30383] New: ice for legal code on x86_64 dcb314 at hotmail dot com
2007-01-05 15:31 ` [Bug c/30383] " dcb314 at hotmail dot com
@ 2007-01-06 0:37 ` pinskia at gcc dot gnu dot org
2007-01-07 0:47 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-06 0:37 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Keywords| |ice-on-valid-code
Summary|ice for legal code on x86_64|[4.3 Regression] ice for
|in ix86_expand_movmem |legal code on x86_64 in
| |ix86_expand_movmem
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem
2007-01-05 15:30 [Bug c/30383] New: ice for legal code on x86_64 dcb314 at hotmail dot com
2007-01-05 15:31 ` [Bug c/30383] " dcb314 at hotmail dot com
2007-01-06 0:37 ` [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem pinskia at gcc dot gnu dot org
@ 2007-01-07 0:47 ` pinskia at gcc dot gnu dot org
2007-01-07 3:24 ` hubicka at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-07 0:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-07 00:47 -------
Reduced testcase:
void jumpfunc(int copy, void *p)
{
__builtin_memcpy (p, &&dummy, 128);
dummy: ;
}
------------
This code is undefined as the address of a label will never be 128bytes, it
will either be 4 or 8 bytes.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC host triplet|x86_64-suse-linux |
GCC target triplet|x86_64-linux-gnu |i?86-*-* x86_64-*-*
Last reconfirmed|0000-00-00 00:00:00 |2007-01-07 00:47:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem
2007-01-05 15:30 [Bug c/30383] New: ice for legal code on x86_64 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2007-01-07 0:47 ` pinskia at gcc dot gnu dot org
@ 2007-01-07 3:24 ` hubicka at gcc dot gnu dot org
2007-01-08 13:33 ` bonzini at gnu dot org
2007-06-18 2:18 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2007-01-07 3:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hubicka at gcc dot gnu dot org 2007-01-07 03:23 -------
Created an attachment (id=12868)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12868&action=view)
fix in testing
testing a fix.
--
hubicka at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |hubicka at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem
2007-01-05 15:30 [Bug c/30383] New: ice for legal code on x86_64 dcb314 at hotmail dot com
` (3 preceding siblings ...)
2007-01-07 3:24 ` hubicka at gcc dot gnu dot org
@ 2007-01-08 13:33 ` bonzini at gnu dot org
2007-06-18 2:18 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: bonzini at gnu dot org @ 2007-01-08 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bonzini at gnu dot org 2007-01-08 13:32 -------
> This code is undefined as the address of a label will never be 128bytes, it
> will either be 4 or 8 bytes.
No, that would be
void *p = &&dummy;
memcpy (foo, &p, sizeof (p));
Here, it's copying code from the address of the label.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem
2007-01-05 15:30 [Bug c/30383] New: ice for legal code on x86_64 dcb314 at hotmail dot com
` (4 preceding siblings ...)
2007-01-08 13:33 ` bonzini at gnu dot org
@ 2007-06-18 2:18 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-18 2:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-18 02:18 -------
This has been working since "4.3.0 20070131" so closing.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30383
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-06-18 2:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-05 15:30 [Bug c/30383] New: ice for legal code on x86_64 dcb314 at hotmail dot com
2007-01-05 15:31 ` [Bug c/30383] " dcb314 at hotmail dot com
2007-01-06 0:37 ` [Bug target/30383] [4.3 Regression] ice for legal code on x86_64 in ix86_expand_movmem pinskia at gcc dot gnu dot org
2007-01-07 0:47 ` pinskia at gcc dot gnu dot org
2007-01-07 3:24 ` hubicka at gcc dot gnu dot org
2007-01-08 13:33 ` bonzini at gnu dot org
2007-06-18 2:18 ` pinskia 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).