[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

Martin Sebor  changed:

   What|Removed |Added

 CC||scovich at gmail dot com

--- Comment #8 from Martin Sebor  ---
*** Bug 67866 has been marked as a duplicate of this bug. ***

[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2016-11-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |7.0

--- Comment #7 from Paolo Carlini  ---
Fixed.

[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2016-11-04 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

--- Comment #6 from paolo at gcc dot gnu.org  ---
Author: paolo
Date: Fri Nov  4 18:58:53 2016
New Revision: 241858

URL: https://gcc.gnu.org/viewcvs?rev=241858=gcc=rev
Log:
/cp
2016-11-04  Paolo Carlini  

PR c++/67980
* pt.c (tsubst_expr, case IF_STMT): Use fold_non_dependent_expr
to suppress unwanted warnings.

/testsuite
2016-11-04  Paolo Carlini  

PR c++/67980
* g++.dg/cpp1y/pr67980.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr67980.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog

[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2016-10-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #5 from Paolo Carlini  ---
Looking into it.

[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2015-10-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot 
gnu.org


[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2015-10-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com


[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2015-10-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

Richard Biener  changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-10-16
 Ever confirmed|0   |1

--- Comment #4 from Richard Biener  ---
Confirmed.


[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2015-10-15 Thread nacitar at ubercpp dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

--- Comment #3 from Jacob McIntosh  ---
(In reply to Andrew Pinski from comment #2)
> There is another bug about this specific issue.

Which?


[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2015-10-15 Thread nacitar at ubercpp dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

--- Comment #1 from Jacob McIntosh  ---
> but certainly this error shouldn't happen

By error, I meant "warning".


[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2015-10-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980

--- Comment #2 from Andrew Pinski  ---
There is another bug about this specific issue.