[Bug tree-optimization/83221] [8 Regression] qsort comparator not anti-commutative: -2147483648, -2147483648

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83221 Richard Biener changed: What|Removed |Added Keywords||ice-checking, |

[Bug tree-optimization/83202] Try joining operations on consecutive array elements during tree vectorization

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 --- Comment #8 from Richard Biener --- Author: rguenth Date: Thu Nov 30 07:53:31 2017 New Revision: 255267 URL: https://gcc.gnu.org/viewcvs?rev=255267=gcc=rev Log: 2017-11-30 Richard Biener PR

[Bug tree-optimization/83202] Try joining operations on consecutive array elements during tree vectorization

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 --- Comment #9 from Richard Biener --- The last commit fixed the testcase incomment #1.

[Bug fortran/83224] New: creating character array from elements shorter than declared does not pad with whitespace properly and aborts

2017-11-29 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83224 Bug ID: 83224 Summary: creating character array from elements shorter than declared does not pad with whitespace properly and aborts Product: gcc Version: 6.4.0

[Bug target/80881] [7/8 Regression] null pointer access in libgomp.h

2017-11-29 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #13 from Liu Hao --- Native TLS requires essential support from LD, which I don't think is going to be available in foreseeable future. Without native TLS GCC tries to use emulated TLS, and if it generates code attempting to use the

[Bug target/80881] [7/8 Regression] null pointer access in libgomp.h

2017-11-29 Thread daniel.f.starke at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #12 from Daniel Starke --- I am not an expert on this field but your build does not use platform tls support as mine is supposed to do. Furthermore, I was building all under Windows. The only difference during the build process was

[Bug target/83100] [8 Regression] powerpc: internal compiler error: in get_variable_section, at varasm.c:1150 with -fdata-sections

2017-11-29 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83100 --- Comment #10 from ian at gcc dot gnu.org --- Author: ian Date: Thu Nov 30 05:03:29 2017 New Revision: 255266 URL: https://gcc.gnu.org/viewcvs?rev=255266=gcc=rev Log: compiler: don't make map zero value constant The map zero value is

[Bug libfortran/81937] stack-buffer-overflow on memcpy in libgfortran/io/unix.c on character(kind=4)

2017-11-29 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81937 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug target/80881] [7/8 Regression] null pointer access in libgomp.h

2017-11-29 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #11 from Liu Hao --- Diff'ing configure options used to build both GCC produces the following result: ``` E:\Desktop>gcc-7.1.0-debug-broken-tls\bin\gcc.exe -v 2>&1 | sed "s/ --/\n&/g" > yours.txt E:\Desktop>gcc -v 2>&1 | sed "s/

[Bug target/80881] [7/8 Regression] null pointer access in libgomp.h

2017-11-29 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #10 from Liu Hao --- Compiling this rather simple program using your gcc: ``` __thread int a = 1; int get_a(void){ return a; } ``` resulted in wrong assembly: ``` E:\Desktop\gcc-7.1.0-debug-broken-tls\bin>gcc E:\Desktop\test.c

[Bug c/83223] New: -fconserve-stack outlined code isn't dropped if it's logically unreachable

2017-11-29 Thread george.burgess.iv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83223 Bug ID: 83223 Summary: -fconserve-stack outlined code isn't dropped if it's logically unreachable Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity:

[Bug c/83222] [ 8 regression] Inconsistent "initializer element is not constant" error

2017-11-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 Ian Lance Taylor changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c/83222] [ 8 regression] Inconsistent "initializer element is not constant" error

2017-11-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Target Milestone|---

[Bug c/83222] New: [ 8 regression] Inconsistent "initializer element is not constant" error

2017-11-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 Bug ID: 83222 Summary: [ 8 regression] Inconsistent "initializer element is not constant" error Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug target/83156] [8 regression] gcc.target/i386/pr82361-1.c fail

