public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53758] New: Segfault at 'vmovaps' when setting pointer array in a loop
@ 2012-06-24 8:42 jan.boon at kaetemi dot be
2012-06-24 14:29 ` [Bug target/53758] " hjl.tools at gmail dot com
2012-06-24 17:07 ` jan.boon at kaetemi dot be
0 siblings, 2 replies; 3+ messages in thread
From: jan.boon at kaetemi dot be @ 2012-06-24 8:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53758
Bug #: 53758
Summary: Segfault at 'vmovaps' when setting pointer array in a
loop
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jan.boon@kaetemi.be
Created attachment 27692
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27692
Disassemly of function and list of registers.
Segfault in a simple loop that sets pointers in an array to NULL.
Target is -march=bdver1 -mtune=bdver1.
for(i = 0; i < NL_DLM_LIGHTMAP_TYPE_SIZE; i++)
{
_FreeBlocks[i] = NULL;
}
0x00007ffff6ea4b00 <+608>: inc %edx
=> 0x00007ffff6ea4b02 <+610>: vmovaps %xmm0,(%rcx)
0x00007ffff6ea4b06 <+614>: add $0x10,%rcx
0x00007ffff6ea4b0a <+618>: cmp %edx,%esi
0x00007ffff6ea4b0c <+620>: ja 0x7ffff6ea4b00
edx 0x1 1
rcx 0x159106a4 361825956
esi 0x8 8
Full log in attachment.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/53758] Segfault at 'vmovaps' when setting pointer array in a loop
2012-06-24 8:42 [Bug target/53758] New: Segfault at 'vmovaps' when setting pointer array in a loop jan.boon at kaetemi dot be
@ 2012-06-24 14:29 ` hjl.tools at gmail dot com
2012-06-24 17:07 ` jan.boon at kaetemi dot be
1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-24 14:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53758
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-06-24
CC| |areg.melikadamyan at gmail
| |dot com, hjl.tools at gmail
| |dot com
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-24 14:29:10 UTC ---
Please provide a testcase.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/53758] Segfault at 'vmovaps' when setting pointer array in a loop
2012-06-24 8:42 [Bug target/53758] New: Segfault at 'vmovaps' when setting pointer array in a loop jan.boon at kaetemi dot be
2012-06-24 14:29 ` [Bug target/53758] " hjl.tools at gmail dot com
@ 2012-06-24 17:07 ` jan.boon at kaetemi dot be
1 sibling, 0 replies; 3+ messages in thread
From: jan.boon at kaetemi dot be @ 2012-06-24 17:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53758
Jan Boon <jan.boon at kaetemi dot be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
--- Comment #2 from Jan Boon <jan.boon at kaetemi dot be> 2012-06-24 17:06:44 UTC ---
Apparently one of the base classes was making this class use a specific
allocator that's not using the correct alignment.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-24 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-24 8:42 [Bug target/53758] New: Segfault at 'vmovaps' when setting pointer array in a loop jan.boon at kaetemi dot be
2012-06-24 14:29 ` [Bug target/53758] " hjl.tools at gmail dot com
2012-06-24 17:07 ` jan.boon at kaetemi dot be
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).