public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39928]  New: gimplify_expr failure
@ 2009-04-27 11:36 dcb314 at hotmail dot com
  2009-04-27 11:37 ` [Bug c/39928] " dcb314 at hotmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2009-04-27 11:36 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the Suse Linux package speex-1.1.99.91-15.19
with the GNU gcc version 4.5 snapshot 20090423.

The compiler said

vq_sse.h: In function 'vq_nbest':                                      
vq_sse.h:52: internal compiler error: in gimplify_expr, at gimplify.c:7175     
                                                                Please submit a
full bug report,
with preprocessed source if appropriate.                                See
<http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. No special flags required.


-- 
           Summary: gimplify_expr failure
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c/39928] gimplify_expr failure
  2009-04-27 11:36 [Bug c/39928] New: gimplify_expr failure dcb314 at hotmail dot com
@ 2009-04-27 11:37 ` dcb314 at hotmail dot com
  2009-04-27 12:16 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2009-04-27 11:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2009-04-27 11:37 -------
Created an attachment (id=17766)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17766&action=view)
C source code


-- 


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


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

* [Bug c/39928] gimplify_expr failure
  2009-04-27 11:36 [Bug c/39928] New: gimplify_expr failure dcb314 at hotmail dot com
  2009-04-27 11:37 ` [Bug c/39928] " dcb314 at hotmail dot com
@ 2009-04-27 12:16 ` rguenth at gcc dot gnu dot org
  2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-27 12:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-04-27 12:15 -------
Reducing.


-- 


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


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

* [Bug c/39928] gimplify_expr failure
  2009-04-27 11:36 [Bug c/39928] New: gimplify_expr failure dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
@ 2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
  2009-04-27 15:50 ` rguenth at gcc dot gnu dot org
  2009-04-27 15:50 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-27 12:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-04-27 12:22 -------
And mine.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-04-27 12:22:02         |2009-04-27 12:22:11
               date|                            |


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


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

* [Bug c/39928] gimplify_expr failure
  2009-04-27 11:36 [Bug c/39928] New: gimplify_expr failure dcb314 at hotmail dot com
  2009-04-27 11:37 ` [Bug c/39928] " dcb314 at hotmail dot com
  2009-04-27 12:16 ` rguenth at gcc dot gnu dot org
@ 2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
  2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-27 12:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-04-27 12:22 -------
typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
extern __m128 _mm_sub_ps (__m128 __A, __m128 __B);
extern __m128 _mm_mul_ps (__m128 __A, __m128 __B);
__m128
vq_nbest(const __m128 *codebook, __m128 d, __m128 in)
{
  return _mm_sub_ps(d, _mm_mul_ps(in, *codebook++));
}

Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-27 12:22:02
               date|                            |


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


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

* [Bug c/39928] gimplify_expr failure
  2009-04-27 11:36 [Bug c/39928] New: gimplify_expr failure dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2009-04-27 15:50 ` rguenth at gcc dot gnu dot org
@ 2009-04-27 15:50 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-27 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-04-27 15:50 -------
Fixed.


------- Comment #6 from rguenth at gcc dot gnu dot org  2009-04-27 15:50 -------
Subject: Bug 39928

Author: rguenth
Date: Mon Apr 27 15:50:05 2009
New Revision: 146846

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146846
Log:
2009-04-27  Richard Guenther  <rguenther@suse.de>

        PR middle-end/39928
        * gimplify.c (gimplify_expr): If we are required to create
        a temporary make sure it ends up as register.

        * gcc.c-torture/compile/pr39928-1.c: New testcase.
        * gcc.c-torture/compile/pr39928-2.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr39928-1.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr39928-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

* [Bug c/39928] gimplify_expr failure
  2009-04-27 11:36 [Bug c/39928] New: gimplify_expr failure dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
@ 2009-04-27 15:50 ` rguenth at gcc dot gnu dot org
  2009-04-27 15:50 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-27 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-04-27 15:50 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

end of thread, other threads:[~2009-04-27 15:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-27 11:36 [Bug c/39928] New: gimplify_expr failure dcb314 at hotmail dot com
2009-04-27 11:37 ` [Bug c/39928] " dcb314 at hotmail dot com
2009-04-27 12:16 ` rguenth at gcc dot gnu dot org
2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
2009-04-27 12:22 ` rguenth at gcc dot gnu dot org
2009-04-27 15:50 ` rguenth at gcc dot gnu dot org
2009-04-27 15:50 ` rguenth 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).