2017-11-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83156 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Wed Nov 29 22:42:37 2017 New Revision: 255260 URL: https://gcc.gnu.org/viewcvs?rev=255260=gcc=rev Log: combine: Do not throw away unneeded arms of parallels (PR83156) The fix for

[Bug rtl-optimization/82621] [6/7 Regression] wrong code with -Og -fgcse -fweb

2017-11-29 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82621 --- Comment #11 from Segher Boessenkool --- Author: segher Date: Wed Nov 29 22:42:37 2017 New Revision: 255260 URL: https://gcc.gnu.org/viewcvs?rev=255260=gcc=rev Log: combine: Do not throw away unneeded arms of parallels (PR83156) The fix for

[Bug tree-optimization/83216] [8 regression] FAIL: gcc.dg/graphite/interchange-3.c

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug tree-optimization/83176] [8 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83176 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4

[Bug tree-optimization/82819] [8 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82819 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug tree-optimization/81018] [8 regression] gfortran.dg/graphite/pr14741.f90 FAILs

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81018 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization

2017-11-29 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 --- Comment #10 from Vladimir Makarov --- Author: vmakarov Date: Wed Nov 29 22:19:25 2017 New Revision: 255258 URL: https://gcc.gnu.org/viewcvs?rev=255258=gcc=rev Log: 2017-11-29 Vladimir Makarov PR

[Bug ipa/82808] [7/8 Regression] LTO clone wrong value

2017-11-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82808 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/82808] [7/8 Regression] LTO clone wrong value

2017-11-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82808 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Wed Nov 29 22:13:34 2017 New Revision: 255256 URL: https://gcc.gnu.org/viewcvs?rev=255256=gcc=rev Log: Be conservative with arithmetic jmp-function types 2017-11-29 Martin Jambor

[Bug c++/82293] [8 Regression] ICE in nonlambda_method_basetype at gcc/cp/lambda.c:886

2017-11-29 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82293 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/82293] [8 Regression] ICE in nonlambda_method_basetype at gcc/cp/lambda.c:886

2017-11-29 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82293 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Nov 29 21:54:18 2017 New Revision: 255254 URL: https://gcc.gnu.org/viewcvs?rev=255254=gcc=rev Log: /cp 2017-11-29 Paolo Carlini PR

[Bug fortran/82606] [PDT] ICE in gfc_extract_int, at fortran/expr.c:641

2017-11-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 --- Comment #8 from Dominique d'Humieres --- > Created attachment 42746 [details] > A fix for the problem This fix the test in comment 0, but not the one in comment 1.

[Bug c++/82760] Incorrect code generated for aligned new

2017-11-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Nov 29 21:01:23 2017 New Revision: 255253 URL: https://gcc.gnu.org/viewcvs?rev=255253=gcc=rev Log: PR c++/82760 - memory corruption with aligned new. * call.c

[Bug fortran/82605] [PDT] ICE in insert_parameter_exprs, at fortran/decl.c:3154

2017-11-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82605 --- Comment #4 from Dominique d'Humieres --- > Created attachment 42743 [details] > A fix for the problem > > With the attached patch, now produces the error: The patch works as expected. > Error: The object ‘x’ at (1) has a deferred LEN

[Bug libstdc++/83120] [8 Regression] ext/special_functions/hyperg failure on AIX

2017-11-29 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83120 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug tree-optimization/83221] New: qsort comparator not anti-commutative: -2147483648, -2147483648

2017-11-29 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83221 Bug ID: 83221 Summary: qsort comparator not anti-commutative: -2147483648, -2147483648 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2017-11-29 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #34 from Jan Hubicka --- > So gcc loses on mt19937ar.c without -mno-avx2 > But gcc wins big on matrix.c, especially with -mprefer-vector-width=none > -mno-fma It is because llvm does not use vgather at all unless avx512 is present.

[Bug bootstrap/83096] Bootstrap on darwin x86_64-apple-darwin15.6.0 (revision 254990) fails

2017-11-29 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83096 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/81470] [8 Regression] Bootstrap comparison failures in gcc/ada

