public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/33766]  New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear
@ 2007-10-13 19:49 vapier at gentoo dot org
  2007-10-13 19:52 ` [Bug c/33766] " vapier at gentoo dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vapier at gentoo dot org @ 2007-10-13 19:49 UTC (permalink / raw)
  To: gcc-bugs

building xorg-server with -O1 -ftree-loop-linear on x86 fails with:

texcompress_fxt1.c: In function 'fxt1_encode':
texcompress_fxt1.c:1376: internal compiler error: in bsi_for_stmt, at
tree-cfg.c:2827
Please submit a full bug report, with preprocessed source if appropriate.

tested with 4.0.4, 4.1.2, 4.2.2, and a semi-recent snapshot (20070916)


-- 
           Summary: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-
                    cfg.c when using -O1 -ftree-loop-linear
           Product: gcc
           Version: 4.1.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org
GCC target triplet: i686-linux-gnu


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


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

* [Bug c/33766] [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear
  2007-10-13 19:49 [Bug c/33766] New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear vapier at gentoo dot org
@ 2007-10-13 19:52 ` vapier at gentoo dot org
  2007-10-14 10:22 ` [Bug tree-optimization/33766] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: vapier at gentoo dot org @ 2007-10-13 19:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from vapier at gentoo dot org  2007-10-13 19:52 -------
bugzilla seems to be droppin a brick when i try to attach files, so here's the
reduced test case i've been testing with:

fxt1_quantize_ALPHA1()
{
        int j1;
        int i;
        float *tv;
        for (j1 = 1; j1; j1++) {
                float e;
                for (i = 1; i; i++)
                        e = tv[i];
                if (e)
                        i = j1;
        }
        return tv[i];
}


-- 


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


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

* [Bug tree-optimization/33766] [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear
  2007-10-13 19:49 [Bug c/33766] New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear vapier at gentoo dot org
  2007-10-13 19:52 ` [Bug c/33766] " vapier at gentoo dot org
@ 2007-10-14 10:22 ` rguenth at gcc dot gnu dot org
  2007-10-14 14:20 ` spop at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-14 10:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-10-14 10:22 -------
This is likely a duplicate of PR24309 or PR23820.

./cc1 -quiet -O -ftree-loop-linear t.i
t.i: In function 'fxt1_quantize_ALPHA1':
t.i:2: internal compiler error: in lambda_loopnest_to_gcc_loopnest, at
lambda-code.c:1840
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
          Component|c                           |tree-optimization
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-10-14 10:22:41
               date|                            |


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


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

* [Bug tree-optimization/33766] [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear
  2007-10-13 19:49 [Bug c/33766] New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear vapier at gentoo dot org
  2007-10-13 19:52 ` [Bug c/33766] " vapier at gentoo dot org
  2007-10-14 10:22 ` [Bug tree-optimization/33766] " rguenth at gcc dot gnu dot org
@ 2007-10-14 14:20 ` spop at gcc dot gnu dot org
  2007-10-19 19:02 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-10-14 14:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2007-10-14 14:20 -------
Subject: Re:  [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when
using -O1 -ftree-loop-linear

I verified that this bug is also fixed by this patch:
http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00798.html
I added the testcase of this PR to the testsuite.

Sebastian


-- 


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


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

* [Bug tree-optimization/33766] [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear
  2007-10-13 19:49 [Bug c/33766] New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2007-10-14 14:20 ` spop at gcc dot gnu dot org
@ 2007-10-19 19:02 ` spop at gcc dot gnu dot org
  2007-10-19 19:04 ` spop at gcc dot gnu dot org
  2007-11-19  5:43 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-10-19 19:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2007-10-19 19:02 -------
Subject: Bug 33766

Author: spop
Date: Fri Oct 19 19:01:58 2007
New Revision: 129494

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129494
Log:
2007-10-19  Sebastian Pop  <sebastian.pop@amd.com>

        PR tree-optimization/23820
        PR tree-optimization/24309
        PR tree-optimization/33766
        * testsuite/gcc.dg/tree-ssa/pr23820.c: New.
        * testsuite/gcc.dg/tree-ssa/pr24309.c: New.
        * testsuite/gcc.dg/tree-ssa/pr33766.c: New.
        * testsuite/gcc.dg/tree-ssa/ltrans-3.c: XFAILed.
        * tree-loop-linear.c (perfect_loop_nest_depth): New.
        (linear_transform_loops): Use perfect_loop_nest_depth.
        * lambda-code.c (perfect_nest_p): Outer loops in perfect nests 
        should have a single condition: their exit.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr23820.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr24309.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr33766.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lambda-code.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ltrans-3.c
    trunk/gcc/tree-loop-linear.c


-- 


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


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

* [Bug tree-optimization/33766] [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear
  2007-10-13 19:49 [Bug c/33766] New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear vapier at gentoo dot org
                   ` (3 preceding siblings ...)
  2007-10-19 19:02 ` spop at gcc dot gnu dot org
@ 2007-10-19 19:04 ` spop at gcc dot gnu dot org
  2007-11-19  5:43 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: spop at gcc dot gnu dot org @ 2007-10-19 19:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from spop at gcc dot gnu dot org  2007-10-19 19:03 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/33766] [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear
  2007-10-13 19:49 [Bug c/33766] New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear vapier at gentoo dot org
                   ` (4 preceding siblings ...)
  2007-10-19 19:04 ` spop at gcc dot gnu dot org
@ 2007-11-19  5:43 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-19  5:43 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-11-19  5:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-13 19:49 [Bug c/33766] New: [4.1/4.2/4.3 Regression] ICE in bsi_for_stmt at tree-cfg.c when using -O1 -ftree-loop-linear vapier at gentoo dot org
2007-10-13 19:52 ` [Bug c/33766] " vapier at gentoo dot org
2007-10-14 10:22 ` [Bug tree-optimization/33766] " rguenth at gcc dot gnu dot org
2007-10-14 14:20 ` spop at gcc dot gnu dot org
2007-10-19 19:02 ` spop at gcc dot gnu dot org
2007-10-19 19:04 ` spop at gcc dot gnu dot org
2007-11-19  5:43 ` 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).