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++/24522] htonl in optimized template function generates compiler warning



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


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