--- Comment #12 from amodra at bigpond dot net dot au 2006-05-08 06:14
---
Patch commited to 4.1
--
amodra at bigpond dot net dot au changed:
What|Removed |Added
--- Comment #11 from amodra at gcc dot gnu dot org 2006-05-08 06:13 ---
Subject: Bug 27260
Author: amodra
Date: Mon May 8 06:13:23 2006
New Revision: 113623
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113623
Log:
PR middle-end/27260
* builtins.c (expand_built
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-04-29 04:02
---
Fixed at least on the mainline.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from aj at gcc dot gnu dot org 2006-04-22 13:12 ---
The original ICE happens on PPC and IA64. I have not checked whether the
reduced testcase ICEs on both.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27260
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-22 13:08 ---
The problem is we expand the value in QI mode because of
val = builtin_save_expr (val);
len = builtin_save_expr (len);
len_rtx = expand_expr (len, NULL_RTX, VOIDmode, 0);
dest_mem = get_memo
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-22 11:15 ---
More reduced testcase:
void cmdModuleTrace(int i)
{
char *cmd_table;
cmd_table = (char *) __builtin_malloc( 3);
__builtin_memset (cmd_table, !i, 3);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-22 11:04 ---
Testcase:
typedef unsigned int size_t;
typedef void *ClientData;
typedef struct Tcl_Interp { } Tcl_Interp;
extern char *addRE;
extern char *rmRE;
extern char *aproposRE;
typedef struct _mod_trace { char **re_ptr; }