public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51482] New: ice: invalid types in conversion to floating point
@ 2011-12-09  8:57 dcb314 at hotmail dot com
  2011-12-09  9:14 ` [Bug tree-optimization/51482] [4.7 Regression] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2011-12-09  8:57 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51482
           Summary: ice: invalid types in conversion to floating point
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 26032
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26032
C++ source code

I just tried to compile the package berusky2-0.5-1
on latest trunk dated 20111208 on an AMD x86_64 box.

The compiler said

age/graph/animation_track_bezier.cpp: In member function 'WVECT*
anim_track_bez_wvect::tangent(int, BEZIER_KEY_CLASS, WVECT*)':
age/graph/animation_track_bezier.cpp:446:9: error: invalid types in conversion
to floating point
vector(4) float
vector(4) FERGUSON_KEY_CLASS
vect_var_.776_404 = (vector(4) float) vect_cst_.777_403;

age/graph/animation_track_bezier.cpp:446:9: internal compiler error:
verify_gimple failed
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.


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

* [Bug tree-optimization/51482] [4.7 Regression] ice: invalid types in conversion to floating point
  2011-12-09  8:57 [Bug c++/51482] New: ice: invalid types in conversion to floating point dcb314 at hotmail dot com
@ 2011-12-09  9:14 ` rguenth at gcc dot gnu.org
  2011-12-09  9:34 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-09  9:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-12-09
          Component|c++                         |tree-optimization
   Target Milestone|---                         |4.7.0
            Summary|ice: invalid types in       |[4.7 Regression] ice:
                   |conversion to floating      |invalid types in conversion
                   |point                       |to floating point
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-09 09:13:35 UTC ---
Confirmed, reducing.


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

* [Bug tree-optimization/51482] [4.7 Regression] ice: invalid types in conversion to floating point
  2011-12-09  8:57 [Bug c++/51482] New: ice: invalid types in conversion to floating point dcb314 at hotmail dot com
  2011-12-09  9:14 ` [Bug tree-optimization/51482] [4.7 Regression] " rguenth at gcc dot gnu.org
@ 2011-12-09  9:34 ` rguenth at gcc dot gnu.org
  2011-12-09 11:24 ` rguenth at gcc dot gnu.org
  2011-12-09 11:33 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-09  9:34 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-09 09:22:37 UTC ---
Mine.


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

* [Bug tree-optimization/51482] [4.7 Regression] ice: invalid types in conversion to floating point
  2011-12-09  8:57 [Bug c++/51482] New: ice: invalid types in conversion to floating point dcb314 at hotmail dot com
  2011-12-09  9:14 ` [Bug tree-optimization/51482] [4.7 Regression] " rguenth at gcc dot gnu.org
  2011-12-09  9:34 ` rguenth at gcc dot gnu.org
@ 2011-12-09 11:24 ` rguenth at gcc dot gnu.org
  2011-12-09 11:33 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-09 11:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-09 11:23:04 UTC ---
Author: rguenth
Date: Fri Dec  9 11:22:59 2011
New Revision: 182156

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182156
Log:
2011-12-09  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/51482
    * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
    Make sure to only create REAL_TYPE and INTEGER_TYPE component
    vectors.

    * g++.dg/torture/pr51482.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr51482.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c


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

* [Bug tree-optimization/51482] [4.7 Regression] ice: invalid types in conversion to floating point
  2011-12-09  8:57 [Bug c++/51482] New: ice: invalid types in conversion to floating point dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2011-12-09 11:24 ` rguenth at gcc dot gnu.org
@ 2011-12-09 11:33 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-09 11:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-09 11:24:35 UTC ---
Fixed.


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

end of thread, other threads:[~2011-12-09 11:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-09  8:57 [Bug c++/51482] New: ice: invalid types in conversion to floating point dcb314 at hotmail dot com
2011-12-09  9:14 ` [Bug tree-optimization/51482] [4.7 Regression] " rguenth at gcc dot gnu.org
2011-12-09  9:34 ` rguenth at gcc dot gnu.org
2011-12-09 11:24 ` rguenth at gcc dot gnu.org
2011-12-09 11:33 ` 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).