[Bug tree-optimization/79286] [7 Regression] wrong code at -O3 on x86_64-linux-gnu in 32-bit mode (but not in 64-bit mode)

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 --- Comment #2 from Martin Liška --- Reducing the test-case bit more: $ int a = 0, c = 0; static int d[][8] = {}; int main () { int e; for (int b = 0; b < 4; b++) { __builtin_printf ("%d\n", b, e); while (a && c++)

[Bug target/79299] [7 Regression] Operand size mismatch for `vpgatherqd' w/ -O3 -masm=intel -mavx512bw

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79299 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79296] [7 Regression] ICE in mangle_decl, at cp/mangle.c:3845

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79296 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/79297] [7 Regression] ICE (segfault) in main_block_label

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79297 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/79285] [7 Regression] new valgrind error in build

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79285 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug target/78176] [MIPS] miscompiles ldxc1 with large pointers on 32-bits

2017-01-30 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 Doug Gilmore changed: What|Removed |Added CC||law at redhat dot com,

[Bug middle-end/68664] [6/7 Regression] Speculative sqrt in c-ray main loop causes large slow down

2017-01-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68664 --- Comment #12 from Segher Boessenkool --- new_ready just adds insns to the ready list. High latency isn't directly a problem: if we can schedule a high latency insn early speculatively, that is a _good_ thing!

[Bug target/79299] New: [7 Regression] Operand size mismatch for `vpgatherqd' w/ -O3 -masm=intel -mavx512bw

