rust/src
Felix S. Klock II 19fef72a8c Added panic-on-overflow for rhs of left and right shift expressions.
This includes a slight refactoring of the `cast_shift_rhs` and related
functions in `trans::base`, so that I can call them from much later in
the compiler's control flow (so that we can clearly dilineate where
automatic conversions of the RHS occur, versus where we check it).

The rhs-checking and fallback-masking is generalized to 8- and 16-bit
values, and the fallback-masking is turned on unconditionally.

Fix #10183.

Is this a [breaking-change]?  I would argue it is not; it only adds a
strict definition to what was previously undefined behavior; however,
there might be code that was e.g. assuming that `1_i8 << 17` yields 0.
(This happens in certain contexts and at certain optimization levels.)
2015-03-20 11:25:20 +01:00
..
compiler-rt@58ab642c30 Updated compiler-rt 2015-01-09 18:38:30 +02:00
compiletest Rm unused feature 2015-03-19 08:49:39 +05:30
doc Rollup merge of #23497 - steveklabnik:gh21589, r=alexcrichton 2015-03-19 08:49:38 +05:30
driver Test fixes and rebase conflicts 2015-01-30 14:53:34 -08:00
etc Strip trailing whitespace 2015-03-15 11:25:43 -07:00
grammar Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
jemalloc@e24a1a025a bumping again to get the updated configure 2015-03-05 12:38:35 +05:30
liballoc liballoc: Partially inline the refcount manipulation in the Arc 2015-03-18 22:05:19 -07:00
libarena Register new snapshots 2015-03-18 16:32:32 -07:00
libbacktrace Strip trailing whitespace 2015-03-15 11:25:43 -07:00
libcollections Document {:.*} 2015-03-19 08:24:39 +05:30
libcollectionstest std: Stabilize IteratorExt::cloned 2015-03-17 18:05:58 -07:00
libcore Auto merge of #23507 - jbcrail:fix-comment-spelling, r=alexcrichton 2015-03-19 09:50:13 +00:00
libcoretest Rollup merge of #23385 - tamird:cleanup-whitespace, r=alexcrichton 2015-03-17 15:21:22 +05:30
libflate Improve error handling in libflate 2015-03-16 19:15:20 +01:00
libfmt_macros fix for new attributes failing. issue #22964 2015-03-05 11:53:51 -05:00
libgetopts std: Tweak some unstable features of str 2015-03-17 18:03:03 -07:00
libgraphviz Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
liblibc Rollup merge of #23457 - nagisa:get-set-resources, r=alexcrichton 2015-03-19 08:24:35 +05:30
liblog Rollup merge of #23385 - tamird:cleanup-whitespace, r=alexcrichton 2015-03-17 15:21:22 +05:30
librand Rollup merge of #23329 - jbcrail:rm-syntax-highlight, r=sanxiyn 2015-03-17 15:20:27 +05:30
librbml Fix spelling errors in comments. 2015-03-19 00:48:08 -04:00
librustc Register new snapshots 2015-03-18 16:32:32 -07:00
librustc_back std: Stablize io::ErrorKind 2015-03-19 09:59:21 -07:00
librustc_bitflags Example -> Examples 2015-03-11 21:11:40 -04:00
librustc_borrowck syntax: gather common fields of impl & trait items into their respective types. 2015-03-11 23:39:16 +02:00
librustc_driver std: Tweak some unstable features of str 2015-03-17 18:03:03 -07:00
librustc_lint std: Tweak some unstable features of str 2015-03-17 18:03:03 -07:00
librustc_llvm Auto merge of #23333 - oli-obk:slice_from_raw_parts, r=alexcrichton 2015-03-14 08:55:31 +00:00
librustc_privacy Fix private module loophole in the 'private type in public item' check 2015-03-18 16:47:24 +13:00
librustc_resolve Fix private module loophole in the 'private type in public item' check 2015-03-18 16:47:24 +13:00
librustc_trans Added panic-on-overflow for rhs of left and right shift expressions. 2015-03-20 11:25:20 +01:00
librustc_typeck Fix spelling errors in comments. 2015-03-19 00:48:08 -04:00
librustdoc Auto merge of #23430 - alexcrichton:io-error, r=aturon 2015-03-19 19:15:22 +00:00
libserialize std: Stablize io::ErrorKind 2015-03-19 09:59:21 -07:00
libstd Auto merge of #23430 - alexcrichton:io-error, r=aturon 2015-03-19 19:15:22 +00:00
libsyntax Auto merge of #23507 - jbcrail:fix-comment-spelling, r=alexcrichton 2015-03-19 09:50:13 +00:00
libterm std: Tweak some unstable features of str 2015-03-17 18:03:03 -07:00
libtest std: Stabilize the Write::flush method 2015-03-16 11:51:57 -07:00
libunicode libunicode: Partially inline the fast paths in character class checking. 2015-03-18 22:05:19 -07:00
llvm@bff6907697 updating llvm submodule to include bitrig support 2015-03-05 12:38:34 +05:30
rt Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
rust-installer@60fd8abfca Upgrade rust-installer 2015-02-12 20:36:17 -08:00
rustbook Register new snapshots 2015-03-18 16:32:32 -07:00
rustllvm Drop support for LLVM < 3.5 and fix compile errors with 3.5 2015-03-14 13:14:04 +01:00
test Auto merge of #23213 - ipetkov:rustdoc-src-fix, r=huonw 2015-03-19 16:42:16 +00:00
snapshots.txt Register new snapshots 2015-03-18 16:32:32 -07:00