This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran, patch] Patch for PR18827
- From: Feng Wang <wf_cs at yahoo dot com>
- To: Feng Wang <wf_cs at yahoo dot com>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Cc: Steven Bosscher <stevenb at suse dot de>
- Date: Fri, 25 Feb 2005 17:01:42 +0800 (CST)
- Subject: Re: [fortran, patch] Patch for PR18827
ping.
Feng Wang
--- Feng Wang <wf_cs@yahoo.com> 的正文:
> This patch fix pr18827. Allows variables in a common block to be assigned a
> label. And do not set symbol's assign attribute when match assigned goto
> statement and i/o statements using label assigned variable. We should set it
> only when match assign statment. And add checking this attribute when
> resolving.
>
> But this patch reveals another bug of the backend. The backend will remove
> the
> label unless we set !DECL_ARTIFICIAL flag on assigned label, even we set
> TREE_ADDRESSABLE flag and !DECL_IGNORED_P and FORCED_LABEL flag. After
> discussion with Steven, we reserve the setting of !DECL_ARTIFICIAL on
> assigned
> label to fix pr18827. And after committing this patch, I will file a BE bug
> reporting.
>
> Tested on i686 with no regression. If it is ok, please commit it.
>
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/