2017-11-29 Thread hainque at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81470 --- Comment #10 from Olivier Hainque --- Created attachment 42747 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42747=edit [patch] don't emit .cfi_personality/.cfi_lsda for !dwarf2 eh We had a patch for something of this kind we had

[Bug c/83220] New: modification of a global register variable while the function only reads from it

2017-11-29 Thread stefan at potyra dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83220 Bug ID: 83220 Summary: modification of a global register variable while the function only reads from it Product: gcc Version: unknown Status: UNCONFIRMED

[Bug other/83219] New: [8 regression] c-c++-common/ubsan/unreachable-2.c fails starting with r255201

2017-11-29 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83219 Bug ID: 83219 Summary: [8 regression] c-c++-common/ubsan/unreachable-2.c fails starting with r255201 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug fortran/83218] gforttran command fails to compile if fortran file is present inside folder "%+@"

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

[Bug fortran/83218] New: gforttran command fails to compile if fortran file is present inside folder "%+@"

2017-11-29 Thread sanket.karnik.s at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83218 Bug ID: 83218 Summary: gforttran command fails to compile if fortran file is present inside folder "%+@" Product: gcc Version: 6.3.0 Status: UNCONFIRMED

[Bug testsuite/83131] c-c++/common/attr-nonstring-3 failure for strcmp tests on PowerPC

2017-11-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83131 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/83195] [8 regression] pr82929.c scan for "Merging successful" fail

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

[Bug tree-optimization/83195] [8 regression] pr82929.c scan for "Merging successful" fail

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83195 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Nov 29 17:38:54 2017 New Revision: 255247 URL: https://gcc.gnu.org/viewcvs?rev=255247=gcc=rev Log: PR tree-optimization/83195 * gcc.dg/pr82929.c: Don't check for

[Bug fortran/82606] [PDT] ICE in gfc_extract_int, at fortran/expr.c:641

2017-11-29 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug c++/83217] New: Compiler segfault: structured binding by reference to a templated type via a pointer

2017-11-29 Thread emadwilliam92 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 Bug ID: 83217 Summary: Compiler segfault: structured binding by reference to a templated type via a pointer Product: gcc Version: 7.2.0 Status: UNCONFIRMED

[Bug debug/83199] [8 Regression] FAIL: gdb.base/async.exp & gdb.base/skip.exp

2017-11-29 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199 --- Comment #6 from Jan Kratochvil --- The Comment 5 binaries SEGV and do not start on Fedora 26 armv7l. But I do not see some wrong DWARF there. (In reply to Jan Kratochvil from comment #3) > Addresses are missing when the function is inlined.

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2017-11-29 Thread andrewm.roberts at sky dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #33 from Andrew Roberts --- That second llvm command line should read: /usr/local/llvm-5.0.1-rc2/bin/clang -march=znver1 -mtune=znver1 -Ofast mt19937ar.c -o mt19937ar

[Bug target/83210] __builtin_mul_overflow() generates suboptimal code when exactly one argument is the constant 2

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

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2017-11-29 Thread andrewm.roberts at sky dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #32 from Andrew Roberts --- For what its worth, here's what the latest and greatest from the competition has to offer: /usr/local/llvm-5.0.1-rc2/bin/clang -march=znver1 -mtune=znver1 -O3 matrix.c -o matrix mult took

[Bug c++/82760] Incorrect code generated for aligned new

2017-11-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug testsuite/83131] c-c++/common/attr-nonstring-3 failure for strcmp tests on PowerPC

2017-11-29 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83131 --- Comment #2 from seurer at gcc dot gnu.org --- The new test case was added in r255031. Here are the warnings it is complaining about: spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/

[Bug target/80881] [7/8 Regression] null pointer access in libgomp.h

2017-11-29 Thread daniel.f.starke at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #9 from Daniel Starke --- This was a native build. I have added the GCC build in question to https://sourceforge.net/projects/gcc-win64/files/7.1.0/gcc-7.1.0-debug-broken-tls.7z

