public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39260]  New: Failed to build lame-3.98-2 source with graphite
@ 2009-02-21 18:21 yast4ik at yahoo dot com
  2009-02-21 18:22 ` [Bug c/39260] " yast4ik at yahoo dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: yast4ik at yahoo dot com @ 2009-02-21 18:21 UTC (permalink / raw)
  To: gcc-bugs

gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -Wall -pipe
-march=core2 -mtune=core2 -msse4.1 -O4 -ffast-math -floop-block
-floop-strip-mine -floop-interchange -save-temps -MT vbrquantize.lo -MD -MP -MF
.deps/vbrquantize.Tpo -c vbrquantize.c -o vbrquantize.o
gcc: warning: -pipe ignored because -save-temps specified
vbrquantize.c: In function 'VBR_encode_frame':
vbrquantize.c:1262: internal compiler error: in scan_tree_for_params, at
graphite.c:2810
Please submit a full bug report,


-- 
           Summary: Failed to build lame-3.98-2 source with graphite
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yast4ik at yahoo dot com


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


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

* [Bug c/39260] Failed to build lame-3.98-2 source with graphite
  2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
@ 2009-02-21 18:22 ` yast4ik at yahoo dot com
  2009-02-21 18:39 ` [Bug middle-end/39260] " yast4ik at yahoo dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: yast4ik at yahoo dot com @ 2009-02-21 18:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from yast4ik at yahoo dot com  2009-02-21 18:22 -------
Created an attachment (id=17338)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17338&action=view)
vbrquantize.i


-- 


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


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

* [Bug middle-end/39260] Failed to build lame-3.98-2 source with graphite
  2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
  2009-02-21 18:22 ` [Bug c/39260] " yast4ik at yahoo dot com
@ 2009-02-21 18:39 ` yast4ik at yahoo dot com
  2009-02-21 23:48 ` spop at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: yast4ik at yahoo dot com @ 2009-02-21 18:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from yast4ik at yahoo dot com  2009-02-21 18:39 -------
My OS is Xubuntu 8.10.


-- 


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


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

* [Bug middle-end/39260] Failed to build lame-3.98-2 source with graphite
  2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
  2009-02-21 18:22 ` [Bug c/39260] " yast4ik at yahoo dot com
  2009-02-21 18:39 ` [Bug middle-end/39260] " yast4ik at yahoo dot com
@ 2009-02-21 23:48 ` spop at gcc dot gnu dot org
  2009-02-22  1:23 ` spop at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-02-21 23:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2009-02-21 23:48 -------
Subject: Re:  Failed to build lame-3.98-2 source with 
        graphite

Reduced testcase:

VBR_encode_frame (int mode_gr, int channels_out, int max_bits[2][2])
{
  int max_nbits_ch[2][2];
  int gr, ch;
  for (gr = 0; gr < mode_gr; ++gr)
    {
      float f[2], s = 0;
      for (ch = 0; ch < channels_out; ++ch)
        if (max_nbits_ch[gr][ch] > 0)
          s += f[ch];
      for (ch = 0; ch < channels_out; ++ch)
        if (s > 0)
          max_nbits_ch[gr][ch] = 7680 * f[ch] / s;
    }
}


-- 


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


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

* [Bug middle-end/39260] Failed to build lame-3.98-2 source with graphite
  2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
                   ` (2 preceding siblings ...)
  2009-02-21 23:48 ` spop at gcc dot gnu dot org
@ 2009-02-22  1:23 ` spop at gcc dot gnu dot org
  2009-02-22  1:43 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-02-22  1:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2009-02-22 01:23 -------
Subject: Re:  Failed to build lame-3.98-2 source with 
        graphite

I'm testing the attached patch on amd64-linux.

Sebastian Pop
--
AMD - GNU Tools


------- Comment #5 from spop at gcc dot gnu dot org  2009-02-22 01:23 -------
Created an attachment (id=17339)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17339&action=view)


-- 


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


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

* [Bug middle-end/39260] Failed to build lame-3.98-2 source with graphite
  2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
                   ` (3 preceding siblings ...)
  2009-02-22  1:23 ` spop at gcc dot gnu dot org
@ 2009-02-22  1:43 ` spop at gcc dot gnu dot org
  2009-02-22  8:01 ` yast4ik at yahoo dot com
  2009-02-24  6:48 ` spop at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-02-22  1:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from spop at gcc dot gnu dot org  2009-02-22 01:43 -------
Subject: Bug 39260

Author: spop
Date: Sun Feb 22 01:43:04 2009
New Revision: 144368

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144368
Log:
2009-02-21  Sebastian Pop  <sebastian.pop@amd.com>

        PR tree-optimization/39260
        * graphite-scop-detection.c (harmful_stmt_in_bb): Stop a SCoP when 
        the basic block contains a condition with a real type.
        * graphite-sese-to-poly.c (scan_tree_for_params): Handle REAL_CST.

        * gcc.dg/graphite/pr39260.c: New.


Added:
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr39260.c
Modified:
    branches/graphite/gcc/graphite-scop-detection.c
    branches/graphite/gcc/graphite-sese-to-poly.c


-- 


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


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

* [Bug middle-end/39260] Failed to build lame-3.98-2 source with graphite
  2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
                   ` (4 preceding siblings ...)
  2009-02-22  1:43 ` spop at gcc dot gnu dot org
@ 2009-02-22  8:01 ` yast4ik at yahoo dot com
  2009-02-24  6:48 ` spop at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: yast4ik at yahoo dot com @ 2009-02-22  8:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from yast4ik at yahoo dot com  2009-02-22 08:01 -------
It is seems to me patch works. Thank you for quick solution.


-- 

yast4ik at yahoo dot com changed:

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


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


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

* [Bug middle-end/39260] Failed to build lame-3.98-2 source with graphite
  2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
                   ` (5 preceding siblings ...)
  2009-02-22  8:01 ` yast4ik at yahoo dot com
@ 2009-02-24  6:48 ` spop at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-02-24  6:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from spop at gcc dot gnu dot org  2009-02-24 06:48 -------
Subject: Bug 39260

Author: spop
Date: Tue Feb 24 06:47:56 2009
New Revision: 144403

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144403
Log:
2009-02-23  Sebastian Pop  <sebastian.pop@amd.com>

        PR tree-optimization/39260
        * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
        contains a condition with a real type.
        (build_scop_conditions_1): Conditions are always last_stmt of a bb.

        * gcc.dg/graphite/pr39260.c: New.


Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr39260.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2009-02-24  6:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-21 18:21 [Bug c/39260] New: Failed to build lame-3.98-2 source with graphite yast4ik at yahoo dot com
2009-02-21 18:22 ` [Bug c/39260] " yast4ik at yahoo dot com
2009-02-21 18:39 ` [Bug middle-end/39260] " yast4ik at yahoo dot com
2009-02-21 23:48 ` spop at gcc dot gnu dot org
2009-02-22  1:23 ` spop at gcc dot gnu dot org
2009-02-22  1:43 ` spop at gcc dot gnu dot org
2009-02-22  8:01 ` yast4ik at yahoo dot com
2009-02-24  6:48 ` spop 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).