public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
@ 2015-06-17  6:58 ` kugan at gcc dot gnu.org
  2015-06-17  7:03 ` kugan at gcc dot gnu.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: kugan at gcc dot gnu.org @ 2015-06-17  6:58 UTC (permalink / raw)
  To: gcc-bugs

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

kugan at gcc dot gnu.org changed:

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

--- Comment #1 from kugan at gcc dot gnu.org ---
Also happens for arm-none-linux-gnueabi-g++ with -mfpu=neon -O3


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
  2015-06-17  6:58 ` [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu kugan at gcc dot gnu.org
@ 2015-06-17  7:03 ` kugan at gcc dot gnu.org
  2015-06-17  7:13 ` kugan at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: kugan at gcc dot gnu.org @ 2015-06-17  7:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from kugan at gcc dot gnu.org ---
can_fix_p is returining CODE_FOR_nothing for converting from tomode=V4SImode to
frommode=V4SFmode with branch 4.9. With trunk it is returning
CODE_FOR_fix_truncv4sfv4si2.


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
  2015-06-17  6:58 ` [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu kugan at gcc dot gnu.org
  2015-06-17  7:03 ` kugan at gcc dot gnu.org
@ 2015-06-17  7:13 ` kugan at gcc dot gnu.org
  2015-06-17  7:48 ` mkuvyrkov at gcc dot gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: kugan at gcc dot gnu.org @ 2015-06-17  7:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from kugan at gcc dot gnu.org ---
correction:

with 4.9 when it ICE we have:
Breakpoint 1, expand_fix (to=to@entry=0x7ffff65b5480, from=0x7ffff65b2000,
unsignedp=unsignedp@entry=0) at
/home/kugan/work/sources/gcc-fsf/4.9/gcc/optabs.c:5206
5206    {
(gdb) p debug_rtx (from)
(reg:V4SI 155 [ vect_vec_iv_.19 ])
$23 = void
(gdb) p debug_rtx (to)
(reg:V4SI 281)
$24 = void


with trunk when it is working:
Breakpoint 1, expand_fix (to=to@entry=0x7ffff64a7ac8, from=0x7ffff64a7a98,
unsignedp=unsignedp@entry=0) at
/home/kugan/work/sources/gcc-fsf/gcc/gcc/optabs.c:5196
5196    {
(gdb) p debug_rtx (to)
(reg:V4SI 281)
$12 = void
(gdb) p debug_rtx (from)
(reg:V4SF 280 [ vect__11.23 ])
$13 = void


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-06-17  7:13 ` kugan at gcc dot gnu.org
@ 2015-06-17  7:48 ` mkuvyrkov at gcc dot gnu.org
  2015-06-17  8:50 ` ramana at gcc dot gnu.org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: mkuvyrkov at gcc dot gnu.org @ 2015-06-17  7:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> ---
Hi Kugan,

Are you working on fixing this issue on 4.9?  If so, would you please assign
yourself to this bug.

Thanks.


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2015-06-17  7:48 ` mkuvyrkov at gcc dot gnu.org
@ 2015-06-17  8:50 ` ramana at gcc dot gnu.org
  2015-06-18  6:33 ` kugan at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: ramana at gcc dot gnu.org @ 2015-06-17  8:50 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-06-17
                 CC|                            |ramana at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Confirmed.


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-06-17  8:50 ` ramana at gcc dot gnu.org
@ 2015-06-18  6:33 ` kugan at gcc dot gnu.org
  2015-06-18  8:21 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: kugan at gcc dot gnu.org @ 2015-06-18  6:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from kugan at gcc dot gnu.org ---
-fno-tree-forwprop works.

forwprop propagates:
vect__11.22_96 = (vector(4) float) vect_c.21_94;
vect__13.24_98 = (vector(4) signed int) vect__11.22_96;

into:
vect__13.24_98 = (vector(4) signed int) vect_c.21_94;

this seems to be the reason why we have expand_fix with V4SI in to mode and
from mode. trunk code seems significantly different due to match-and-simplify.


Should we disallow this propagation? Any thoughts?


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2015-06-18  6:33 ` kugan at gcc dot gnu.org
@ 2015-06-18  8:21 ` jakub at gcc dot gnu.org
  2015-06-18  8:25 ` kugan at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-18  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Have you bisected what fixed this in 5.1?


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2015-06-18  8:21 ` jakub at gcc dot gnu.org
@ 2015-06-18  8:25 ` kugan at gcc dot gnu.org
  2015-06-18 10:13 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: kugan at gcc dot gnu.org @ 2015-06-18  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from kugan at gcc dot gnu.org ---
Starting bisect now.


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2015-06-18  8:25 ` kugan at gcc dot gnu.org
@ 2015-06-18 10:13 ` rguenth at gcc dot gnu.org
  2015-06-18 10:15 ` rguenth at gcc dot gnu.org
  2015-06-18 10:20 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-18 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.3


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2015-06-18 10:13 ` rguenth at gcc dot gnu.org
@ 2015-06-18 10:15 ` rguenth at gcc dot gnu.org
  2015-06-18 10:20 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-18 10:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to kugan from comment #6)
> -fno-tree-forwprop works.
> 
> forwprop propagates:
> vect__11.22_96 = (vector(4) float) vect_c.21_94;
> vect__13.24_98 = (vector(4) signed int) vect__11.22_96;
> 
> into:
> vect__13.24_98 = (vector(4) signed int) vect_c.21_94;
> 
> this seems to be the reason why we have expand_fix with V4SI in to mode and
> from mode. trunk code seems significantly different due to
> match-and-simplify.
> 
> 
> Should we disallow this propagation? Any thoughts?

So this is a sign-conversion only?  Because I can't see how we reach
expand_fix with V4SI -> V4SI...  unless the operation code remains a
FIX_TRUNC_EXPR which would be a bug.

Checking with a cross.


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

* [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu
       [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2015-06-18 10:15 ` rguenth at gcc dot gnu.org
@ 2015-06-18 10:20 ` rguenth at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-18 10:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
It is.

*** This bug has been marked as a duplicate of bug 66233 ***


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

end of thread, other threads:[~2015-06-18 10:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-66554-4@http.gcc.gnu.org/bugzilla/>
2015-06-17  6:58 ` [Bug target/66554] [4.9 Regression] ICE (in expand_fix, at optabs.c:5365) on aarch64-linux-gnu kugan at gcc dot gnu.org
2015-06-17  7:03 ` kugan at gcc dot gnu.org
2015-06-17  7:13 ` kugan at gcc dot gnu.org
2015-06-17  7:48 ` mkuvyrkov at gcc dot gnu.org
2015-06-17  8:50 ` ramana at gcc dot gnu.org
2015-06-18  6:33 ` kugan at gcc dot gnu.org
2015-06-18  8:21 ` jakub at gcc dot gnu.org
2015-06-18  8:25 ` kugan at gcc dot gnu.org
2015-06-18 10:13 ` rguenth at gcc dot gnu.org
2015-06-18 10:15 ` rguenth at gcc dot gnu.org
2015-06-18 10:20 ` 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).