public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/37713]  New: ice for legal code with -O3 on 20080926
@ 2008-10-02  9:04 dcb314 at hotmail dot com
  2008-10-02  9:05 ` [Bug c/37713] " dcb314 at hotmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2008-10-02  9:04 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the Suse Linux package libbtctl-0.10.0
with the new gcc version 4.4, snapshot dated 20080926.

gcc said

obexsdp.c: In function 'register_sdp':
obexsdp.c:128: internal compiler error: in vectorizable_store, at
tree-vect-transform.c:5391
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O3 required.


-- 
           Summary: ice for legal code with -O3 on 20080926
           Product: gcc
           Version: 4.4.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: suse-linux-x86_64


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


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

* [Bug c/37713] ice for legal code with -O3 on 20080926
  2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
@ 2008-10-02  9:05 ` dcb314 at hotmail dot com
  2008-10-02 11:20 ` [Bug middle-end/37713] [4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2008-10-02  9:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2008-10-02 09:04 -------
Created an attachment (id=16450)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16450&action=view)
C source code


-- 


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


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

* [Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926
  2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
  2008-10-02  9:05 ` [Bug c/37713] " dcb314 at hotmail dot com
@ 2008-10-02 11:20 ` rguenth at gcc dot gnu dot org
  2008-10-02 13:12 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-10-02 11:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-10-02 11:19 -------
Confirmed.  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|UNCONFIRMED                 |ASSIGNED
          Component|c                           |middle-end
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-10-02 11:19:26
               date|                            |
            Summary|ice for legal code with -O3 |[4.4 Regression] ice for
                   |on 20080926                 |legal code with -O3 on
                   |                            |20080926
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926
  2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
  2008-10-02  9:05 ` [Bug c/37713] " dcb314 at hotmail dot com
  2008-10-02 11:20 ` [Bug middle-end/37713] [4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2008-10-02 13:12 ` rguenth at gcc dot gnu dot org
  2008-10-02 13:13 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-10-02 13:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-10-02 13:11 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926
  2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2008-10-02 13:12 ` rguenth at gcc dot gnu dot org
@ 2008-10-02 13:13 ` rguenth at gcc dot gnu dot org
  2008-10-02 20:51 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-10-02 13:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-10-02 13:12 -------
Subject: Bug 37713

Author: rguenth
Date: Thu Oct  2 13:11:12 2008
New Revision: 140832

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140832
Log:
2008-10-02  Richard Guenther  <rguenther@suse.de>

        PR middle-end/37713
        * tree-ssa.c (useless_type_conversion_p_1): For COMPLEX_TYPE
        and VECTOR_TYPE recurse with useless_type_conversion_p which
        properly handles void pointer conversion.

        * gcc.c-torture/compile/pr37713.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr37713.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa.c


-- 


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


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

* [Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926
  2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2008-10-02 13:13 ` rguenth at gcc dot gnu dot org
@ 2008-10-02 20:51 ` pinskia at gcc dot gnu dot org
  2008-10-02 21:33 ` rguenth at gcc dot gnu dot org
  2008-10-07 11:27 ` irar at il dot ibm dot com
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-10-02 20:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-10-02 20:49 -------
This testcase fails on the trunk for x86-darwin with an ICE:
/Users/apinski/src/local/gcc/gcc/testsuite/gcc.c-torture/compile/pr37713.c:8:
internal compiler error: in set_mem_alias_set, at emit-rtl.c:1784^M
 Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <http://gcc.gnu.org/bugs.html> for instructions.^M


-- 


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


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

* [Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926
  2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2008-10-02 20:51 ` pinskia at gcc dot gnu dot org
@ 2008-10-02 21:33 ` rguenth at gcc dot gnu dot org
  2008-10-07 11:27 ` irar at il dot ibm dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-10-02 21:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-10-02 21:32 -------
Looks like expansion creates some weirdo MEM_ALIAS_SET for the target.  Some
RTL problem, not mine to investigate right now.


-- 


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


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

* [Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926
  2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2008-10-02 21:33 ` rguenth at gcc dot gnu dot org
@ 2008-10-07 11:27 ` irar at il dot ibm dot com
  6 siblings, 0 replies; 8+ messages in thread
From: irar at il dot ibm dot com @ 2008-10-07 11:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from irar at il dot ibm dot com  2008-10-07 11:25 -------
This seems to be similar to the failure in PR 37385 (in set_mem_alias_set, at
emit-rtl.c:1789). There the ICE was because the lhs and the element type of rhs
did not alias.


-- 

irar at il dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |irar at il dot ibm dot com


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


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

end of thread, other threads:[~2008-10-07 11:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-02  9:04 [Bug c/37713] New: ice for legal code with -O3 on 20080926 dcb314 at hotmail dot com
2008-10-02  9:05 ` [Bug c/37713] " dcb314 at hotmail dot com
2008-10-02 11:20 ` [Bug middle-end/37713] [4.4 Regression] " rguenth at gcc dot gnu dot org
2008-10-02 13:12 ` rguenth at gcc dot gnu dot org
2008-10-02 13:13 ` rguenth at gcc dot gnu dot org
2008-10-02 20:51 ` pinskia at gcc dot gnu dot org
2008-10-02 21:33 ` rguenth at gcc dot gnu dot org
2008-10-07 11:27 ` irar at il dot ibm dot com

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).