[Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition

2017-10-22 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610 Gerald Pfeifer changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu

2017-10-22 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924 --- Comment #10 from Matthias Klose --- hmm, can't remember anymore where the test case comes from ... :-/ Need to get more consistent to add downstream bug numbers.

[Bug fortran/82653] Parameters assigned with functions (instead of literals) cannot be used in other modules

2017-10-22 Thread gebeele at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82653 Gustavo Baños Lapuente changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode

2017-10-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628 --- Comment #15 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #9) > So, for the -1UL <= 1UL comparison, the cmpl instruction sets the CF, and > then > sbbl subtracts -1U (2nd operand) + 1U (CF) from 0U (1st operand/destination) > a

[Bug c++/82657] New: when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation

2017-10-22 Thread niqiuha at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82657 Bug ID: 82657 Summary: when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation Product: gcc

[Bug c++/82657] when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation

2017-10-22 Thread niqiuha at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82657 --- Comment #1 from la wanz --- Created attachment 42432 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42432&action=edit the code fail to compile

[Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530

2017-10-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569 --- Comment #11 from Eric Botcazou --- store_expr_with_bounds also has a special handling for promoted SUBREGs and it would probably need to be changed too. In the end, I think that the current approach of not setting SUBREG_PROMOTED_VAR_P for p

[Bug fortran/57096] Allocatable variable is not behaved as expected

2017-10-22 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|un

[Bug fortran/57096] Allocatable variable is not behaved as expected

2017-10-22 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096 --- Comment #13 from janus at gcc dot gnu.org --- Jerry, are you actually able to reproduce the original problem from comment 0? Or at least the one described in comment 3?

[Bug c++/82658] New: Suboptimal codegen on AVR when right-shifting 8-bit unsigned integers.

2017-10-22 Thread mike.k at digitalcarbide dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82658 Bug ID: 82658 Summary: Suboptimal codegen on AVR when right-shifting 8-bit unsigned integers. Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/69725] LTO/PGO bootstrap fails with in-tree gmp

2017-10-22 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69725 --- Comment #19 from Romain Geissler --- Note: don't forget to apply the gmp patch to the "configure" file too (wasted some time myself because I did...)

[Bug target/82659] New: Unnecessary ENDBR in static/local functions

2017-10-22 Thread hjl.tools at gmail dot com
fi_endproc .LFE0: .size test, .-test .p2align 4,,15 .globl bar .type bar, @function bar: .LFB1: .cfi_startproc endbr64 jmp test .cfi_endproc .LFE1: .size bar, .-bar .ident "GCC: (GNU) 8.0.0 2017102

[Bug boehm-gc/50877] link.h not found when I add --enable-objc-gc

2017-10-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50877 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/82660] New: Bounds checking in conversions of intrinsic functions

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82660 Bug ID: 82660 Summary: Bounds checking in conversions of intrinsic functions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug fortran/29600] [F03] MINLOC and MAXLOC take an optional KIND argument

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600 Thomas Koenig changed: What|Removed |Added Attachment #42429|0 |1 is obsolete|

[Bug fortran/29600] [F03] MINLOC and MAXLOC take an optional KIND argument

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc do

[Bug fortran/82660] Bounds checking in conversions of intrinsic functions

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

[Bug fortran/48997] Don't use allocatable arrays for function elimination

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48997 Bug 48997 depends on bug 48025, which changed state. Bug 48025 Summary: Unnecessary function evaluations in arguments to size and ubound https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48025 What|Removed |Added --

[Bug fortran/48025] Unnecessary function evaluations in arguments to size and ubound

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48025 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/35276] Doc should described how to compile mixed-language programs

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 Thomas Koenig changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233 --- Comment #22 from Thomas Koenig --- Author: tkoenig Date: Sun Oct 22 14:21:16 2017 New Revision: 253983 URL: https://gcc.gnu.org/viewcvs?rev=253983&root=gcc&view=rev Log: 2017-10-22 Thomas Koenig Backport from trunk PR lib

[Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/35276] Doc should described how to compile mixed-language programs

2017-10-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 --- Comment #3 from Dominique d'Humieres --- > I think we can close this. The preferred way is to > use C interop. Anybody mind if I close this? Or "is there important things to add to 7 Mixed-Language Programming?".

[Bug go/82661] New: internal compiler error: verify_gimple failed for gccgo on sparc64

2017-10-22 Thread i at jsteward dot moe
n/ld.gold Thread model: posix gcc version 8.0.0 20171022 (experimental) (GCC) The source was cloned from https://github.com/gcc-mirror/gcc . - The source file that caused the problem (transport/internet/dialer.go) is attached (don't know ho

