public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/18163] New: libffi test case ICE's on darwin
@ 2004-10-26 19:34 andreast at gcc dot gnu dot org
  2004-10-26 19:35 ` [Bug other/18163] " andreast at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: andreast at gcc dot gnu dot org @ 2004-10-26 19:34 UTC (permalink / raw)
  To: gcc-bugs

The following test case ICE's on darwin since 2004-10-26. Before it was ok.

/Volumes/src/gcc/gcc-cvs/gcc/libffi/testsuite/libffi.call/return_ldsum.c:64:
error: unrecognizable insn:^M(insn 15 14 16 0 (set (reg:TI 158 [ g ])^M       
(const_int 0 [0x0])) -1 (nil)^M   
(nil))^M/Volumes/src/gcc/gcc-cvs/gcc/libffi/testsuite/libffi.call/return_ldsum.c:64:
internal compiler error: in extract_insn, at recog.c:2034^M

I attach the test case asap. It is not yet committed to cvs.

-- 
           Summary: libffi test case ICE's on darwin
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: andreast at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.5.0
  GCC host triplet: powerpc-apple-darwin7.5.0
GCC target triplet: powerpc-apple-darwin7.5.0


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


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

* [Bug other/18163] libffi test case ICE's on darwin
  2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
@ 2004-10-26 19:35 ` andreast at gcc dot gnu dot org
  2004-10-26 19:41 ` [Bug middle-end/18163] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: andreast at gcc dot gnu dot org @ 2004-10-26 19:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From andreast at gcc dot gnu dot org  2004-10-26 19:35 -------
Created an attachment (id=7413)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7413&action=view)
test case


-- 


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


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

* [Bug middle-end/18163] [4.0 Regression] libffi test case ICE's on darwin
  2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
  2004-10-26 19:35 ` [Bug other/18163] " andreast at gcc dot gnu dot org
@ 2004-10-26 19:41 ` pinskia at gcc dot gnu dot org
  2004-10-26 20:14 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 19:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-26 19:41 -------
Confirmed, here is the reduced testcase:
long double return_ld(long double a, long double b, long double c,
			     long double d, long double e, long double f,
			     long double g)
{
  return a + b + c + d + e + f + g;
}

Something changed between:
Sun Oct 24 22:46:36 EDT 2004
Mon Oct 25 02:46:36 UTC 2004

and:
Tue Oct 26 08:56:13 EDT 2004
Tue Oct 26 12:56:13 UTC 2004

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|other                       |middle-end
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-apple-darwin7.5.0   |
   GCC host triplet|powerpc-apple-darwin7.5.0   |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-26 19:41:51
               date|                            |
            Summary|libffi test case ICE's on   |[4.0 Regression] libffi test
                   |darwin                      |case ICE's on darwin
   Target Milestone|---                         |4.0.0


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


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

* [Bug middle-end/18163] [4.0 Regression] libffi test case ICE's on darwin
  2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
  2004-10-26 19:35 ` [Bug other/18163] " andreast at gcc dot gnu dot org
  2004-10-26 19:41 ` [Bug middle-end/18163] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-10-26 20:14 ` pinskia at gcc dot gnu dot org
  2004-10-26 20:36 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 20:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-26 20:14 -------
Reverting the following patch fixes the ICE:
2004-10-26  Aldy Hernandez  <aldyh@redhat.com>

        * expr.c (emit_group_load): Handle floats.
        (emit_group_store): Same.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldyh at gcc dot gnu dot org


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


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

* [Bug middle-end/18163] [4.0 Regression] libffi test case ICE's on darwin
  2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-10-26 20:14 ` pinskia at gcc dot gnu dot org
@ 2004-10-26 20:36 ` pinskia at gcc dot gnu dot org
  2004-10-28  3:51 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 20:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-26 20:36 -------
Note the solution for a different related problem in <http://gcc.gnu.org/ml/gcc/2004-10/
msg01025.html> will not work as the mode in this case is still a floating point mode (TF) and the 
corresponding int mode is TI which does not exist on ppc.

-- 


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


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

* [Bug middle-end/18163] [4.0 Regression] libffi test case ICE's on darwin
  2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-10-26 20:36 ` pinskia at gcc dot gnu dot org
@ 2004-10-28  3:51 ` rth at gcc dot gnu dot org
  2004-10-28  3:53 ` cvs-commit at gcc dot gnu dot org
  2004-10-28  3:56 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-28  3:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|rth at gcc dot gnu dot org  |
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug middle-end/18163] [4.0 Regression] libffi test case ICE's on darwin
  2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-10-28  3:51 ` rth at gcc dot gnu dot org
@ 2004-10-28  3:53 ` cvs-commit at gcc dot gnu dot org
  2004-10-28  3:56 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-28  3:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-28 03:53 -------
Subject: Bug 18163

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2004-10-28 03:53:33

Modified files:
	gcc            : ChangeLog expr.c 

Log message:
	PR middle-end/18163
	* expr.c (emit_group_load): Don't go force temporary for memory
	or concat source.
	(emit_group_store): Similarly.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6065&r2=2.6066
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&r1=1.736&r2=1.737



-- 


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


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

* [Bug middle-end/18163] [4.0 Regression] libffi test case ICE's on darwin
  2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-10-28  3:53 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-28  3:56 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-28  3:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-10-28 03:56 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-10-28  3:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-26 19:34 [Bug other/18163] New: libffi test case ICE's on darwin andreast at gcc dot gnu dot org
2004-10-26 19:35 ` [Bug other/18163] " andreast at gcc dot gnu dot org
2004-10-26 19:41 ` [Bug middle-end/18163] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-26 20:14 ` pinskia at gcc dot gnu dot org
2004-10-26 20:36 ` pinskia at gcc dot gnu dot org
2004-10-28  3:51 ` rth at gcc dot gnu dot org
2004-10-28  3:53 ` cvs-commit at gcc dot gnu dot org
2004-10-28  3:56 ` rth at gcc dot gnu dot 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).