--- Comment #7 from jakub at gcc dot gnu dot org 2009-09-23 13:14 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #6 from jakub at gcc dot gnu dot org 2009-09-23 13:06 ---
Subject: Bug 41436
Author: jakub
Date: Wed Sep 23 13:06:20 2009
New Revision: 152067
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152067
Log:
PR bootstrap/41436
* cgraphunit.c (cgraph_lower_f
--- Comment #5 from jakub at gcc dot gnu dot org 2009-09-23 11:50 ---
Created an attachment (id=18635)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18635&action=view)
gcc45-pr41436.patch
Patch I'm bootstrapping/regtesting ATM.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4
--- Comment #4 from jakub at gcc dot gnu dot org 2009-09-23 11:26 ---
Ah, the problem is that targetm.calls.static_chain is called even on function
decls which have decl_function_context (fndecl) == NULL, and those have
undefined the DECL_NO_STATIC_CHAIN bit, as tree-nested.c only sets i
--- Comment #3 from jakub at gcc dot gnu dot org 2009-09-23 10:41 ---
r152018 seems to change generated code even on:
/* { dg-options "-O2 -m32 -fno-inline -mtune=generic" } */
struct S
{
const char *s1;
int s2;
char s3;
};
static struct S s;
static inline const char *
bar (void)
--- Comment #2 from jakub at gcc dot gnu dot org 2009-09-23 09:55 ---
It is gengtype-parse.c that matters, if all of gengtype except this file is
compiled with r152018 and this file with r152017, it works.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41436
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
Target Milestone|--- |4.5.0
http://gcc