2017-01-30 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79299 Bug ID: 79299 Summary: [7 Regression] Operand size mismatch for `vpgatherqd' w/ -O3 -masm=intel -mavx512bw Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug target/79197] [5/6/7 Regression] ICE in extract_insn in gcc/recog.c:2311

2017-01-30 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79197 --- Comment #8 from Michael Meissner --- I agree the expander should call gpc_reg_operand and not reg_operand. This is due to the fact that on PowerPCs with separate floating point registers, SFmode is represented internally as DFmode when it

[Bug sanitizer/79265] -fsanitize=undefined inserts unnecessary null pointer tests

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79265 --- Comment #2 from Martin Sebor --- As I mentioned, the unnecessary null tests inserted by the sanitizer are usually removed by subsequent optimization passes so they serve no useful purpose. They do, however, make GCC work harder which can

[Bug testsuite/79272] FAIL: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Not unifying; alias cannot be created; target is discardable"

2017-01-30 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79272 --- Comment #4 from John David Anglin --- Guess this is key line "Not unifying; Symbol aliases are not supported by target".

[Bug c++/79298] ICE on invalid C++ code on x86_64-linux-gnu: Segmentation fault

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79298 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug debug/63238] DWARF does not represent _Alignas

2017-01-30 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63238 --- Comment #2 from Alexandre Oliva --- Author: aoliva Date: Tue Jan 31 01:03:15 2017 New Revision: 245052 URL: https://gcc.gnu.org/viewcvs?rev=245052=gcc=rev Log: [PR63238] output alignment debug information Output DWARFv5+ DW_AT_alignment

[Bug target/78176] [MIPS] miscompiles ldxc1 with large pointers on 32-bits

2017-01-30 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 --- Comment #17 from Doug Gilmore --- > This really throws off the costing of substituting different IVs on > MIPS. I forgot to mention that for MIPS the net of effect r216501 is to not produce indexed memory OPs in simple examples where we

[Bug c++/79298] New: ICE on invalid C++ code on x86_64-linux-gnu: Segmentation fault

2017-01-30 Thread su at cs dot ucdavis.edu
-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/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.1 20170130 (experimental) [trunk revision 245020] (GCC

[Bug target/78176] [MIPS] miscompiles ldxc1 with large pointers on 32-bits

2017-01-30 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 --- Comment #16 from Doug Gilmore --- Created attachment 40632 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40632=edit Tweak to adjust_setup_cost (r220473). Second patch associated with previous comment.

[Bug target/79277] lies about alignment of DFmode

2017-01-30 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79277 --- Comment #1 from joseph at codesourcery dot com --- Note that for compatibility you don't want to change either __alignof__ (double) (preferred alignment, 8) or _Alignof (double) (required alignment, 4).

[Bug target/78176] [MIPS] miscompiles ldxc1 with large pointers on 32-bits

2017-01-30 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 --- Comment #15 from Doug Gilmore --- Created attachment 40631 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40631=edit Prototype change to backout r216501. > Bisected the problem to commit r216501: The review discussion of r216501

[Bug target/67288] [5/6/7 regression] non optimal simple function (useless additional shift/remove/shift/add)

2017-01-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67288 --- Comment #6 from Segher Boessenkool --- (In reply to Bernd Schmidt from comment #5) > (In reply to Christophe Leroy from comment #0) > > > The following section is just useless: (shift left 4 bits, remove 16, shift > > right 4 bits, add 1) >

[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"

2017-01-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 --- Comment #2 from Jonathan Wakely --- I forgot to provide the error. For completeness, it's: s.cc: In member function ‘bool Printer::operator()(SongTag)’: s.cc:16:36: error: request for member ‘int (Song::*)(unsigned int) const::__pfn’ in

[Bug middle-end/79297] [7 Regression] ICE (segfault) in main_block_label

2017-01-30 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79297 --- Comment #1 from Matthias Klose --- Created attachment 40630 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40630=edit preprocessed source

[Bug middle-end/79297] New: [7 Regression] ICE (segfault) in main_block_label

2017-01-30 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79297 Bug ID: 79297 Summary: [7 Regression] ICE (segfault) in main_block_label Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug testsuite/79272] FAIL: gcc.dg/ipa/pr77653.c scan-ipa-dump icf "Not unifying; alias cannot be created; target is discardable"

2017-01-30 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79272 --- Comment #3 from John David Anglin --- Created attachment 40629 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40629=edit ipa dump

[Bug c++/79296] New: [5 Regression] ICE in mangle_decl, at cp/mangle.c:3845

2017-01-30 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79296 Bug ID: 79296 Summary: [5 Regression] ICE in mangle_decl, at cp/mangle.c:3845 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/79170] [7 regression] memcmp builtin expansion sequence can overflow

2017-01-30 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79170 --- Comment #2 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Mon Jan 30 23:24:24 2017 New Revision: 245041 URL: https://gcc.gnu.org/viewcvs?rev=245041=gcc=rev Log: 2017-01-27 Aaron Sawdey PR

[Bug other/79295] New: [7 regression] gcc.target/powerpc/bcd-3.c fails starting with r244942

2017-01-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79295 Bug ID: 79295 Summary: [7 regression] gcc.target/powerpc/bcd-3.c fails starting with r244942 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug debug/79289] DWARF info for typeof of C function with no args and no prototype is empty pointer

2017-01-30 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79289 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/79289] DWARF info for typeof of C function with no args and no prototype is empty pointer

2017-01-30 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79289 --- Comment #3 from ian at gcc dot gnu.org --- Author: ian Date: Mon Jan 30 22:26:26 2017 New Revision: 245039 URL: https://gcc.gnu.org/viewcvs?rev=245039=gcc=rev Log: PR debug/79289 * dwarf2out.c (gen_type_die_with_usage): When

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/79286] [7 Regression] wrong code at -O3 on x86_64-linux-gnu in 32-bit mode (but not in 64-bit mode)

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 Martin Liška changed: What|Removed |Added Keywords||wrong-code

[Bug c++/79294] [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6812

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79294 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79294] New: [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6812

2017-01-30 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79294 Bug ID: 79294 Summary: [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6812 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/79293] [7 regression] gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79293 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/79293] [7 regression] gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79293 --- Comment #2 from Martin Sebor --- Author: msebor Date: Mon Jan 30 21:59:37 2017 New Revision: 245037 URL: https://gcc.gnu.org/viewcvs?rev=245037=gcc=rev Log: PR testsuite/79293 - gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953

[Bug testsuite/79293] [7 regression] gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79293 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/79082] -Wformat-truncation inconsistent behaviour

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79082 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/79275] -Wformat-overflow false positive exceeding INT_MAX in glibc sysdeps/posix/tempname.c

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79275 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug target/79158] gcc.target/powerpc/pr70669.c fails on powerpc BE

2017-01-30 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79158 Pat Haugen changed: What|Removed |Added CC||pthaugen at gcc dot gnu.org

[Bug target/78597] test case gcc.dg/torture/fp-int-convert-float128-ieee.c (and others) fail starting with r242780

2017-01-30 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78597 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/71824] [6/7 Regression] ICE when compiling libiberty with Graphite loop optimizations

2017-01-30 Thread drfiemost at email dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71824 --- Comment #7 from Leandro Nini --- Reduced testcase, ICEs with gcc -O2 -floop-interchange: int a, b, d; int **c; int fn1() { while (a) if (d) { int e = -d; for (; b < e; b++) c[b] = } else { for (; b; b++)

[Bug ipa/79285] [7 Regression] new valgrind error in build

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79285 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/79293] New: [7 regression] gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953

2017-01-30 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79293 Bug ID: 79293 Summary: [7 regression] gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug preprocessor/79210] "internal compiler error: in get_substring_ranges_for_loc" processing -Wformat-signedness warning

2017-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79210 --- Comment #11 from David Malcolm --- In theory we could fix the location of the stringified token; perhaps it could use the location of the arg. But cpp_interpret_string_ranges calls cpp_interpret_string_1 which expects the strings it

[Bug debug/79289] DWARF info for typeof of C function with no args and no prototype is empty pointer

2017-01-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79289 --- Comment #2 from Jason Merrill --- (In reply to Ian Lance Taylor from comment #1) > This patch seems to fix the problem, but I can't tell whether this is > correct or whether the other obvious change is correct. This one looks good.

[Bug preprocessor/79210] "internal compiler error: in get_substring_ranges_for_loc" processing -Wformat-signedness warning

2017-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79210 --- Comment #10 from David Malcolm --- For reference, after preprocessing, the format string is: "0423 lpfc_peer_port_login attribute cannot be set to %d, allowed range is [0, 1]\n" ^~

[Bug preprocessor/79210] "internal compiler error: in get_substring_ranges_for_loc" processing -Wformat-signedness warning

2017-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79210 --- Comment #9 from David Malcolm --- Origin of the garbage location_t value: During macro expansion, temporary tokens (via _cpp_temp_token) use the location of the last lexed token as their location, so identifying the origin of the bogus

[Bug preprocessor/79210] "internal compiler error: in get_substring_ranges_for_loc" processing -Wformat-signedness warning

2017-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79210 --- Comment #8 from David Malcolm --- The concatenation: The concatenated string comes from 4 string tokens, with the following locations, and locs[1] is a bogus value: ../../src/pr79210-via-attachment.c:8:6: note: locs[0] "0423

[Bug preprocessor/79210] "internal compiler error: in get_substring_ranges_for_loc" processing -Wformat-signedness warning

2017-01-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79210 --- Comment #7 from David Malcolm --- Root cause is: (a) a garbage location_t value for one of the string tokens within the concatenation, but (b) it's not clear that there *is* a non-garbage value for the string token in question, as it comes

[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"

2017-01-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/79290] [7 Regression] forming pointer to member function tries to access "__pfn"

2017-01-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 Jonathan Wakely changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/79292] New: address of string constant

2017-01-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79292 Bug ID: 79292 Summary: address of string constant Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++

[Bug tree-optimization/79291] New: r244397 introduces alias related performance issues for daxpy on MIPS

2017-01-30 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79291 Bug ID: 79291 Summary: r244397 introduces alias related performance issues for daxpy on MIPS Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug debug/79289] DWARF info for typeof of C function with no args and no prototype is empty pointer

2017-01-30 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79289 Ian Lance Taylor changed: What|Removed |Added CC||aoliva at gcc dot gnu.org,

[Bug c++/79290] New: [7 Regression] forming pointer to member function tries to access "__pfn"

2017-01-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79290 Bug ID: 79290 Summary: [7 Regression] forming pointer to member function tries to access "__pfn" Product: gcc Version: 7.0.1 Status: UNCONFIRMED Keywords:

[Bug fortran/78958] FAIL: gfortran.dg/alloc_comp_class_5.f03 - Segmentation fault

2017-01-30 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78958 vehre at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug debug/79289] New: DWARF info for typeof of C function with no args and no prototype is empty pointer

2017-01-30 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79289 Bug ID: 79289 Summary: DWARF info for typeof of C function with no args and no prototype is empty pointer Product: gcc Version: 7.0.1 Status: UNCONFIRMED

[Bug c++/79288] [7 Regression] TLS model wrong for static data members since r241137

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79288 --- Comment #2 from Jakub Jelinek --- Created attachment 40626 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40626=edit gcc7-pr79288.patch Untested fix.

[Bug target/53659] ARM: Using -mcpu=cortex-a9 option results in bad performance for Cortex-A9 processor in C-Ray phoronix benchmark

2017-01-30 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53659 --- Comment #11 from PeteVine --- Super cool, thanks! That makes the OP a true prophet before his time ;)

[Bug c++/79288] [7 Regression] TLS model wrong for static data members since r241137

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79288 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug sanitizer/78663] [7 Regression] Hundreds of asan failures on x86_64-apple-darwin10 at r243019

2017-01-30 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78663 --- Comment #6 from Maxim Ostapenko --- (In reply to Maxim Ostapenko from comment #5) > (In reply to Iain Sandoe from comment #4) > > (In reply to Jakub Jelinek from comment #3) > > > Have you raised this with compiler-rt upstream already? > >

[Bug c++/79288] [7 Regression] TLS model wrong for static data members since r241137

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79288 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/79288] New: [7 Regression] TLS model wrong for static data members since r241137

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79288 Bug ID: 79288 Summary: [7 Regression] TLS model wrong for static data members since r241137 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug go/79281] gccgo: Binaries using goroutines crash on m68k

2017-01-30 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79281 --- Comment #5 from John Paul Adrian Glaubitz --- (In reply to James Clarke from comment #4) > Ah, sorry, there's a separate C implementation of all this. I imagine it's > the bools in "struct M" in runtime.h messing it up, so "struct Note" and

[Bug fortran/79287] New: include files not searched for relative to the file containing the fortran include statement

2017-01-30 Thread okiddle at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79287 Bug ID: 79287 Summary: include files not searched for relative to the file containing the fortran include statement Product: gcc Version: 6.3.1 Status: UNCONFIRMED

[Bug middle-end/79285] [7 Regression] new valgrind error in build

2017-01-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79285 Andrew Pinski changed: What|Removed |Added Keywords||GC, ice-on-valid-code

[Bug c++/79264] [7 Regression] ICE verify_type failed

2017-01-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79264 --- Comment #2 from Nathan Sidwell --- Created attachment 40625 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40625=edit Reduced testcase ./obj/x86_64/gcc/cc1plus -fconcepts -std=c++1z -g3 79264-dbg.ii It's very easy to turn this into

[Bug c/79082] -Wformat-truncation inconsistent behaviour

2017-01-30 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79082 --- Comment #14 from Franz Sirl --- I just finished testing with r245021 and now the warnings are as expected. All warnings are there with -Wformat-truncation=2 and also -Wformat-truncation=1 behaves according to the documentation (BTW, there's

[Bug target/79240] [7 Regression] ICE in s390_extzv_shift_ok, at config/s390/s390.c:2475

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79240 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/79286] New: wrong code at -O3 on x86_64-linux-gnu in 32-bit mode (but not in 64-bit mode)

2017-01-30 Thread su at cs dot ucdavis.edu
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/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.1 20170130 (experimental

[Bug c/79285] New: new valgrind error in build

2017-01-30 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79285 Bug ID: 79285 Summary: new valgrind error in build Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c/79082] -Wformat-truncation inconsistent behaviour

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79082 Martin Sebor changed: What|Removed |Added Status|NEW |WAITING --- Comment #13 from Martin

[Bug libstdc++/78979] 27_io/headers/cstdio/functions_neg.cc FAILs on Solaris

2017-01-30 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78979 Rainer Orth changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/78979] 27_io/headers/cstdio/functions_neg.cc FAILs on Solaris

2017-01-30 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78979 --- Comment #8 from Rainer Orth --- Author: ro Date: Mon Jan 30 16:08:42 2017 New Revision: 245034 URL: https://gcc.gnu.org/viewcvs?rev=245034=gcc=rev Log: Only declare gets for C++ < 2014 on Solaris (PR libstdc++/78979) Backport from

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-30 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #30 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Mon Jan 30 16:06:15 2017 New Revision: 245033 URL: https://gcc.gnu.org/viewcvs?rev=245033=gcc=rev Log: PR lto/79061 * asan.c (get_translation_unit_decl):

[Bug tree-optimization/79284] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79284 --- Comment #2 from Martin Liška --- (gdb) p debug_gimple_stmt(stmt) mask__5.10_9 = mask__3.9_16 ^ vect_cst__10; $1 = void (gdb) p debug_gimple_stmt(rhs1)) Junk after end of expression. (gdb) p debug_tree(rhs1_type) unit size

[Bug libstdc++/78979] 27_io/headers/cstdio/functions_neg.cc FAILs on Solaris

2017-01-30 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78979 --- Comment #7 from Rainer Orth --- Author: ro Date: Mon Jan 30 16:01:11 2017 New Revision: 245032 URL: https://gcc.gnu.org/viewcvs?rev=245032=gcc=rev Log: Only declare gets for C++ < 2014 on Solaris (PR libstdc++/78979) Backport from

[Bug c/79082] -Wformat-truncation inconsistent behaviour

2017-01-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79082 --- Comment #12 from Martin Sebor --- (In reply to Sylvestre Ledru from comment #11) > Other testcase: > --- > #include > #include > int main() { > char* buf = new char[10]; > uint8_t data = 255; > printf("%.2x\n", data);//

[Bug go/79281] gccgo: Binaries using goroutines crash on m68k

2017-01-30 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79281 --- Comment #4 from James Clarke --- Ah, sorry, there's a separate C implementation of all this. I imagine it's the bools in "struct M" in runtime.h messing it up, so "struct Note" and "struct Lock" need __attribute__((aligned(4))) on their key

[Bug tree-optimization/79284] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

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

[Bug tree-optimization/79284] New: ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2017-01-30 Thread su at cs dot ucdavis.edu
=/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/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.1 20170130 (experimental) [trunk revision

[Bug go/79281] gccgo: Binaries using goroutines crash on m68k

2017-01-30 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79281 --- Comment #3 from James Clarke --- I believe the problem is in the "m" type in runtime2.go. There are 4 bools in a row, which is fine, as they will take up 4 bytes, but then "printlock" is an int8, which means "fastrand" will only be 2-byte

[Bug go/79281] gccgo: Binaries using goroutines crash on m68k

2017-01-30 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79281 --- Comment #2 from Ian Lance Taylor --- Perhaps this would be fixed by adding __attribute__((aligned(4))) to some field of struct Sched in proc.c. This code is all different on trunk/GCC7. I don't know whether it still has the same problem or

[Bug gcov-profile/79259] [7 Regression] Corrupted profile when one uses -O1

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79259 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/79259] [7 Regression] Corrupted profile when one uses -O1

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79259 --- Comment #1 from Martin Liška --- Author: marxin Date: Mon Jan 30 15:35:57 2017 New Revision: 245031 URL: https://gcc.gnu.org/viewcvs?rev=245031=gcc=rev Log: Fix profile corruption with -O1 (PR gcov-profile/79259) 2017-01-30 Martin Liska

[Bug target/70012] test case gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c fails

2017-01-30 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70012 --- Comment #6 from Bill Schmidt --- (In reply to Iain Sandoe from comment #5) > (In reply to Bill Schmidt from comment #4) > > Created attachment 40568 [details] > > Proposed patch > > > > Attaching proposed patch. Iain, would you be able to

[Bug bootstrap/78985] [7 Regression] profiledbootstrap failure by -Wuninitialized

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78985 --- Comment #13 from Martin Liška --- Author: marxin Date: Mon Jan 30 15:16:33 2017 New Revision: 245030 URL: https://gcc.gnu.org/viewcvs?rev=245030=gcc=rev Log: Fix aarch64 PGO bootstrap (bootstrap/78985) 2017-01-30 Martin Liska

[Bug target/79282] [7 Regresion] FAIL: gcc.target/arm/neon-for-64bits-1.c scan-assembler-times vshr 0

2017-01-30 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79282 --- Comment #1 from ktkachov at gcc dot gnu.org --- I think this is a problem with the di3_neon pattern in neon.md and in particular the neon_for_64bits/avoid_neon_for_64bits stuff in the arch attribute. I think the last two alternatives that

[Bug c++/79232] [7 Regression] error: invalid rhs for gimple memory store

2017-01-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79232 Jakub Jelinek changed: What|Removed |Added Attachment #40607|0 |1 is obsolete|

[Bug tree-optimization/77362] [6/7 Regression] [graphite] ICE in sese_build_liveouts_use w/ -O2 -floop-nest-optimize

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77362 --- Comment #6 from Martin Liška --- Created attachment 40623 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40623=edit Patch candidate The patch fixes issue, however I believe that PHI handling is in general broken in graphite since

[Bug tree-optimization/71142] [6/7 Regression] ICE: Segmentation fault in ssa_default_def (graphite)

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71142 --- Comment #9 from Martin Liška --- (In reply to Martin Liška from comment #8) > Started with r236440. Sorry, belongs to a different bug.

[Bug target/79260] [7 Regression] missing header files for plugins: arm-isa.h, arm-flags.h

2017-01-30 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79260 Richard Earnshaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/71351] [7 Regression] ICE: Segmentation fault (graphite)

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351 --- Comment #4 from Martin Liška --- Started with r236440.

[Bug target/79260] [7 Regression] missing header files for plugins: arm-isa.h, arm-flags.h

2017-01-30 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79260 --- Comment #2 from Richard Earnshaw --- Author: rearnsha Date: Mon Jan 30 14:39:50 2017 New Revision: 245029 URL: https://gcc.gnu.org/viewcvs?rev=245029=gcc=rev Log: PR target/79260 * config.gcc (arm*-*-*): Add arm/arm-flags.h

[Bug tree-optimization/71142] [6/7 Regression] ICE: Segmentation fault in ssa_default_def (graphite)

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71142 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #8

[Bug target/79260] [7 Regression] missing header files for plugins: arm-isa.h, arm-flags.h

2017-01-30 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79260 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug tree-optimization/79276] [7 Regression] ICE: Segmentation fault in VRP pass

2017-01-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79276 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/67288] [5/6/7 regression] non optimal simple function (useless additional shift/remove/shift/add)

2017-01-30 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67288 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comment

[Bug tree-optimization/79276] [7 Regression] ICE: Segmentation fault in VRP pass

2017-01-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79276 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon Jan 30 14:24:37 2017 New Revision: 245026 URL: https://gcc.gnu.org/viewcvs?rev=245026=gcc=rev Log: 2017-01-30 Richard Biener PR

[Bug fortran/79230] [7 Regression] [OOP] Run time error: double free or corruption

2017-01-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79230 --- Comment #22 from Dominique d'Humieres --- > > Finally rt_error --check radiation_generator failed with > > > > Running test: radiation_generator_1 > > Program received signal SIGSEGV: Segmentation fault - invalid memory > > reference. > >

[Bug tree-optimization/71824] [6/7 Regression] ICE when compiling libiberty with Graphite loop optimizations

2017-01-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71824 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #6

  1   2   >