public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/47313] New: ICE: PHI argument is not a GIMPLE value
@ 2011-01-16 11:47 marc.glisse at normalesup dot org
  2011-01-16 11:48 ` [Bug other/47313] " marc.glisse at normalesup dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: marc.glisse at normalesup dot org @ 2011-01-16 11:47 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: PHI argument is not a GIMPLE value
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@normalesup.org


$ g++ -O2 -c a.cc
a.cc: In function 'Periodic_3_Delaunay_triangulation_3<
<template-parameter-1-1> >::Vertex_handle Periodic_3_Delaunay_triangulation_3<
<template-parameter-1-1> >::nearest_vertex() const [with
<template-parameter-1-1> = Triangulation_data_structure_3,
Periodic_3_Delaunay_triangulation_3< <template-parameter-1-1> >::Vertex_handle
= internal::CC_iterator<Compact_container<int>, false>]':
a.cc:51:1: error: PHI argument is not a GIMPLE value
iftmp.0_2 = PHI <<retval>(2), D.2301_3(D)(3)>

<retval>
a.cc:51:1: internal compiler error: verify_stmts failed


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

* [Bug other/47313] ICE: PHI argument is not a GIMPLE value
  2011-01-16 11:47 [Bug other/47313] New: ICE: PHI argument is not a GIMPLE value marc.glisse at normalesup dot org
@ 2011-01-16 11:48 ` marc.glisse at normalesup dot org
  2011-01-16 19:17 ` [Bug middle-end/47313] [4.6 Regression] " hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marc.glisse at normalesup dot org @ 2011-01-16 11:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2011-01-16 09:35:27 UTC ---
Created attachment 22981
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22981
testcase

Try again to attach it, bugzilla apparently failed to upload it in the initial
bug report.


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

* [Bug middle-end/47313] [4.6 Regression] ICE: PHI argument is not a GIMPLE value
  2011-01-16 11:47 [Bug other/47313] New: ICE: PHI argument is not a GIMPLE value marc.glisse at normalesup dot org
  2011-01-16 11:48 ` [Bug other/47313] " marc.glisse at normalesup dot org
@ 2011-01-16 19:17 ` hjl.tools at gmail dot com
  2011-01-17 12:37 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-16 19:17 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.01.16 18:08:47
          Component|other                       |middle-end
                 CC|                            |hubicka at gcc dot gnu.org
     Ever Confirmed|0                           |1
            Summary|ICE: PHI argument is not a  |[4.6 Regression] ICE: PHI
                   |GIMPLE value                |argument is not a GIMPLE
                   |                            |value
   Target Milestone|---                         |4.6.0

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-16 18:08:47 UTC ---
It is caused by revision 161898:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00252.html


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

* [Bug middle-end/47313] [4.6 Regression] ICE: PHI argument is not a GIMPLE value
  2011-01-16 11:47 [Bug other/47313] New: ICE: PHI argument is not a GIMPLE value marc.glisse at normalesup dot org
  2011-01-16 11:48 ` [Bug other/47313] " marc.glisse at normalesup dot org
  2011-01-16 19:17 ` [Bug middle-end/47313] [4.6 Regression] " hjl.tools at gmail dot com
@ 2011-01-17 12:37 ` rguenth at gcc dot gnu.org
  2011-01-17 15:21 ` rguenth at gcc dot gnu.org
  2011-01-17 15:43 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-17 12:37 UTC (permalink / raw)
  To: gcc-bugs

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

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 #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-17 12:06:36 UTC ---
For some reason IPA-SRA breaks it.  Looking at it.


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

* [Bug middle-end/47313] [4.6 Regression] ICE: PHI argument is not a GIMPLE value
  2011-01-16 11:47 [Bug other/47313] New: ICE: PHI argument is not a GIMPLE value marc.glisse at normalesup dot org
                   ` (2 preceding siblings ...)
  2011-01-17 12:37 ` rguenth at gcc dot gnu.org
@ 2011-01-17 15:21 ` rguenth at gcc dot gnu.org
  2011-01-17 15:43 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-17 15:21 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-17 14:48:47 UTC ---
Fixed.


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

* [Bug middle-end/47313] [4.6 Regression] ICE: PHI argument is not a GIMPLE value
  2011-01-16 11:47 [Bug other/47313] New: ICE: PHI argument is not a GIMPLE value marc.glisse at normalesup dot org
                   ` (3 preceding siblings ...)
  2011-01-17 15:21 ` rguenth at gcc dot gnu.org
@ 2011-01-17 15:43 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-17 15:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-17 14:48:38 UTC ---
Author: rguenth
Date: Mon Jan 17 14:48:35 2011
New Revision: 168907

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

    PR tree-optimization/47313
    * tree-inline.c (tree_function_versioning): Move DECL_RESULT
    handling before copying the body.  Properly deal with
    by-reference result in SSA form.

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

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr47313.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c


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

end of thread, other threads:[~2011-01-17 14:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-16 11:47 [Bug other/47313] New: ICE: PHI argument is not a GIMPLE value marc.glisse at normalesup dot org
2011-01-16 11:48 ` [Bug other/47313] " marc.glisse at normalesup dot org
2011-01-16 19:17 ` [Bug middle-end/47313] [4.6 Regression] " hjl.tools at gmail dot com
2011-01-17 12:37 ` rguenth at gcc dot gnu.org
2011-01-17 15:21 ` rguenth at gcc dot gnu.org
2011-01-17 15:43 ` 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).