public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass
@ 2015-03-20 10:36 ktkachov at gcc dot gnu.org
  2015-03-20 10:37 ` [Bug target/65489] " ktkachov at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-03-20 10:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65489
           Summary: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on
                    arm-none-eabi in hoist pass
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
            Target: arm*

As reported at:
https://gcc.gnu.org/ml/gcc-patches/2015-03/msg00949.html

The testcase gcc.c-torture/execute/pr65427.c ICEs on arm at -Os with:
0x7e6f11 process_insert_insn
        $TOP/gcc/gcse.c:2174
0x7e8a80 insert_insn_end_basic_block
        $TOP/gcc/gcse.c:2196
0x7eab01 hoist_code
        $TOP/gcc/gcse.c:3492
0x7eab01 one_code_hoisting_pass
        $TOP/gcc/gcse.c:3722
0x7eab01 execute_rtl_hoist
        $TOP/gcc/gcse.c:4212
0x7eab01 execute
        $TOP/gcc/gcse.c:4293

The ICE is unrelated to that PR and is just exposed by the new testcase.
I can reproduce it with on arm-none-eabi with -Os -mfloat-abi=hard
-mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp


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

* [Bug target/65489] [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass
  2015-03-20 10:36 [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass ktkachov at gcc dot gnu.org
@ 2015-03-20 10:37 ` ktkachov at gcc dot gnu.org
  2015-03-31 13:10 ` [Bug target/65489] [5 " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-03-20 10:37 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-03-20
      Known to work|                            |4.9.3
           Assignee|unassigned at gcc dot gnu.org      |ktkachov at gcc dot gnu.org
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1
      Known to fail|                            |5.0

--- Comment #1 from ktkachov at gcc dot gnu.org ---
I'm working on a fix. I think the arm backend implementation of
TARGET_LEGITIMATE_CONSTANT_P is at fault


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

* [Bug target/65489] [5 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass
  2015-03-20 10:36 [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass ktkachov at gcc dot gnu.org
  2015-03-20 10:37 ` [Bug target/65489] " ktkachov at gcc dot gnu.org
@ 2015-03-31 13:10 ` rguenth at gcc dot gnu.org
  2015-04-07 10:18 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-31 13:10 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug target/65489] [5 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass
  2015-03-20 10:36 [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass ktkachov at gcc dot gnu.org
  2015-03-20 10:37 ` [Bug target/65489] " ktkachov at gcc dot gnu.org
  2015-03-31 13:10 ` [Bug target/65489] [5 " rguenth at gcc dot gnu.org
@ 2015-04-07 10:18 ` rguenth at gcc dot gnu.org
  2015-04-07 10:20 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-07 10:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ping?  If TARGET_LEGITIMATE_CONSTANT_P is at fault isn't this a latent issue
also present on branches?


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

* [Bug target/65489] [5 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass
  2015-03-20 10:36 [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass ktkachov at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-04-07 10:18 ` rguenth at gcc dot gnu.org
@ 2015-04-07 10:20 ` rguenth at gcc dot gnu.org
  2015-04-07 10:24 ` ktkachov at gcc dot gnu.org
  2015-04-07 10:28 ` ktkachov at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-07 10:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
A posted patch was approved but not yet checked in.


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

* [Bug target/65489] [5 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass
  2015-03-20 10:36 [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass ktkachov at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-04-07 10:20 ` rguenth at gcc dot gnu.org
@ 2015-04-07 10:24 ` ktkachov at gcc dot gnu.org
  2015-04-07 10:28 ` ktkachov at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-04-07 10:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Apr  7 10:24:19 2015
New Revision: 221892

URL: https://gcc.gnu.org/viewcvs?rev=221892&root=gcc&view=rev
Log:
[ARM] PR 65489: Accept VSTRUCT constants in arm_legitimate_constant_p

    PR target/65489
    * config/arm/arm.c (arm_legitimate_constant_p_1): Remove restriction
    on constants for NEON VSTRUCT modes.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c


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

* [Bug target/65489] [5 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass
  2015-03-20 10:36 [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass ktkachov at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-04-07 10:24 ` ktkachov at gcc dot gnu.org
@ 2015-04-07 10:28 ` ktkachov at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-04-07 10:28 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

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

--- Comment #5 from ktkachov at gcc dot gnu.org ---
Fixed on trunk.
I couldn't get any testcase to fail from this issue on the other branches, so I
can't confirm that it's present there.
If someone manages to reproduce it there, please reopen this or a new PR


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

end of thread, other threads:[~2015-04-07 10:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-20 10:36 [Bug target/65489] New: [5.0 Regression] Testcase for PR 65427 ICEs at -Os on arm-none-eabi in hoist pass ktkachov at gcc dot gnu.org
2015-03-20 10:37 ` [Bug target/65489] " ktkachov at gcc dot gnu.org
2015-03-31 13:10 ` [Bug target/65489] [5 " rguenth at gcc dot gnu.org
2015-04-07 10:18 ` rguenth at gcc dot gnu.org
2015-04-07 10:20 ` rguenth at gcc dot gnu.org
2015-04-07 10:24 ` ktkachov at gcc dot gnu.org
2015-04-07 10:28 ` ktkachov 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).