public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
[not found] <bug-19716-102@http.gcc.gnu.org/bugzilla/>
@ 2007-07-17 11:05 ` reichelt at gcc dot gnu dot org
0 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-07-17 11:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from reichelt at gcc dot gnu dot org 2007-07-17 11:05 -------
This got fixed by the patch for PR 25413.
*** This bug has been marked as a duplicate of 25413 ***
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (9 preceding siblings ...)
2005-05-09 8:25 ` micis at gmx dot de
@ 2005-05-31 23:28 ` bangerth at dealii dot org
10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2005-05-31 23:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2005-05-31 23:28 -------
I can still reproduce this with today's mainline. The segfault still
happens in a movapd instruction:
0x08048389 <_Z1fv+21>: movapd %xmm0,(%eax)
(gdb) info registers eax
eax 0xbfffe944 -1073747644
This address is not divisible by 16. I am unsure whether this has something
to do with the stack alignment that always comes up -- here's my glibc
version:
home/bangerth> /lib/libc.so.6
GNU C Library stable release version 2.3.4 (20050218), by Roland McGrath et
al.
Copyright (C) 2005 Free Software Foundation, Inc.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (8 preceding siblings ...)
2005-02-23 18:58 ` micis at gmx dot de
@ 2005-05-09 8:25 ` micis at gmx dot de
2005-05-31 23:28 ` bangerth at dealii dot org
10 siblings, 0 replies; 12+ messages in thread
From: micis at gmx dot de @ 2005-05-09 8:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2005-05-09 08:24 -------
I cannot reproduce this bug any longer. Maybe the fix for pr20122 also helps
here.
Michael Cieslinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (7 preceding siblings ...)
2005-02-11 5:48 ` reichelt at gcc dot gnu dot org
@ 2005-02-23 18:58 ` micis at gmx dot de
2005-05-09 8:25 ` micis at gmx dot de
2005-05-31 23:28 ` bangerth at dealii dot org
10 siblings, 0 replies; 12+ messages in thread
From: micis at gmx dot de @ 2005-02-23 18:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From micis at gmx dot de 2005-02-23 15:17 -------
I have reported a similar problem bug20122 which may be caused by the same bug.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |micis at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (6 preceding siblings ...)
2005-01-31 3:11 ` bangerth at dealii dot org
@ 2005-02-11 5:48 ` reichelt at gcc dot gnu dot org
2005-02-23 18:58 ` micis at gmx dot de
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-02-11 5:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-02-10 23:13 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2005-02-10 23:13:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (5 preceding siblings ...)
2005-01-31 1:32 ` pinskia at gcc dot gnu dot org
@ 2005-01-31 3:11 ` bangerth at dealii dot org
2005-02-11 5:48 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2005-01-31 3:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2005-01-31 03:11 -------
Nope, -fno-ivopts doesn't make any difference.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (4 preceding siblings ...)
2005-01-31 1:01 ` bangerth at dealii dot org
@ 2005-01-31 1:32 ` pinskia at gcc dot gnu dot org
2005-01-31 3:11 ` bangerth at dealii dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-31 1:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-31 01:32 -------
Hmm, there is an alignment check there, this seems werid. Just to check does -fno-ivopt help. I was
looking through the asm but I cannot figure out where exactly the problem is.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (3 preceding siblings ...)
2005-01-31 0:56 ` bangerth at dealii dot org
@ 2005-01-31 1:01 ` bangerth at dealii dot org
2005-01-31 1:32 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2005-01-31 1:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2005-01-31 01:01 -------
BTW, I have glibc 2.3.3, which in the other PR is specifically listed as
a version for which the bug doesn't happen. So this is not a duplicate.
The system as a whole is suse 9.2, right out of the box.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
` (2 preceding siblings ...)
2005-01-31 0:46 ` pinskia at gcc dot gnu dot org
@ 2005-01-31 0:56 ` bangerth at dealii dot org
2005-01-31 1:01 ` bangerth at dealii dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2005-01-31 0:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2005-01-31 00:56 -------
Here is a self-contained testcase:
--------------------------
struct A {
double values[3];
A () {
for (unsigned int i=0; i!=3; ++i)
values[i] = 0;
}
};
double f() {
A values[3];
return values[0].values[0];
}
int main () {
return (int)f();
}
------------------------
spec/src> /home/bangerth/bin/gcc-4.0-pre/bin/c++ -march=pentium4 -O
-ftree-vectorize x.cc -o x ; ./x
Segmentation fault
The segfault happens in this line:
0x08048400 <_Z1fv+96>: movapd %xmm0,(%eax)
Note, however, that as opposed to previous cases, the memory pointed to
is not allocated through malloc (in which case it was considered a glibc
bug), nor are we inside main (where it was also considered a system bug
to not align the stack for main() properly).
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
2005-01-31 0:41 ` [Bug tree-optimization/19716] " bangerth at dealii dot org
2005-01-31 0:42 ` bangerth at dealii dot org
@ 2005-01-31 0:46 ` pinskia at gcc dot gnu dot org
2005-01-31 0:56 ` bangerth at dealii dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-31 0:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-31 00:45 -------
This might be a dup of bug 17589 which looks more like a glibc bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
2005-01-31 0:41 ` [Bug tree-optimization/19716] " bangerth at dealii dot org
@ 2005-01-31 0:42 ` bangerth at dealii dot org
2005-01-31 0:46 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2005-01-31 0:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet| |i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/19716] Segfault with -ftree-vectorize
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
@ 2005-01-31 0:41 ` bangerth at dealii dot org
2005-01-31 0:42 ` bangerth at dealii dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2005-01-31 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2005-01-31 00:41 -------
Created an attachment (id=8109)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8109&action=view)
Preprocessed sources
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19716
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2007-07-17 11:05 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-19716-102@http.gcc.gnu.org/bugzilla/>
2007-07-17 11:05 ` [Bug tree-optimization/19716] Segfault with -ftree-vectorize reichelt at gcc dot gnu dot org
2005-01-31 0:41 [Bug tree-optimization/19716] New: " bangerth at dealii dot org
2005-01-31 0:41 ` [Bug tree-optimization/19716] " bangerth at dealii dot org
2005-01-31 0:42 ` bangerth at dealii dot org
2005-01-31 0:46 ` pinskia at gcc dot gnu dot org
2005-01-31 0:56 ` bangerth at dealii dot org
2005-01-31 1:01 ` bangerth at dealii dot org
2005-01-31 1:32 ` pinskia at gcc dot gnu dot org
2005-01-31 3:11 ` bangerth at dealii dot org
2005-02-11 5:48 ` reichelt at gcc dot gnu dot org
2005-02-23 18:58 ` micis at gmx dot de
2005-05-09 8:25 ` micis at gmx dot de
2005-05-31 23:28 ` bangerth at dealii 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).