[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-05-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-05-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #16 from Jakub Jelinek --- Author: jakub Date: Fri May 5 21:55:29 2017 New Revision: 247702 URL: https://gcc.gnu.org/viewcvs?rev=247702=gcc=rev Log: Backported from mainline 2017-04-12 Jakub Jelinek

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #15 from Marek Polacek --- Author: mpolacek Date: Thu Apr 27 21:12:29 2017 New Revision: 247352 URL: https://gcc.gnu.org/viewcvs?rev=247352=gcc=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) : Convert

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #14 from Marek Polacek --- I believe this all section needs fixing and new testcases: 10793 tree arg00 = TREE_OPERAND (arg0, 0); 10794 tree arg01 = TREE_OPERAND (arg0, 1); 10795 tree arg10 =

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #13 from Marek Polacek --- Thanks, reproduced, will look into it.

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #12 from Dmitry Babokin --- int var; long a; long foo() { int i = !(1 & 808U ^ 1 & var) >> 0; long l = 0 % ((a & 1) != (3053241240409UL & 1)); return i+l; }

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Tue Apr 25 17:02:27 2017 New Revision: 247260 URL: https://gcc.gnu.org/viewcvs?rev=247260=gcc=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) : Convert

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #10 from Marek Polacek --- Author: mpolacek Date: Tue Apr 25 16:39:57 2017 New Revision: 247257 URL: https://gcc.gnu.org/viewcvs?rev=247257=gcc=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) : Convert

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #9 from Marek Polacek --- I've got a fix for Comment 7. (In reply to Dmitry Babokin from comment #8) > I also see crashes reporting problems with ^ operator. Please provide a complete testcase, I've been unable to reproduce another

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-24 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #8 from Dmitry Babokin --- I also see crashes reporting problems with ^ operator.

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-21 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #7 from Dmitry Babokin --- One more. GCC r247062. > cat f.cpp unsigned long int ll; int foo() { return (2036854775807 >> ll & char(207648476159223) | 502810590243120797UL) << 0; } > g++ -fsanitize=undefined -O0 -c f.cpp f.cpp: In

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 Jakub Jelinek changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|jakub at gcc dot gnu.org