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]

[PATCH] Remove unused get_current_pass_name


Hi,


I noticed recently that tree-pass.h contains a declaration of get_current_pass_name,
but this function is not defined, and where ever we need the current pass name,
we simply use current_pass->name.  So I would like to remove that declaration.


Boot-strapped and regression-tested on x86-64-linux-gnu.
OK for trunk?


Thanks
Bernd.
 		 	   		  

Attachment: changelog-tree-pass.txt
Description: Text document

Attachment: patch-tree-pass.diff
Description: Binary data


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