{"action":"closed","issue":{"url":"https://api.github.com/repos/CTSRD-CHERI/clang/issues/23","labels_url":"https://api.github.com/repos/CTSRD-CHERI/clang/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/CTSRD-CHERI/clang/issues/23/comments","events_url":"https://api.github.com/repos/CTSRD-CHERI/clang/issues/23/events","html_url":"https://github.com/CTSRD-CHERI/clang/issues/23","id":82084359,"number":23,"title":"cast<Ty>() argument of incompatible type","user":{"login":"brooksdavis","id":3629693,"avatar_url":"https://avatars.githubusercontent.com/u/3629693?v=3","gravatar_id":"","url":"https://api.github.com/users/brooksdavis","html_url":"https://github.com/brooksdavis","followers_url":"https://api.github.com/users/brooksdavis/followers","following_url":"https://api.github.com/users/brooksdavis/following{/other_user}","gists_url":"https://api.github.com/users/brooksdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/brooksdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brooksdavis/subscriptions","organizations_url":"https://api.github.com/users/brooksdavis/orgs","repos_url":"https://api.github.com/users/brooksdavis/repos","events_url":"https://api.github.com/users/brooksdavis/events{/privacy}","received_events_url":"https://api.github.com/users/brooksdavis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"davidchisnall","id":404454,"avatar_url":"https://avatars.githubusercontent.com/u/404454?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchisnall","html_url":"https://github.com/davidchisnall","followers_url":"https://api.github.com/users/davidchisnall/followers","following_url":"https://api.github.com/users/davidchisnall/following{/other_user}","gists_url":"https://api.github.com/users/davidchisnall/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchisnall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchisnall/subscriptions","organizations_url":"https://api.github.com/users/davidchisnall/orgs","repos_url":"https://api.github.com/users/davidchisnall/repos","events_url":"https://api.github.com/users/davidchisnall/events{/privacy}","received_events_url":"https://api.github.com/users/davidchisnall/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-28T19:08:30Z","updated_at":"2015-06-01T12:35:10Z","closed_at":"2015-06-01T12:35:10Z","body":"https://gist.github.com/brooksdavis/504a8c0f7488be20dea0\r\n\r\n```\r\n/home/bed22/git/llvm-cheri/Build/bin/clang -integrated-as --target=cheri-unknown-freebsd  -msoft-float --sysroot=/home/bed22/obj/mips.mips64/home/bed22/git/cheribsd/tmp -mabi=sandbox  -O -pipe -G0   -I/home/bed22/git/cheribsd/contrib/libxo/libxo  -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /home/bed22/git/cheribsd/contrib/libxo/libxo/libxo.c -o libxo.o\r\nAssertion failed: (isa<X>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast, file ../include/llvm/Support/Casting.h, line 237.\r\nclang-3.6: error: unable to execute command: Segmentation fault (core dumped)\r\nclang-3.6: error: clang frontend command failed due to signal (use -v to see invocation)\r\nclang version 3.7.0 (https://github.com/llvm-mirror/clang.git 130f82c3373e3c728766025bd86d53cac22ba210) (https://github.com/llvm-mirror/llvm.git 1dc272f161841baef9f62af3e810a5cc68c9e1ae)\r\nTarget: cheri-unknown-freebsd\r\nThread model: posix\r\nclang-3.6: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.\r\nclang-3.6: note: diagnostic msg: \r\n********************\r\n\r\nPLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:\r\nPreprocessed source(s) and associated run script(s) are located at:\r\nclang-3.6: note: diagnostic msg: /tmp/libxo-395f39.c\r\nclang-3.6: note: diagnostic msg: /tmp/libxo-395f39.sh\r\nclang-3.6: note: diagnostic msg: \r\n\r\n********************\r\n*** Error code 254\r\n```"}}