This is the mail archive of the gcc-patches@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]

Re: Add type suffixes to INT_CSTs in tree-pretty-print.c



On Jan 9, 2005, at 11:51 AM, Tobias Schlüter wrote:


While investigating if PR 19334 was a problem in the Fortran frontend, I
needed the tree dumps to include information if an integer constant was of the
actual type I expected it to be. To this end I added code to
tree-pretty-print.c which adds a type suffix to an integer constant in a way
modeled after the Fortran way of doing this kind of things.

I would like to second this patch, since we can find more type mismatch
with this patch than before. Maybe only adding the suffixes if we are in
detail mode, or adding an extra mode for this.


-- Pinski


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