[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #3 from Richard Biener --- The vectorizer is confused by a LC PHI node with a constant argument. That's indeed sth that usually doesn't happen. It's simple to avoid this propagation being done but the question is whether code

[Bug middle-end/87813] sprintf pass calling evrp at -O0 and setting global ranges which affect strnlen expansion

2018-11-05 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 --- Comment #7 from rguenther at suse dot de --- On Mon, 5 Nov 2018, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 > > --- Comment #6 from Aldy Hernandez --- > (In reply to Martin Sebor from comment #5)

[Bug middle-end/87869] Unrolled loop leads to excessive code bloat with -Os on ARC EM.

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

[Bug middle-end/87852] [9 Regression] FAIL: gcc.c-torture/execute/pr53465.c

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87852 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/87852] [9 Regression] FAIL: gcc.c-torture/execute/pr53465.c

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87852 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #4 from Richard Biener --- Adding checking code reveals that at least SCCP happily propgates constants into LC PHI nodes.

[Bug ada/87715] problems with asan and -O3 build of Ada

2018-11-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87715 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW Summary|problems with

[Bug c/87868] testsuite/c-c++-common/pr60101.c with -O3 and ubsan

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

[Bug c/87879] New: -Wformat-nonliteral could see more things as literals

2018-11-05 Thread rv at rasmusvillemoes dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87879 Bug ID: 87879 Summary: -Wformat-nonliteral could see more things as literals Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/87848] [9 Regression] internal compiler error: in compare_range_with_value, at vr-values.c:1665

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

[Bug sanitizer/87880] New: [9 regression] All macOS asan execution tests FAIL

2018-11-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 Bug ID: 87880 Summary: [9 regression] All macOS asan execution tests FAIL Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2018-11-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 Rainer Orth changed: What|Removed |Added Target Milestone|--- |9.0

[Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char

2018-11-05 Thread xguo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853 --- Comment #7 from xuepeng guo --- Author: xguo Date: Mon Nov 5 09:51:09 2018 New Revision: 265792 URL: https://gcc.gnu.org/viewcvs?rev=265792=gcc=rev Log: 2018-11-05 Xuepeng Guo PR target/87853 * config/i386/emmintrin.h

[Bug fortran/87881] New: gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin

2018-11-05 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 Bug ID: 87881 Summary: gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/87706] Inlined functions trigger invalid -Wmissing-profile warning

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87706 --- Comment #3 from Martin Liška --- (In reply to Jan Hubicka from comment #2) > cow is already dead at profile time (if it would not, we would end up using > the counter). It seems to me that one remove unreachable code pass is > missing. > We

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 --- Comment #3 from Jakub Jelinek --- Note, it needs it executable only if the kernel would create an executable stack normally (i.e. check PT_GNU_STACK segment headers or all libraries and executable, or check if the real stack is executable or

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 --- Comment #3 from Jakub Jelinek --- Note, it needs it executable only if the kernel would create an executable stack normally (i.e. check PT_GNU_STACK segment headers or all libraries and executable, or check if the real stack is executable or

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2018-11-05 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Dominique d'Humieres --- > WORKSFORME on x86_64-apple-darwin18.2.0 configured with >

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2018-11-05 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 --- Comment #3 from Dominique d'Humieres --- > Weird: can you check where the definition of > ___cxa_rethrow_primary_exception is coming from in your case? On my > 10.14.2 Beta1 system, I only found it in libc++abi.1.dylib. I see % nm

[Bug c/87868] testsuite/c-c++-common/pr60101.c with -O3 and ubsan

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87868 --- Comment #3 from Martin Liška --- You attached the patch to bad PR.

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 --- Comment #5 from Jakub Jelinek --- (In reply to Martin Liška from comment #4) > Created attachment 44956 [details] > Patch candidate > > @Jakub: What do you think about the suggested patch? May I attempt to > mainline it? No, see above,

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 --- Comment #6 from Martin Liška --- (In reply to Jakub Jelinek from comment #5) > (In reply to Martin Liška from comment #4) > > Created attachment 44956 [details] > > Patch candidate > > > > @Jakub: What do you think about the suggested

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 --- Comment #7 from Jakub Jelinek --- Not also sure what happens if the executable and libraries don't need executable stack and you later dlopen some shared library that needs it (e.g. uses nested functions). Don't remember if ld.so mprotects

[Bug bootstrap/87788] [9 Regression] Bootstrap fails for x86_64-apple-darwin* with default languages selection after D addition.

