[Bug c++/67055] New: Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c

2015-07-29 Thread bal...@yahoo-inc.com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bal...@yahoo-inc.com Target Milestone: --- Created attachment 36087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36087&action=edit This is the full output from th

[Bug c++/67055] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c

2015-07-29 Thread bal...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055 --- Comment #2 from Henning Baldersheim --- Created attachment 36088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36088&action=edit the .ii file in gziped format

[Bug c++/67055] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c

2015-07-29 Thread bal...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055 --- Comment #3 from Henning Baldersheim --- Created attachment 36089 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36089&action=edit .s file I also add the .s file that was generated with the -save-temps option

[Bug c++/67055] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c

2015-07-29 Thread bal...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055 --- Comment #4 from Henning Baldersheim --- If I use -O2 instead of -O3 it builds fine.

[Bug c++/67055] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c

2015-07-29 Thread bal...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055 --- Comment #5 from Henning Baldersheim --- Actually -fno-inline-functions was enough as a workaround. Then I can still use the same general -O3 option.

[Bug c++/67056] New: Wrong code generated

2015-07-29 Thread bal...@yahoo-inc.com
: unassigned at gcc dot gnu.org Reporter: bal...@yahoo-inc.com Target Milestone: --- Yes, I know a very bad summary. I need some help to narrow it down. When upgrading compile from 4.9.3 to 5.2 1 of our unit tests started failing with segmentation fault. It compiles fine, but generates bad

[Bug c++/67056] Wrong code generated

2015-07-29 Thread bal...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67056 --- Comment #3 from Henning Baldersheim --- valgrind does not complain about anything undefined, but will try the sanitize option too. Will also try to isolate it as much as possible.

[Bug c++/67056] Wrong code generated

2015-07-29 Thread bal...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67056 --- Comment #4 from Henning Baldersheim --- Using the -fsanitize-undefined caused this error. configretriever.cpp: info: running test suite 'configretriever.cpp' /home/y/include/c++/5.2.0/bits/unique_ptr.h:76:2: runtime error: execution reached

[Bug ipa/67056] [5/6 regression] Wrong code generated

2015-08-05 Thread bal...@yahoo-inc.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67056 --- Comment #10 from Henning Baldersheim --- Wrong code generation on valid code does sound like a P2 to me.