This is the mail archive of the gcc-bugs@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]

[Bug c++/7722] ICE in find_function_data, at function.c:318, with static array of label addresses in function templates


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.


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