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/58619] ICE building in gen_combined_adhoc_loc


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at redhat dot com,
                   |                            |rguenther at suse dot de

--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The problem is only triggered by Rong's patch - changes in profile should never
provoke ICE in inliner.

We ICE in 
129921      jakub               }
191494      dehao             locus = gimple_phi_arg_location_from_edge (phi,
old_edge);
191494      dehao             if (LOCATION_BLOCK (locus))
191494      dehao               {
191494      dehao                 tree *n;
191494      dehao                 n = (tree *) pointer_map_contains
(id->decl_map,
191494      dehao                       LOCATION_BLOCK (locus));
191494      dehao                 gcc_assert (n);
195509    rguenth                 locus = COMBINE_LOCATION_DATA (line_table,
locus, *n);
191494      dehao               }
195509    rguenth             else
195509    rguenth               locus = LOCATION_LOCUS (locus);
191494      dehao
195509    rguenth             add_phi_arg (new_phi, new_arg, new_edge, locus);


calling COMBINE_LOCAL_DATA.  I am not familiar with this code.
The code in question was added by
http://gcc.gnu.org/ml/gcc-patches/2013-01/msg01311.html

Richi, Jakub, any ideas?

I am trying to reprodue this in cross.


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