[Bug driver/81101] ICE with -fself-test=.

2017-06-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81101 --- Comment #4 from David Malcolm --- (In reply to Jonathan Wakely from comment #3) > (In reply to David Malcolm from comment #1) > > End-users aren't meant to see this; this is for people building GCC from > > source, with checking enabled (the

[Bug jit/81144] jit.dg/test-operator-overloading.cc, initial compilation

2017-06-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81144 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug jit/81144] jit.dg/test-operator-overloading.cc, initial compilation

2017-06-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81144 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Tue Jun 20 20:37:28 2017 New Revision: 249427 URL: https://gcc.gnu.org/viewcvs?rev=249427&root=gcc&view=rev Log: Fix -Werror=class-memaccess failures in jit testsuite (PR jit/81144) g

[Bug c++/81167] [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

2017-06-22 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #2 from David Malcolm --- Thanks; am investigating...

[Bug c++/81167] [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

2017-06-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81167 --- Comment #3 from David Malcolm --- The issue is that a diagnostic is passing NULL to a %qH (which was a %qT). %T handles NULL gracefully by printing the empty string, whereas %H/%I fail with an assertion failure. Happens here: #8 0x

[Bug c++/81167] [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

2017-06-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81167 --- Comment #4 from David Malcolm --- Minimal reproducer: $ cat ../../src/pr81167.C struct bar; struct foo { foo () {} foo (const bar &) {} }; struct bar { operator foo() && { return foo (); } }; void test () { foo f = bar (); } $ ./

[Bug c++/81167] [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

2017-06-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81167 --- Comment #5 from David Malcolm --- Note to self: I believe the "operator T() &&" here is a user-defined conversion from an rvalue reference to T. We have in joust at ../../src/gcc/cp/call.c:10071 10071 tree source = source_type (

[Bug c++/81167] [8 Regression] ICE on valid C++ code in deferred_printed_type, at cp/error.c:118

2017-06-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81167 --- Comment #6 from David Malcolm --- Candidate patch for the ICE posted here: https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01725.html Actually fixing the diagnostic as per comment #5 would be a separate patch.

[Bug c++/80014] [6/7/8 Regression] Caret missing in error message

2017-06-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80014 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Fri Jun 30 15:20:55 2017 New Revision: 249845 URL: https://gcc.gnu.org/viewcvs?rev=249845&root=gcc&view=rev Log: Fix location of typeid() (PR c++/80014) gcc/cp/ChangeLog: PR c

[Bug c++/80014] [6/7/8 Regression] Caret missing in error message

2017-06-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80014 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79300] Wrong diagnostics position

2017-07-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Thu Jul 6 14:17:24 2017 New Revision: 250022 URL: https://gcc.gnu.org/viewcvs?rev=250022&root=gcc&view=rev Log: diagnostics: fix end-points of ranges within macros (PR c++/79300) gcc

[Bug c++/79300] Wrong diagnostics position

2017-07-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #6 from David Malcolm --- The commit in comment #5 is a slightly reworked version of the candidate patch from comment #2: https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00330.html

[Bug c++/79300] Wrong diagnostics position

2017-07-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #7 from David Malcolm --- (In reply to Martin Liška from comment #4) Thanks; that seems to a slightly different issue, but we may as well keep this bug open for tracking it. Am investigating. It appears to be here, within maybe_unwi

[Bug c++/79300] Wrong diagnostics position

2017-07-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #8 from David Malcolm --- Author: dmalcolm Date: Fri Jul 7 18:49:09 2017 New Revision: 250058 URL: https://gcc.gnu.org/viewcvs?rev=250058&root=gcc&view=rev Log: libcpp: preserve ranges within macro expansions (PR c++/79300) gcc/tes

[Bug c++/79300] Wrong diagnostics position

2017-07-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/81269] wrong color highlighting in -Wrestrict warnings

2017-07-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81269 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c/81405] [8 Regression] Invalid write of size 2 in line_corrections::add_hint(fixit_hint const*) (diagnostic-show-locus.c:1514)

2017-07-12 Thread dmalcolm at gcc dot gnu.org
||2017-07-12 Version|7.0 |8.0 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Thanks for filing. Confirmed. Am

[Bug c/81432] New: Bogus fix-it hints from -Wmissing-braces when there are excess elements

2017-07-13 Thread dmalcolm at gcc dot gnu.org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- PR c/81405 identifies a crash in diagnostic-show-locus.c in the code to consolidate fix-it hints during printing, with: gcc.dg

[Bug c/81405] [8 Regression] Invalid write of size 2 in line_corrections::add_hint(fixit_hint const*) (diagnostic-show-locus.c:1514)

2017-07-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81405 --- Comment #2 from David Malcolm --- I'm testing a fix for this crash in diagnostic-show-locus.c. I've opened PR c/81432 to track the fact that the fix-its that are being printed when the crash happens are actually nonsensical.

[Bug c/81432] Bogus fix-it hints from -Wmissing-braces when there are excess elements

2017-07-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81432 --- Comment #1 from David Malcolm --- Author: dmalcolm Date: Thu Jul 13 19:30:42 2017 New Revision: 250187 URL: https://gcc.gnu.org/viewcvs?rev=250187&root=gcc&view=rev Log: diagnostics: fix crash when consolidating out-of-order fix-it hints (PR

[Bug c/81405] [8 Regression] Buffer overflow when consolidating printing of out-of-order fix-it hints

2017-07-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81405 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Thu Jul 13 19:30:42 2017 New Revision: 250187 URL: https://gcc.gnu.org/viewcvs?rev=250187&root=gcc&view=rev Log: diagnostics: fix crash when consolidating out-of-order fix-it hints (PR

[Bug c/81405] [8 Regression] Buffer overflow when consolidating printing of out-of-order fix-it hints

2017-07-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81405 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78504] Bad fixit hint: '_Pragma' does not name a type; did you mean '_Pragma'?

