public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22329] New: VRP produces missed matched (non compatible) types in MODIFY_EXPR
@ 2005-07-06 20:04 pinskia at gcc dot gnu dot org
  2005-07-06 20:05 ` [Bug tree-optimization/22329] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-06 20:04 UTC (permalink / raw)
  To: gcc-bugs

Take the following code:

int f(int i)
{
  int k = 0;
  if (i == 0)
    k = i == 0;
  return k;
}

(reduced from c-parser.c)
VRP produces a missed matched types in the assignment of k:
t.c: In function 'f':
t.c:2: error: statement types mismatch
kD.1266_6 = 1;

intD.0
_BoolD.1063

-- 
           Summary: VRP produces missed matched (non compatible) types in
                    MODIFY_EXPR
           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: dnovillo at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org


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


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

end of thread, other threads:[~2005-07-08 19:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-06 20:04 [Bug tree-optimization/22329] New: VRP produces missed matched (non compatible) types in MODIFY_EXPR pinskia at gcc dot gnu dot org
2005-07-06 20:05 ` [Bug tree-optimization/22329] " pinskia at gcc dot gnu dot org
2005-07-06 20:08 ` pinskia at gcc dot gnu dot org
2005-07-06 21:59 ` pinskia at gcc dot gnu dot org
2005-07-08 18:41 ` [Bug tree-optimization/22329] VRP produces mis-matched " pinskia at gcc dot gnu dot org
2005-07-08 19:25 ` pinskia at gcc dot gnu dot org
2005-07-08 19:26 ` cvs-commit 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).