public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200
@ 2005-05-30 14:09 betasoft at acc dot umu dot se
  2005-05-30 14:14 ` [Bug tree-optimization/21817] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: betasoft at acc dot umu dot se @ 2005-05-30 14:09 UTC (permalink / raw)
  To: gcc-bugs

giraff:~/edu/exjobb/src/mkexpl> /scratch/dva00mkn/gcc-4.0/bin/gcc bug.c -O -c
bug.c: In function 'foo':
bug.c:4: internal compiler error: in for_each_index, at tree-ssa-loop-im.c:200
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

giraff:~/> /scratch/dva00mkn/gcc-4.0/bin/gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: /scratch/dva00mkn/gcc-4.0.0/configure
--prefix=/scratch/dva00mkn/gcc-4.0 --disable-multilib
Thread model: posix
gcc version 4.0.0

giraff:~/edu/exjobb/src/mkexpl> cat bug.c
typedef float v4sf __attribute__((vector_size(16)));
v4sf value;
void foo(void)
{
   unsigned int band;
   for(band=0; band < 2; band++)
   {
      value += (v4sf){1e9f,1e9f,1e9f,1e9f};
   }
}

Works with 3.4.3

-- 
           Summary: [4.0 Regression] ICE in for_each_index, at tree-ssa-
                    loop-im.c:200
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: betasoft at acc dot umu dot se
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/21817] [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200
  2005-05-30 14:09 [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200 betasoft at acc dot umu dot se
@ 2005-05-30 14:14 ` pinskia at gcc dot gnu dot org
  2005-05-30 19:06 ` rakdver at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-30 14:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-30 14:09 -------
Confirmed, also happens on i686-pc-linux-gnu.
Also this looks like a latent bug on the mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org, pinskia at gcc dot gnu
                   |                            |dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.0.0
      Known to work|                            |3.4.3 4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-30 14:09:29
               date|                            |
   Target Milestone|---                         |4.0.1


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


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

* [Bug tree-optimization/21817] [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200
  2005-05-30 14:09 [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200 betasoft at acc dot umu dot se
  2005-05-30 14:14 ` [Bug tree-optimization/21817] " pinskia at gcc dot gnu dot org
@ 2005-05-30 19:06 ` rakdver at gcc dot gnu dot org
  2005-05-31 23:08 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-05-30 19:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-05-30 19:06 -------
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02830.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug tree-optimization/21817] [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200
  2005-05-30 14:09 [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200 betasoft at acc dot umu dot se
  2005-05-30 14:14 ` [Bug tree-optimization/21817] " pinskia at gcc dot gnu dot org
  2005-05-30 19:06 ` rakdver at gcc dot gnu dot org
@ 2005-05-31 23:08 ` cvs-commit at gcc dot gnu dot org
  2005-05-31 23:20 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-31 23:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-31 23:03 -------
Subject: Bug 21817

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	rakdver@gcc.gnu.org	2005-05-31 23:02:52

Modified files:
	gcc            : ChangeLog tree-ssa-loop-im.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg/torture: pr21817-1.c 

Log message:
	PR tree-optimization/21817
	* tree-ssa-loop-im.c (for_each_index): Handle VECTOR_CST.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.269&r2=2.7592.2.270
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-im.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.28&r2=2.28.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.212&r2=1.5084.2.213
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/torture/pr21817-1.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug tree-optimization/21817] [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200
  2005-05-30 14:09 [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200 betasoft at acc dot umu dot se
                   ` (2 preceding siblings ...)
  2005-05-31 23:08 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-31 23:20 ` cvs-commit at gcc dot gnu dot org
  2005-06-11  0:56 ` danglin at gcc dot gnu dot org
  2005-06-17 21:34 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-31 23:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-31 23:07 -------
Subject: Bug 21817

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rakdver@gcc.gnu.org	2005-05-31 23:07:26

Modified files:
	gcc            : ChangeLog tree-ssa-loop-im.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg/torture: pr21817-1.c 

Log message:
	PR tree-optimization/21817
	* tree-ssa-loop-im.c (for_each_index): Handle VECTOR_CST.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8958&r2=2.8959
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-im.c.diff?cvsroot=gcc&r1=2.42&r2=2.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5567&r2=1.5568
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/torture/pr21817-1.c.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


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


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

* [Bug tree-optimization/21817] [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200
  2005-05-30 14:09 [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200 betasoft at acc dot umu dot se
                   ` (3 preceding siblings ...)
  2005-05-31 23:20 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-11  0:56 ` danglin at gcc dot gnu dot org
  2005-06-17 21:34 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-06-11  0:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2005-06-11 00:56 -------
Test fails on hppa2.0-hp-hpux11.11:

Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc
c/ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/torture/pr21817-1.c   -O0   -S  -o
pr21817-1.s    (timeout = 300)
/mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/torture/pr21817-1.c:12: warning: align
ment (16) for value exceeds maximum alignment for global common data.  Using 8
output is:
/mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/torture/pr21817-1.c:12: warning: align
ment (16) for value exceeds maximum alignment for global common data.  Using 8

FAIL: gcc.dg/torture/pr21817-1.c  -O0  (test for excess errors)

This should be fixable by adding -fno-common to the options used on
this target.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/21817] [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200
  2005-05-30 14:09 [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200 betasoft at acc dot umu dot se
                   ` (4 preceding siblings ...)
  2005-06-11  0:56 ` danglin at gcc dot gnu dot org
@ 2005-06-17 21:34 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-17 21:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-17 21:34 -------
Fixed.

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


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


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

end of thread, other threads:[~2005-06-17 21:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-30 14:09 [Bug tree-optimization/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200 betasoft at acc dot umu dot se
2005-05-30 14:14 ` [Bug tree-optimization/21817] " pinskia at gcc dot gnu dot org
2005-05-30 19:06 ` rakdver at gcc dot gnu dot org
2005-05-31 23:08 ` cvs-commit at gcc dot gnu dot org
2005-05-31 23:20 ` cvs-commit at gcc dot gnu dot org
2005-06-11  0:56 ` danglin at gcc dot gnu dot org
2005-06-17 21:34 ` 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).