2016-11-28 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #3 from David Malcolm --- Similar to bug 78313; am looking at a fix.

[Bug c++/78313] [7 Regression] Misleading spelling suggestion

2016-11-28 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #4 from David Malcolm --- (See also bug 78504)

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-28 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-28 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 --- Comment #3 from David Malcolm --- Seems to resemble: http://austingroupbugs.net/view.php?id=1019 "0001019: strndup shouldn't require source array to be null-terminated"

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-28 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #4 from David Malcolm --- Fix would seem to be to use strnlen within xstrndup; libiberty has a strnlen.

[Bug c++/72774] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (tree check: expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in consider_binding_level, at cp/name-loo

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72774 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Tue Nov 29 16:25:01 2016 New Revision: 242965 URL: https://gcc.gnu.org/viewcvs?rev=242965&root=gcc&view=rev Log: spellcheck bugfixes: don't offer the goal string as a suggestion gcc/c

[Bug c++/72786] Odd spelling suggestion with later defined macro: Suggestion is identical to unknown identifier

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72786 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Tue Nov 29 16:25:01 2016 New Revision: 242965 URL: https://gcc.gnu.org/viewcvs?rev=242965&root=gcc&view=rev Log: spellcheck bugfixes: don't offer the goal string as a suggestion gcc/c

[Bug c++/78313] [7 Regression] Misleading spelling suggestion

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78313 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Tue Nov 29 16:25:01 2016 New Revision: 242965 URL: https://gcc.gnu.org/viewcvs?rev=242965&root=gcc&view=rev Log: spellcheck bugfixes: don't offer the goal string as a suggestion gcc/c

[Bug c++/77922] Bogus suggestion: ‘constexpr’ does not name a type; did you mean ‘constexpr’?

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77922 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Tue Nov 29 16:25:01 2016 New Revision: 242965 URL: https://gcc.gnu.org/viewcvs?rev=242965&root=gcc&view=rev Log: spellcheck bugfixes: don't offer the goal string as a suggestion gcc/c

[Bug c++/77922] Bogus suggestion: ‘constexpr’ does not name a type; did you mean ‘constexpr’?

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77922 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/72786] Odd spelling suggestion with later defined macro: Suggestion is identical to unknown identifier

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72786 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78313] [7 Regression] Misleading spelling suggestion

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78313 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78504] Bad fixit hint: '_Pragma' does not name a type; did you mean '_Pragma'?

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78504 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/78569] "internal compiler error: in get_substring_ranges_for_loc" processing sprintf buffer overflow

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78569 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug preprocessor/78569] "internal compiler error: in get_substring_ranges_for_loc" processing sprintf buffer overflow

2016-11-29 Thread dmalcolm at gcc dot gnu.org
||2016-11-29 Depends on|78498 | Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from David Malcolm --- I'm able to reproduce this, based o

[Bug preprocessor/78169] internal compiler error: in get_substring_ranges_for_loc, at input.c:1379

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78169 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug preprocessor/78169] internal compiler error: in get_substring_ranges_for_loc, at input.c:1379

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78169 David Malcolm changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug preprocessor/78569] "internal compiler error: in get_substring_ranges_for_loc" processing sprintf buffer overflow

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78569 David Malcolm changed: What|Removed |Added CC||daniel.black at au dot ibm.com --- Comme

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 --- Comment #5 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2016-11/msg02937.html

