public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13932] New: [3.3/3.4/3.5 regression] duplicate warning message for conversion
@ 2004-01-30 14:49 bangerth at dealii dot org
  2004-01-30 14:49 ` [Bug c++/13932] " bangerth at dealii dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: bangerth at dealii dot org @ 2004-01-30 14:49 UTC (permalink / raw)
  To: gcc-bugs

This little gem 
----------------- 
int i = 1.; 
----------------- 
yields 
  g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc  
  x.cc:1: warning: initialization to `int' from `double' 
  x.cc:1: warning: argument to `int' from `double' 
which is not only duplicated, but also seems 
a) grammatically wrong in the first line (shouldn't it be 
   "initialization OF 'int' from 'double'"?) 
b) nonsensical in the second line: it's not an argument TO 
   a FUNCTION "int", it's the argument to the ASSIGNMENT 
   to int 
 
Highly bogus... 
 
This is a regression against 2.95 which simply said 
  g/x> /home/bangerth/bin/gcc-2.95.3/bin/c++ -c x.cc  
  x.cc:1: warning: initialization to `int' from `double' 
which is both short and precise. 
 
W.

-- 
           Summary: [3.3/3.4/3.5 regression] duplicate warning message for
                    conversion
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13932


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <bug-13932-102@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-07-08 13:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-30 14:49 [Bug c++/13932] New: [3.3/3.4/3.5 regression] duplicate warning message for conversion bangerth at dealii dot org
2004-01-30 14:49 ` [Bug c++/13932] " bangerth at dealii dot org
2004-01-30 16:03 ` gdr at integrable-solutions dot net
2004-01-30 17:23 ` pinskia at gcc dot gnu dot org
2004-02-05  5:20 ` cvs-commit at gcc dot gnu dot org
2004-02-05  5:22 ` cvs-commit at gcc dot gnu dot org
2004-02-05  5:23 ` [Bug c++/13932] [3.3 " mmitchel at gcc dot gnu dot org
2004-02-22 16:27 ` cvs-commit at gcc dot gnu dot org
2004-02-22 16:27 ` gdr at gcc dot gnu dot org
     [not found] <bug-13932-102@http.gcc.gnu.org/bugzilla/>
2006-07-08 13:22 ` lopezibanez at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).