public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
@ 2005-07-26  9:58 hp at gcc dot gnu dot org
  2005-07-26 10:07 ` [Bug tree-optimization/23073] " hp at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-07-26  9:58 UTC (permalink / raw)
  To: gcc-bugs

PASSes with "Mon Jul 18 16:34:10 UTC 2005".
FAILs with "Mon Jul 25 22:33:14 UTC 2005".

gcc.log says:
Executing on host: /home/hp/combined/mmix-regobj/gcc/xgcc
-B/home/hp/combined/mmix-regobj/gcc/ /hom\
e/hp/combined/combined/gcc/testsuite/gcc.dg/tree-ssa/ifc-20040816-2.c   -c -O2
-ftree-vectorize -fd\
ump-tree-ifcvt-stats -fno-show-column -S  -isystem
/home/hp/combined/mmix-regobj/mmix-knuth-mmixwar\
e/./newlib/targ-include -isystem /home/hp/combined/combined/newlib/libc/include
 -o ifc-20040816-2.\
s    (timeout = 300)
/home/hp/combined/combined/gcc/testsuite/gcc.dg/tree-ssa/ifc-20040816-2.c: In
function 'foo':^M
/home/hp/combined/combined/gcc/testsuite/gcc.dg/tree-ssa/ifc-20040816-2.c:11:
internal compiler err\
or: Segmentation fault^M

.i forthcoming.

-- 
           Summary: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-
                    20040816-2.c
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: mmix-knuth-mmixware


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
@ 2005-07-26 10:07 ` hp at gcc dot gnu dot org
  2005-07-26 13:14 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-07-26 10:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2005-07-26 09:58 -------
Created an attachment (id=9362)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9362&action=view)
preprocessed testcase

 /home/hp/combined/mmix-regobj/gcc/cc1 -fpreprocessed ifc-20040816-2.i -quiet
-dumpbase ifc-2004081\
6-2.c -auxbase-strip ifc-20040816-2.s -O2 -version -ftree-vectorize
-fdump-tree-ifcvt-stats -fno-sh\
ow-column -o ifc-20040816-2.s


-- 


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
  2005-07-26 10:07 ` [Bug tree-optimization/23073] " hp at gcc dot gnu dot org
@ 2005-07-26 13:14 ` pinskia at gcc dot gnu dot org
  2005-07-26 15:26 ` reichelt at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-26 13:14 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
  2005-07-26 10:07 ` [Bug tree-optimization/23073] " hp at gcc dot gnu dot org
  2005-07-26 13:14 ` pinskia at gcc dot gnu dot org
@ 2005-07-26 15:26 ` reichelt at gcc dot gnu dot org
  2005-07-26 15:27 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-26 15:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-26 15:21 -------
Confirmed.

The following testcase crashes on i686-pc-linux-gnu when compiled with
"-O -ftree-vectorize -msse2":

======================================================
void foo(int* __restrict__ p, int* __restrict__ q)
{
  int i;
  for (i=0; i<2; ++i)
    p[i] = q[i] = 0;
}
======================================================


-- 
           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-07-26 15:21:56
               date|                            |


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-07-26 15:26 ` reichelt at gcc dot gnu dot org
@ 2005-07-26 15:27 ` pinskia at gcc dot gnu dot org
  2005-07-26 17:42 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-26 15:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-26 15:26 -------
Here is the backtrace:
#0  0x00424b88 in fwrite () from /lib/tls/libc.so.6
#1  0x081381fd in vect_analyze_data_refs_alignment (loop_vinfo=0xa3bebb0) at /home/peshtigo/
pinskia/src/gnu/gcc/src/gcc/tree-vect-analyze.c:1063
#2  0x0813b078 in vect_analyze_loop (loop=0xa385bb0) at /home/peshtigo/pinskia/src/gnu/gcc/src/
gcc/tree-vect-analyze.c:1863
#3  0x08134088 in vectorize_loops (loops=0xa39d850) at /home/peshtigo/pinskia/src/gnu/gcc/src/
gcc/tree-vectorizer.c:2024
#4  0x0812be24 in tree_vectorize () at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/tree-ssa-loop.c:
194


Someone is writting to vect_dump without checking to see if it is opened.

-- 


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-07-26 15:27 ` pinskia at gcc dot gnu dot org
@ 2005-07-26 17:42 ` pinskia at gcc dot gnu dot org
  2005-07-27 10:38 ` dorit at il dot ibm dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-26 17:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-26 17:39 -------
*** Bug 23083 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p dot van-hoof at qub dot ac
                   |                            |dot uk


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-07-26 17:42 ` pinskia at gcc dot gnu dot org
@ 2005-07-27 10:38 ` dorit at il dot ibm dot com
  2005-07-27 10:38 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dorit at il dot ibm dot com @ 2005-07-27 10:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dorit at il dot ibm dot com  2005-07-27 10:35 -------
patch:
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01776.html
(I should have referred to it as a patch for PR23073 rather than the duplicate 
PR23083)


-- 


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-07-27 10:38 ` dorit at il dot ibm dot com
@ 2005-07-27 10:38 ` reichelt at gcc dot gnu dot org
  2005-07-27 15:20 ` cvs-commit at gcc dot gnu dot org
  2005-07-27 16:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-27 10:38 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dorit at il dot ibm dot com
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |07/msg01776.html
             Status|NEW                         |ASSIGNED
   GCC host triplet|x86_64-unknown-linux-gnu    |
 GCC target triplet|mmix-knuth-mmixware         |


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-07-27 10:38 ` reichelt at gcc dot gnu dot org
@ 2005-07-27 15:20 ` cvs-commit at gcc dot gnu dot org
  2005-07-27 16:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-27 15:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-27 15:19 -------
Subject: Bug 23073

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dorit@gcc.gnu.org	2005-07-27 15:19:45

Modified files:
	gcc            : ChangeLog tree-vect-analyze.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg/vect: vect.exp 
Added files:
	gcc/testsuite/gcc.dg/vect: nodump-pr23073.c 

Log message:
	PR tree-optimization/23073
	* tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call
	vect_print_dump_info before fprintf.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9565&r2=2.9566
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vect-analyze.c.diff?cvsroot=gcc&r1=2.33&r2=2.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5829&r2=1.5830
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/nodump-pr23073.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect.exp.diff?cvsroot=gcc&r1=1.13&r2=1.14



-- 


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


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

* [Bug tree-optimization/23073] [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c
  2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-07-27 15:20 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-27 16:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 16:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-27 16:31 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-07-27 16:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26  9:58 [Bug tree-optimization/23073] New: [4.1 regression] testsuite failure, gcc.dg/tree-ssa/ifc-20040816-2.c hp at gcc dot gnu dot org
2005-07-26 10:07 ` [Bug tree-optimization/23073] " hp at gcc dot gnu dot org
2005-07-26 13:14 ` pinskia at gcc dot gnu dot org
2005-07-26 15:26 ` reichelt at gcc dot gnu dot org
2005-07-26 15:27 ` pinskia at gcc dot gnu dot org
2005-07-26 17:42 ` pinskia at gcc dot gnu dot org
2005-07-27 10:38 ` dorit at il dot ibm dot com
2005-07-27 10:38 ` reichelt at gcc dot gnu dot org
2005-07-27 15:20 ` cvs-commit at gcc dot gnu dot org
2005-07-27 16:32 ` 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).