public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22525] New: tree based value profiling (-fprofile-use) produces mismatch types in conditional
@ 2005-07-17 17:20 pinskia at gcc dot gnu dot org
  2005-07-17 18:22 ` [Bug tree-optimization/22525] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-17 17:20 UTC (permalink / raw)
  To: gcc-bugs

The testcase is gcc.dg/tree-prof/val-prof-2.c.  It only happens when profile use is used.
Note this is worse if we use unsigned long long instead as we get a size mismatch.
See PR 22368 for the patch to catch this (the second patch):

/Users/pinskia/src/local/gcc/gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c: In function 'main':^M
/Users/pinskia/src/local/gcc/gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c:25: error: types mismatch in 
comparsion^M
unsigned intD.3^M
intD.0^M
PROF.4D.1300 != 0;^M
^M
/Users/pinskia/src/local/gcc/gcc/testsuite/gcc.dg/tree-prof/val-prof-2.c:25: internal compiler error: 
verify_stmts failed^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <URL:http://gcc.gnu.org/bugs.html> for instructions.^M

-- 
           Summary: tree based value profiling (-fprofile-use) produces
                    mismatch types in conditional
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 22368
             nThis:


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


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-22525-6528@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-04-26  7:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-17 17:20 [Bug tree-optimization/22525] New: tree based value profiling (-fprofile-use) produces mismatch types in conditional pinskia at gcc dot gnu dot org
2005-07-17 18:22 ` [Bug tree-optimization/22525] " pinskia at gcc dot gnu dot org
2005-08-08  3:18 ` pinskia at gcc dot gnu dot org
2005-08-08 12:31 ` pinskia at gcc dot gnu dot org
     [not found] <bug-22525-6528@http.gcc.gnu.org/bugzilla/>
2006-04-19  8:39 ` rguenth at gcc dot gnu dot org
2006-04-24  7:59 ` rguenth at gcc dot gnu dot org
2006-04-24  8:36 ` rguenth at gcc dot gnu dot org
2006-04-25 19:29 ` brett dot albertson at stratech dot com
2006-04-26  7:59 ` rguenth 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).