[Bug fortran/77765] New: ICE in gfc_match_oacc_routine, at fortran/openmp.c:1781

2016-09-27 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77765 Bug ID: 77765 Summary: ICE in gfc_match_oacc_routine, at fortran/openmp.c:1781 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority

[Bug testsuite/77710] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-4.c

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77710 --- Comment #3 from Martin Sebor --- With GCC 7.0.0 20160927 configured with --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-none-eabi I get the expected output (below). I see failures in other tests in the results reported

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #15 from Bernd Edlinger --- Thanks. Again I could reproduce the issue with the assembler flle. This time it fails in a memcmp. Apparently the _M_string_length is uninitialized, but used in memcmp. Can you try this? Index: pr77550.C

[Bug c++/77722] -fsanitize=undefined doesn't give runtime error in function without return value, unless at least 2 instructions

2016-09-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77722 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Tue Sep 27 18:15:21 2016 New Revision: 240555 URL: https://gcc.gnu.org/viewcvs?rev=240555&root=gcc&view=rev Log: PR c++/77722 * cp-gimplify.c (cp_ubsan_maybe_instrument_re

[Bug fortran/58085] Wrong indexing of an array in ASSOCIATE

2016-09-27 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58085 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug bootstrap/77753] [7 Regression] broken profiledbootstrap due to -Werror=format-length in varasm.c:1573

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77753 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #16 from Christophe Lyon --- Created attachment 39704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39704&action=edit preprocessed-v3

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #17 from Christophe Lyon --- Created attachment 39705 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39705&action=edit assembler-v3

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #18 from Christophe Lyon --- Created attachment 39706 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39706&action=edit qemu trace v3

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/58618] ICE with character substring and ASSOCIATE

2016-09-27 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58618 kargl at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-valid-code |wrong-code CC|

[Bug preprocessor/66317] Preprocessor chokes on __FILE__ containing a newline

2016-09-27 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66317 Matthias Klose changed: What|Removed |Added Last reconfirmed||2016-9-27 CC|

[Bug fortran/77763] ICE in parse_struct_map, at fortran/parse.c:3064

2016-09-27 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77763 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug bootstrap/77753] [7 Regression] broken profiledbootstrap due to -Werror=format-length in varasm.c:1573

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77753 --- Comment #2 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-09/msg02055.html

[Bug middle-end/77721] -Wformat-length not uses arg range for converted vars

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

[Bug target/77759] internal compiler error: in function_arg_record_value

2016-09-27 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77759 Eric Botcazou changed: What|Removed |Added Target|sparc64-linux-gnu |sparc64-*-* Status|UNCONFIRM

[Bug c/77766] New: wrong code at -O2 and -O3 in 64-bit mode on x86_64-linux-gnu (executable hangs)

2016-09-27 Thread chengniansun at gmail dot com
-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160927 (experimental) [trunk revision 240545] (GCC) $ $ gcc-trunk -O2 small.c

[Bug tree-optimization/77743] bogus -Wformat-length sprintf warnings

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77743 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

gcc-bugs@gcc.gnu.org

2016-09-27 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60962 --- Comment #3 from joseph at codesourcery dot com --- On Mon, 26 Sep 2016, rguenth at gcc dot gnu.org wrote: > /* We want to canonicalize to positive real constants. Pretend > that only negative ones can be easily negated. */ >

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #20 from Bernd Edlinger --- Bah. Your target defaults to -fshort-enums: that makes the basic_string structure much too short it uses an array of enum to keep it at the same size as the original. Now please try this: Index: pr7755

[Bug c/77762] Incorrect destination buffer length in -Wformat-length warning

2016-09-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77762 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/77767] New: Side-effect from VLA array parameters lost

2016-09-27 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77767 Bug ID: 77767 Summary: Side-effect from VLA array parameters lost Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority:

[Bug c/77767] [5/6/7 Regression] Side-effect from VLA array parameters lost

2016-09-27 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77767 Joseph S. Myers changed: What|Removed |Added Target Milestone|--- |5.5 Summary|Side-effect fro

[Bug c/77754] [5/6/7 Regression] internal compiler error : tree code 'call_expr' is not supported in LTO streams

2016-09-27 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77754 --- Comment #5 from joseph at codesourcery dot com --- VLA side effects in function declarations that are not definitions should be discarded. VLA side effects in function declarations that are definitions should occur on entry to the function