[Bug fortran/56342] MATMUL with PARAMETER: Simplification usually doesn't work

2017-10-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56342 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode

2017-10-22 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628 --- Comment #16 from uros at gcc dot gnu.org --- Author: uros Date: Sun Oct 22 18:05:17 2017 New Revision: 253985 URL: https://gcc.gnu.org/viewcvs?rev=253985&root=gcc&view=rev Log: PR target/82628 * config/i386/i386.md (cmp_double

[Bug rtl-optimization/82662] New: ifcvt is not performed on double-word compare

2017-10-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82662 Bug ID: 82662 Summary: ifcvt is not performed on double-word compare Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-o

[Bug fortran/78278] ICE in gfc_wide_memset, at fortran/scanner.c:153

2017-10-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78278 --- Comment #5 from Dominique d'Humieres --- > Note that compiling the code in comment 0 with -std=f95 does not trigger > the error ... Is it enough to keep this PR opened?

[Bug c++/82663] New: optimizer duplicates assembly jump label (when -std=c++11 and -O3)

2017-10-22 Thread lappisstudent at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82663 Bug ID: 82663 Summary: optimizer duplicates assembly jump label (when -std=c++11 and -O3) Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons

2017-10-22 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451 --- Comment #5 from uros at gcc dot gnu.org --- Author: uros Date: Sun Oct 22 19:04:36 2017 New Revision: 253986 URL: https://gcc.gnu.org/viewcvs?rev=253986&root=gcc&view=rev Log: PR target/52451 * config/i386/i386.c (ix86_fp_comp

[Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons

2017-10-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451 Uroš Bizjak changed: What|Removed |Added Target||x86 Status|WAITING

[Bug c++/82664] New: Internal Compiler Error when using Match7 library

2017-10-22 Thread furkanusta17 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82664 Bug ID: 82664 Summary: Internal Compiler Error when using Match7 library Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/82665] New: missing value range optimization for memchr

2017-10-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82665 Bug ID: 82665 Summary: missing value range optimization for memchr Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tr

[Bug tree-optimization/82665] missing value range optimization for memchr

2017-10-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82665 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization See Also|

[Bug tree-optimization/82666] New: [7/8 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)

2017-10-22 Thread peter at cordes dot ca
uestions/28875325/gcc-optimization-flag-o3-makes-code-slower-then-o2. https://godbolt.org/g/GgVp7E gcc8.0 8.0.0 20171022 -O2 -mtune=haswell (slow) leaq131072(%rdi), %rsi xorl%eax, %eax .L3: movslq (%rdi), %rdx movq%rdx, %rcx addq%rax, %r

[Bug c++/82663] optimizer duplicates assembly jump label (when -std=c++11 and -O3)

2017-10-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82663 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/82667] New: SSE2 redundant pcmpgtd for sign-extension of values known to be >= 0

2017-10-22 Thread peter at cordes dot ca
odbolt.org/g/NwcPmh gcc 8.0.0 20171022 -O3 movdqa .LC0(%rip), %xmm5 # set1(127) leaq131072(%rdi), %rax pxor%xmm2, %xmm2 # accumulator pxor%xmm4, %xmm4 # for Intel CPUs we should re-materialize with pxor inside the loop instead inste

[Bug fortran/57096] Allocatable variable is not behaved as expected

2017-10-22 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096 --- Comment #14 from Jerry DeLisle --- The reduced test case with gfortran 7.2.1 O get: $ ./test 1 1 0 1 and the original: $ ./test gA%next(): 0 gA%next(): 0 gA%next():

[Bug fortran/57096] Allocatable variable is not behaved as expected

2017-10-22 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096 --- Comment #15 from Jerry DeLisle --- (In reply to Dominique d'Humieres from comment #6) > I get > > gA%next(): 2 > gA%next(): 4 > gA%next(): 6 > > gAp%next(): 2 > gAp%next(): 4 > gAp%nex

[Bug target/82668] New: could use BMI2 rorx for unpacking struct { int a,b }; from a register (SysV ABI)

2017-10-22 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82668 Bug ID: 82668 Summary: could use BMI2 rorx for unpacking struct { int a,b }; from a register (SysV ABI) Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/82669] New: ICE at -Os on valid code on x86_64-linux-gnu: in bitmap_check_index, at sbitmap.h:105

2017-10-22 Thread helloqirun at gmail dot com
20171022 (experimental) [trunk revision 253982] (GCC) $ gcc-trunk -m32 -Os abc.c during RTL pass: reload abc.c: In function ‘fn1’: abc.c:16:1: internal compiler error: in bitmap_check_index, at sbitmap.h:105 } ^ 0xb4a77b bitmap_check_index ../../gcc/gcc/sbitmap.h:105 0xb4a77b