[llvm-bugs] [Bug 26596] clang crashes on x86_64-linux-gnu with message "Tried to create a shift operation on a non-integral type"

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 7 04:37:18 PDT 2019


Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
          Component|LLVM Codegen                |Frontend
             Status|NEW                         |RESOLVED
                 CC|                            |llvm-dev at redking.me.uk,
                   |                            |neeilans at live.com,
                   |                            |richard-llvm at metafoo.co.uk

--- Comment #1 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
This was fixed for clang 4.0 and now reports an error:

<source>:2:16: error: used type '__attribute__((__vector_size__(4 *
sizeof(float)))) float' (vector of 4 'float' values) where integer is required

int main() { a <<= b; }

             ~ ^

1 error generated.

Compiler returned: 1

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190907/7f7c33e1/attachment.html>

More information about the llvm-bugs mailing list