[Bug middle-end/85344] Constant constraint check sign extends unsigned constant input operands

2018-04-11 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85344 --- Comment #3 from Thomas Preud'homme --- More worrying is that this code compiles without error when it should error out: void foo (void) { __asm( "%0" :: "J" ((unsigned char) 0x80)); }

[Bug middle-end/85344] Constant constraint check sign extends unsigned constant input operands

2018-04-11 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85344 --- Comment #2 from Thomas Preud'homme --- I have a patch, starting testing.

[Bug middle-end/85344] Constant constraint check sign extends unsigned constant input operands

2018-04-11 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85344 Thomas Preud'homme changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/85344] New: Constant constraint check sign extends unsigned constant input operands

2018-04-11 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85344 Bug ID: 85344 Summary: Constant constraint check sign extends unsigned constant input operands Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on

[Bug libstdc++/85343] New: Overload __throw_ios_failure to allow passing errno

2018-04-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85343 Bug ID: 85343 Summary: Overload __throw_ios_failure to allow passing errno Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #4 from Jakub Jelinek --- If you mean adding if (__builtin_constant_p (__B) && __B == 0) return __A; and similar to all the various intrinsics, then that is not the right thing to do, it will make the headers much larger and even the

[Bug target/85281] [8 Regression] Assembler messages: Error: operand size mismatch for `vpbroadcastb' with -mavx512bw -masm=intel

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

[Bug target/85281] [8 Regression] Assembler messages: Error: operand size mismatch for `vpbroadcastb' with -mavx512bw -masm=intel

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85281 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Apr 11 11:37:01 2018 New Revision: 259316 URL: https://gcc.gnu.org/viewcvs?rev=259316&root=gcc&view=rev Log: PR target/85281 * config/i386/sse.md (iptr): Add V16SFmode

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-04-11 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 Julia Koval changed: What|Removed |Added CC||julia.koval at intel dot com --- Comment #

