public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51064] New: False Positive for -Wparentheses
@ 2011-11-09 15:00 sascha.cunz at gmx dot net
  2011-11-09 18:51 ` [Bug c++/51064] " manu at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sascha.cunz at gmx dot net @ 2011-11-09 15:00 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51064
           Summary: False Positive for -Wparentheses
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sascha.cunz@gmx.net


Using GCC 4.6.2 ("Gentoo 4.6.2 p1.0, pie-0.45") the code

[1] template< int i, int j = ( ( i+7 ) >> 3 ) > class foo{};
[2] typedef foo< 10 > bar;

produces a false positive -Wparentheses (Suggest parentheses around '+' inside
'>>') warning on line 2.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-04 16:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 15:00 [Bug c++/51064] New: False Positive for -Wparentheses sascha.cunz at gmx dot net
2011-11-09 18:51 ` [Bug c++/51064] " manu at gcc dot gnu.org
2012-01-04 12:15 ` paolo.carlini at oracle dot com
2012-01-04 16:40 ` paolo at gcc dot gnu.org
2012-01-04 16:41 ` paolo.carlini at oracle 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).