public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c  (internal compiler error)
@ 2013-02-18 18:24 danglin at gcc dot gnu.org
  2013-02-18 18:35 ` [Bug middle-end/56382] " danglin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-02-18 18:24 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56382
           Summary: FAIL: gcc.c-torture/compile/pr55921.c  (internal
                    compiler error)
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11


This is a problem extracting the first subreg from a SCmode value.  Thia
occurs during reload after the point where pseudos can be created but we
need a pseudo to extract the subreg.  The problem is SCmode is the same
size as DImode on this target, so the subreg can't be extracted by a move.

I marked this a middle-end bug as the documentation indicates that complex
values are handled by it.


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

* [Bug middle-end/56382] FAIL: gcc.c-torture/compile/pr55921.c  (internal compiler error)
  2013-02-18 18:24 [Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error) danglin at gcc dot gnu.org
@ 2013-02-18 18:35 ` danglin at gcc dot gnu.org
  2013-07-25 16:32 ` danglin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-02-18 18:35 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2013-02-18 18:34:54 UTC ---
Created attachment 29485
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29485
Patch

I tried the above changes to expmed.c but this
approach eventually reaches a gcc_unreacheable
dead end.


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

* [Bug middle-end/56382] FAIL: gcc.c-torture/compile/pr55921.c  (internal compiler error)
  2013-02-18 18:24 [Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error) danglin at gcc dot gnu.org
  2013-02-18 18:35 ` [Bug middle-end/56382] " danglin at gcc dot gnu.org
@ 2013-07-25 16:32 ` danglin at gcc dot gnu.org
  2013-07-25 16:35 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-07-25 16:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
Executing on host: /mnt/gnu/gcc/objdir-test/gcc/xgcc
-B/mnt/gnu/gcc/objdir-test/
gcc/  -fno-diagnostics-show-caret   -O0  -w -c  -o pr55921.o
/mnt/gnu/gcc/gcc/gc
c/testsuite/gcc.c-torture/compile/pr55921.c    (timeout = 300)spawn
/mnt/gnu/gcc/objdir-test/gcc/xgcc -B/mnt/gnu/gcc/objdir-test/gcc/
-fno-diagnostics-show-caret -O0 -w -c -o pr55921.o
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.c-
torture/compile/pr55921.c/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c:
In function 'foo':
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c:21:1: internal
compiler error: in gen_reg_rtx, at emit-rtl.c:866


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

* [Bug middle-end/56382] FAIL: gcc.c-torture/compile/pr55921.c  (internal compiler error)
  2013-02-18 18:24 [Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error) danglin at gcc dot gnu.org
  2013-02-18 18:35 ` [Bug middle-end/56382] " danglin at gcc dot gnu.org
  2013-07-25 16:32 ` danglin at gcc dot gnu.org
@ 2013-07-25 16:35 ` danglin at gcc dot gnu.org
  2013-09-02 16:19 ` ebotcazou at gcc dot gnu.org
  2014-03-27  1:04 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-07-25 16:35 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29485|0                           |1
        is obsolete|                            |

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 30555
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30555&action=edit
Patch

Works for me.


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

* [Bug middle-end/56382] FAIL: gcc.c-torture/compile/pr55921.c  (internal compiler error)
  2013-02-18 18:24 [Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error) danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-07-25 16:35 ` danglin at gcc dot gnu.org
@ 2013-09-02 16:19 ` ebotcazou at gcc dot gnu.org
  2014-03-27  1:04 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-09-02 16:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Mon Sep  2 16:19:20 2013
New Revision: 202179

URL: http://gcc.gnu.org/viewcvs?rev=202179&root=gcc&view=rev
Log:
    PR middle-end/56382
    * expr.c (emit_move_complex): Do not move complex FP values as parts if
    the source or the destination is a single hard register.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c


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

* [Bug middle-end/56382] FAIL: gcc.c-torture/compile/pr55921.c  (internal compiler error)
  2013-02-18 18:24 [Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error) danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2013-09-02 16:19 ` ebotcazou at gcc dot gnu.org
@ 2014-03-27  1:04 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-03-27  1:04 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

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

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> ---
This is fixed for hppa on trunk but not 4.8 branch.

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


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

end of thread, other threads:[~2014-03-27  1:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 18:24 [Bug middle-end/56382] New: FAIL: gcc.c-torture/compile/pr55921.c (internal compiler error) danglin at gcc dot gnu.org
2013-02-18 18:35 ` [Bug middle-end/56382] " danglin at gcc dot gnu.org
2013-07-25 16:32 ` danglin at gcc dot gnu.org
2013-07-25 16:35 ` danglin at gcc dot gnu.org
2013-09-02 16:19 ` ebotcazou at gcc dot gnu.org
2014-03-27  1:04 ` danglin 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).