public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/40985]  New: -msse -ftree-vectorize cause segfaults (zlib)
@ 2009-08-06 12:11 mahatma at eu dot by
  2009-08-06 12:27 ` [Bug tree-optimization/40985] " ubizjak at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: mahatma at eu dot by @ 2009-08-06 12:11 UTC (permalink / raw)
  To: gcc-bugs

Primary combination: "-march=pentium4 -O3 ...",
minimal: "-O1 -march=i686 -msse -ftree-vectorize".
Rebuilding zlib v1.2.3 cause segfault on related apps (I use seamonkey, all
under gentoo). All other apps built on pentium4/O3/gcc4.3.3.


-- 
           Summary: -msse -ftree-vectorize cause segfaults (zlib)
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mahatma at eu dot by


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
@ 2009-08-06 12:27 ` ubizjak at gmail dot com
  2009-08-06 13:49 ` mahatma at eu dot by
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2009-08-06 12:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ubizjak at gmail dot com  2009-08-06 12:27 -------
Please follow [1] on how to report bug.

[1] http://gcc.gnu.org/bugs.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
  2009-08-06 12:27 ` [Bug tree-optimization/40985] " ubizjak at gmail dot com
@ 2009-08-06 13:49 ` mahatma at eu dot by
  2009-08-06 16:44 ` hjl dot tools at gmail dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: mahatma at eu dot by @ 2009-08-06 13:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mahatma at eu dot by  2009-08-06 13:49 -------
