https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69166

alalaw01 at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2016-01-08
                 CC|                            |alalaw01 at gcc dot gnu.org
         Resolution|DUPLICATE                   |---
     Ever confirmed|0                           |1

--- Comment #2 from alalaw01 at gcc dot gnu.org ---
No, not a dup - 69053 results from a type mismatch/missing conversion building
the initial value for a COND_EXPR; this PR is because the 'reduction' is an
RDIV_EXPR, which get_initial_def_for_reduction doesn't handle.

The testcase invokes undefined behaviour, too (e is not initialized). Moving
'double *e' to be a parameter to fn2 avoids the ICE.

Reply via email to