[Bug preprocessor/78569] "internal compiler error: in get_substring_ranges_for_loc" processing sprintf buffer overflow

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78569 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Wed Nov 30 01:13:37 2016 New Revision: 242990 URL: https://gcc.gnu.org/viewcvs?rev=242990&root=gcc&view=rev Log: substring locations and # line directives (PR preprocessor/78569) The

[Bug preprocessor/78569] "internal compiler error: in get_substring_ranges_for_loc" processing sprintf buffer overflow

2016-11-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78569 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Wed Nov 30 14:50:43 2016 New Revision: 243030 URL: https://gcc.gnu.org/viewcvs?rev=243030&root=gcc&view=rev Log: libiberty: avoid reading past end of buffer in strndup/xstrndup (PR c/7

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 --- Comment #8 from David Malcolm --- Author: dmalcolm Date: Wed Nov 30 14:54:43 2016 New Revision: 243031 URL: https://gcc.gnu.org/viewcvs?rev=243031&root=gcc&view=rev Log: Fix typo in testcase name gcc/testsuite/ChangeLog: PR c/78498

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #1 from David Malcolm --- If I'm reading things right, it looks like libiberty provides an implementation of strndup if it's not available, but it doesn't provide a decl for it.

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-12-01 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #8 from David Malcolm --- Thanks. I'm working on a patch to remove the use of strndup. Sorry for the breakage.

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-12-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #9 from David Malcolm --- Author: dmalcolm Date: Fri Dec 2 22:39:43 2016 New Revision: 243207 URL: https://gcc.gnu.org/viewcvs?rev=243207&root=gcc&view=rev Log: selftest.c: remove calls to strndup (PR bootstrap/78616) gcc/ChangeLog

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-12-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #10 from David Malcolm --- Build breakage should have been fixed as of r243207 (sorry again). Should we poision strndup in system.h?

[Bug preprocessor/78680] [7 Regression] ICE in get_substring_ranges_for_loc, at input.c:1398

2016-12-06 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug bootstrap/78705] ICE in ix86_test_dumping_memory_blockage

2016-12-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78705 --- Comment #3 from David Malcolm --- Sorry about the breakage. Expected: (cinsn 1 (set (mem/v:BLK (0|scratch:DI) [0 A8]) (unspec:BLK [ (mem/v:BLK (reuse_rtx 0) [0 A8]) ] UNSPEC_MEMORY_BLOCKAGE))) Actual: (

[Bug bootstrap/78705] ICE in ix86_test_dumping_memory_blockage

2016-12-06 Thread dmalcolm at gcc dot gnu.org
||2016-12-07 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from David Malcolm --- Reproduced with i686-pc-linux-gnu

[Bug bootstrap/78705] ICE in ix86_test_dumping_memory_blockage

2016-12-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78705 --- Comment #5 from David Malcolm --- i386.md's define_expand "memory_blockage" has: operands[0] = gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (Pmode)); so it's due to the difference in Pmode between i386 and x86_64.

[Bug bootstrap/78705] ICE in ix86_test_dumping_memory_blockage

2016-12-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78705 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Wed Dec 7 01:28:13 2016 New Revision: 243332 URL: https://gcc.gnu.org/viewcvs?rev=243332&root=gcc&view=rev Log: Fix x86_64-ism in selftest (PR bootstrap/78705) In r243317 I accidenta

[Bug bootstrap/78705] ICE in ix86_test_dumping_memory_blockage

2016-12-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78705 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/78680] [7 Regression] ICE in get_substring_ranges_for_loc, at input.c:1398

2016-12-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78680 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Mon Dec 12 17:37:48 2016 New Revision: 243567 URL: https://gcc.gnu.org/viewcvs?rev=243567&root=gcc&view=rev Log: Fix for PR preprocessor/78680 PR preprocessor/78680 identifies a crash

[Bug preprocessor/78680] [7 Regression] ICE in get_substring_ranges_for_loc, at input.c:1398

2016-12-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78680 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78656] Fix-it suggestion for std::alocator doesn't include std::allocator

2016-12-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78656 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug preprocessor/78811] [7 Regression] raw-string-6.c testsuite failure

2016-12-14 Thread dmalcolm at gcc dot gnu.org
||dmalcolm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug target/78213] [7 Regression] -fself-test fails on aarch64

