Cherrypick PR bootstrap/66638 bugfix from trunk.

PR bootstrap/66638
 * tree-ssa-loop-niter.c (loop_exits_before_overflow):
    Skip if assertion failed. Remove assertion itself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225008
            138bc75d-0d04-0410-961f-82ee72b054a4

Bug: 26224556

Change-Id: I2fa31bfe44978659a554a413c64d796b357338b5
Signed-off-by: Than McIntosh <thanm@google.com>
1 file changed
tree: 95792fa1f4c558381f5f371dca7acc4c57f930e6
  1. gcc-4.9/
  2. build-gcc.sh
  3. build.py
  4. README.md
  5. update-prebuilts.py
README.md

Building GCC for Android

The following process is used to build the GCC that is used by both the Android platfrom and the NDK.

Both Linux and Windows toolchains are built on Linux machines. Windows host binaries are built with mingw. Building binaries for Mac OS X should be built using 10.8 to ensure compatibility with Android's minimum supported hosts.

Prerequisites

  • Android GCC Repository

    • Check out the branch gcc

      repo init -u https://android.googlesource.com/platform/manifest -b gcc
      
      # Googlers, use
      repo init -u \
          persistent-https://android.git.corp.google.com/platform/manifest \
          -b gcc
      
  • Additional Linux Dependencies (available from apt):

    • texinfo
    • gcc-mingw32
    • bison
    • flex
    • libtool
  • Mac OS X also requires Xcode.

Host/Target prebuilts

For Linux or Darwin:

# Additional options and toolchain names will be show with --help.
$ python build.py --toolchain TOOLCHAIN_NAME

For Windows, from Linux:

$ python build.py --system windows TOOLCHAIN_NAME