This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/64348] New: Case scal-to-vec1.c failed on arm-linux-gnueabi with -fPIC


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64348

            Bug ID: 64348
           Summary: Case scal-to-vec1.c failed on arm-linux-gnueabi with
                    -fPIC
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amker at gcc dot gnu.org

Case scal-to-vec1.c failed because of ICE on arm-linux-gnueabi with -fPIC.  The
compilation command line is:
./arm-none-linux-gnueabi-gcc scal-to-vec1.c -fno-diagnostics-show-caret
-fdiagnostics-color=never -O3 -S -fPIC -o ./scal-to-vec1.S -mcpu=cortex-a8/a9
-marm

Thumb mode is fine, processors like cortex-a7/a15 are fine.  The ICE info is
like below:
/home/binche01/work/oban-work/src/gcc/gcc/testsuite/gcc.c-torture/execute/scal-to-vec1.c:
In function âmainâ:
/home/binche01/work/oban-work/src/gcc/gcc/testsuite/gcc.c-torture/execute/scal-to-vec1.c:86:1:
internal compiler error: in split_reg, at lra-constraints.c:4879
0xbad893 split_reg
    /home/binche01/work/oban-work/src/gcc/gcc/lra-constraints.c:4879
0xbade33 split_if_necessary
    /home/binche01/work/oban-work/src/gcc/gcc/lra-constraints.c:4983
0xbafb13 inherit_in_ebb
    /home/binche01/work/oban-work/src/gcc/gcc/lra-constraints.c:5478
0xbb04fc lra_inheritance()
    /home/binche01/work/oban-work/src/gcc/gcc/lra-constraints.c:5639
0xb9914b lra(_IO_FILE*)
    /home/binche01/work/oban-work/src/gcc/gcc/lra.c:2303
0xb48738 do_reload
    /home/binche01/work/oban-work/src/gcc/gcc/ira.c:5402
0xb48b0e execute
    /home/binche01/work/oban-work/src/gcc/gcc/ira.c:5573

Gcc is configured as below:
--target=arm-none-linux-gnueabi
 --prefix=...
 --with-sysroot=...
 --disable-libssp
 --disable-libmudflap
 --enable-checking=yes
 --enable-languages=c,c++
 --with-gmp=...
 --with-mpfr=...
 --with-mpc=...
 --with-isl=...
 --with-cloog=...
 --disable-libgomp
 --with-arch=armv7-a

It is from thread https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01448.html

File this PR for tracking.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]