2016-12-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78213 --- Comment #11 from David Malcolm --- Author: dmalcolm Date: Thu Dec 15 01:47:48 2016 New Revision: 243681 URL: https://gcc.gnu.org/viewcvs?rev=243681&root=gcc&view=rev Log: Introduce selftest::locate_file gcc/ChangeLog: * Makefile.in

[Bug target/78213] [7 Regression] -fself-test fails on aarch64

2016-12-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78213 --- Comment #12 from David Malcolm --- (In reply to Markus Trippelsdorf from comment #10) > testsuite/gcc.dg/pr78213.c often times out: > > FAIL: gcc.dg/pr78213.c (test for excess errors) > FAIL: gcc.dg/pr78213.c -fself-test (test for warnings,

[Bug preprocessor/78811] [7 Regression] raw-string-6.c testsuite failure

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78811 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Thu Dec 15 18:05:05 2016 New Revision: 243721 URL: https://gcc.gnu.org/viewcvs?rev=243721&root=gcc&view=rev Log: Fix use-after-free lexing unterminated raw strings (PR preprocessor/788

[Bug preprocessor/78680] [7 Regression] ICE in get_substring_ranges_for_loc, at input.c:1398

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78680 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu Dec 15 18:05:05 2016 New Revision: 243721 URL: https://gcc.gnu.org/viewcvs?rev=243721&root=gcc&view=rev Log: Fix use-after-free lexing unterminated raw strings (PR preprocessor/788

[Bug preprocessor/78811] [7 Regression] raw-string-6.c testsuite failure

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78811 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug driver/78787] O Color, Where Art Thou? (with -flto)

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78787 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug driver/78787] O Color, Where Art Thou? (with -flto)

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78787 --- Comment #4 from David Malcolm --- (In reply to David Malcolm from comment #3) > Created attachment 40343 [details] > Hack to debug diagnostic-color.c $ ./xgcc -B. -O2 -Wall -Wextra -flto /home/david/coding-3/gcc-git-clean/src/z.c should_colo

[Bug c++/77829] Bad fix-it for nested-name-specifier

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77829 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/77573] bogus wide string literals in diagnostics

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77573 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c/71110] label "caseN" should be warned about

2016-12-15 Thread dmalcolm at gcc dot gnu.org
||dmalcolm at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from David Malcolm --- Thanks for filing this bug. We already issue a warning for this within -Wall, via -Wunused-label (since sometime at or before gcc 4.4, I think): test.c: In

[Bug c/70186] RFE: better handling of misspelled attributes

2016-12-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70186 --- Comment #2 from David Malcolm --- Candidate patch posted here: https://gcc.gnu.org/ml/gcc-patches/2016-12/msg01610.html

[Bug bootstrap/78880] [7 Regression] Revision 243196 breaks bootstrap on x86_64-w64-mingw32

2016-12-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78880 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/78656] Fix-it suggestion for std::alocator doesn't include std::allocator

2016-12-21 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug c++/77829] Bad fix-it for nested-name-specifier

2016-12-21 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug c++/78656] Fix-it suggestion for std::alocator doesn't include std::allocator

2017-01-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78656 --- Comment #2 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00143.html

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 --- Comment #3 from David Malcolm --- Looking at the PRs you filed about the locations (PR78987 and PR78988), perhaps the best approach here is for the location of the warning to be either this: return (asan_poison_variables && ~~~

[Bug c/78989] Missing -Waddress warning

2017-01-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 --- Comment #4 from David Malcolm --- ...or to use a rich location to send two locations for the warning, giving: return (asan_poison_variables && ^~ # 6 "gimplify.cpp" 3 4 __null

[Bug middle-end/78993] New: False positive from -Wmaybe-uninitialized

2017-01-04 Thread dmalcolm at gcc dot gnu.org
-end Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- Created attachment 40461 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40461&action=edit Reproducer, based on input.c As noted in the thread at: https://gcc.

[Bug middle-end/78993] False positive from -Wmaybe-uninitialized

2017-01-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78993 --- Comment #1 from David Malcolm --- Created attachment 40462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40462&action=edit Gimple dump from when warning is emitted

[Bug c++/72803] [7 Regression] ICE on invalid code in linemap_position_for_loc_and_offset, at libcpp/line-map.c:891

2017-01-06 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #7 from David Malcolm --- (In reply to Aldy Hernandez from comment #6) [...] > That should still be line 1 and column 511. Why is it line 4 and column > 127? Something smells fishy. Something is going wrong with the li

