This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on 2003-07-09T00:05:51Z.
> For once one not caused by Neil's patch :) .
> This one is caused by Jan Hubicka's patch:
And I tought I am author of all the GCC bugs...
I am testing the attached patch and will install it as obvious if it
passes.
Wed Jul 9 02:54:43 CEST 2003 Jan Hubicka <jh@suse.cz>
* expr.c (MOVE_MAX_PIECES): Move to...
* defaults.h (MOVE_MAX_PIECES): .... here.
Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.566
diff -c -3 -p -r1.566 expr.c
*** expr.c 7 Jul 2003 18:54:27 -0000 1.566
--- expr.c 9 Jul 2003 00:56:51 -0000
*************** convert_modes (enum machine_mode mode, e
*** 1425,1441 ****
return temp;
}
- /* This macro is used to determine what the largest unit size that
- move_by_pieces can use is. */
-
- /* MOVE_MAX_PIECES is the number of bytes at a time which we can
- move efficiently, as opposed to MOVE_MAX which is the maximum
- number of bytes we can move with a single instruction. */
-
- #ifndef MOVE_MAX_PIECES
- #define MOVE_MAX_PIECES MOVE_MAX
- #endif
-
/* STORE_MAX_PIECES is the number of bytes at a time that we can
store efficiently. Due to internal GCC limitations, this is
MOVE_MAX_PIECES limited by the number of bytes GCC can represent
--- 1425,1430 ----
Index: defaults.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/defaults.h,v
retrieving revision 1.112
diff -c -3 -p -r1.112 defaults.h
*** defaults.h 30 Jun 2003 13:16:26 -0000 1.112
--- defaults.h 9 Jul 2003 00:56:51 -0000
*************** You Lose! You must define PREFERRED_DEB
*** 664,667 ****
--- 664,678 ----
#define STORE_FLAG_VALUE 1
#endif
+ /* This macro is used to determine what the largest unit size that
+ move_by_pieces can use is. */
+
+ /* MOVE_MAX_PIECES is the number of bytes at a time which we can
+ move efficiently, as opposed to MOVE_MAX which is the maximum
+ number of bytes we can move with a single instruction. */
+
+ #ifndef MOVE_MAX_PIECES
+ #define MOVE_MAX_PIECES MOVE_MAX
+ #endif
+
#endif /* ! GCC_DEFAULTS_H */