[SPARC] Use new pass registration mechanism

Eric Botcazou ebotcazou@adacore.com
Fri Oct 14 19:11:00 GMT 2016

Tested on SPARC/Solaris, applied on the mainline.

2016-10-14  Eric Botcazou  <ebotcazou@adacore.com>

	* config/sparc/sparc-passes.def: New file.
	* config/sparc/t-sparc (PASSES_EXTRA): Add sparc-passes.def.
	* config/sparc/sparc-protos.h (make_pass_work_around_errata): New.
	* config/sparc/sparc.c (sparc_option_override): Don't register passes.

Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_passes.diff
Type: text/x-patch
Size: 4071 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161014/4a77d6d4/attachment.bin>

More information about the Gcc-patches mailing list