[Bug c/68187] [6 Regression] Poor error message from -Wmisleading-indentation on glibc's ../stdlib/strtol_l.c

2016-03-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68187 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Fri Mar 4 15:45:19 2016 New Revision: 233971 URL: https://gcc.gnu.org/viewcvs?rev=233971&root=gcc&view=rev Log: PR c/68187: fix overzealous -Wmisleading-indentation (comment #0) gcc/

[Bug c/68187] [6 Regression] Poor error message from -Wmisleading-indentation on glibc's ../stdlib/strtol_l.c

2016-03-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68187 --- Comment #8 from David Malcolm --- Author: dmalcolm Date: Fri Mar 4 15:50:27 2016 New Revision: 233972 URL: https://gcc.gnu.org/viewcvs?rev=233972&root=gcc&view=rev Log: PR c/68187: fix overzealous -Wmisleading-indentation (comment #1) gcc/

[Bug c/68187] [6 Regression] Poor error message from -Wmisleading-indentation on glibc's ../stdlib/strtol_l.c

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

[Bug c/70087] Different (worse?) code generated for "if (a || (b || c))" vs "if (a || b || c)"

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

[Bug c/70085] False positive -Wmisleading-indentation

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

[Bug c++/70105] [6 regression] giant warning when building gcc-5 with gcc-6

2016-03-07 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #2 from David Malcolm --- Thanks; I can reproduce this locally (e.g. building tree-complex.o in r233492 on gcc-5-branch using gcc 6 20160212); am investigating.

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

2016-03-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68473 --- Comment #14 from David Malcolm --- Author: dmalcolm Date: Wed Mar 9 18:14:43 2016 New Revision: 234087 URL: https://gcc.gnu.org/viewcvs?rev=234087&root=gcc&view=rev Log: PR c++/70105: Defer location expansion until diagnostic_show_locus gc

[Bug c++/70105] [6 regression] giant warning when building gcc-5 with gcc-6

2016-03-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70105 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Wed Mar 9 18:14:43 2016 New Revision: 234087 URL: https://gcc.gnu.org/viewcvs?rev=234087&root=gcc&view=rev Log: PR c++/70105: Defer location expansion until diagnostic_show_locus gcc

[Bug c++/70105] [6 regression] giant warning when building gcc-5 with gcc-6

2016-03-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70105 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Wed Mar 9 18:23:27 2016 New Revision: 234088 URL: https://gcc.gnu.org/viewcvs?rev=234088&root=gcc&view=rev Log: PR c++/70105: prevent nonsensical underline spew for macro expansions

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

2016-03-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68473 --- Comment #15 from David Malcolm --- Author: dmalcolm Date: Wed Mar 9 18:23:27 2016 New Revision: 234088 URL: https://gcc.gnu.org/viewcvs?rev=234088&root=gcc&view=rev Log: PR c++/70105: prevent nonsensical underline spew for macro expansions

[Bug c++/70105] [6 regression] giant warning when building gcc-5 with gcc-6

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

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