(In reply to comment #1)
> Please follow [1] on how to report bug.
> 
> [1] http://gcc.gnu.org/bugs.html

With pleasure. If I will understand what I may to say more/else, exclude host
type.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
  2009-08-06 12:27 ` [Bug tree-optimization/40985] " ubizjak at gmail dot com
  2009-08-06 13:49 ` mahatma at eu dot by
@ 2009-08-06 16:44 ` hjl dot tools at gmail dot com
  2009-08-06 16:47 ` hjl dot tools at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-08-06 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2009-08-06 16:44 -------
(In reply to comment #0)
> Primary combination: "-march=pentium4 -O3 ...",
> minimal: "-O1 -march=i686 -msse -ftree-vectorize".
> Rebuilding zlib v1.2.3 cause segfault on related apps (I use seamonkey, all
> under gentoo). All other apps built on pentium4/O3/gcc4.3.3.
> 

Please add "-mincoming-stack-boundary=2" to CFLAGS and report what you got. 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl dot tools at gmail dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (2 preceding siblings ...)
  2009-08-06 16:44 ` hjl dot tools at gmail dot com
@ 2009-08-06 16:47 ` hjl dot tools at gmail dot com
  2009-08-06 19:56 ` mahatma at eu dot by
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-08-06 16:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl dot tools at gmail dot com  2009-08-06 16:46 -------


*** This bug has been marked as a duplicate of 32893 ***


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (3 preceding siblings ...)
  2009-08-06 16:47 ` hjl dot tools at gmail dot com
@ 2009-08-06 19:56 ` mahatma at eu dot by
  2009-08-06 21:14 ` hjl dot tools at gmail dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: mahatma at eu dot by @ 2009-08-06 19:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mahatma at eu dot by  2009-08-06 19:56 -------
(In reply to comment #3)
> (In reply to comment #0)
> > Primary combination: "-march=pentium4 -O3 ...",
> > minimal: "-O1 -march=i686 -msse -ftree-vectorize".
> > Rebuilding zlib v1.2.3 cause segfault on related apps (I use seamonkey, all
> > under gentoo). All other apps built on pentium4/O3/gcc4.3.3.
> > 
> 
> Please add "-mincoming-stack-boundary=2" to CFLAGS and report what you got. 

No error.

PS A read 32893, but have no errors prior to v4.4.0 and think there are not
same bug, sorry


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (4 preceding siblings ...)
  2009-08-06 19:56 ` mahatma at eu dot by
@ 2009-08-06 21:14 ` hjl dot tools at gmail dot com
  2009-08-07 18:22 ` mahatma at eu dot by
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-08-06 21:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl dot tools at gmail dot com  2009-08-06 21:14 -------
You can try my patch for PR 40838.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (5 preceding siblings ...)
  2009-08-06 21:14 ` hjl dot tools at gmail dot com
@ 2009-08-07 18:22 ` mahatma at eu dot by
  2009-08-07 18:24 ` mahatma at eu dot by
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: mahatma at eu dot by @ 2009-08-07 18:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mahatma at eu dot by  2009-08-07 18:21 -------
(In reply to comment #6)
> You can try my patch for PR 40838.

No error.

Current i386.h must be fixed by hands. Next I attach gcc-4.4.1 version of this
patch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (6 preceding siblings ...)
  2009-08-07 18:22 ` mahatma at eu dot by
@ 2009-08-07 18:24 ` mahatma at eu dot by
  2009-08-11 12:49 ` [Bug tree-optimization/40985] [4.4 regression] Bug 32893 come back (-msse -ftree-vectorize cause segfaults (zlib)) mahatma at eu dot by
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: mahatma at eu dot by @ 2009-08-07 18:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mahatma at eu dot by  2009-08-07 18:24 -------
Created an attachment (id=18325)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18325&action=view)
PR 40838 for gcc 4.4.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] [4.4 regression] Bug 32893 come back (-msse -ftree-vectorize cause segfaults (zlib))
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (7 preceding siblings ...)
  2009-08-07 18:24 ` mahatma at eu dot by
@ 2009-08-11 12:49 ` mahatma at eu dot by
  2009-08-11 13:01 ` mahatma at eu dot by
  2009-08-18  4:50 ` hjl dot tools at gmail dot com
  10 siblings, 0 replies; 12+ messages in thread
From: mahatma at eu dot by @ 2009-08-11 12:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mahatma at eu dot by  2009-08-11 12:49 -------
Simplest way to save Bug 32893 solution: replace MAX_STACK_ALIGNMENT by
STACK_BOUNDARY in vect_can_force_dr_alignment_p (tree-vectorizer.c / ...). No
error more.


-- 

mahatma at eu dot by changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |
            Summary|-msse -ftree-vectorize cause|[4.4 regression] Bug 32893
                   |segfaults (zlib)            |come back (-msse -ftree-
                   |                            |vectorize cause segfaults
                   |                            |(zlib))


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] [4.4 regression] Bug 32893 come back (-msse -ftree-vectorize cause segfaults (zlib))
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (8 preceding siblings ...)
  2009-08-11 12:49 ` [Bug tree-optimization/40985] [4.4 regression] Bug 32893 come back (-msse -ftree-vectorize cause segfaults (zlib)) mahatma at eu dot by
@ 2009-08-11 13:01 ` mahatma at eu dot by
  2009-08-18  4:50 ` hjl dot tools at gmail dot com
  10 siblings, 0 replies; 12+ messages in thread
From: mahatma at eu dot by @ 2009-08-11 13:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from mahatma at eu dot by  2009-08-11 13:00 -------
Created an attachment (id=18340)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18340&action=view)
patch

For gcc 4.4.1. Moved to tree-vect-data-refs.c in cvs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug tree-optimization/40985] [4.4 regression] Bug 32893 come back (-msse -ftree-vectorize cause segfaults (zlib))
  2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
                   ` (9 preceding siblings ...)
  2009-08-11 13:01 ` mahatma at eu dot by
@ 2009-08-18  4:50 ` hjl dot tools at gmail dot com
  10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-08-18  4:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from hjl dot tools at gmail dot com  2009-08-18 04:50 -------


*** This bug has been marked as a duplicate of 40838 ***


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-08-18  4:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-06 12:11 [Bug tree-optimization/40985] New: -msse -ftree-vectorize cause segfaults (zlib) mahatma at eu dot by
2009-08-06 12:27 ` [Bug tree-optimization/40985] " ubizjak at gmail dot com
2009-08-06 13:49 ` mahatma at eu dot by
2009-08-06 16:44 ` hjl dot tools at gmail dot com
2009-08-06 16:47 ` hjl dot tools at gmail dot com
2009-08-06 19:56 ` mahatma at eu dot by
2009-08-06 21:14 ` hjl dot tools at gmail dot com
2009-08-07 18:22 ` mahatma at eu dot by
2009-08-07 18:24 ` mahatma at eu dot by
2009-08-11 12:49 ` [Bug tree-optimization/40985] [4.4 regression] Bug 32893 come back (-msse -ftree-vectorize cause segfaults (zlib)) mahatma at eu dot by
2009-08-11 13:01 ` mahatma at eu dot by
2009-08-18  4:50 ` hjl dot tools at gmail dot com

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).