2018-11-05 Thread mcccs at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87788 --- Comment #16 from MCCCS --- Hi, could you please change the component from "bootstrap" to "d" ? The same error occurs during non-bootstrap compiling too. Otherwise this is in the wrong category, people might not see this and send duplicates.

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 Martin Liška changed: What|Removed |Added Attachment #44956|0 |1 is obsolete|

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 --- Comment #9 from Martin Liška --- (In reply to Jakub Jelinek from comment #7) > Not also sure what happens if the executable and libraries don't need > executable stack and you later dlopen some shared library that needs it > (e.g. uses

[Bug target/85669] fail on s-case-cfn-macros: build/gencfn-macros: DEF_INTERNAL_FLT/INT_FN (%smth%) has no associated built-in functions

2018-11-05 Thread dougmencken at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669 --- Comment #69 from Douglas Mencken --- (In reply to Iain Sandoe from comment #64) > so all languages, m32/m64, --enable-checking=all,rtl,tree trunk bootstrap > completed without error (with the patch above + one to enable Ada to work on >

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #5 from Richard Biener --- So the vectorizer issue is highlighted by the following assert. It triggers because scalar and if-converted loop do not have a 1:1 match in the number of loop-closed PHIs. And that happens because

[Bug ipa/87706] Inlined functions trigger invalid -Wmissing-profile warning

2018-11-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87706 --- Comment #2 from Jan Hubicka --- cow is already dead at profile time (if it would not, we would end up using the counter). It seems to me that one remove unreachable code pass is missing. We used to remove unreachable code after early

[Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87837 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 10:27:13 2018 New Revision: 265793 URL: https://gcc.gnu.org/viewcvs?rev=265793=gcc=rev Log: PR sanitizer/87837 * match.pd (X + Y < X): Don't optimize if

[Bug sanitizer/87875] Address sanitizer doen't work with nested functions with enabled stack-use-after-return check

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87875 --- Comment #2 from Martin Liška --- So I can confirm it's caused by nested functions, more precisely by nested function trampolines as documented here: https://gcc.gnu.org/onlinedocs/gccint/Trampolines.html ``` GCC has traditionally supported

[Bug target/86487] [7/8/9 Regression] insn does not satisfy its constraints on arm big-endian

2018-11-05 Thread navyadeepika.garakapati at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487 Navya changed: What|Removed |Added CC||navyadeepika.garakapati@gma |

[Bug other/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2018-11-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #4 from Tom de Vries --- Created attachment 44957 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44957=edit WIP patch, follows .gnu_debugaltlink

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

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

[Bug c/87868] testsuite/c-c++-common/pr60101.c with -O3 and ubsan

2018-11-05 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87868 --- Comment #2 from Jan Hubicka --- I am attaching testcase and patch I am lto-botstrapping now. It copies canonical from original type which is important for us to not lose TBAA during ealry opts as well. typedef struct rtx_def *rtx; typedef

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2018-11-05 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Dominique d'Humieres --- >> Weird: can you check where the definition of >> ___cxa_rethrow_primary_exception is coming from in your case? On my >> 10.14.2 Beta1

[Bug tree-optimization/87859] [8/9 Regression] store-merging miscompilation of mesa

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 10:28:19 2018 New Revision: 265794 URL: https://gcc.gnu.org/viewcvs?rev=265794=gcc=rev Log: PR tree-optimization/87859 * gimple-ssa-store-merging.c (struct

[Bug tree-optimization/79191] potentially truncating unsigned conversion defeats range propagation

2018-11-05 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79191 --- Comment #5 from Marc Glisse --- (In reply to Eric Gallager from comment #4) > Where exactly in the compiler is this optimization supposed to be done and Eric, that's part of the problem. The optimization already exists in VRP, but it is

[Bug tree-optimization/87859] [8/9 Regression] store-merging miscompilation of mesa

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

[Bug tree-optimization/87859] [8/9 Regression] store-merging miscompilation of mesa

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 --- Comment #8 from Martin Liška --- > Now that I think about it, I think I could fix this differently by adding a > flag to the store structures that it has been merged already, but I'll > postpone that to next week, need to work on stage1

[Bug sanitizer/87860] [9 Regression] libsanitizer build fails on sparc64-linux-gnu

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87860 --- Comment #3 from Martin Liška --- Author: marxin Date: Mon Nov 5 13:34:36 2018 New Revision: 265796 URL: https://gcc.gnu.org/viewcvs?rev=265796=gcc=rev Log: Fix build on sparc64-linux-gnu. 2018-11-05 Martin Liska PR

[Bug sanitizer/87860] [9 Regression] libsanitizer build fails on sparc64-linux-gnu

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87860 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/87649] ICE in OpenMP doacross (ordered) loop

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87649 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 14:07:47 2018 New Revision: 265801 URL: https://gcc.gnu.org/viewcvs?rev=265801=gcc=rev Log: Backported from mainline 2018-10-19 Jakub Jelinek PR

[Bug middle-end/85488] segmentation fault when compiling code using the ordered(n) clause in OpenMP 4.5

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85488 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 14:07:47 2018 New Revision: 265801 URL: https://gcc.gnu.org/viewcvs?rev=265801=gcc=rev Log: Backported from mainline 2018-10-19 Jakub Jelinek PR

[Bug ada/87688] [9 regression] ACATS cb1010a cb1010d failure

2018-11-05 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87688 --- Comment #5 from simon at pushface dot org --- Bug no longer present in gcc version 9.0.0 20181103 (experimental) (GCC). r265766.

[Bug c++/87882] New: -Wredundant-move false positive

2018-11-05 Thread its at cleroth dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87882 Bug ID: 87882 Summary: -Wredundant-move false positive Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/18041] OR of two single-bit bitfields is inefficient

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

[Bug target/85669] fail on s-case-cfn-macros: build/gencfn-macros: DEF_INTERNAL_FLT/INT_FN (%smth%) has no associated built-in functions

2018-11-05 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669 --- Comment #71 from Iain Sandoe --- (In reply to Iain Sandoe from comment #70) > > powerpc64 darwin is *much* less tested than the 32b variant. > > I don't have any access to my ppc64 machine for the next week but... it > looks like our gcc

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2018-11-05 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 --- Comment #5 from Iain Sandoe --- (In reply to r...@cebitec.uni-bielefeld.de from comment #4) > > --- Comment #3 from Dominique d'Humieres --- > >> Weird: can you check where the definition of > >> ___cxa_rethrow_primary_exception is coming

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87873] [9 Regression] ICE: verify_gimple failed (error: incompatible types in PHI argument 0)

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87873 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Nov 5 14:55:53 2018 New Revision: 265812 URL: https://gcc.gnu.org/viewcvs?rev=265812=gcc=rev Log: 2018-11-05 Richard Biener PR tree-optimization/87873 *

[Bug sanitizer/87860] [9 Regression] libsanitizer build fails on sparc64-linux-gnu

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87860 --- Comment #2 from Martin Liška --- Fixed in libsanitizer mainline in: https://reviews.llvm.org/rCRT346129

[Bug target/85669] fail on s-case-cfn-macros: build/gencfn-macros: DEF_INTERNAL_FLT/INT_FN (%smth%) has no associated built-in functions

2018-11-05 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669 --- Comment #70 from Iain Sandoe --- (In reply to Douglas Mencken from comment #69) > (In reply to Iain Sandoe from comment #64) > > so all languages, m32/m64, --enable-checking=all,rtl,tree trunk bootstrap > > completed without error (with the

[Bug middle-end/87647] [7/8 Regression] ICE on valid code in decode_addr_const, at varasm.c:2958

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87647 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 14:08:30 2018 New Revision: 265802 URL: https://gcc.gnu.org/viewcvs?rev=265802=gcc=rev Log: Backported from mainline 2018-10-20 Jakub Jelinek PR

[Bug c++/86288] Recognize __gnu and/or __gnu__ as attribute-namespace

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86288 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 14:09:10 2018 New Revision: 265803 URL: https://gcc.gnu.org/viewcvs?rev=265803=gcc=rev Log: Backported from mainline 2018-10-24 Jakub Jelinek PR

[Bug fortran/87725] OpenMP 4.5 clause schedule(simd,monotonic:static) not understood

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87725 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 14:10:16 2018 New Revision: 265805 URL: https://gcc.gnu.org/viewcvs?rev=265805=gcc=rev Log: Backported from mainline 2018-10-25 Jakub Jelinek PR

[Bug tree-optimization/87859] [8/9 Regression] store-merging miscompilation of mesa

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 --- Comment #5 from Jakub Jelinek --- It got reported in http://bugzilla.redhat.com/1645400

[Bug tree-optimization/87859] [8/9 Regression] store-merging miscompilation of mesa

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 --- Comment #6 from Martin Liška --- (In reply to Jakub Jelinek from comment #5) > It got reported in http://bugzilla.redhat.com/1645400 Good, thus you nicely reduced the original source files!

[Bug tree-optimization/87859] [8/9 Regression] store-merging miscompilation of mesa

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 --- Comment #7 from Jakub Jelinek --- I didn't have access to the preprocessed source and was lazy to prepare it myself, so I just copied the corresponding structure definition without C++ ctors/dtors, figured out what I thought would be a

[Bug middle-end/18041] OR of two single-bit bitfields is inefficient

2018-11-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18041 --- Comment #8 from Richard Biener --- We're still "stuck" on GIMPLE, on x86_64 we manage to elide the redundant load now and get foo: .LFB0: .cfi_startproc movzbl (%rdi), %eax movl%eax, %edx shrb%dl

[Bug tree-optimization/87859] [8/9 Regression] store-merging miscompilation of mesa

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 14:12:15 2018 New Revision: 265807 URL: https://gcc.gnu.org/viewcvs?rev=265807=gcc=rev Log: PR tree-optimization/87859 * gimple-ssa-store-merging.c (struct

[Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87837 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Mon Nov 5 14:11:32 2018 New Revision: 265806 URL: https://gcc.gnu.org/viewcvs?rev=265806=gcc=rev Log: PR sanitizer/87837 * match.pd (X + Y < X): Don't optimize if

[Bug target/87883] New: [ARM] ICE: Segmentation fault in arm_regno_class

2018-11-05 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87883 Bug ID: 87883 Summary: [ARM] ICE: Segmentation fault in arm_regno_class Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/87813] sprintf pass calling evrp at -O0 and setting global ranges which affect strnlen expansion

2018-11-05 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 --- Comment #8 from Jeffrey A. Law --- Aldy -- fixing that is a TODO for stage3.

[Bug sanitizer/87884] New: ubsan causes wrong -Wformat-overflow warning

2018-11-05 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87884 Bug ID: 87884 Summary: ubsan causes wrong -Wformat-overflow warning Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2018-11-05 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 --- Comment #6 from Thiago Macieira --- Clang is not affected: $ clang -dM -E -xc /dev/null -march=sandybridge -march=native | grep AVX #define __AVX2__ 1 #define __AVX__ 1 $ clang -dM -E -xc /dev/null -march=native -march=sandybridge | grep

[Bug c++/87469] [9 Regression] ice in record_estimate, at tree-ssa-loop-niter.c:3271

2018-11-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87469 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/56496] [OOP] [F08] ICE with TYPE(*) coarray and SELECT TYPE

2018-11-05 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56496 --- Comment #4 from G. Steinmetz --- Slightly modified : $ cat z1.f90 program p class(*), allocatable :: a[:] allocate (integer :: a[*]) select type (a) type is (integer) a = a(1) end select end $ gfortran-9-20181104 -c

[Bug c/87886] New: ICE in format_helper, at real.h:227

2018-11-05 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87886 Bug ID: 87886 Summary: ICE in format_helper, at real.h:227 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/87869] Unrolled loop leads to excessive code bloat with -Os on ARC EM.

2018-11-05 Thread nbowler at draconx dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87869 --- Comment #4 from Nick Bowler --- (In reply to Richard Biener from comment #3) > I think a better target for optimizing would be the RTL side, [...] > I'm sure arc can store to a register address as well. Yes, if the shortest possible store

[Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3

2018-11-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c/87887] New: ICE in make_ssa_name_fn, at tree-ssanames.c:269

2018-11-05 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87887 Bug ID: 87887 Summary: ICE in make_ssa_name_fn, at tree-ssanames.c:269 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/69471] "-march=native" unintentionally breaks further -march/-mtune flags

2018-11-05 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471 Thiago Macieira changed: What|Removed |Added CC||thiago at kde dot org --- Comment #5

[Bug c/87879] -Wformat-nonliteral could see more things as literals

2018-11-05 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87879 --- Comment #1 from joseph at codesourcery dot com --- You'd need dataflow information that's not available at that point in the front end to know that the initializer is indeed the value of fmt at that point in the code.

[Bug middle-end/87813] sprintf pass calling evrp at -O0 and setting global ranges which affect strnlen expansion

2018-11-05 Thread aldyh at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 --- Comment #10 from Aldy Hernandez --- On 11/5/18 11:06 AM, msebor at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 > > --- Comment #9 from Martin Sebor --- > (In reply to Aldy Hernandez from comment #6) > > I

[Bug c++/86574] ICE on std::prev with ranges::view::transform

2018-11-05 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86574 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug middle-end/87813] sprintf pass calling evrp at -O0 and setting global ranges which affect strnlen expansion

2018-11-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 --- Comment #9 from Martin Sebor --- (In reply to Aldy Hernandez from comment #6) I agree, but it's just a small subset of such cases. There are many optimizing transformations that GCC does at -O0 that affect the IL later on: calls to library

[Bug tree-optimization/86572] unsafe strlen folding of const arguments with non-const offset

2018-11-05 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86572 --- Comment #5 from Andreas Schwab --- This breaks aarch64 -mabi=ilp32. /opt/gcc/gcc-20181105/gcc/testsuite/gcc.dg/warn-strlen-no-nul.c:56:1: error: type mismatch in binary expression int int sizetype _1 = i1 + 1; /opt/gcc/gcc-20181105/gcc

[Bug tree-optimization/87885] New: ICE in release_ssa_name_fn with -fprofile-report

2018-11-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87885 Bug ID: 87885 Summary: ICE in release_ssa_name_fn with -fprofile-report Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug middle-end/87886] ICE in format_helper, at real.h:227

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87886 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/87888] New: Behaviour of __builtin_arc_sr differs from its description in the manual.

2018-11-05 Thread nbowler at draconx dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87888 Bug ID: 87888 Summary: Behaviour of __builtin_arc_sr differs from its description in the manual. Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/86850] ubsan: runtime error: member call on null pointer

2018-11-05 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86850 --- Comment #5 from David Binderman --- Original problem still exists a couple of months later.

[Bug middle-end/87886] ICE in format_helper, at real.h:227

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87886 Jakub Jelinek changed: What|Removed |Added Target Milestone|7.4 |--- Summary|[7/8/9

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2018-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #1 from Segher Boessenkool --- Author: segher Date: Mon Nov 5 21:18:22 2018 New Revision: 265821 URL: https://gcc.gnu.org/viewcvs?rev=265821=gcc=rev Log: combine: Don't make an intermediate reg for assigning to sfp (PR87871) The

[Bug bootstrap/61164] GCC 4.9.0 fails to build libitm when fortification enabled

2018-11-05 Thread romain.naour at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 Romain Naour changed: What|Removed |Added CC||romain.naour at gmail dot com ---

[Bug target/87583] error: unrecognizable insn on ppc64le

2018-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87583 --- Comment #3 from Segher Boessenkool --- It's the same problem as many other PRs. You are using -mcpu=power8 (it is the default for powerpc64le), but disabling some 2.04 insns (power5+).

[Bug middle-end/87886] [7/8/9 Regression] ICE in format_helper, at real.h:227

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87886 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |7.4 Summary|ICE in

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2018-11-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/43486] Preserve variable-use locations

2018-11-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/87688] [9 regression] ACATS cb1010a cb1010d failure

2018-11-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87688 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/43064] improve location and text of diagnostics in constructor initializer lists

2018-11-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064 --- Comment #9 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00304.html

[Bug middle-end/18041] OR of two single-bit bitfields is inefficient

2018-11-05 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18041 --- Comment #10 from Segher Boessenkool --- If combine tries to split RTL into two instructions, it tries to do that one way (and one way only). It picked the AND here. It did not work. You can add some define_split to your target to help

[Bug libquadmath/68686] tgammaq(x) is always negative for noninteger x < 0

2018-11-05 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68686 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/87882] -Wredundant-move false positive

2018-11-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87882 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug c/87891] New: _build/./gcc/as: line 106: exec: ppc64: not found

2018-11-05 Thread dougmencken at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87891 Bug ID: 87891 Summary: _build/./gcc/as: line 106: exec: ppc64: not found Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/87881] gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin

2018-11-05 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87881 --- Comment #1 from Paul Thomas --- Hi Dominique, When you have a moment, could you do a bit of diagnosis for me please? I presume that the ICE is caused by the neglect of a pointer that is sometimes null but which FC28 passes over. A debug

[Bug tree-optimization/87889] New: [9 Regression] CPU2000 177.mesa failed to build

2018-11-05 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87889 Bug ID: 87889 Summary: [9 Regression] CPU2000 177.mesa failed to build Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libquadmath/68686] tgammaq(x) is always negative for noninteger x < 0

2018-11-05 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68686 --- Comment #5 from Joseph S. Myers --- Author: jsm28 Date: Mon Nov 5 23:03:55 2018 New Revision: 265822 URL: https://gcc.gnu.org/viewcvs?rev=265822=gcc=rev Log: Update most of libquadmath/math/ from glibc, automate update (PR

  1   2   >