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]

Re: [gfortran] Make all labels DECL_ARTIFICIAL


 --- Feng Wang <wf_cs@yahoo.com> 的正文:
> When fixing PR18827, I found this was wrong. Making USER labels artificial
> will
> make it removed incorrectly under some circumstances. i.e. if we assign a
> label
> to a globle variable and don't use the label and variable elsewhere in the
> module, the optimization will remove the label but leave the assignment. This
> will cause linking error.
Steven, do you still insist that we should make all labels DECL_ARTIFICIAL? If
so, to fix PR18827 I want to set DECL_ARTIFICIAL flag to zero on these labels
which are assigned to variables.

Best Regards,
Feng Wang

_________________________________________________________
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]