[Bug middle-end/77740] [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/77740] [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 --- Comment #3 from Martin Liška --- Minimal test-case: char *MSVCRT__ecvt_data_0; void foo() { __builtin_snprintf (MSVCRT__ecvt_data_0, 0, "%.*le"); } On x86_64-linux-gnu, minimal command line causing the ICE: $ gcc pr77740.i -Wformat

[Bug middle-end/77740] [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug middle-end/77740] [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 Richard Biener changed: What|Removed |Added Keywords||diagnostic CC|

[Bug middle-end/77740] [7 regression] internal compiler error: in format_floating, at gimple-ssa-sprintf.c:1165

2016-09-26 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77740 --- Comment #1 from Gerald Pfeifer --- The minimum invocation to reproduce the issue is /some/where/gcc -c math.i -Wall -O1 Both warnings _and_ at least -O1 are required.