Go to file
Ian Lance Taylor 6e4f9a957e re PR go/61308 (gccgo: ICE in Expression::check_bounds [GoSmith])
PR go/61308
	PR go/61866

compiler: Don't cast index expr to int before bounds check.

This fixes http://gcc.gnu.org/PR61866 : on a 32-bit system,
casting an int64 index to int drops the upper 32 bits of the
value, and thus can cause an out-of-range index to appear to
be in range.

This undoes part of change 1318:fa6e0c716dba
(https://codereview.appspot.com/104610044) and therefore
breaks http://gcc.gnu.org/PR61308 again.  I have a separate
patch for that (http://codereview.appspot.com/122020043).  In
addition to undoing part of that change, this patch adds code
to avoid a compiler crash.  This changes PR61308 from a
compiler crash to an incorrect error message.

From-SVN: r213616
2014-08-05 02:58:15 +00:00
boehm-gc
config
contrib mklog: Allow running from arbitrary folder. 2014-08-01 04:19:59 +00:00
fixincludes
gcc re PR go/61308 (gccgo: ICE in Expression::check_bounds [GoSmith]) 2014-08-05 02:58:15 +00:00
gnattools
include
INSTALL
intl
libada
libatomic
libbacktrace
libcilkrts
libcpp
libdecnumber
libffi
libgcc re PR middle-end/60102 (powerpc fp-bit ices at dwf_regno) 2014-08-04 16:34:34 +00:00
libgfortran * runtime/memory.c (xmallocarray): Avoid division for the common case. 2014-08-04 17:46:33 +02:00
libgo runtime: Add casts to mincore call to compile on Solaris. 2014-08-04 17:54:09 +00:00
libgomp task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
libiberty
libitm
libjava
libobjc
libquadmath
libsanitizer
libssp
libstdc++-v3 re PR c++/15339 ([DR217] Adding default arguments to function templates in redeclarations should be forbidden) 2014-08-02 21:38:34 +00:00
libvtv
lto-plugin
maintainer-scripts * update_web_docs_svn: Simplify build of gnat_ugn. 2014-08-01 21:00:14 +02:00
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
ChangeLog Add myself to Write After Approval list. 2014-08-01 14:40:24 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Add myself to Write After Approval list. 2014-08-01 14:40:24 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.