rives from
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scott dot tupaj at line6 dot com
CC: gcc-
--- Additional Comments From scott dot tupaj at line6 dot com 2005-06-21
01:37 ---
Created an attachment (id=9120)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9120&action=view)
Sample code to illustrate bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22132
--- Additional Comments From scott dot tupaj at line6 dot com 2005-06-21
01:38 ---
Created an attachment (id=9121)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9121&action=view)
preprocessed source file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22132
--- Additional Comments From scott dot tupaj at line6 dot com 2005-06-21
01:38 ---
Created an attachment (id=9122)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9122&action=view)
Compiler Info
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22132
--- Additional Comments From scott dot tupaj at line6 dot com 2005-06-21
01:38 ---
Created an attachment (id=9123)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9123&action=view)
Compiler output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22132
--- Additional Comments From scott dot tupaj at line6 dot com 2005-06-21
17:01 ---
Yes, agreeably this is 'bad' c++ practice in my example. However, if wrong
code is produced, I think it would be prudent for at least a compiler warning
or error be produced if the reason