This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24522] htonl in optimized template function generates compiler warning
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2005 17:51:45 -0000
- Subject: [Bug c++/24522] htonl in optimized template function generates compiler warning
- References: <bug-24522-11586@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-25 17:51 -------
Here is a reduced testcase:
template <int >
void f(int i)
{
int i1 = (__extension__ ({int i2 = i; i2;}));
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Known to work|4.1.0 |4.1.0 3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24522