--- Comment #8 from rguenth at gcc dot gnu dot org 2007-03-05 16:56 ---
This is fixed now on the mainline. Supposedly by
Author: dnovillo
Date: Fri Mar 2 19:20:14 2007
New Revision: 122484
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122484
Log:
* tree-ssa-structali
--- Comment #7 from rguenth at gcc dot gnu dot org 2007-03-05 16:55 ---
Subject: Bug 23777
Author: rguenth
Date: Mon Mar 5 16:55:23 2007
New Revision: 122558
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122558
Log:
2007-03-05 Richard Guenther <[EMAIL PROTECTED]>
PR
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-01-11 05:49 ---
Actually there is a call clobbering issue here or something like that because I
see now where the address of multilib_exclusions_raw escaping (I have to look
where we mark the variable as call clobbering).
--
ht
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-08
18:26 ---
There is another way of fixing this to force ccp do look at those array
references even though the
statement has aliased loads.
--
What|Removed |Added
-
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-08
12:09 ---
With Paolo's testcase we get the following tree dump in .ch (after copy loop
header):
g (o)
{
static const char * const multilib_exclusions_raw[1] = {0B};
const char * const * q;
static const char * c
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-08
12:04 ---
Reduced testcase:
static const char *const multilib_exclusions_raw[] = {0};
struct obstack {
char *next_free;
};
static struct obstack multilib_obstack;
int main (int argc, const char **argv)
{
const cha
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-08
12:02 ---
Even more reduced:
extern void f(char *const *);
void g (char **o)
{
static const char *const multilib_exclusions_raw[] = { 0 };
const char *const *q = multilib_exclusions_raw;
f (o);
while (*q++)
--
What|Removed |Added
CC||rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23777
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-08
10:00 ---
Created an attachment (id=9689)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9689&action=view)
reduced testcase from gcc.i
Testcase. Compile with -O2, compare asm and tree-vars dump.
Note: testcase