public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/35215]  New: ICE: verify_histograms failed with -fprofile-use
@ 2008-02-16  4:56 astrange at ithinksw dot com
  2008-02-16  4:57 ` [Bug tree-optimization/35215] " astrange at ithinksw dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: astrange at ithinksw dot com @ 2008-02-16  4:56 UTC (permalink / raw)
  To: gcc-bugs

> /usr/local/gcc43/bin/gcc -v
Using built-in specs.
Target: i386-apple-darwin9.2.0
Configured with: ../gcc/configure --prefix=/usr/local/gcc43
--enable-threads=posix --with-arch=core2 --with-tune=core2 --with-gmp=/sw
--with-mpfr=/sw --disable-nls --disable-bootstrap --enable-checking=yes,rtl
CFLAGS=-g LDFLAGS=/usr/lib/libiconv.dylib --enable-languages=c,c++,objc,obj-c++
Thread model: posix
gcc version 4.3.0 20080215 (experimental) (GCC) 

> /usr/local/gcc43/bin/gcc -O3 -fprofile-use -c pcx.i 
pcx.c: In function 'pcx_decode_frame':
pcx.c:247: error: Dead histogram
IOR value ior:0.
memset (dst_28, 0, 0);

pcx.c:247: internal compiler error: verify_histograms failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

I compiled ffmpeg profiled and didn't exercise code before doing -fprofile-use,
so the stats are all empty.


-- 
           Summary: ICE: verify_histograms failed with -fprofile-use
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: astrange at ithinksw dot com
 GCC build triplet: 386-apple-darwin9.2.0
  GCC host triplet: 386-apple-darwin9.2.0
GCC target triplet: 386-apple-darwin9.2.0


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


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

* [Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
  2008-02-16  4:57 ` [Bug tree-optimization/35215] " astrange at ithinksw dot com
  2008-02-16  4:57 ` astrange at ithinksw dot com
@ 2008-02-16  4:57 ` astrange at ithinksw dot com
  2008-02-16 10:55 ` [Bug middle-end/35215] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: astrange at ithinksw dot com @ 2008-02-16  4:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from astrange at ithinksw dot com  2008-02-16 04:57 -------
Created an attachment (id=15166)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15166&action=view)
gcno


-- 


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


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

* [Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
@ 2008-02-16  4:57 ` astrange at ithinksw dot com
  2008-02-16  4:57 ` astrange at ithinksw dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: astrange at ithinksw dot com @ 2008-02-16  4:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from astrange at ithinksw dot com  2008-02-16 04:56 -------
Created an attachment (id=15164)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15164&action=view)
source


-- 


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


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

* [Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
  2008-02-16  4:57 ` [Bug tree-optimization/35215] " astrange at ithinksw dot com
@ 2008-02-16  4:57 ` astrange at ithinksw dot com
  2008-02-16  4:57 ` astrange at ithinksw dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: astrange at ithinksw dot com @ 2008-02-16  4:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from astrange at ithinksw dot com  2008-02-16 04:56 -------
Created an attachment (id=15165)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15165&action=view)
gcda


-- 


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


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

* [Bug middle-end/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
                   ` (2 preceding siblings ...)
  2008-02-16  4:57 ` astrange at ithinksw dot com
@ 2008-02-16 10:55 ` rguenth at gcc dot gnu dot org
  2008-05-09 11:51 ` ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-16 10:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-02-16 10:54 -------
Happens only with checking enabled.  Honza, can you have a look here?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
          Component|tree-optimization           |middle-end
           Keywords|                            |ice-checking


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


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

* [Bug middle-end/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
                   ` (3 preceding siblings ...)
  2008-02-16 10:55 ` [Bug middle-end/35215] " rguenth at gcc dot gnu dot org
@ 2008-05-09 11:51 ` ubizjak at gmail dot com
  2008-05-09 18:24 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2008-05-09 11:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ubizjak at gmail dot com  2008-05-09 11:50 -------
The proposed patch is attached to PR36129. Should also fix this PR.

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


-- 

ubizjak at gmail dot com changed:

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


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


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

* [Bug middle-end/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
                   ` (4 preceding siblings ...)
  2008-05-09 11:51 ` ubizjak at gmail dot com
@ 2008-05-09 18:24 ` ubizjak at gmail dot com
  2008-05-09 19:30 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2008-05-09 18:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ubizjak at gmail dot com  2008-05-09 18:23 -------
Alexander, can you apply the patch at
http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00562.html to 4.3 branch and test
if it fixes your ICE? I would like to backport the patch to 4.3.


-- 


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


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

* [Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
                   ` (6 preceding siblings ...)
  2008-05-09 19:30 ` ubizjak at gmail dot com
@ 2008-05-09 19:30 ` ubizjak at gmail dot com
  2008-05-10 11:21 ` ubizjak at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2008-05-09 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from ubizjak at gmail dot com  2008-05-09 19:30 -------
Taking bug.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
          Component|middle-end                  |tree-optimization
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-05-09 19:30:08
               date|                            |


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


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

* [Bug middle-end/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
                   ` (5 preceding siblings ...)
  2008-05-09 18:24 ` ubizjak at gmail dot com
@ 2008-05-09 19:30 ` ubizjak at gmail dot com
  2008-05-09 19:30 ` [Bug tree-optimization/35215] " ubizjak at gmail dot com
  2008-05-10 11:21 ` ubizjak at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2008-05-09 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from ubizjak at gmail dot com  2008-05-09 19:29 -------
This is not the same failure as PR36129. It is similar, just happens in another
place.

It also fails on x86_64-linux-gnu. I'll look into it.


-- 

ubizjak at gmail dot com changed:

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


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


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

* [Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use
  2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
                   ` (7 preceding siblings ...)
  2008-05-09 19:30 ` [Bug tree-optimization/35215] " ubizjak at gmail dot com
@ 2008-05-10 11:21 ` ubizjak at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2008-05-10 11:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from ubizjak at gmail dot com  2008-05-10 11:21 -------
Current 4.3.1 branch doesn't generate memset with zero length anymore.

Closed as WORKSFORME, but if still fails, please reopen and attach new *.i,
*.gcda and *.gcno files, produced with latest SVN HEAD versions of the
compiler.


-- 

ubizjak at gmail dot com changed:

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


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


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

end of thread, other threads:[~2008-05-10 11:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-16  4:56 [Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use astrange at ithinksw dot com
2008-02-16  4:57 ` [Bug tree-optimization/35215] " astrange at ithinksw dot com
2008-02-16  4:57 ` astrange at ithinksw dot com
2008-02-16  4:57 ` astrange at ithinksw dot com
2008-02-16 10:55 ` [Bug middle-end/35215] " rguenth at gcc dot gnu dot org
2008-05-09 11:51 ` ubizjak at gmail dot com
2008-05-09 18:24 ` ubizjak at gmail dot com
2008-05-09 19:30 ` ubizjak at gmail dot com
2008-05-09 19:30 ` [Bug tree-optimization/35215] " ubizjak at gmail dot com
2008-05-10 11:21 ` ubizjak at gmail dot com

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