[Bug c++/11856] unsigned warning in template

2013-06-06 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856 Paolo Carlini changed: What|Removed |Added CC||gpiez at web dot de --- Comment #36 from

[Bug c++/11856] unsigned warning in template

2012-05-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856 Paolo Carlini changed: What|Removed |Added CC||rikaigcc at rikai dot com --- Comment #35

[Bug c++/11856] unsigned warning in template

2012-05-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/11856] unsigned warning in template

2012-05-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug c++/11856] unsigned warning in template

2012-05-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856 --- Comment #32 from Jason Merrill 2012-05-14 12:56:09 UTC --- Seems like another job for c_inhibit_evaluation_warnings.

[Bug c++/11856] unsigned warning in template

2012-05-14 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856 Manuel López-Ibáñez changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/11856] unsigned warning in template

2010-09-05 Thread pinskia at gcc dot gnu dot org
--- Comment #30 from pinskia at gcc dot gnu dot org 2010-09-06 05:39 --- *** Bug 45553 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856

[Bug c++/11856] unsigned warning in template

2010-09-05 Thread pinskia at gcc dot gnu dot org
--- Comment #29 from pinskia at gcc dot gnu dot org 2010-09-06 05:24 --- *** Bug 45553 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/11856] unsigned warning in template

2010-05-07 Thread bangerth at gmail dot com
--- Comment #28 from bangerth at gmail dot com 2010-05-07 13:15 --- *** Bug 44021 has been marked as a duplicate of this bug. *** -- bangerth at gmail dot com changed: What|Removed |Added

[Bug c++/11856] unsigned warning in template

2008-01-14 Thread manu at gcc dot gnu dot org
--- Comment #27 from manu at gcc dot gnu dot org 2008-01-14 23:29 --- No, this is still a bug and the last discussion about it was here: http://gcc.gnu.org/ml/gcc/2007-11/msg00642.html -- manu at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/11856] unsigned warning in template

2008-01-14 Thread pinskia at gcc dot gnu dot org
--- Comment #26 from pinskia at gcc dot gnu dot org 2008-01-14 21:38 --- *** Bug 34783 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856

[Bug c++/11856] unsigned warning in template

2008-01-14 Thread pinskia at gcc dot gnu dot org
--- Comment #25 from pinskia at gcc dot gnu dot org 2008-01-14 19:42 --- *** Bug 34783 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/11856] unsigned warning in template

2007-05-20 Thread manu at gcc dot gnu dot org
--- Comment #24 from manu at gcc dot gnu dot org 2007-05-20 21:46 --- As a workaround, the warning can be disabled with -Wno-type-limits. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856

[Bug c++/11856] unsigned warning in template

2007-05-20 Thread manu at gcc dot gnu dot org
--- Comment #23 from manu at gcc dot gnu dot org 2007-05-20 21:32 --- Subject: Bug 11856 Author: manu Date: Sun May 20 20:29:55 2007 New Revision: 124875 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124875 Log: 2007-05-20 Manuel Lopez-Ibanez <[EMAIL PROTECTED]> PR m

[Bug c++/11856] unsigned warning in template

2007-02-06 Thread manu at gcc dot gnu dot org
--- Comment #22 from manu at gcc dot gnu dot org 2007-02-06 13:49 --- Not a definitive fix but at least the warning can be disabled: http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01933.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856

[Bug c++/11856] unsigned warning in template

2007-01-17 Thread gdr at cs dot tamu dot edu
--- Comment #21 from gdr at cs dot tamu dot edu 2007-01-17 13:47 --- Subject: Re: unsigned warning in template "tromey at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | > The particularity of such expressions is that they are constants. | | I've thought about this a bit but I don

[Bug c++/11856] unsigned warning in template

2007-01-17 Thread tromey at gcc dot gnu dot org
--- Comment #20 from tromey at gcc dot gnu dot org 2007-01-17 12:32 --- > The particularity of such expressions is that they are constants. I've thought about this a bit but I don't have a real conclusion. I don't know why this warning was added in the first place... it seems like perh

[Bug c++/11856] unsigned warning in template

2007-01-16 Thread manu at gcc dot gnu dot org
--- Comment #19 from manu at gcc dot gnu dot org 2007-01-17 03:49 --- (In reply to comment #16) > Subject: Re: unsigned warning in template > > "manu at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: > > | (In reply to comment #14) > | > | We don't emit a warning when instantiated

[Bug c++/11856] unsigned warning in template

2007-01-16 Thread gdr at cs dot tamu dot edu
--- Comment #18 from gdr at cs dot tamu dot edu 2007-01-17 01:46 --- Subject: Re: unsigned warning in template "tromey at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | A flag to control the warning does not provide | fine enough granularity of control. Indeed. | That is, somet

[Bug c++/11856] unsigned warning in template

2007-01-16 Thread tromey at gcc dot gnu dot org
--- Comment #17 from tromey at gcc dot gnu dot org 2007-01-17 01:32 --- A flag to control the warning does not provide fine enough granularity of control. That is, sometimes the warning is appropriate, and disabling the warning would let through code that you would prefer not to let thr

[Bug c++/11856] unsigned warning in template

2007-01-16 Thread gdr at cs dot tamu dot edu
--- Comment #16 from gdr at cs dot tamu dot edu 2007-01-17 01:30 --- Subject: Re: unsigned warning in template "manu at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | (In reply to comment #14) | > | We don't emit a warning when instantiated as a signed char, so everything | > boil

[Bug c++/11856] unsigned warning in template

2007-01-16 Thread manu at gcc dot gnu dot org
--- Comment #15 from manu at gcc dot gnu dot org 2007-01-17 01:11 --- (In reply to comment #14) > | We don't emit a warning when instantiated as a signed char, so everything > boils > | down to having an option to disable the warning, doesn't it? > > the logical inference escapes me. >

[Bug c++/11856] unsigned warning in template

2007-01-16 Thread gdr at cs dot tamu dot edu
--- Comment #14 from gdr at cs dot tamu dot edu 2007-01-17 00:59 --- Subject: Re: unsigned warning in template "manu at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | #include | template | void f(Int x) { | assert(0 <= x and x <= D); | } | int main() { | f(5); | f(5); | }

[Bug c++/11856] unsigned warning in template

2007-01-16 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2007-01-17 00:47 --- #include template void f(Int x) { assert(0 <= x and x <= D); } int main() { f(5); f(5); } We don't emit a warning when instantiated as a signed char, so everything boils down to having an option to disable th

[Bug c++/11856] unsigned warning in template

2007-01-09 Thread manu at gcc dot gnu dot org
--- Comment #12 from manu at gcc dot gnu dot org 2007-01-09 14:36 --- This seems similar to PR 12963. I am preparing a patch for this -- manu at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/11856] unsigned warning in template

2006-01-22 Thread gdr at cs dot tamu dot edu
--- Comment #11 from gdr at cs dot tamu dot edu 2006-01-23 01:23 --- Subject: Re: unsigned warning in template "gdr at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | > I see, I oversimplified the problem a bit. Here is a better example: | > -- | > #incl

[Bug c++/11856] unsigned warning in template

2006-01-22 Thread gdr at gcc dot gnu dot org
--- Comment #10 from gdr at gcc dot gnu dot org 2006-01-23 01:17 --- > > With this code: > > template > > void f(t c) { > > assert(0 <= c and c <= 2); > > } > > int main() { > > f(5); > > } > > I only get a warning on instantiation. > > > > > > I see, I oversimplified the problem

[Bug c++/11856] unsigned warning in template

2006-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-01-21 20:38 --- -Wno-always-true does NOT disable this warning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856