[Bug tree-optimization/83216] [8 regression] FAIL: gcc.dg/graphite/interchange-3.c

2017-11-29 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 --- Comment #5 from rguenther at suse dot de --- On November 29, 2017 4:35:12 PM GMT+01:00, "thopre01 at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 > >--- Comment #3 from Thomas

[Bug tree-optimization/83073] Range for VR_VARYING | [1, 1]

2017-11-29 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83073 --- Comment #3 from Marc Glisse --- (In reply to Richard Biener from comment #2) > The "proper" result for [MIN,MAX] | 1 is of course a set of every odd > number... Sadly, while we track may-be-nonzero bits in CCP (maybe with the VRP reorg

[Bug tree-optimization/83216] [8 regression] FAIL: gcc.dg/graphite/interchange-3.c

2017-11-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 --- Comment #4 from Dominique d'Humieres --- For x86_64-pc-linux-gnu I see FAIL: gcc.dg/stack-layout-dynamic-1.c scan-assembler-not cfi_def_cfa_register FAIL: gcc.dg/graphite/interchange-3.c scan-tree-dump graphite "tiled" FAIL:

[Bug tree-optimization/83216] [8 regression] FAIL: gcc.dg/graphite/interchange-3.c

2017-11-29 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 --- Comment #3 from Thomas Preud'homme --- (In reply to Richard Biener from comment #2) > Can't reproduce > > What ISL version are you using? ISL 0.15. Also my apologies but I haven't tried on Arm Cortex-M7 yet actually, typed it in as a

[Bug tree-optimization/83216] [8 regression] FAIL: gcc.dg/graphite/interchange-3.c

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/83216] [8 regression] FAIL: gcc.dg/graphite/interchange-3.c

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #1 from Richard Biener

[Bug middle-end/83215] C++: struct with char-array assumed to alias with everything

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83215 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers

2017-11-29 Thread mgulick at mathworks dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173 --- Comment #2 from Mike Gulick --- I have made some progress in determining the cause of this bug. This issue occurs when the current source_location is > LINE_MAP_MAX_LOCATION_WITH_COLS and when a #include is the last line in the file (with a

[Bug tree-optimization/83073] Range for VR_VARYING | [1, 1]

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83073 --- Comment #2 from Richard Biener --- So for VARYING | 1 we go using the may_be_nonzero stuff in else if (code == BIT_IOR_EXPR) { max = wide_int_to_tree (expr_type, may_be_nonzero0 |

[Bug tree-optimization/83216] New: [8 regression] FAIL: gcc.dg/graphite/interchange-3.c

2017-11-29 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83216 Bug ID: 83216 Summary: [8 regression] FAIL: gcc.dg/graphite/interchange-3.c Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/83213] [8 Regression] peephole bug with -O2

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83213 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/83202] Try joining operations on consecutive array elements during tree vectorization

2017-11-29 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 --- Comment #7 from rguenther at suse dot de --- On Wed, 29 Nov 2017, bugzi...@poradnik-webmastera.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 > > --- Comment #4 from Daniel Fruzynski ---

[Bug tree-optimization/83202] Try joining operations on consecutive array elements during tree vectorization

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 --- Comment #6 from Richard Biener --- There are multiple issues reflected in this bug. The last commit addressed the SLP cost model thing (not fixing any testcase on its own).

[Bug tree-optimization/83202] Try joining operations on consecutive array elements during tree vectorization

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Nov 29 14:38:06 2017 New Revision: 255233 URL: https://gcc.gnu.org/viewcvs?rev=255233=gcc=rev Log: 2017-11-29 Richard Biener PR

[Bug c++/83205] ICE on structured binding with ill-formed negative std::tuple_size::value

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83205 --- Comment #1 from Jakub Jelinek --- Created attachment 42744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42744=edit gcc8-pr83205.patch Untested fix.

[Bug middle-end/83215] C++: struct with char-array assumed to alias with everything

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83215 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/82605] [PDT] ICE in insert_parameter_exprs, at fortran/decl.c:3154

