This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Jun 07, 2005 at 10:13:00PM +0200, Tobias Schl?ter wrote: > Steve Kargl wrote: > > > > I agree. But in my 10+ hours of trying to figure out how tree-ssa > > stuff works, I never stumbled on the magic incantation on how to > > initialize a variable. > > I thought that > gfc_add_modify_expr (&block, astat, build_int_cst (TREE_TYPE (astat), 0)); > would work or is something else the problem? > Oh, so that's how you initialize a variable. :-) See new patch. It initializes astat and removes the special case for the first argument. Bootstrap and regtested. OK for mainline? Ok for 4.0.1 with Mark's approval? -- Steve
Attachment:
pr21375_new.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |