[Bug middle-end/90549] missing -Wreturn-local-addr maybe returning an address of a local array plus offset

2019-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90549 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2019-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 90549, which changed state. Bug 90549 Summary: missing -Wreturn-local-addr maybe returning an address of a local array plus offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90549 What|Removed

[Bug other/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2019-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 71924, which changed state. Bug 71924 Summary: missing -Wreturn-local-addr returning alloca result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71924 What|Removed |Added

[Bug c/71924] missing -Wreturn-local-addr returning alloca result

2019-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71924 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/64867] split warning for passing non-POD to varargs function from -Wconditionally-supported into new warning flag, -Wnon-pod-varargs

2019-07-08 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 Eric Gallager changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug middle-end/90549] missing -Wreturn-local-addr maybe returning an address of a local array plus offset

2019-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90549 --- Comment #5 from Martin Sebor --- Author: msebor Date: Tue Jul 9 04:15:42 2019 New Revision: 273261 URL: https://gcc.gnu.org/viewcvs?rev=273261=gcc=rev Log: PR middle-end/71924 - missing -Wreturn-local-addr returning alloca result PR

[Bug c/71924] missing -Wreturn-local-addr returning alloca result

2019-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71924 --- Comment #6 from Martin Sebor --- Author: msebor Date: Tue Jul 9 04:15:42 2019 New Revision: 273261 URL: https://gcc.gnu.org/viewcvs?rev=273261=gcc=rev Log: PR middle-end/71924 - missing -Wreturn-local-addr returning alloca result PR

[Bug target/91103] AVX512 vector element extract uses more than 1 shuffle instruction; VALIGND can grab any element

2019-07-08 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91103 --- Comment #4 from Peter Cordes --- We should not put any stock in what ICC does for GNU C native vector indexing. I think it doesn't know how to optimize that because it *always* spills/reloads even for `vec[0]` which could be a no-op. And

[Bug c++/91118] New: ubsan does not work with openmp default (none) directive

2019-07-08 Thread alan.avbs at rocketmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91118 Bug ID: 91118 Summary: ubsan does not work with openmp default (none) directive Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/91117] New: _mm_movpi64_epi64/_mm_movepi64_pi64 generating store+load instead of using MOVQ2DQ/MOVDQ2Q

2019-07-08 Thread wolfwings+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91117 Bug ID: 91117 Summary: _mm_movpi64_epi64/_mm_movepi64_pi64 generating store+load instead of using MOVQ2DQ/MOVDQ2Q Product: gcc Version: 9.1.0 Status: UNCONFIRMED

[Bug c++/91110] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in cp_omp_mappable_type_1, at cp/decl2.c:1421

2019-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91110 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Jul 8 22:08:27 2019 New Revision: 273248 URL: https://gcc.gnu.org/viewcvs?rev=273248=gcc=rev Log: PR c++/91110 * decl2.c (cp_omp_mappable_type_1): Don't emit any

[Bug c++/61339] add mismatch between struct and class [-Wmismatched-tags] to non-bugs

2019-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61339 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #11 from Martin Sebor

[Bug target/91116] New: bad register choices for rs6000 -m32

2019-07-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91116 Bug ID: 91116 Summary: bad register choices for rs6000 -m32 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/88233] combine fails to merge insns leaving unneeded reg copies

2019-07-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88233 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Mon Jul 8 20:38:46 2019 New Revision: 273245 URL: https://gcc.gnu.org/viewcvs?rev=273245=gcc=rev Log: rs6000: Add testcase for PR88233 This testcase tests that with -mcpu=power8

[Bug c++/91073] [9/10 Regression] if constexpr no longer works directly with Concepts

2019-07-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073 --- Comment #2 from Paolo Carlini --- In principle the issue is rather simple. The cp_parser_maybe_commit_to_declaration at the beginning of cp_parser_condition since r260482 thinks erroneously that the just parsed HasInit must be a declaration.

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-07-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 --- Comment #2 from Christophe Lyon --- Removing the test*() calls from the end, the first failing one is testX(). However, if I remove all the preceding ones, the test passes. Using -fwhole-program instead of -flto has no effect: the test

[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

2019-07-08 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #64 from dave.anglin at bell dot net --- On 2019-07-08 2:51 p.m., elowe at elowe dot com wrote: > I made a very simple change: > > --- ia64.c.orig 2019-07-08 14:43:33 + > +++ ia64.c 2019-07-05 16:46:24 + > @@ -1137,7

[Bug sanitizer/91115] stack-buffer-overflow on memset local variable when creating thread on ARM Linux

2019-07-08 Thread fhsueh at roku dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91115 --- Comment #1 from Fred Hsueh --- Created attachment 46580 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46580=edit Fixup memory location of shadow This shadow location works better than the 32-bit default.

[Bug sanitizer/91115] New: stack-buffer-overflow on memset local variable when creating thread on ARM Linux

2019-07-08 Thread fhsueh at roku dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91115 Bug ID: 91115 Summary: stack-buffer-overflow on memset local variable when creating thread on ARM Linux Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

2019-07-08 Thread elowe at elowe dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #63 from EML --- Sorry, I didn't undo the patch completely. I made a very simple change: --- ia64.c.orig 2019-07-08 14:43:33 + +++ ia64.c 2019-07-05 16:46:24 + @@ -1137,7 +1137,7 @@ emit_insn (gen_load_fptr (dest,

[Bug tree-optimization/91114] New: [10 Regression] ICE in vect_analyze_loop, at tree-vect-loop.c:2415

2019-07-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91114 Bug ID: 91114 Summary: [10 Regression] ICE in vect_analyze_loop, at tree-vect-loop.c:2415 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/91010] ICE: Segmentation fault (in location_wrapper_p)

2019-07-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91010 --- Comment #4 from Arseny Solokha --- Can this PR be closed now?

[Bug rtl-optimization/88233] combine fails to merge insns leaving unneeded reg copies

2019-07-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88233 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Mon Jul 8 17:35:12 2019 New Revision: 273240 URL: https://gcc.gnu.org/viewcvs?rev=273240=gcc=rev Log: subreg: Add -fsplit-wide-types-early (PR88233) Currently the second

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 Wilco changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #39 from Wilco --- Author: wilco Date: Mon Jul 8 17:02:35 2019 New Revision: 273238 URL: https://gcc.gnu.org/viewcvs?rev=273238=gcc=rev Log: Turn of ipa-ra in builtins test (PR91059) The gcc.c-torture/execute/builtins/lib

[Bug c/91092] Error on implicit function declarations by default

2019-07-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 --- Comment #5 from Wilco --- Author: wilco Date: Mon Jul 8 17:02:35 2019 New Revision: 273238 URL: https://gcc.gnu.org/viewcvs?rev=273238=gcc=rev Log: Turn of ipa-ra in builtins test (PR91059) The gcc.c-torture/execute/builtins/lib directory

[Bug testsuite/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/78529] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 Richard Biener changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

2019-07-08 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #62 from dave.anglin at bell dot net --- On 2019-07-08 12:22 p.m., elowe at elowe dot com wrote: > When I remove that gprel patch - the 64bit stage 1 compiler is able to compile > hello world, islower, as well as all the other

[Bug testsuite/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 --- Comment #3 from Wilco --- Confirmed it's the same memset register corruption issue. The fix is trivial: add -fno-ipa-ra.

[Bug c/91092] Error on implicit function declarations by default

2019-07-08 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #11

[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

2019-07-08 Thread elowe at elowe dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #61 from EML --- Sorry, perhaps I have confused the situation. I have already patched my compiler to remove the gprel in both 32 and 64. That gprel patch breaks things in both 32 and 64. I'm reasonably convinced the patch is wrong

[Bug c/89072] -Wall -Werror should be defaults

2019-07-08 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #2

[Bug target/61577] [4.9.0] can't compile on hp-ux v3 ia64

2019-07-08 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #60 from dave.anglin at bell dot net --- On 2019-07-08 12:07 a.m., elowe at elowe dot com wrote: > If you insert the addp4 r14 = 0,r14 before that command (like gcc 4.9.3 does), > the program compiles and runs correctly It would be

[Bug c/91113] New: add declare_simd_variant attribute support

2019-07-08 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91113 Bug ID: 91113 Summary: add declare_simd_variant attribute support Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #16 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #15) > Seems systemd abuses compound literals even in cases where they make no > sense, perhaps one of those in a short function like that is no longer > optimized

[Bug target/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #2 from

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #15 from Jakub Jelinek --- Seems systemd abuses compound literals even in cases where they make no sense, perhaps one of those in a short function like that is no longer optimized away completely and that is why it triggers all the

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #13 from Martin Liška --- And the stack difference is: Before: ;; Function categorize_eol (categorize_eol, funcdef_no=127, decl_uid=8513, cgraph_uid=127, symbol_order=127) categorize_eol (char c, ReadLineFlags flags) { _Bool

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #12 from Martin Liška --- So the suspected allocation that happens is: #0 0x7723abb2 in __asan::FakeStack::Allocate (real_stack=140737488344072, class_id=0, stack_size_log=20, this=0x725f7000) at

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #11 from Martin Liška --- If I apply the following patch: diff --git a/libsanitizer/asan/asan_fake_stack.cc b/libsanitizer/asan/asan_fake_stack.cc index 3140f9a2aeb..2034769161e 100644 --- a/libsanitizer/asan/asan_fake_stack.cc +++

[Bug c++/91112] [8 Regression] Bad error message for virtual function of a template class. Wrong "required from here" line number

2019-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91112 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #10 from Martin Liška --- The issue is that __asan_stack_malloc_0 function is very high in perf profile: # Overhead Command Shared Object Symbol # ...

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #9 from Martin Liška --- Started with r259641.

[Bug target/90712] [10 regression] gcc.dg/rtl/aarch64/subs_adds_sp.c fails with ICE

2019-07-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90712 Wilco changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libfortran/91030] Poor performance of I/O -fconvert=big-endian

2019-07-08 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91030 --- Comment #39 from Janne Blomqvist --- Now, with the fixed benchmark in the previous comment, on Lustre (version 2.5) system I get: Test using 25000 bytes Block size of file system: 4096 bs = 1024, 53.27 MiB/s bs = 2048, 73.99

[Bug libfortran/91030] Poor performance of I/O -fconvert=big-endian

2019-07-08 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91030 --- Comment #38 from Janne Blomqvist --- First, I think there's a bug in the benchmark in comment #c20. It writes blocksize * sizeof(double), but then advances only blocksize for each iteration of the loop. Fixed version writing just bytes

[Bug c++/91112] New: Bad error message for virtual function of a template class. Wrong "required from here" line number

2019-07-08 Thread ivan.kharpalev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91112 Bug ID: 91112 Summary: Bad error message for virtual function of a template class. Wrong "required from here" line number Product: gcc Version: 8.1.0 Status: UNCONFIRMED

[Bug lto/90990] [10 Regression] ICE: error: ‘component_ref’ LHS in clobber statement

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90990 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/91059] [10 regression] gcc.c-torture/execute/builtins/snprintf-chk.c fails on aarch64-elf since r272843

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91059 Richard Biener changed: What|Removed |Added Component|tree-optimization |target --- Comment #1 from Richard

[Bug tree-optimization/83518] [8/9 Regression] Missing optimization: useless instructions should be dropped

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83518 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/91108] [8/9/10 Regression] Fails to pun through unions

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91108 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Jul 8 11:48:48 2019 New Revision: 273233 URL: https://gcc.gnu.org/viewcvs?rev=273233=gcc=rev Log: 2019-07-08 Richard Biener PR tree-optimization/91108 *

[Bug tree-optimization/91108] [8/9/10 Regression] Fails to pun through unions

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91108 --- Comment #2 from Richard Biener --- Author: rguenth Date: Mon Jul 8 11:46:26 2019 New Revision: 273232 URL: https://gcc.gnu.org/viewcvs?rev=273232=gcc=rev Log: 2019-07-08 Richard Biener PR tree-optimization/91108 *

[Bug c/91107] __attribute__((pure)) to function with non-const pointers

2019-07-08 Thread colomar.6.4.3 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91107 --- Comment #2 from Alejandro Colomar --- Technically it can modify globals as long as that doesn't affect the state of the program, but in this case it is affecting the state of the program, so it isn't a pure function. Fair enough, then the

[Bug c/91107] __attribute__((pure)) to function with non-const pointers

2019-07-08 Thread colomar.6.4.3 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91107 --- Comment #2 from Alejandro Colomar --- Technically it can modify globals as long as that doesn't affect the state of the program, but in this case it is affecting the state of the program, so it isn't a pure function. Fair enough, then the

[Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT

2019-07-08 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84877 --- Comment #19 from dave.anglin at bell dot net --- On 2019-07-07 8:39 p.m., amylaar at gcc dot gnu.org wrote: > It seems suspicious that PREFERRED_STACK_BOUNDARY is smaller for TARGET_64BIT > ? That's the way HP defined things.  The preferred

[Bug c++/91110] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in cp_omp_mappable_type_1, at cp/decl2.c:1421

2019-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91110 --- Comment #2 from Jakub Jelinek --- Created attachment 46579 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46579=edit gcc10-pr91110.patch error_mark_node type doesn't have TYPE_MAIN_DECL, but more importantly, error_mark_node on a type

[Bug inline-asm/91111] arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm

2019-07-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target||aarch64

[Bug c++/91110] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in cp_omp_mappable_type_1, at cp/decl2.c:1421

2019-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91110 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/91102] [9/10 Regression] aarch64 ICE on Linux kernel with -Os starting with r270266

2019-07-08 Thread stefan.kneifel at bluewin dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91102 --- Comment #6 from Stefan Kneifel --- It seems to fix the bug - at least the original problem (ICE during compiling Linux kernel for aarch64 with -Os) is solved by this patch.

[Bug inline-asm/91111] New: arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm

2019-07-08 Thread will.deacon at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 Bug ID: 9 Summary: arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug target/91103] AVX512 vector element extract uses more than 1 shuffle instruction; VALIGND can grab any element

2019-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91103 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug c++/91110] New: [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in cp_omp_mappable_type_1, at cp/decl2.c:1421

2019-07-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91110 Bug ID: 91110 Summary: [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in cp_omp_mappable_type_1, at cp/decl2.c:1421 Product: gcc

[Bug target/91106] internal compiler error: output_operand: invalid use of register 'frame'

2019-07-08 Thread gsocshubham at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91106 --- Comment #2 from Shubham Narlawar --- (In reply to Richard Biener from comment #1) > Did you paste the correct reduced testcase? Here is the original reduced test case obtained from Creduce - #pragma pack(1) struct a { int b; char c };

[Bug middle-end/91105] internal compiler error: maximum number of generated reload insns per insn achieved (90)

2019-07-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91105 Uroš Bizjak changed: What|Removed |Added Component|target |middle-end Depends on|

[Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT

2019-07-08 Thread amylaar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84877 Jorn Wolfgang Rennecke changed: What|Removed |Added Attachment #46574|0 |1 is obsolete|

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target

[Bug c/91107] __attribute__((pure)) to function with non-const pointers

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91107 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/91106] internal compiler error: output_operand: invalid use of register 'frame'

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91106 --- Comment #1 from Richard Biener --- Did you paste the correct reduced testcase?

[Bug c++/66999] Missing comma in lambda capture causes internal compiler error

2019-07-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66999 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com ---

[Bug target/91105] internal compiler error: maximum number of generated reload insns per insn achieved (90)

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91105 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code, ra

[Bug c++/65143] [C++11] missing devirtualization for virtual base in "final" classes

2019-07-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65143 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/65143] [C++11] missing devirtualization for virtual base in "final" classes

2019-07-08 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65143 --- Comment #10 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Jul 8 09:51:07 2019 New Revision: 273228 URL: https://gcc.gnu.org/viewcvs?rev=273228=gcc=rev Log: 2019-07-08 Paolo Carlini PR c++/65143 *

[Bug tree-optimization/91109] New: [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-07-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 Bug ID: 91109 Summary: [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug target/91103] AVX512 vector element extract uses more than 1 shuffle instruction; VALIGND can grab any element

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91103 --- Comment #2 from Richard Biener --- (In reply to Richard Biener from comment #1) > So when the vectorizer has the need to use strided stores it would be > cheapest > to spill the vector and do N element loads and stores? I guess we can

[Bug target/91103] AVX512 vector element extract uses more than 1 shuffle instruction; VALIGND can grab any element

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91103 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c++/80518] -Wsuggest-override does not warn about missing override on destructor

2019-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518 --- Comment #7 from Jonathan Wakely --- The guideline might be changing: https://github.com/isocpp/CppCoreGuidelines/pull/1448 If that pull request is merged we might want to change -Wsuggest-override too, without needing a separate option.

[Bug target/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 --- Comment #14 from rsandifo at gcc dot gnu.org --- Created attachment 46576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46576=edit Candidate patch I'll test the attached overnight

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED Known to work|

[Bug target/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 --- Comment #13 from Christophe Lyon --- Indeed, this seems to work: diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 820502a..4f69122 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -12471,7 +12471,7 @@

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread frantisek at sumsal dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #7 from Frantisek Sumsal --- (In reply to Martin Liška from comment #6) > Do you know how to tell meson to use CC=gcc-8? > $ export CC=gcc-8 CXX=g++-8 $ meson build ... should suffice

[Bug tree-optimization/91108] [8/9/10 Regression] Fails to pun through unions

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91108 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug tree-optimization/91108] New: [8/9/10 Regression] Fails to pun through unions

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91108 Bug ID: 91108 Summary: [8/9/10 Regression] Fails to pun through unions Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #6 from Martin Liška --- (In reply to Frantisek Sumsal from comment #5) > (In reply to Martin Liška from comment #4) > > Ok, I was able to make the build: > > > > $ meson build -Db_sanitize=address,undefined -Dxkbcommon=false > > >

[Bug target/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 --- Comment #12 from rguenther at suse dot de --- On Mon, 8 Jul 2019, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 > > rsandifo at gcc dot gnu.org changed: > >What|Removed

[Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT

2019-07-08 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84877 --- Comment #17 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #15 from Jorn Wolfgang Rennecke --- > Created attachment 46574 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46574=edit > patch for the case that the stack is

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread frantisek at sumsal dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 --- Comment #5 from Frantisek Sumsal --- (In reply to Martin Liška from comment #4) > Ok, I was able to make the build: > > $ meson build -Db_sanitize=address,undefined -Dxkbcommon=false > > with GCC 9.1.1: > > real 0m2.176s > user 0m2.013s

[Bug sanitizer/91101] Possible performance regression in libasan with detect_stack_use_after_return=1

2019-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91101 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 rsandifo at gcc dot gnu.org changed: What|Removed |Added Component|middle-end |target

[Bug tree-optimization/83518] [8/9/10 Regression] Missing optimization: useless instructions should be dropped

2019-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83518 --- Comment #10 from Richard Biener --- Author: rguenth Date: Mon Jul 8 07:09:24 2019 New Revision: 273194 URL: https://gcc.gnu.org/viewcvs?rev=273194=gcc=rev Log: 2019-07-08 Richard Biener PR tree-optimization/83518 *

[Bug middle-end/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 --- Comment #10 from rguenther at suse dot de --- On Mon, 8 Jul 2019, clyon at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 > > --- Comment #8 from Christophe Lyon --- > (In reply to Richard Biener from comment

[Bug middle-end/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 --- Comment #9 from rsandifo at gcc dot gnu.org --- (In reply to rsand...@gcc.gnu.org from comment #7) > (In reply to Christophe Lyon from comment #4) > > Unfortunately, it's still failing as of r273133. > > > > It fails at the very first

[Bug middle-end/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 --- Comment #8 from Christophe Lyon --- (In reply to Richard Biener from comment #5) > Hmm, using a cross configured as > > trunk/configure --target=armeb-none-linux-gnueabihf --with-cpu=cortex-a9 > --with-fpu=neon-fp16 --enable-languages=c >

[Bug middle-end/91060] [10 regression] gcc.c-torture/execute/scal-to-vec1.c fails on armeb-none-linux-gnueabihf since r272843

2019-07-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91060 --- Comment #7 from rsandifo at gcc dot gnu.org --- (In reply to Christophe Lyon from comment #4) > Unfortunately, it's still failing as of r273133. > > It fails at the very first check: > v1 = 2 + v0; check (short, 8, v0, v1, 2, +, l);

[Bug c++/85746] Premature evaluation of __builtin_constant_p?

2019-07-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85746 --- Comment #8 from rsandifo at gcc dot gnu.org --- (In reply to Marc Glisse from comment #7) > (In reply to Marc Glisse from comment #6) > > && xi.val[0] <= (HOST_WIDE_INT) ((unsigned HOST_WIDE_INT) > >