[Bug c++/72803] [7 Regression] ICE on invalid code in linemap_position_for_loc_and_offset, at libcpp/line-map.c:891

2017-01-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72803 --- Comment #8 from David Malcolm --- Author: dmalcolm Date: Sat Jan 7 21:33:59 2017 New Revision: 244199 URL: https://gcc.gnu.org/viewcvs?rev=244199&root=gcc&view=rev Log: Fix linemap corruption after very wide source lines (PR c++/72803) PR

[Bug c++/72803] [7 Regression] ICE on invalid code in linemap_position_for_loc_and_offset, at libcpp/line-map.c:891

2017-01-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72803 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug driver/78877] Missing suggestion for -fsanitize=addres

2017-01-10 Thread dmalcolm at gcc dot gnu.org
00:00:00 |2017-01-10 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1

[Bug driver/78877] Missing suggestion for -fsanitize=addres

2017-01-10 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78877 --- Comment #2 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00646.html

[Bug c++/77949] [7 Regression] ICE on invalid code in internal compiler error: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:907

2017-01-10 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77949 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Tue Jan 10 21:54:09 2017 New Revision: 244292 URL: https://gcc.gnu.org/viewcvs?rev=244292&root=gcc&view=rev Log: Fix issues with unrepresentable column numbers (PR c++/77949) PR c++/7

[Bug c++/77949] [7 Regression] ICE on invalid code in internal compiler error: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:907

2017-01-10 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77949 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug driver/78877] Missing suggestion for -fsanitize=addres

2017-01-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78877 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Wed Jan 11 17:25:40 2017 New Revision: 244325 URL: https://gcc.gnu.org/viewcvs?rev=244325&root=gcc&view=rev Log: Offer suggestions for unrecognized sanitizer options (PR driver/78877)

[Bug driver/78877] Missing suggestion for -fsanitize=addres

2017-01-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78877 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-12 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78304 --- Comment #4 from David Malcolm --- Notes to self: PRIu32 etc are described in: http://en.cppreference.com/w/c/types/integer#Format_macro_constants Ideal would be a fix-it hint that suggests the correct macro, but that's clealy overambitiou

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-12 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78304 --- Comment #5 from David Malcolm --- More notes to self: The locations within the string_concat_db for this concatenation are all spelling locations, rather than virtual locations. The reason is that c-lex.c's lex_string calls cpp_get_token in

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78304 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Fri Jan 13 19:27:43 2017 New Revision: 244453 URL: https://gcc.gnu.org/viewcvs?rev=244453&root=gcc&view=rev Log: Don't suppress bogus usage of macros from system headers in -Wformat (P

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78304 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/78616] Poison strndup in system.h

2017-01-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #13 from David Malcolm --- (In reply to Jeffrey A. Law from comment #12) > Regression fixed (regression marker removed). All that's left is to poison > strndup in system.h Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2017-0

[Bug bootstrap/78616] Poison strndup in system.h

2017-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #14 from David Malcolm --- Author: dmalcolm Date: Mon Jan 16 15:03:41 2017 New Revision: 244494 URL: https://gcc.gnu.org/viewcvs?rev=244494&root=gcc&view=rev Log: system.h: Poison strndup (PR bootstrap/78616) gcc/ChangeLog:

[Bug bootstrap/78616] Poison strndup in system.h

2017-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/78304] [7 Regression] -Wformat doesn't warn anymore for inttypes.h format string argument type mismatches

2017-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78304 --- Comment #9 from David Malcolm --- Author: dmalcolm Date: Mon Jan 16 18:08:45 2017 New Revision: 244502 URL: https://gcc.gnu.org/viewcvs?rev=244502&root=gcc&view=rev Log: Fix testcases for PR c/78304 The testcases as written made assumptions

[Bug c/68473] ICE: in contains_point, at diagnostic-show-locus.c:340 after error

2017-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68473 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug jit/69435] Truncated lines in jit.log

2017-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69435 --- Comment #4 from David Malcolm --- Followup was here: http://lists.gnu.org/archive/html/dejagnu/2016-02/msg6.html 2016-02-15 Ben Elliston Reported by David Malcolm. * lib/dejagnu.exp (text): Allow angle brack

[Bug jit/69435] Truncated lines in jit.log

2017-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69435 --- Comment #5 from David Malcolm --- (In reply to David Malcolm from comment #4) > Followup was here: > http://lists.gnu.org/archive/html/dejagnu/2016-02/msg6.html which is: http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=commitdiff;h

<    8   9   10   11   12   13   14   15   16   17   >