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]

RFR expand_expr() -> expand_normal()


The attached patch is inventing a new wrapper (expand_normal()) for
the most common way to use the expand_expr() function. The intention is
to improve overall code readability by reducing redundancy in code.

OK to apply to trunk?

2006-01-30 Marcin Dalecki <martin@dalecki.de>

	* expr.h (expand_normal): new inline function.
 	* builtins.c: use it.
	* dojump.c: use it.
	* dwarf2out.c: use it.
	* expr.c: use it.
	* calls.c: use it.
	* expmed.c: use it.
	* except.c: use it.
	* config/sparc/sparc.c: use it.
	* config/i386/i386.c: use it.
	* config/rs6000/rs6000.c: use it.
	* config/arm/arm.c: use it.
	* config/mips/mips.c: use it.
	* stmt.c: use it.

Attachment: gcc-expand_normal.patch
Description: Binary data


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