[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 --- Comment #9 from Richard Biener --- Author: rguenth Date: Thu Jun 18 14:47:18 2015 New Revision: 224617 URL: https://gcc.gnu.org/viewcvs?rev=224617&root=gcc&view=rev Log: 2015-06-18 Richard Biener Backport from mainline 20

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2015-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 --- Comment #8 from Richard Biener --- This also fixed a rejects-valid int lValue; int main() { switch (lValue) { case -(int)((2U << (8 * sizeof(int) - 2)) - 1) - 1:; } } > g++-4.8 cMinLongValue.ii cMinLongValue.ii: In function ‘

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2015-03-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Wed Mar 11 10:37:38 2015 New Revision: 221346 URL: https://gcc.gnu.org/viewcvs?rev=221346&root=gcc&view=rev Log: Backported from mainline 2014-12-04 Marek Polacek PR mi

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2014-12-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2014-12-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Thu Dec 4 19:20:12 2014 New Revision: 218395 URL: https://gcc.gnu.org/viewcvs?rev=218395&root=gcc&view=rev Log: PR middle-end/56917 * fold-const.c (fold_unary_loc): Perform th

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2014-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 --- Comment #4 from Richard Biener --- fold looks too much through sign-changing NOP conversions, this makes it tricky to spot errors in patterns.

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2014-12-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 Marek Polacek changed: What|Removed |Added Target Milestone|5.0 |4.8.4 --- Comment #3 from Marek Polacek

[Bug middle-end/56917] -ftrapv detects a overflow wrongly.

2014-12-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56917 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a