This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/56029] [4.8 Regression] ICE: verify_gimple failed, location references block not in block tree


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-01-18
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-18 12:16:36 UTC ---
It's the PHI arg location of

 <integer_cst 0x7ffff47f59e0 type <pointer_type 0x7ffff6754d20> constant 0>

as seen after IPA inline transform.

Ah ...

          FOR_EACH_PHI_ARG (arg_p, phi, i, SSA_OP_ALL_USES)
            {
              tree arg = USE_FROM_PTR (arg_p);
              int index = PHI_ARG_INDEX_FROM_USE (arg_p);
              tree block =
                LOCATION_BLOCK (gimple_phi_arg_location (phi, index));
              if (block != NULL)
                TREE_USED (block) = true;
              mark_all_vars_used (&arg);
            }

well - that doesn't consider non-SSA args.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]