2016-03-11 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: --- From a discussion on IRC: t.c:3:8: warning: ‘visbility’ attribute directive ignored [-Wattributes] struct S *foo __attribute__ ((visbility

[Bug c/70085] False positive -Wmisleading-indentation

2016-03-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70085 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Fri Mar 11 19:48:49 2016 New Revision: 234145 URL: https://gcc.gnu.org/viewcvs?rev=234145&root=gcc&view=rev Log: Wmisleading-indentation: add reproducer for PR c/70085 PR c/70085 repo

[Bug c/68187] [6 Regression] Poor error message from -Wmisleading-indentation on glibc's ../stdlib/strtol_l.c

2016-03-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68187 --- Comment #10 from David Malcolm --- Author: dmalcolm Date: Fri Mar 11 19:48:49 2016 New Revision: 234145 URL: https://gcc.gnu.org/viewcvs?rev=234145&root=gcc&view=rev Log: Wmisleading-indentation: add reproducer for PR c/70085 PR c/70085 rep

[Bug c/68187] [6 Regression] Poor error message from -Wmisleading-indentation on glibc's ../stdlib/strtol_l.c

2016-03-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68187 --- Comment #11 from David Malcolm --- Author: dmalcolm Date: Fri Mar 11 19:54:43 2016 New Revision: 234146 URL: https://gcc.gnu.org/viewcvs?rev=234146&root=gcc&view=rev Log: Wmisleading-indentation.c: add more test cases for PR c/68187 gcc/tes

[Bug middle-end/69976] Zero the local stack on function exit

2016-03-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69976 --- Comment #9 from David Malcolm --- Created attachment 37972 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37972&action=edit Crude test case In case it's helpful, here's a crude attempt at a black-box test case for this: read a secret i

[Bug c/70264] [6 Regression] ICE at -O0 to -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (compatible_locations_p, at diagnostic-show-locus.c:490)

2016-03-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70264 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Thu Mar 17 18:27:47 2016 New Revision: 234303 URL: https://gcc.gnu.org/viewcvs?rev=234303&root=gcc&view=rev Log: PR c/70264: fix crash in compatible_locations_p with BUILTINS_LOCATION

[Bug c/70264] [6 Regression] ICE at -O0 to -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (compatible_locations_p, at diagnostic-show-locus.c:490)

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

[Bug c/70264] [6 Regression] ICE at -O0 to -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (compatible_locations_p, at diagnostic-show-locus.c:490)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug c++/70105] [6 regression] giant warning when building gcc-5 with gcc-6

2016-03-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70105 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Thu Mar 17 18:27:47 2016 New Revision: 234303 URL: https://gcc.gnu.org/viewcvs?rev=234303&root=gcc&view=rev Log: PR c/70264: fix crash in compatible_locations_p with BUILTINS_LOCATION

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Fri Mar 18 17:45:42 2016 New Revision: 234340 URL: https://gcc.gnu.org/viewcvs?rev=234340&root=gcc&view=rev Log: PR c/70281: C FE: fix uninitialized range for __builtin_types_compatibl

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

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

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 --- Comment #2 from David Malcolm --- Minimized reproducer: $ cat bug.c const char *bch_stats_show (unsigned long cache_hits) { return (__builtin_types_compatible_p (typeof (cache_hits >> 16), int) ? "%i\n" : "%i\n"); } Am working o

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
||2016-03-17 CC||dmalcolm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Thanks. Confirmed

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 --- Comment #3 from David Malcolm --- Candidate patch posted here: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01099.html

[Bug c/70339] New: Poor message for "singed" vs "signed" typo

2016-03-21 Thread dmalcolm at gcc dot gnu.org
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- $ cat t.c void foo (singed char e) { } C frontend, trunk: $ ./xgcc -B. -c t.c t.c:1:18: error: expected ‘)’ before ‘char’ void foo (singed char e) {

[Bug c/70339] Poor message for "singed" vs "signed" typo

2016-03-21 Thread dmalcolm at gcc dot gnu.org
||2016-03-21 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Am working on a patch for next stage 1

[Bug c/70339] Poor message for "singed" vs "signed" typo

2016-03-21 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70339 David Malcolm changed: What|Removed |Added Target Milestone|--- |7.0 --- Comment #2 from David Malcolm -

[Bug c/69993] Misleading wording for -Wmisleading-indentation

2016-03-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69993 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Tue Mar 22 14:20:49 2016 New Revision: 234403 URL: https://gcc.gnu.org/viewcvs?rev=234403&root=gcc&view=rev Log: PR c/69993: improvements to wording of -Wmisleading-indentation gcc/c-

[Bug c/69993] Misleading wording for -Wmisleading-indentation

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

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-03-23 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #18 from David Malcolm --- FWIW Bernd posted a different patch for this, here: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00598.html

[Bug preprocessor/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-03-23 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #31 from David Malcolm --- (In reply to Bernd Schmidt from comment #30) > I'm just using CPP_W_NONE in the patch I'm testing and that seems to work. > > Regarding the error message, here's what we'll get: > > 69650.c:4:55: warning:

[Bug c++/62314] Fix-it Hints

2016-04-28 Thread dmalcolm at gcc dot gnu.org
||2016-04-28 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from David Malcolm --- Updated patch kit posted as: https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01835.html

[Bug c++/62314] Fix-it Hints

2016-05-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62314 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Mon May 2 18:36:40 2016 New Revision: 235777 URL: https://gcc.gnu.org/viewcvs?rev=235777&root=gcc&view=rev Log: PR c++/62314: add fixit hint for missing "template <> " in explicit spe

[Bug c++/62314] Fix-it Hints

2016-05-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62314 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Mon May 2 19:09:30 2016 New Revision: 235785 URL: https://gcc.gnu.org/viewcvs?rev=235785&root=gcc&view=rev Log: PR c++/62314: C++: add fixit hint to misspelled member names When we e

[Bug c/70954] New: -Wmisleading-indentation false positive on GNU "ed"

2016-05-04 Thread dmalcolm at gcc dot gnu.org
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- A user reported a false positive with -Wmisleading-indentation when compiling "ed" with gcc 6.1: https://gcc.gnu.org/ml/gcc/2016-05/msg00044.html

[Bug debug/71171] [6/7 Regression] Conditional jump or move depends on uninitialised value(s) in can_be_stored_compactly_p (line-map.c:148)

2016-05-18 Thread dmalcolm at gcc dot gnu.org
||2016-05-18 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/71184] ICE on "operator new["

2016-05-18 Thread dmalcolm at gcc dot gnu.org
||2016-05-18 CC||dmalcolm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- My bad; it

[Bug preprocessor/71183] [7 Regression] gcc -E always gives __DATE__ and __TIME__ as Jan 1 1970 00:00:00

2016-05-18 Thread dmalcolm at gcc dot gnu.org
||2016-05-18 CC||dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from David Malcolm --- Confirmed with trunk: $ echo '__DATE__ __TIME__' | ./xgcc -B. -E - # 1 "" # 1 "&

[Bug c++/71184] ICE on "operator new["

2016-05-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71184 --- Comment #2 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01424.html

[Bug c/71171] [6/7 Regression] Conditional jump or move depends on uninitialised value(s) in can_be_stored_compactly_p (line-map.c:148)

2016-05-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71171 --- Comment #1 from David Malcolm --- Candidate patch posted here: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01425.html

[Bug driver/69265] Option suggestion provides a wrong hint

2016-05-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69265 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu May 19 00:52:08 2016 New Revision: 236439 URL: https://gcc.gnu.org/viewcvs?rev=236439&root=gcc&view=rev Log: PR driver/69265: add hint for options with misspelled arguments opts-c

[Bug driver/69265] Option suggestion provides a wrong hint

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

[Bug c++/71184] ICE on "operator new["

2016-05-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71184 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Thu May 19 18:10:30 2016 New Revision: 236483 URL: https://gcc.gnu.org/viewcvs?rev=236483&root=gcc&view=rev Log: PR c++/71184: Fix NULL dereference in cp_parser_operator The source-ra

[Bug c++/71184] ICE on "operator new["

2016-05-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71184 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Thu May 19 18:56:47 2016 New Revision: 236485 URL: https://gcc.gnu.org/viewcvs?rev=236485&root=gcc&view=rev Log: PR c++/71184: Fix NULL dereference in cp_parser_operator The source-ra

[Bug c++/71184] ICE on "operator new["

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

[Bug c/71171] [6/7 Regression] Conditional jump or move depends on uninitialised value(s) in can_be_stored_compactly_p (line-map.c:148)

2016-05-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71171 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Thu May 19 20:29:07 2016 New Revision: 236488 URL: https://gcc.gnu.org/viewcvs?rev=236488&root=gcc&view=rev Log: PR c/71171: Fix uninitialized source_range in c_parser_postfix_expressi

[Bug c/71171] [6/7 Regression] Conditional jump or move depends on uninitialised value(s) in can_be_stored_compactly_p (line-map.c:148)

2016-05-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71171 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Thu May 19 20:33:51 2016 New Revision: 236489 URL: https://gcc.gnu.org/viewcvs?rev=236489&root=gcc&view=rev Log: PR c/71171: Fix uninitialized source_range in c_parser_postfix_expressi

[Bug c/71171] [6/7 Regression] Conditional jump or move depends on uninitialised value(s) in can_be_stored_compactly_p (line-map.c:148)

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

[Bug target/52551] i686-interix3: winnt.c:400:8: error: ‘flag_writable_rel_rdata’ undeclared

2016-05-26 Thread dmalcolm at gcc dot gnu.org
:00 |2016-05-26 CC||dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Confirmed; I still see this with recent trunk (r236397 fwiw), with build = host = x86_64-pc-linux-gnu

[Bug jit/71334] gccjit's sized integers have different underlying types than stdint.h

2016-05-31 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71334 --- Comment #2 from David Malcolm --- For reference, I get this output on x86_64-pc-linux-gnu: underlying size_t: gcc long unsigned int, gccjit unknown underlying uint32_t: gcc unsigned int, gccjit unsigned int underlying uint64_t: gcc long unsi

[Bug target/71375] New: Failure on startup on rs6000-ibm-aix{4.3|5.1.0}

2016-06-01 Thread dmalcolm at gcc dot gnu.org
: target Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- Target: rs6000-ibm-aix4.3, rs6000-ibm-aix5.1.0 The following two configurations in contrib/config-list.mk are failing for me in trunk: rs6000-ibm-aix4.3

[Bug target/71375] Failure on startup on rs6000-ibm-aix{4.3|5.1.0}

2016-06-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71375 --- Comment #1 from David Malcolm --- FWIW, it worked for target=rs6000-ibm-aix{5.2.0|5.3.0|6.0}

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #2 from David Malcolm --- Which target? (and host?) FWIW before I committed it I successfully tested building gcc stage1 with the patch using contrib/config-list.mk, with build=host=x86_64-pc-linux-gnu with target= everything other

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
at gcc dot gnu.org |dmalcolm at gcc dot gnu.org --- Comment #3 from David Malcolm --- The failure was reported on IRC as being on AIX ppc; unknown for other ppc configurations. I successfully build and ran the selftests for stage1 on build=host=target=powerpc64-unknown-linux-gnu (on

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #4 from David Malcolm --- Reproduced on gcc111 (powerpc-ibm-aix7.1.3.0) (gdb) bt #0 _Z11fancy_abortPKciS0_ (file=0x12557bbc "../../src/gcc/selftest.c", line=44, function=0x12557be0 "fail") at ../../src/gcc/diagnostic.c:1281 #

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #6 from David Malcolm --- Thanks. Sorry about the breakage. Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2016-06/msg00703.html

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu Jun 9 17:27:12 2016 New Revision: 237271 URL: https://gcc.gnu.org/viewcvs?rev=237271&root=gcc&view=rev Log: PR bootstrap/71471: remove selftest for pp_format (%p) gcc/ChangeLog:

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

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

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 --- Comment #1 from David Malcolm --- Sorry about the breakage. As a workaround, the failing test can be disabled by commenting-out the call to input_c_tests: diff --git a/gcc/selftest-run-tests.c b/gcc/selftest-run-tests.c index 934e700..c2fd7

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-09 Thread dmalcolm at gcc dot gnu.org
gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from David Malcolm --- (In reply to David Malcolm from comment #1) ... > Am investigating the best cross-platform way to open a named tempfile. libiberty's "make_temp_f

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 --- Comment #3 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2016-06/msg00755.html

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 --- Comment #6 from David Malcolm --- (In reply to Bernd Edlinger from comment #5) > this seems to fix it: Thanks, and sorry for the breakage. I wonder if it would be better to instead hardcode LANG=C in the Makefile.am hooks that run the selft

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 --- Comment #9 from David Malcolm --- Author: dmalcolm Date: Mon Jun 13 21:20:10 2016 New Revision: 237414 URL: https://gcc.gnu.org/viewcvs?rev=237414&root=gcc&view=rev Log: PR bootstrap/71481: fix input.c selftest gcc/ChangeLog: PR boo

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 --- Comment #10 from David Malcolm --- (In reply to Bernd Edlinger from comment #7) > (In reply to David Malcolm from comment #3) > > Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2016-06/msg00755.html > > BTW: this patch seems not to remo

[Bug c++/81514] g++.dg/lookup/missing-std-include-2.C FAILs on Solaris

2017-07-27 Thread dmalcolm at gcc dot gnu.org
||2017-07-27 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1

[Bug c++/81514] g++.dg/lookup/missing-std-include-2.C FAILs on Solaris

2017-07-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81514 --- Comment #1 from David Malcolm --- I'm able to reproduce this on Linux by replacing: #include with: namespace std { extern int sprintf (char *dst, const char *format, ...); }; On Linux, the include of stdio.h seems to have bee

[Bug c/81577] -ftrack-macro-expansion=0 causes spurious “this ‘else’ clause does not guard” with -Wall

2017-07-27 Thread dmalcolm at gcc dot gnu.org
||2017-07-27 CC||dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Confirmed with trunk

[Bug c++/81514] g++.dg/lookup/missing-std-include-2.C FAILs on Solaris

2017-07-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81514 --- Comment #2 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2017-07/msg01858.html

[Bug other/80437] large decimal numbers in diagnostics are hard to read

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

[Bug other/80437] large decimal numbers in diagnostics are hard to read

2017-08-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80437 --- Comment #2 from David Malcolm --- Maybe all four (decimal, hex, formula, and constant): bug.c:11:5: warning: 'memset': specified size 18446744073709551611 (aka 0xfffb, 1<<64 - 5, SOME_CONST) exceeds maximum object size 9223372036

[Bug other/80437] large decimal numbers in diagnostics are hard to read

2017-08-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80437 --- Comment #3 from David Malcolm --- Maybe could also make creative use of underscores in large hex values to make things easier on the eye e.g.: bug.c:11:5: warning: 'memset': specified size 18446744073709551611 (aka 0x___fffb, 1<<

[Bug other/80437] large decimal numbers in diagnostics are hard to read

2017-08-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80437 --- Comment #4 from David Malcolm --- If the warning is based of a const, maybe lead with that e.g. in the 2nd place here: bug.c:11:5: warning: 'memset': specified size 18446744073709551611 (aka 0x___fffb, 1<<64 - 5, SOME_CONST) exce

[Bug preprocessor/77810] provide format_inform_at_substring to go with format_warning_at_substring

2017-08-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77810 --- Comment #4 from David Malcolm --- Patch looks reasonable, and I can approve it. CC me on it when you post it to gcc-patches.

[Bug preprocessor/81794] "would be stringified in traditional C" warning should be controlled by -Wtraditional

2017-08-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81794 --- Comment #2 from David Malcolm --- Please can you turn it into a patch that contains both the fix *and* the new testcase? (e.g. gcc.dg/pragma-diag-8.c)

[Bug c++/81514] g++.dg/lookup/missing-std-include-2.C FAILs on Solaris

2017-08-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81514 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Fri Aug 18 18:12:47 2017 New Revision: 251186 URL: https://gcc.gnu.org/viewcvs?rev=251186&root=gcc&view=rev Log: C++: fix ordering of missing std #include suggestion (PR c++/81514) gc

[Bug c++/81514] g++.dg/lookup/missing-std-include-2.C FAILs on Solaris

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

[Bug tree-optimization/46805] ICE: SIGSEGV in optab_for_tree_code (optabs.c:407) with -O -fno-tree-scev-cprop -ftree-vectorize

2017-08-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46805 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Fri Aug 18 23:56:28 2017 New Revision: 251192 URL: https://gcc.gnu.org/viewcvs?rev=251192&root=gcc&view=rev Log: jit: fix segfault with autovectorization (PR tree-optimization/46805)

[Bug jit/82174] Null name in one entry of the builtin_data array of jit-builtins.c

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

[Bug jit/82174] Null name in one entry of the builtin_data array of jit-builtins.c

2017-09-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82174 --- Comment #2 from David Malcolm --- The entry with the NULL name comes from this line in sanitizer.def: /* This has to come before all the sanitizer builtins. */ DEF_BUILTIN_STUB(BEGIN_SANITIZER_BUILTINS, (const char *)0) There's also th

[Bug jit/82174] Null name in one entry of the builtin_data array of jit-builtins.c

2017-09-14 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82174 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Thu Sep 14 19:30:26 2017 New Revision: 252769 URL: https://gcc.gnu.org/viewcvs?rev=252769&root=gcc&view=rev Log: Fix crash accessing builtins in sanitizer.def and after (PR jit/82174)

[Bug jit/82174] Null name in one entry of the builtin_data array of jit-builtins.c

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

[Bug target/80377] gcc: error: unrecognized command line option ‘-mavx512’; did you mean ‘-mavx512 ’?

2017-04-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80377 --- Comment #5 from David Malcolm --- Likewise, I tried but failed to reproduce it. A hunch: given the "-march=native", is there a chance that this bug is dependent on the precise CPU flags on the host?

[Bug target/80377] gcc: error: unrecognized command line option ‘-mavx512’; did you mean ‘-mavx512 ’?

2017-04-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80377 --- Comment #7 from David Malcolm --- No idea. Looking at both trunk and the gcc 6 branch I see various options that begin with "mavx512", but there isn't a plain "mavx512" option - they all have some kind of additional suffix. I don't think th

[Bug c++/80016] error is positioned incorrectly

2017-04-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80016 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Mon Apr 24 19:12:52 2017 New Revision: 247108 URL: https://gcc.gnu.org/viewcvs?rev=247108&root=gcc&view=rev Log: Fix location of sizeof/alignof (PR c++/80016) PR c++/80016 reports an

[Bug c++/80177] wrong fixit hint for misspelled static_assert: __cpp_static_assert

2017-04-25 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80177 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Tue Apr 25 13:34:50 2017 New Revision: 247233 URL: https://gcc.gnu.org/viewcvs?rev=247233&root=gcc&view=rev Log: Fix spelling suggestions for reserved words (PR c++/80177) gcc/cp/Chan

[Bug c++/80177] wrong fixit hint for misspelled static_assert: __cpp_static_assert

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

[Bug fortran/79840] Inconsistent exclamation mark in diagnostic

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

[Bug fortran/79852] diagnostics should not end with exclamation mark

2017-05-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79852 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Fri May 19 13:52:14 2017 New Revision: 248283 URL: https://gcc.gnu.org/viewcvs?rev=248283&root=gcc&view=rev Log: fortran: remove trailing exclamation mark from various diagnostics (PR

[Bug fortran/79852] diagnostics should not end with exclamation mark

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

[Bug fortran/79840] Inconsistent exclamation mark in diagnostic

2017-05-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79840 David Malcolm changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #5 from David Malcolm -

[Bug jit/80954] JIT make check regression for GCC 8.0

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

[Bug c++/62170] wrong quoting (and colors) for typedef diagnostics

2017-06-02 Thread dmalcolm at gcc dot gnu.org
||2017-06-02 CC||dmalcolm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from David Malcolm --- Testing a patch

[Bug jit/80954] JIT make check regression for GCC 8.0

2017-06-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80954 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Fri Jun 2 17:07:37 2017 New Revision: 248841 URL: https://gcc.gnu.org/viewcvs?rev=248841&root=gcc&view=rev Log: Fix segfault in free_growth_caches (PR jit/80954) gcc/ChangeLog:

[Bug jit/80954] JIT make check regression for GCC 8.0

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

[Bug c++/62170] wrong quoting (and colors) for typedef diagnostics

2017-06-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62170 --- Comment #3 from David Malcolm --- Candidate patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2017-06/msg00242.html

[Bug c++/81024] New: ICE within convert_like_real

2017-06-08 Thread dmalcolm at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- Found by Alec Teal; reported to me over IRC. Seen with gcc 4.8 and with trunk (r248825). $ cat main.cc namespace std { template class initializer_list; } void WtfTest(int, const char*, const

[Bug c++/81024] ICE within convert_like_real with std::initializer_list

2017-06-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81024 David Malcolm changed: What|Removed |Added Summary|ICE within |ICE within |convert_li

[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 #1 from David Malcolm --- End-users aren't meant to see this; this is for people building GCC from source, with checking enabled (the self-tests are a no-op in a release build). So the "user" in question here is a developer, packager

[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 #2 from David Malcolm --- Or maybe print something like: BEGIN QUOTE /home/jwakely/src/gcc/gcc/gcc/selftest.c:305: test_locate_file: FAIL: unable to open file: ./example.txt A gcc selftest has failed. Investigation of the source l

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