[Bug c/77762] Incorrect destination buffer length in -Wformat-length warning

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

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #21 from Christophe Lyon --- Ha, indeed, that's one of the differences between arm-none-eabi and arm-none-linux-gnueabi. Using -fno-short-enums does make execution succeed, unfortunately the linker complains because the startup code/

[Bug tree-optimization/77743] bogus -Wformat-length sprintf warnings

2016-09-27 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77743 Alan Modra changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Alan Modra --- I s

[Bug c/77762] Incorrect destination buffer length in -Wformat-length warning

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77762 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor -

[Bug c/77762] Incorrect destination buffer length in -Wformat-length warning

2016-09-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77762 --- Comment #4 from Jakub Jelinek --- Actually I've misremembered what we've added 12 years ago. glibc has: int ___vsnprintf_chk (char *s, size_t maxlen, int flags, size_t slen, const char *format, va_list args) { /* XXX Maybe

[Bug tree-optimization/77743] bogus -Wformat-length sprintf warnings

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

[Bug middle-end/77735] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-1.c (test for warnings, line 358)

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77735 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug testsuite/77713] gcc.dg/tree-ssa/builtin-sprintf.c compilation failed to produce executable

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77713 --- Comment #4 from Martin Sebor --- It looks to me like the failures might be due to bad assumptions in the test about the precision of type short, and due to bad assumptions about the output of %a made in the pass itself. Let me look into fixi

[Bug middle-end/77735] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-1.c (test for warnings, line 358)

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77735 --- Comment #2 from Martin Sebor --- *** Bug 77736 has been marked as a duplicate of this bug. ***

[Bug testsuite/77736] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-2.c (test for warnings, line 50)

2016-09-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77736 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug middle-end/77735] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-1.c (test for warnings, line 358)

2016-09-27 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77735 --- Comment #3 from dave.anglin at bell dot net --- On 2016-09-27, at 8:38 PM, msebor at gcc dot gnu.org wrote: > I have reproduced the test failure with a cross-compiler for > hppa-unknown-linux-gnu. The problem is due to the c_strlen function

[Bug middle-end/77766] [7 Regression] wrong code at -O2 and -O3 in 64-bit mode on x86_64-linux-gnu (executable hangs)

2016-09-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77766 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #22 from Bernd Edlinger --- (In reply to Christophe Lyon from comment #21) > Ha, indeed, that's one of the differences between arm-none-eabi and > arm-none-linux-gnueabi. > > Using -fno-short-enums does make execution succeed, unfort

[Bug target/77756] __get_cpuid() returns wrong values for level 7 (extended features)

2016-09-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77756 Andrew Pinski changed: What|Removed |Added Severity|major |normal

[Bug tree-optimization/77724] [7 Regression] bootstrap-O3 broken: ICE: in tree_to_uhwi, at tree.c:7330

2016-09-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77724 --- Comment #3 from Markus Trippelsdorf --- Author: trippels Date: Wed Sep 28 05:13:19 2016 New Revision: 240565 URL: https://gcc.gnu.org/viewcvs?rev=240565&root=gcc&view=rev Log: Fix PR tree-optimization/77724 2016-09-27 Robin Dapp

[Bug tree-optimization/77724] [7 Regression] bootstrap-O3 broken: ICE: in tree_to_uhwi, at tree.c:7330

2016-09-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77724 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/77748] pr77550.C fails on arm-none-eabi

2016-09-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748 --- Comment #23 from Christophe Lyon --- Yes, it does the trick. Thanks!

[Bug bootstrap/77768] New: [7 Regression] LTO/PGO -O3 bootstrap broken: tree-vrp.c:11053:0: internal compiler error: Segmentation fault

2016-09-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77768 Bug ID: 77768 Summary: [7 Regression] LTO/PGO -O3 bootstrap broken: tree-vrp.c:11053:0: internal compiler error: Segmentation fault Product: gcc Version: 7.0

[Bug other/77769] New: function generated for OpenMP region uses wrong instruction set

2016-09-27 Thread yzhang1985 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77769 Bug ID: 77769 Summary: function generated for OpenMP region uses wrong instruction set Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/77769] function generated for OpenMP region uses wrong instruction set

2016-09-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77769 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Component|other

<    1   2