[Bug c++/24522] htonl in optimized template function generates compiler warning

2005-10-25 Thread ckillian at cs dot ucsd dot edu
--- Comment #1 from ckillian at cs dot ucsd dot edu 2005-10-25 16:26 --- Created an attachment (id=10055) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10055action=view) The test.cc file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24522 --- You are receiving this mail

[Bug c++/24522] htonl in optimized template function generates compiler warning

2005-10-25 Thread ckillian at cs dot ucsd dot edu
--- Comment #2 from ckillian at cs dot ucsd dot edu 2005-10-25 16:26 --- Created an attachment (id=10056) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10056action=view) preprocessor output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24522 --- You are receiving

[Bug c++/24522] htonl in optimized template function generates compiler warning

2005-10-25 Thread ckillian at cs dot ucsd dot edu
--- Comment #4 from ckillian at cs dot ucsd dot edu 2005-10-25 17:09 --- (In reply to comment #3) I believe this winds up being a duplicate of PR c++/8057, which is fixed on mainline. With the test case in the PR, I see the warning with 4.0, but I do not see the warning on mainline