[Bug target/81274] New: x86 optimizer emits unnecessary LEA instruction when using AVX intrinsics

2017-07-01 Thread cody at codygray dot com
behavior is exhibited by *all* versions of GCC that support AVX targeting, from at least 4.9.0 through the 8.0.0 (20170701). The code compiles warning-free, of course. See it live on Godbolt: https://godbolt.org/g/NDDgsA Actual Disassembly: --- foo:

[Bug target/81273] Wrong code generated for ARM setting volatile struct field with a literal

2017-07-01 Thread ldeboer at gateway dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81273 --- Comment #1 from LdB --- In above code the ARMTIMER cases should be TIMER not related to bug just cut and paste typo.

[Bug c/81273] New: Wrong code generated for ARM setting volatile struct field with a literal

2017-07-01 Thread ldeboer at gateway dot net.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81273 Bug ID: 81273 Summary: Wrong code generated for ARM setting volatile struct field with a literal Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: norma

[Bug fortran/80751] NULL pointer dereferencing in gfc_trans_call on compiling call to an elemental procedure (trunk 247930)

2017-07-01 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80751 --- Comment #4 from Vittorio Zecca --- I believe I answered your question. The NULL pointer dereferencing is still in trunk 249961

[Bug fortran/80751] NULL pointer dereferencing in gfc_trans_call on compiling call to an elemental procedure (trunk 247930)

2017-07-01 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80751 --- Comment #3 from Vittorio Zecca --- (In reply to Dominique d'Humieres from comment #1) > > This issue is exposed by adding a gcc_assert at trans-stmt.c:455 > > Could you please be more explicit about what you changed in trans-stmt.c and > why

[Bug c/66970] Add __has_builtin() macro

2017-07-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|jason at gcc dot

[Bug testsuite/57301] bit rotation is optimized in c but not c++

2017-07-01 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57301 Marc Glisse changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/41244] "&data[i] - data" isn't converted to "i"

2017-07-01 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41244 --- Comment #5 from Marc Glisse --- If we write &data[i] - &data[0] instead of &data[i] - data, we hit the special case in fold_binary_loc /* Fold &a[i] - &a[j] to i-j. */ which leads to fold_addr_of_array_ref_difference.

[Bug c/81272] New: libdecnumber/decNumber.c:6032: wrong condition ?

2017-07-01 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81272 Bug ID: 81272 Summary: libdecnumber/decNumber.c:6032: wrong condition ? Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/81271] New: gcc/cp/lex.c:116: wrong condition ?

2017-07-01 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271 Bug ID: 81271 Summary: gcc/cp/lex.c:116: wrong condition ? Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

[Bug sanitizer/81262] [8 Regression] verify_flow_info failed for asmgoto test-case with -fsanitize=undefined

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

[Bug ipa/81214] GCC target_clone support does not work for global functions with no references

2017-07-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81214 --- Comment #6 from Dominique d'Humieres --- At revision r249851 I see the following regression on darwin FAIL: gcc.target/i386/mvc6.c (test for excess errors) UNRESOLVED: gcc.target/i386/mvc6.c scan-assembler punpcklbw UNRESOLVED: gcc.target/i3

[Bug sanitizer/81262] [8 Regression] verify_flow_info failed for asmgoto test-case with -fsanitize=undefined

2017-07-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81262 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Sat Jul 1 10:11:16 2017 New Revision: 249866 URL: https://gcc.gnu.org/viewcvs?rev=249866&root=gcc&view=rev Log: PR sanitizer/81262 * bb-reorder.c (fix_up_fall_thru_edges)

[Bug fortran/80330] OpenACC: Unexpected data mapping instead of implicit firstprivate

2017-07-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80330 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/81262] [8 Regression] verify_flow_info failed for asmgoto test-case with -fsanitize=undefined

2017-07-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81262 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sat Jul 1 08:16:27 2017 New Revision: 249865 URL: https://gcc.gnu.org/viewcvs?rev=249865&root=gcc&view=rev Log: PR sanitizer/81262 * bb-reorder.c (fix_up_fall_thru_edges)

[Bug middle-end/80775] [8 Regression] -O3 produces ice in group_case_labels_stmt

2017-07-01 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80775 David Binderman changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---