2017-11-29 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82605 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug c++/83205] ICE on structured binding with ill-formed negative std::tuple_size::value

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83205 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/83202] Try joining operations on consecutive array elements during tree vectorization

2017-11-29 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 --- Comment #4 from Daniel Fruzynski --- One more case. Code has to process diagonal half of matrix and uses SSE intrinsics - see test1() below. When n is constant like in test2() below, gcc unrolls loops.

[Bug middle-end/83215] New: C++: struct with char-array assumed to alias with everything

2017-11-29 Thread dominik.infuehr at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83215 Bug ID: 83215 Summary: C++: struct with char-array assumed to alias with everything Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/83213] [8 Regression] peephole bug with -O2

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83213 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Target|

[Bug gcov-profile/83214] [8 regression] FAIL: g++.dg/gcov/gcov-8.C -std=gnu++11 gcov failed

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83214 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/83187] [8 regression] internal compiler error: in get_alias_set, at alias.c:923

2017-11-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83187 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83187] [8 regression] internal compiler error: in get_alias_set, at alias.c:923

2017-11-29 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83187 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Wed Nov 29 13:22:44 2017 New Revision: 255231 URL: https://gcc.gnu.org/viewcvs?rev=255231=gcc=rev Log: [PATCH] complex type canonicalization

[Bug c++/83205] ICE on structured binding with ill-formed negative std::tuple_size::value

2017-11-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83205 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80881] [7/8 Regression] null pointer access in libgomp.h

2017-11-29 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #8 from Liu Hao --- I cannot reproduce this problem on either i686-w64-mingw32 or x86_64-w64-mingw32 with --enable-tls. On line 677 in libgomp.h there is a call to `gomp_thread()` which is supposed to return a pointer to a __thread

[Bug gcov-profile/83214] [8 regression] FAIL: g++.dg/gcov/gcov-8.C -std=gnu++11 gcov failed

2017-11-29 Thread sudi.das at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83214 --- Comment #1 from Sudakshina Das --- Sorry I am bit confused with this. Not failing anymore on my bootstrapped build from trunk this morning!

[Bug debug/83199] [8 Regression] FAIL: gdb.base/async.exp & gdb.base/skip.exp

2017-11-29 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199 --- Comment #5 from Thomas Preud'homme --- Created attachment 42742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42742=edit Executable async and skip produced by GCC trunk

[Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf)

2017-11-29 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Version|8.0

[Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf)

2017-11-29 Thread andrewm.roberts at sky dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206 --- Comment #3 from Andrew Roberts --- ok confirmed, this bug is still present on the gcc-7 branch, with the current snapshot: /usr/local/gcc-7.2.1/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc-7.2.1/bin/gcc

[Bug tree-optimization/83202] Try joining operations on consecutive array elements during tree vectorization

2017-11-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202 --- Comment #3 from Richard Biener --- For the other case the issue is I think that the SLP instance group size is not the number of scalar stmts but somehow set to the group-size. Changing that has quite some ripple-down effects though. ->

[Bug middle-end/83185] [8 Regression] ICE with -fsanitize=address in build_simple_mem_ref_loc, at tree.c:4696

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83185 --- Comment #6 from Jakub Jelinek --- Started with r250031 btw.

[Bug gcov-profile/83214] New: [8 regression] FAIL: g++.dg/gcov/gcov-8.C -std=gnu++11 gcov failed

2017-11-29 Thread sudi.das at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83214 Bug ID: 83214 Summary: [8 regression] FAIL: g++.dg/gcov/gcov-8.C -std=gnu++11 gcov failed Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/80929] [6/7/8 Regression] Division with constant no more optimized to mult highpart

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 --- Comment #11 from Jakub Jelinek

[Bug middle-end/83185] [8 Regression] ICE with -fsanitize=address in build_simple_mem_ref_loc, at tree.c:4696

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

[Bug target/83210] __builtin_mul_overflow() generates suboptimal code when exactly one argument is the constant 2

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83210 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c/83213] peephole bug with -O2

