This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7722] ICE in find_function_data, at function.c:318, with static array of label addresses in function templates
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2003 14:44:37 -0000
- Subject: [Bug c++/7722] ICE in find_function_data, at function.c:318, with static array of label addresses in function templates
- References: <20020826014601.7722.foldy@rmki.kfki.hu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7722
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Last reconfirmed|2003-05-03 00:00:00 |2003-07-14 14:44:36
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-14 14:44 -------
gcc no longer ICE on the mainline (20030714) but it rejects the code:
pr7722.cc: In function `int fun(T) [with T = int]':
pr7722.cc:16: instantiated from here
pr7722.cc:5: error: non-lvalue in unary `&'
pr7722.cc:5: error: non-lvalue in unary `&'
Without the template, gcc accepts it.