[Bug c++/54560] New: g++ with --sysroot and -save-temps don't play nicely

2012-09-12 Thread ianw at vmware dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54560 Bug #: 54560 Summary: g++ with --sysroot and -save-temps don't play nicely Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: minor

[Bug c/25733] missed diagnostic about assignment used as truth value.

2008-04-28 Thread ianw at vmware dot com
--- Comment #3 from ianw at vmware dot com 2008-04-28 22:14 --- As another data-point, if ( (a=10) ) ; also doesn't warn. I'm not sure what the standard says on that, but other contemporary compilers do give the an assignment used as truth value warning for the example above

[Bug c/25733] missed diagnostic about assignment used as truth value.

2008-04-28 Thread ianw at vmware dot com
--- Comment #4 from ianw at vmware dot com 2008-04-28 22:16 --- Oh, just to be clear, my point was if (a=10) warns, but the extra parenthesis hide the warning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25733

[Bug c/25733] missed diagnostic about assignment used as truth value.

2008-04-28 Thread ianw at vmware dot com
--- Comment #6 from ianw at vmware dot com 2008-04-28 22:28 --- (In reply to comment #5) (In reply to comment #4) Oh, just to be clear, my point was if (a=10) warns, but the extra parenthesis hide the warning. That is by design. Ok, I did try looking but is that documented

[Bug c/36050] New: Ternary operator warning on assignment used as truth value

2008-04-25 Thread ianw at vmware dot com
ReportedBy: ianw at vmware dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36050