public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
@ 2005-06-21  7:14 Ralf_Recker at gmx dot de
  2005-06-21  7:25 ` [Bug tree-optimization/22135] " Ralf_Recker at gmx dot de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-06-21  7:14 UTC (permalink / raw)
  To: gcc-bugs

gcc-4.1-200506011 compiler ICE's using -ftree-vectorize AND
-fdump-tree-all-details-stats in conjunction. Leave out one of both
options and you got a successful compilation.


Command:

/opt/gcc-4.1-20050611/bin/gcc -O3 -march=pentium4 -msse3 -save-temps
test.c -o test -ftree-vectorize -ftree-vectorizer-verbose=5
-fdump-tree-all-details-stats

Error message:

test.c: In function 'main':
test.c:2: internal compiler error: in op_iter_init_maydef, at
tree-flow-inline.h:1065
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Source Code (I wrote a stupid little program to reproduce the error):

int main(void)
{
    int a[1024];
    int b[1024];
    
    int c[1024];
    
    int i, j = 0;
    
    for (i = 0; i < 1024; i++) {
	a[i] = i;
	b[i] = 1023 - i;
    }

    for (i = 0; i < 1024; i++)
	c[i] = a[i] + b[i];

    for (i = 0; i < 1024; i++)
	j = j + c[i];
	
    return j;
}

P.S.: Placed under GPL by Ralf Recker <Ralf_Recker@gmx.de> :-)

Preprocessed source:

# 1 "test.c"
# 0 "<built-in>"
# 1 "<command line>"
# 1 "test.c"
int main(void)
{
    int a[1024];
    int b[1024];

    int c[1024];

    int i, j = 0;

    for (i = 0; i < 1024; i++) {
 a[i] = i;
 b[i] = 1023 - i;
    }

    for (i = 0; i < 1024; i++)
 c[i] = a[i] + b[i];

    for (i = 0; i < 1024; i++)
 j = j + c[i];

    return j;
}

-- 
           Summary: The gcc-4.1-20050611 compiler ICE's using -ftree-
                    vectorize in conjunction with -fdump-tree-all-details-
                    stats
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Ralf_Recker at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
@ 2005-06-21  7:25 ` Ralf_Recker at gmx dot de
  2005-06-21 12:48 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-06-21  7:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Ralf_Recker at gmx dot de  2005-06-21 07:25 -------
To all attendants of the developer summit:

Greet the elks (moose?) from me ;-)


-- 


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
  2005-06-21  7:25 ` [Bug tree-optimization/22135] " Ralf_Recker at gmx dot de
@ 2005-06-21 12:48 ` pinskia at gcc dot gnu dot org
  2005-06-23  7:08 ` Ralf_Recker at gmx dot de
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-21 12:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-21 12:48 -------
This is a dup of bug 22029 which I reported.  Thanks for your bug report, hopefully someone will fix 
this soon.

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

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


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
  2005-06-21  7:25 ` [Bug tree-optimization/22135] " Ralf_Recker at gmx dot de
  2005-06-21 12:48 ` pinskia at gcc dot gnu dot org
@ 2005-06-23  7:08 ` Ralf_Recker at gmx dot de
  2005-06-23  8:40 ` Ralf_Recker at gmx dot de
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-06-23  7:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Ralf_Recker at gmx dot de  2005-06-23 07:08 -------
gcc-4.1-20050618 ICE's with the same error message.


-- 


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
                   ` (2 preceding siblings ...)
  2005-06-23  7:08 ` Ralf_Recker at gmx dot de
@ 2005-06-23  8:40 ` Ralf_Recker at gmx dot de
  2005-07-03 11:52 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-06-23  8:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Ralf_Recker at gmx dot de  2005-06-23 08:40 -------
P.S.: Why comes .c.t59.copyprop4 before .c.t72.copyprop3 (At that point the ICE
seems to occur)?

-- 


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
                   ` (3 preceding siblings ...)
  2005-06-23  8:40 ` Ralf_Recker at gmx dot de