[Bug rtl-optimization/84659] [6/7 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling

2018-04-11 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84659 Alexander Monakov changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amonakov at gcc dot gnu.org

[Bug rtl-optimization/84659] [6/7 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling

2018-04-11 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84659 --- Comment #4 from Alexander Monakov --- Author: amonakov Date: Wed Apr 11 10:48:42 2018 New Revision: 259314 URL: https://gcc.gnu.org/viewcvs?rev=259314&root=gcc&view=rev Log: fix PR 84659 references in ChangeLog files Modified: trunk/gcc

[Bug target/85342] New: [8 Regression] ICE: SIGSEGV in copyprop_hardreg_forward_1 (regcprop.c:995) with -O2 -mavx512vl

2018-04-11 Thread zsojka at seznam dot cz
/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-259308-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix gcc version 8.0.1 20180411 (experimental) (GCC)

[Bug target/85204] [nvptx] infinite loop generated

2018-04-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85204 Tom de Vries changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/85302] [8 Regression] ICE in size_of_loc_descr, at dwarf2out.c:1771 on i686-linux-gnu

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

[Bug rtl-optimization/85302] [8 Regression] ICE in size_of_loc_descr, at dwarf2out.c:1771 on i686-linux-gnu

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85302 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Wed Apr 11 10:22:36 2018 New Revision: 259311 URL: https://gcc.gnu.org/viewcvs?rev=259311&root=gcc&view=rev Log: PR debug/85302 * dwarf2out.c (skip_loc_list_entry): Don't

[Bug target/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 --- Comment #5 from Martin Liška --- Matthias can you please point to source files of the project? And can you please attach full preprocessed source file? Thanks.

[Bug target/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 --- Comment #4 from Martin Liška --- (In reply to Martin Liška from comment #3) > It's fishy as we have b::b that has create an alias to __ct_base: > > #0 symtab_node::create_reference (this= "__ct_comp "/2>, referred_node= "/4>, use_type=IPA_R

[Bug target/85328] [8 Regression] accessing ymm16 with non-avx512 instruction form

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85328 --- Comment #2 from Jakub Jelinek --- Created attachment 43907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43907&action=edit gcc8-pr85328.patch Many patterns rely on ix86_hard_regno_mode_ok not allowing < 512-bit vector modes in xmm16+

[Bug testsuite/85340] allocate_deferred_char_scalar_1.f03 dereferences null pointer

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

[Bug target/84041] [nvptx] Hang in for-3.c

2018-04-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84041 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85261] __builtin_arm_set_fpscr ICEs with constant input

2018-04-11 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85261 --- Comment #4 from Thomas Preud'homme --- Author: thopre01 Date: Wed Apr 11 10:07:25 2018 New Revision: 259310 URL: https://gcc.gnu.org/viewcvs?rev=259310&root=gcc&view=rev Log: [ARM] Fix PR85261: ICE with FPSCR setter builtin Instruction patt

[Bug target/84041] [nvptx] Hang in for-3.c

2018-04-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84041 --- Comment #6 from Tom de Vries --- (In reply to Tom de Vries from comment #4) > A conservative fix is to define the memory_barrier insn as membar.sys. Filed PR85341 - "[nvptx] Implement atomic load" to fix this more optimally.

[Bug target/85341] New: [nvptx] Implement atomic load

2018-04-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85341 Bug ID: 85341 Summary: [nvptx] Implement atomic load Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target

[Bug target/85203] cmse_nonsecure_caller intrinsic returns incorrect results

2018-04-11 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85203 --- Comment #3 from Thomas Preud'homme --- Author: thopre01 Date: Wed Apr 11 09:47:21 2018 New Revision: 259309 URL: https://gcc.gnu.org/viewcvs?rev=259309&root=gcc&view=rev Log: [ARM] Fix PR85203: cmse_nonsecure_caller returns wrong result __b

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-11 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #8 from Dmitry Vyukov --- Depending on how long the proper fix will take. If we are talking about, say, a week then I will just wait. We have to deal with hundreds of assorted kernel crashes all over the place anyway.

[Bug lto/85339] [8 Regression] With early LTO debug the early DWARF misses line-info

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

[Bug testsuite/85340] New: allocate_deferred_char_scalar_1.f03 dereferences null pointer

2018-04-11 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85340 Bug ID: 85340 Summary: allocate_deferred_char_scalar_1.f03 dereferences null pointer Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/85337] [GCOV] inconsistent coverage in swith-case statement

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85337 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-11 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #7 from chefmax at gcc dot gnu.org --- (In reply to Dmitry Vyukov from comment #6) > Right! > > Unpoisoning before restoring SP looks like a reasonable and simple solution > to me. I don't see any potential downsides. > > Do you mind

[Bug gcov-profile/85338] [GCOV] Type conversion leads to incorrect coverage in printf

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85338 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 --- Comment #20 from Richard Biener --- (In reply to Eric Botcazou from comment #18) > Created attachment 43906 [details] > Tentative fix v2 Looks good to me, aka OK if it passes whatever testing you think is sufficient.

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 --- Comment #19 from rguenther at suse dot de --- On Wed, 11 Apr 2018, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 > > --- Comment #17 from Eric Botcazou --- > > Yes, I said we need that anyway... >

[Bug target/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 Martin Liška changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment #3

[Bug lto/85339] New: [8 Regression] With early LTO debug the early DWARF misses line-info

2018-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85339 Bug ID: 85339 Summary: [8 Regression] With early LTO debug the early DWARF misses line-info Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: lto, wrong

[Bug gcov-profile/85338] New: [GCOV] Type conversion leads to incorrect coverage in printf

2018-04-11 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85338 Bug ID: 85338 Summary: [GCOV] Type conversion leads to incorrect coverage in printf Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 Eric Botcazou changed: What|Removed |Added Attachment #43893|0 |1 is obsolete|

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 --- Comment #17 from Eric Botcazou --- > Yes, I said we need that anyway... Well, you also said that you were OK for a single kludge in the middle-end, which seems rather contradictory with having half of it in the back-end.

[Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c`

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #3 from Jakub Jelinek --- (In reply to ktkachov from comment #2) > I think some of the arm tests could well be C tests rather than C++. So > maybe just renaming the file to *.c will be enough. > > For the ones that are truly C++ is t

[Bug tree-optimization/85331] [8 Regression] during GIMPLE pass, internal compiler error: Segmentation fault (-O1 and above)

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

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 --- Comment #16 from rguenther at suse dot de --- On Wed, 11 Apr 2018, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 > > --- Comment #15 from Eric Botcazou --- > > I think we do need to run dwarf2out_

[Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c`

2018-04-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #2 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #1) > gcc.target/arm/pr56184.C > gcc.target/arm/pr59985.C > gcc.target/arm/pr67989.C > gcc.target/arm/pr54300.C > gcc.target/arm/pr55073.C > gcc.target/s39

[Bug gcov-profile/85337] New: [GCOV] inconsistent coverage in swith-case statement

2018-04-11 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85337 Bug ID: 85337 Summary: [GCOV] inconsistent coverage in swith-case statement Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 --- Comment #15 from Eric Botcazou --- > I think we do need to run dwarf2out_early_finish for the FAT part > of the object file so please move this to dwarf2out_early_finish, > like for example with But then we also need the first kludge in the

[Bug tree-optimization/85330] -Os generates bigger code than -O2 due to disabled strlen pass

2018-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85330 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/85317] missing constant propagation on _mm(256)_movemask_*

2018-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85317 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85324] missing constant propagation on SSE/AVX conversion intrinsics

2018-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85324 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c`

2018-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85331] [8 Regression] during GIMPLE pass, internal compiler error: Segmentation fault (-O1 and above)

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85331 --- Comment #3 from Jakub Jelinek --- Created attachment 43905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43905&action=edit gcc8-pr85331.patch Untested fix.

[Bug target/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 Martin Liška changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #2 from Martin Liška ---

[Bug target/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 --- Comment #14 from rguenther at suse dot de --- On Wed, 11 Apr 2018, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 > > --- Comment #13 from Eric Botcazou --- > > Sure, that works for me. > > OK, so

[Bug tree-optimization/85315] missed range optimisation opportunity for derefences where index must be 0 or otherwise constrained

2018-04-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 --- Comment #6 from rguenther at suse dot de --- On Tue, 10 Apr 2018, msebor at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85315 > > --- Comment #5 from Martin Sebor --- > (In reply to rguent...@suse.de from comment

[Bug gcov-profile/85332] [GCOV] wrong coverage with do-while in swith-case statement

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85332 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gcov-profile/85333] [GCOV] Builtin function is wrongly marked as "-" in gcov

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85333 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gcov-profile/85336] [GCOV] wrong coverage for builtin functions and "||" logic operators in return statement

2018-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85336 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/85238] [8 Regression] lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 --- Comment #13 from Eric Botcazou --- > Sure, that works for me. OK, something like this is apparently sufficient: === --- cgraphunit.c(revision 259205) +++ cgraphunit.c

[Bug tree-optimization/85331] [8 Regression] during GIMPLE pass, internal compiler error: Segmentation fault (-O1 and above)

2018-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85331 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

<    1   2