GCC build failed for native with your patch on 2003-07-09T00:05:51Z.

Andrew Pinski pinskia@physics.uc.edu
Wed Jul 9 00:50:00 GMT 2003


For once one not caused by Neil's patch :) .
This one is caused by Jan Hubicka's patch:
+Wed Jul  9 02:25:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+	* c-common.c (c_estimate_num_insns_1): New static function.
+	(c_estimate_num_insns): New global function.
+	* c-common.h (DECL_NUM_STMTS): Rename to...
+	(DECL_ESTIMATED_INSNS): ... this.
+	(c_estimate_num_insns): Declare.
+	* c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
+	* c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
+	* c-semantics.c (add_stmt): Do not account statements.
+	* langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
+	New.
+	* langhooks.h (lang_hooks_for_tree_inlining): Add
+	estimate_num_insns
+	* params.def (max-inline-insns-auto, max-inline-insns-auto): set
+	to 100.
+	(max-inline-insns): set to 300.
+	(min-inline-insns): set to 10.
+	* tree-inline.c (struct inline_data): Rename inlined_stmts to
+	inlined-insns.
+	(INSNS_PER_STMT): Kill.
+	(inlinable_function_p): Compute and store body size.
+	(expand_call_inline): Likewise.
+	(optimize_inline_calls): Likewise.

Here is the error:

gcc -c   -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DIN_GCC   
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H    -I. -I. 
-I/Users/regress/tbox/cvs-gcc/gcc/gcc 
-I/Users/regress/tbox/cvs-gcc/gcc/gcc/. 
-I/Users/regress/tbox/cvs-gcc/gcc/gcc/config 
-I/Users/regress/tbox/cvs-gcc/gcc/gcc/../include -I../intl 
/Users/regress/tbox/cvs-gcc/gcc/gcc/c-common.c -o c-common.o
/Users/regress/tbox/cvs-gcc/gcc/gcc/c-common.c: In function 
`c_estimate_num_insns_1':
/Users/regress/tbox/cvs-gcc/gcc/gcc/c-common.c:5912: error: 
`MOVE_MAX_PIECES' undeclared (first use in this function)
/Users/regress/tbox/cvs-gcc/gcc/gcc/c-common.c:5912: error: (Each 
undeclared identifier is reported only once
/Users/regress/tbox/cvs-gcc/gcc/gcc/c-common.c:5912: error: for each 
function it appears in.)

Thanks,
Andrew Pinski

On Tuesday, Jul 8, 2003, at 20:10 US/Eastern, GCC regression checker 
wrote:

> With your recent patch, GCC does not compile on:
>  native
> Attached is build output for those targets.
>
> The last time the regression tests were run, GCC did not compile 
> either,
> so the problem might not be caused by your patch.
>
> For more information, see http://gcc.gnu.org/regtest/.
> <ChangeLog.diff><native-log.txt>--
> Geoffrey Keating <geoffk@apple.com>
> (via an automated GCC regression-testing script.)



More information about the Gcc-regression mailing list