2017-11-29 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83213 --- Comment #1 from David Binderman --- Bug seems to occur between revisions 253840 and 253974.

[Bug middle-end/83185] [8 Regression] ICE with -fsanitize=address in build_simple_mem_ref_loc, at tree.c:4696

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83185 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Nov 29 10:33:06 2017 New Revision: 255229 URL: https://gcc.gnu.org/viewcvs?rev=255229=gcc=rev Log: PR middle-end/83185 * tree.c (build_simple_mem_ref_loc): Handle

[Bug middle-end/80929] [6/7/8 Regression] Division with constant no more optimized to mult highpart

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Wed Nov 29 10:31:36 2017 New Revision: 255228 URL: https://gcc.gnu.org/viewcvs?rev=255228=gcc=rev Log: PR middle-end/80929 * rtlanal.c (seq_cost): For non-single_set

[Bug fortran/83209] [7/8 Regression] Failure of allocation of a coarray with a pointer component

2017-11-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83209 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug c/83213] New: peephole bug with -O2

2017-11-29 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83213 Bug ID: 83213 Summary: peephole bug with -O2 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug debug/83199] [8 Regression] FAIL: gdb.base/async.exp & gdb.base/skip.exp

2017-11-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/83211] New: Warning: ignoring incorrect section type for .init_array.00200

2017-11-29 Thread rdiezmail-gcc at yahoo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83211 Bug ID: 83211 Summary: Warning: ignoring incorrect section type for .init_array.00200 Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal

[Bug debug/83199] [8 Regression] FAIL: gdb.base/async.exp & gdb.base/skip.exp

2017-11-29 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat dot com ---

[Bug target/83210] __builtin_mul_overflow() generates suboptimal code when exactly one argument is the constant 2

2017-11-29 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83210 --- Comment #4 from Liu Hao --- (In reply to Andrew Pinski from comment #2) > (res >> 3) != src; > > Why not just (src>>(sizeof (res)*8-3))!=0. > > Seems shorter and might be faster. What if the second operand is not a power of 2? `(res * 5 /

[Bug target/83208] [arm-linux-gnueabi-gcc] wrong code at optimization level -O2 and -O3 for union assignment

2017-11-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83208 --- Comment #3 from ktkachov at gcc dot gnu.org --- The testcase is "fixed" by using -fno-strict-aliasing. In this example pointers c and d alias each other, they are of incompatible types and they are both dereferenced, so the testcase has

[Bug target/83210] __builtin_mul_overflow() generates suboptimal code when exactly one argument is the constant 2

2017-11-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83210 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > (res >> 3) != src; > > Why not just (src>>(sizeof (res)*8-3))!=0. > > Seems shorter and might be faster. And for the original case Src>>31!=0 Just becomes

[Bug target/83210] __builtin_mul_overflow() generates suboptimal code when exactly one argument is the constant 2

2017-11-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83210 --- Comment #2 from Andrew Pinski --- (res >> 3) != src; Why not just (src>>(sizeof (res)*8-3))!=0. Seems shorter and might be faster.

[Bug target/83208] [arm-linux-gnueabi-gcc] wrong code at optimization level -O2 and -O3 for union assignment

2017-11-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83208 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/83210] __builtin_mul_overflow() generates suboptimal code when exactly one argument is the constant 2

2017-11-29 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83210 --- Comment #1 from Liu Hao --- FWIW, it can still be improved when the constant is something other than 2. For example: ``` bool mul_8_and_check(unsigned *dst, unsigned src){ return __builtin_mul_overflow(src, 8, dst); } ``` can be

[Bug debug/83199] [8 Regression] FAIL: gdb.base/async.exp & gdb.base/skip.exp

2017-11-29 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199 --- Comment #2 from Thomas Preud'homme --- (In reply to Richard Biener from comment #1) > Are we sure this is not gdbs fault? GDB version was fixed when I did my bisect. That said, I don't know what sort of change happened in DWARF so it may

  1   2   >