public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
@ 2015-03-25 18:27 rainer@emrich-ebersheim.de
  2015-03-25 19:36 ` [Bug target/65564] [Regression 5] " ktietz at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rainer@emrich-ebersheim.de @ 2015-03-25 18:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65564
           Summary: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal
                    compiler error: in simplify_subreg, at
                    simplify-rtx.c:5745
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rainer@emrich-ebersheim.de

Running the gcc testsuite I get the following ICE:

Executing on host:
/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c
  -fno-diagnostics-show-caret -fdiagnostics-color=never    -O3 -g 
-fcheck-pointer-bounds -mmpx  -lm    -o
./builtin-bnd-narrow-ptr-bounds-2-nov.exe    (timeout = 300)
spawn /opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/xgcc
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O3 -g
-fcheck-pointer-bounds -mmpx -lm -o ./builtin-bnd-narrow-ptr-bounds-2-nov.exe
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c:
In function 'mpx_test.chkp':
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1:
internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c:
In function 'mpx_test.chkp':
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1:
internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

FAIL: gcc.target/i386/mpx/builtin-bnd-narrow-ptr-bounds-2-nov.c   -O3 -g 
(internal compiler error)


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

* [Bug target/65564] [Regression 5] builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
  2015-03-25 18:27 [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745 rainer@emrich-ebersheim.de
@ 2015-03-25 19:36 ` ktietz at gcc dot gnu.org
  2015-03-29 15:42 ` [Bug target/65564] [5 Regression] " tkoenig at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-03-25 19:36 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-25
                 CC|                            |ktietz at gcc dot gnu.org
   Target Milestone|---                         |5.0
            Summary|builtin-bnd-narrow-ptr-boun |[Regression 5]
                   |ds-2-nov.c:15:1: internal   |builtin-bnd-narrow-ptr-boun
                   |compiler error: in          |ds-2-nov.c:15:1: internal
                   |simplify_subreg, at         |compiler error: in
                   |simplify-rtx.c:5745         |simplify_subreg, at
                   |                            |simplify-rtx.c:5745
     Ever confirmed|0                           |1

--- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Confirmed.

Backtrace:
#1  0x010771df in fancy_abort (
    file=file@entry=0x12d0e80 <inchash::add_rtx(rtx_def const*,
inchash::hash&):
:__FUNCTION__+8> "../../gcc/gcc/simplify-rtx.c", line=line@entry=5745,
    function=function@entry=0x12d170a <simplify_subreg(machine_mode, rtx_def*,
m
achine_mode, unsigned int)::__FUNCTION__> "simplify_subreg")
    at ../../gcc/gcc/diagnostic.c:1291
#2  0x008fa8dd in simplify_subreg (outermode=outermode@entry=BLKmode,
    op=op@entry=0xfff5b2c0, innermode=innermode@entry=DImode,
    byte=byte@entry=0) at ../../gcc/gcc/simplify-rtx.c:5745
#3  0x008fac8f in simplify_gen_subreg (outermode=BLKmode, op=0xfff5b2c0,
    innermode=DImode, byte=byte@entry=0) at ../../gcc/gcc/simplify-rtx.c:5967
#4  0x006ffb7f in ix86_delegitimize_address (x=<optimized out>)
    at ../../gcc/gcc/config/i386/i386.c:14914
#5  0x00ead454 in adjust_mems (loc=0xfff5b7f0, old_rtx=0x0, data=0xc1aa890)
    at ../../gcc/gcc/var-tracking.c:1057
#6  0x008fe4fc in simplify_replace_fn_rtx (x=0xfff5b7f0,
    old_rtx=old_rtx@entry=0x0,
    fn=fn@entry=0xead280 <adjust_mems(rtx, const_rtx, void*)>,
    data=data@entry=0xc1aa890) at ../../gcc/gcc/simplify-rtx.c:467
#7  0x008fe038 in simplify_replace_fn_rtx (x=0xfff5b800,

assert happens due on call of simplify_subreg the outermode is a BLKmode.

I think we should check within simplify_get_subreg for outermode == BLKmode and
avoid calling of simplify_subreg for it.


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

* [Bug target/65564] [5 Regression] builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
  2015-03-25 18:27 [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745 rainer@emrich-ebersheim.de
  2015-03-25 19:36 ` [Bug target/65564] [Regression 5] " ktietz at gcc dot gnu.org
@ 2015-03-29 15:42 ` tkoenig at gcc dot gnu.org
  2015-03-29 17:42 ` tkoenig at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2015-03-29 15:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Mar 29 14:20:29 2015
New Revision: 221761

URL: https://gcc.gnu.org/viewcvs?rev=221761&root=gcc&view=rev
Log:
2015-03-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR libgfortran/65564
    * gfortran.dg/open_errors_2.f90:  New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/open_errors_2.f90
Modified:
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/65564] [5 Regression] builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
  2015-03-25 18:27 [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745 rainer@emrich-ebersheim.de
  2015-03-25 19:36 ` [Bug target/65564] [Regression 5] " ktietz at gcc dot gnu.org
  2015-03-29 15:42 ` [Bug target/65564] [5 Regression] " tkoenig at gcc dot gnu.org
@ 2015-03-29 17:42 ` tkoenig at gcc dot gnu.org
  2015-03-31 13:16 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2015-03-29 17:42 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Of course, the commit had nothing to do with this PR.


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

* [Bug target/65564] [5 Regression] builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
  2015-03-25 18:27 [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745 rainer@emrich-ebersheim.de
                   ` (2 preceding siblings ...)
  2015-03-29 17:42 ` tkoenig at gcc dot gnu.org
@ 2015-03-31 13:16 ` rguenth at gcc dot gnu.org
  2015-04-22 12:00 ` [Bug target/65564] [5/6 " jakub at gcc dot gnu.org
  2015-07-16  9:16 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-31 13:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
No primary/secondary target in the list of affected targets.


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

* [Bug target/65564] [5/6 Regression] builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
  2015-03-25 18:27 [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745 rainer@emrich-ebersheim.de
                   ` (3 preceding siblings ...)
  2015-03-31 13:16 ` rguenth at gcc dot gnu.org
@ 2015-04-22 12:00 ` jakub at gcc dot gnu.org
  2015-07-16  9:16 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-04-22 12:00 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.0                         |5.2

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5.1 has been released.


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

* [Bug target/65564] [5/6 Regression] builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745
  2015-03-25 18:27 [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745 rainer@emrich-ebersheim.de
                   ` (4 preceding siblings ...)
  2015-04-22 12:00 ` [Bug target/65564] [5/6 " jakub at gcc dot gnu.org
@ 2015-07-16  9:16 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


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

end of thread, other threads:[~2015-07-16  9:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 18:27 [Bug target/65564] New: builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745 rainer@emrich-ebersheim.de
2015-03-25 19:36 ` [Bug target/65564] [Regression 5] " ktietz at gcc dot gnu.org
2015-03-29 15:42 ` [Bug target/65564] [5 Regression] " tkoenig at gcc dot gnu.org
2015-03-29 17:42 ` tkoenig at gcc dot gnu.org
2015-03-31 13:16 ` rguenth at gcc dot gnu.org
2015-04-22 12:00 ` [Bug target/65564] [5/6 " jakub at gcc dot gnu.org
2015-07-16  9:16 ` rguenth at gcc dot gnu.org

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).