[LLVMbugs] [Bug 3491] ssertion failed: (S1->getType() == S2->getType() && " Cannot create binary operator with two operands of differing type!"), function Create, file Instructions.cpp, line 1575.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Feb 5 09:15:37 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3491


Daniel Dunbar <daniel at zuster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel at zuster.org
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #2 from Daniel Dunbar <daniel at zuster.org>  2009-02-05 11:15:36 ---
I cannot reproduce this.

--
ddunbar at 67-218-109-155:~$ svn info ~/llvm/tools/clang/
Path: /Users/ddunbar/llvm/tools/clang
URL: https://ddunbar@llvm.org/svn/llvm-project/cfe/trunk
Repository Root: https://ddunbar@llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 63869
Node Kind: directory
Schedule: normal
Last Changed Author: kremenek
Last Changed Rev: 63869
Last Changed Date: 2009-02-05 07:48:51 -0800 (Thu, 05 Feb 2009)

ddunbar at 67-218-109-155:~$ clang -triple i386-unknown-freebsd7.0 -emit-llvm
/tmp/t.c
In file included from
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:1:
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:435:24:
warning: incompatible pointer types passing 'ssize_t *', expected 'size_t *'
  c = unix2doschr(&un, &i, pmp);
                       ^~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:630:10:
warning: incompatible pointer types assigning 'char [256]', expected 'u_char *'
 for (np = dirbuf.d_name; unlen > 0 && len > 0;) {
         ^ ~~~~~~~~~~~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:683:24:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
   mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
                       ^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:702:24:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
   mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
                       ^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:721:24:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
   mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
                       ^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:736:22:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
 mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
                     ^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:819:3:
error: cannot codegen this return inside scope with VLA yet
  return (inlen);
  ^~~~~~~~~~~~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:823:2:
error: cannot codegen this return inside scope with VLA yet
 return (inlen - min(inlen, outlen));
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 diagnostics generated.
--


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list