public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52638] New: ice in build_vector_from_val
@ 2012-03-20 18:07 dcb314 at hotmail dot com
  2012-03-21  8:51 ` [Bug tree-optimization/52638] [4.8 Regression] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2012-03-20 18:07 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52638
           Summary: ice in build_vector_from_val
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


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

I just tried to compile the package lpg-1.1.0
on gcc-4.8 trunk dated 20120319 on an AMD x86_64 box.

The compiler said

In file included from generator.h:4:0,
                 from generator.cpp:1:
tuple.h: In constructor 'Array<T>::Array(int, T) [with T = bool]':
tuple.h:28:5: internal compiler error: in build_vector_from_val, at tree.c:1386
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] 6+ messages in thread

* [Bug tree-optimization/52638] [4.8 Regression] ice in build_vector_from_val
  2012-03-20 18:07 [Bug c++/52638] New: ice in build_vector_from_val dcb314 at hotmail dot com
@ 2012-03-21  8:51 ` rguenth at gcc dot gnu.org
  2012-03-22 11:38 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-21  8:51 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-03-21
          Component|c++                         |tree-optimization
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.8.0
            Summary|ice in                      |[4.8 Regression] ice in
                   |build_vector_from_val       |build_vector_from_val
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-21 08:50:10 UTC ---
I have a patch.


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

* [Bug tree-optimization/52638] [4.8 Regression] ice in build_vector_from_val
  2012-03-20 18:07 [Bug c++/52638] New: ice in build_vector_from_val dcb314 at hotmail dot com
  2012-03-21  8:51 ` [Bug tree-optimization/52638] [4.8 Regression] " rguenth at gcc dot gnu.org
@ 2012-03-22 11:38 ` rguenth at gcc dot gnu.org
  2012-03-22 11:59 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-22 11:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-22 11:36:51 UTC ---
Author: rguenth
Date: Thu Mar 22 11:36:46 2012
New Revision: 185687

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185687
Log:
2012-03-22  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/52638
    * tree-vect-stmts.c (vect_init_vector_1): New function, split
    out from ...
    (vect_init_vector): ... here.  Handle scalar vector inits.
    (vect_get_vec_def_for_operand): Adjust.
    (vectorizable_load): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vect-stmts.c


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

* [Bug tree-optimization/52638] [4.8 Regression] ice in build_vector_from_val
  2012-03-20 18:07 [Bug c++/52638] New: ice in build_vector_from_val dcb314 at hotmail dot com
  2012-03-21  8:51 ` [Bug tree-optimization/52638] [4.8 Regression] " rguenth at gcc dot gnu.org
  2012-03-22 11:38 ` rguenth at gcc dot gnu.org
@ 2012-03-22 11:59 ` rguenth at gcc dot gnu.org
  2012-03-23  8:36 ` rguenth at gcc dot gnu.org
  2012-03-23  8:51 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-22 11:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-22 11:37:45 UTC ---
Fixed.


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

* [Bug tree-optimization/52638] [4.8 Regression] ice in build_vector_from_val
  2012-03-20 18:07 [Bug c++/52638] New: ice in build_vector_from_val dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-03-22 11:59 ` rguenth at gcc dot gnu.org
@ 2012-03-23  8:36 ` rguenth at gcc dot gnu.org
  2012-03-23  8:51 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-23  8:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zsojka at seznam dot cz

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-23 08:30:24 UTC ---
*** Bug 52677 has been marked as a duplicate of this bug. ***


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

* [Bug tree-optimization/52638] [4.8 Regression] ice in build_vector_from_val
  2012-03-20 18:07 [Bug c++/52638] New: ice in build_vector_from_val dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2012-03-23  8:36 ` rguenth at gcc dot gnu.org
@ 2012-03-23  8:51 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-23  8:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-23 08:33:03 UTC ---
Author: rguenth
Date: Fri Mar 23 08:32:47 2012
New Revision: 185727

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185727
Log:
2012-03-23  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/52638
    * g++.dg/torture/pr52638.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr52638.C
Modified:
    trunk/gcc/testsuite/ChangeLog


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

end of thread, other threads:[~2012-03-23  8:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-20 18:07 [Bug c++/52638] New: ice in build_vector_from_val dcb314 at hotmail dot com
2012-03-21  8:51 ` [Bug tree-optimization/52638] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-03-22 11:38 ` rguenth at gcc dot gnu.org
2012-03-22 11:59 ` rguenth at gcc dot gnu.org
2012-03-23  8:36 ` rguenth at gcc dot gnu.org
2012-03-23  8:51 ` 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).