public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/59858] New: [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283
@ 2014-01-17 12:20 aldot at gcc dot gnu.org
  2014-01-17 12:26 ` [Bug rtl-optimization/59858] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: aldot at gcc dot gnu.org @ 2014-01-17 12:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59858

            Bug ID: 59858
           Summary: [4.8/4.9 Regression] ICE: assign_by_spills, at
                    lra-assigns.c:1283
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aldot at gcc dot gnu.org
                CC: vmakarov at redhat dot com
            Target: arm

Created attachment 31870
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31870&action=edit
original source

trunk@206671

$ arm-oe-linux-uclibceabi-gcc -v -march=armv5te -marm -mthumb-interwork -Wall
-Wstrict-prototypes -Wstrict-aliasing -funsigned-char -fno-builtin -fno-asm
-msoft-float -std=gnu99 -mlittle-endian -mthumb -fno-stack-protector  -Os -pipe
-g -feliminate-unused-debug-types -funit-at-a-time -fmerge-all-constants
-fstrict-aliasing -fno-tree-loop-optimize -fno-tree-dominator-opts
-fno-strength-reduce -fPIC   -c regex_arm_bug.i -o foo.o
Using built-in specs.
COLLECT_GCC=arm-oe-linux-uclibceabi-gcc
Target: arm-oe-linux-uclibceabi
Configured with:
/scratch/obj.x86_64/oe/build/build/tmp-uclibc/work-shared/gcc-4.9.0+gitAUTOINC+e6e3a925b2-r0/git/configure
--build=x86_64-linux --host=x86_64-linux --target=arm-oe-linux-uclibceabi
--prefix=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr
--exec_prefix=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr
--bindir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-uclibceabi.gcc-cross-initial
--sbindir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-uclibceabi.gcc-cross-initial
--libexecdir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-uclibceabi.gcc-cross-initial
--datadir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/share
--sysconfdir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/etc
--sharedstatedir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/com
--localstatedir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/var
--libdir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/lib/armv5te-oe-linux-uclibceabi.gcc-cross-initial
--includedir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/include
--oldincludedir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/include
--infodir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/share/info
--mandir=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/share/man
--disable-silent-rules --disable-dependency-tracking
--with-libtool-sysroot=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux
--with-newlib --without-headers --disable-shared --disable-threads
--disable-multilib --disable-__cxa_atexit --enable-languages=c
--enable-target-optspace --program-prefix=arm-oe-linux-uclibceabi-
--with-sysroot=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/qemuarm
--with-build-sysroot=/scratch/obj.x86_64/oe/build/build/tmp-uclibc/work/armv5te-oe-linux-uclibceabi/gcc-cross-initial/4.9.0+gitAUTOINC+e6e3a925b2-r0/gcc-4.9.0+gitAUTOINC+e6e3a925b2/build.x86_64-linux.arm-oe-linux-uclibceabi/tmpsysroot
--disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath
--with-system-zlib --disable-lto --disable-plugin --enable-decimal-float=no
--with-float=soft --with-native-system-header-dir=/usr/include --disable-nls
--disable-decimal-float --enable-__cxa_atexit
Thread model: single
gcc version 4.9.0 20140116 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-march=armv5te' '-marm' '-mthumb-interwork' '-Wall'
'-Wstrict-prototypes' '-Wstrict-aliasing' '-funsigned-char' '-fno-builtin'
'-fno-asm' '-mfloat-abi=soft' '-std=gnu99' '-mlittle-endian' '-mthumb'
'-fno-stack-protector' '-Os' '-pipe' '-g' '-feliminate-unused-debug-types'
'-funit-at-a-time' '-fmerge-all-constants' '-fstrict-aliasing'
'-fno-tree-loop-optimize' '-fno-tree-dominator-opts' '-fPIC' '-c' '-o' 'foo.o'
'-mtls-dialect=gnu'

/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-uclibceabi.gcc-cross-initial/gcc/arm-oe-linux-uclibceabi/4.9.0/cc1
-fpreprocessed regex_arm_bug.i -quiet -dumpbase regex_arm_bug.i -march=armv5te
-marm -mthumb-interwork -mfloat-abi=soft -mlittle-endian -mthumb
-mtls-dialect=gnu -auxbase-strip foo.o -g -Os -Wall -Wstrict-prototypes
-Wstrict-aliasing -std=gnu99 -version -funsigned-char -fno-builtin -fno-asm
-fno-stack-protector -feliminate-unused-debug-types -funit-at-a-time
-fmerge-all-constants -fstrict-aliasing -fno-tree-loop-optimize
-fno-tree-dominator-opts -fPIC -o - |

/scratch/obj.x86_64/oe/build/build/tmp-uclibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-uclibceabi.gcc-cross-initial/gcc/arm-oe-linux-uclibceabi/4.9.0/as
-v -EL -march=armv5te -mthumb-interwork -mfloat-abi=soft -meabi=5 -o foo.o
GNU assembler version 2.23.2 (arm-oe-linux-uclibceabi) using BFD version (GNU
Binutils) 2.23.2
GNU C (GCC) version 4.9.0 20140116 (experimental) (arm-oe-linux-uclibceabi)
    compiled by GNU C version 4.8.2, GMP version 5.1.1, MPFR version 3.1.2, MPC
version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.9.0 20140116 (experimental) (arm-oe-linux-uclibceabi)
    compiled by GNU C version 4.8.2, GMP version 5.1.1, MPFR version 3.1.2, MPC
version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 00f3d8d9b2ef4564ff0d7914e89beffb
regex_arm_bug.i: In function 're_string_reconstruct':
regex_arm_bug.i:8920:20: warning: variable 'buf' set but not used
[-Wunused-but-set-variable]
      unsigned char buf[6];
                    ^
regex_arm_bug.i: In function 're_search_internal':
regex_arm_bug.i:12785:1: internal compiler error: in assign_by_spills, at
lra-assigns.c:1283
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

This is the lra_assert (asm_p); in the iter > 0 block, it seems.
Reducing..


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/59858] [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283
  2014-01-17 12:20 [Bug rtl-optimization/59858] New: [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283 aldot at gcc dot gnu.org
@ 2014-01-17 12:26 ` rguenth at gcc dot gnu.org
  2014-01-17 13:58 ` aldot at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-01-17 12:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59858

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/59858] [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283
  2014-01-17 12:20 [Bug rtl-optimization/59858] New: [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283 aldot at gcc dot gnu.org
  2014-01-17 12:26 ` [Bug rtl-optimization/59858] " rguenth at gcc dot gnu.org
@ 2014-01-17 13:58 ` aldot at gcc dot gnu.org
  2014-01-21 19:16 ` vmakarov at gcc dot gnu.org
  2014-01-21 21:47 ` [Bug rtl-optimization/59858] [4.8 " law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: aldot at gcc dot gnu.org @ 2014-01-17 13:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59858

--- Comment #1 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> ---
Created attachment 31873
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31873&action=edit
slightly reduced


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/59858] [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283
  2014-01-17 12:20 [Bug rtl-optimization/59858] New: [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283 aldot at gcc dot gnu.org
  2014-01-17 12:26 ` [Bug rtl-optimization/59858] " rguenth at gcc dot gnu.org
  2014-01-17 13:58 ` aldot at gcc dot gnu.org
@ 2014-01-21 19:16 ` vmakarov at gcc dot gnu.org
  2014-01-21 21:47 ` [Bug rtl-optimization/59858] [4.8 " law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2014-01-21 19:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59858

--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Tue Jan 21 19:15:40 2014
New Revision: 206897

URL: http://gcc.gnu.org/viewcvs?rev=206897&root=gcc&view=rev
Log:
2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/59858
    * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
    ira_class_hard_regs_num.
    (process_alt_operands): Increase reject for dying matched operand.

2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/59858
    * gcc.target/arm/pr59858.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/arm/pr59858.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/59858] [4.8 Regression] ICE: assign_by_spills, at lra-assigns.c:1283
  2014-01-17 12:20 [Bug rtl-optimization/59858] New: [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283 aldot at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-01-21 19:16 ` vmakarov at gcc dot gnu.org
@ 2014-01-21 21:47 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2014-01-21 21:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59858

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
Fixed by Vlad's commit on the trunk


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-21 21:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-17 12:20 [Bug rtl-optimization/59858] New: [4.8/4.9 Regression] ICE: assign_by_spills, at lra-assigns.c:1283 aldot at gcc dot gnu.org
2014-01-17 12:26 ` [Bug rtl-optimization/59858] " rguenth at gcc dot gnu.org
2014-01-17 13:58 ` aldot at gcc dot gnu.org
2014-01-21 19:16 ` vmakarov at gcc dot gnu.org
2014-01-21 21:47 ` [Bug rtl-optimization/59858] [4.8 " law at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).