@ 2005-07-03 11:52 ` pinskia at gcc dot gnu dot org
  2005-07-05  7:25 ` Ralf_Recker at gmx dot de
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-03 11:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-03 11:52 -------
(In reply to comment #4)
> P.S.: Why comes .c.t59.copyprop4 before .c.t72.copyprop3 (At that point the ICE
> seems to occur)?

I forgot to mention this is due to how tree-optimizate works, it is really a bug (a known one), please file 
so we don't lose track of it.

-- 


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
                   ` (4 preceding siblings ...)
  2005-07-03 11:52 ` pinskia at gcc dot gnu dot org
@ 2005-07-05  7:25 ` Ralf_Recker at gmx dot de
  2005-07-05 12:56 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-07-05  7:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Ralf_Recker at gmx dot de  2005-07-05 07:25 -------
(In reply to comment #5)
> I forgot to mention this is due to how tree-optimizate works, it is really a
bug (a known one), please file 
> so we don't lose track of it.

Sorry, I didn't understood your answer fully (stupid me :-)
So is it entered in the BugZilla database, shall I enter it or shall we leave it
alone?

    Ralf Recker


-- 


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
                   ` (5 preceding siblings ...)
  2005-07-05  7:25 ` Ralf_Recker at gmx dot de
@ 2005-07-05 12:56 ` pinskia at gcc dot gnu dot org
  2005-07-12  1:46 ` pinskia at gcc dot gnu dot org
  2005-07-14  7:32 ` Ralf_Recker at gmx dot de
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05 12:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-05 12:56 -------
(In reply to comment #6)
> Sorry, I didn't understood your answer fully (stupid me :-)
> So is it entered in the BugZilla database, shall I enter it or shall we leave it
> alone?

It is known meaning people have reported it to the GCC list before but that is it.
A new bugzilla bug would be nice to keep track of it.

-- 


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
                   ` (6 preceding siblings ...)
  2005-07-05 12:56 ` pinskia at gcc dot gnu dot org
@ 2005-07-12  1:46 ` pinskia at gcc dot gnu dot org
  2005-07-14  7:32 ` Ralf_Recker at gmx dot de
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-12  1:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-12 00:12 -------
(In reply to comment #7)
> It is known meaning people have reported it to the GCC list before but that is it.
> A new bugzilla bug would be nice to keep track of it.

I just found there was a bug was already filed: PR 20962.


-- 


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


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

* [Bug tree-optimization/22135] The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats
  2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
                   ` (7 preceding siblings ...)
  2005-07-12  1:46 ` pinskia at gcc dot gnu dot org
@ 2005-07-14  7:32 ` Ralf_Recker at gmx dot de
  8 siblings, 0 replies; 10+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-07-14  7:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Ralf_Recker at gmx dot de  2005-07-14 07:21 -------
(In reply to comment #8)
> (In reply to comment #7)
> > It is known meaning people have reported it to the GCC list before but that
is it.
> > A new bugzilla bug would be nice to keep track of it.
> 
> I just found there was a bug was already filed: PR 20962.
> 

Thank you very much!

-- 


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


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

end of thread, other threads:[~2005-07-14  7:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-21  7:14 [Bug tree-optimization/22135] New: The gcc-4.1-20050611 compiler ICE's using -ftree-vectorize in conjunction with -fdump-tree-all-details-stats Ralf_Recker at gmx dot de
2005-06-21  7:25 ` [Bug tree-optimization/22135] " Ralf_Recker at gmx dot de
2005-06-21 12:48 ` pinskia at gcc dot gnu dot org
2005-06-23  7:08 ` Ralf_Recker at gmx dot de
2005-06-23  8:40 ` Ralf_Recker at gmx dot de
2005-07-03 11:52 ` pinskia at gcc dot gnu dot org
2005-07-05  7:25 ` Ralf_Recker at gmx dot de
2005-07-05 12:56 ` pinskia at gcc dot gnu dot org
2005-07-12  1:46 ` pinskia at gcc dot gnu dot org
2005-07-14  7:32 ` Ralf_Recker at gmx dot de

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