[Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84521 --- Comment #13 from Jakub Jelinek --- Even when you find another PR for __builtin_longjmp (clearly RA related), that doesn't mean that __builtin_{setjmp,longjmp} are totally broken and should not be fixed on aarch64. As ruby (which for some cry

[Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer

2018-02-23 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84521 --- Comment #14 from Wilco --- (In reply to Jakub Jelinek from comment #13) > Even when you find another PR for __builtin_longjmp (clearly RA related), > that doesn't mean that __builtin_{setjmp,longjmp} are totally broken and > should not be fix

[Bug tree-optimization/84526] New: [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 Bug ID: 84526 Summary: [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/84525] GCC7: generate movaps instruction when assign to unaligned __int128*

2018-02-23 Thread buaa.zhaoc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84525 --- Comment #2 from Zhao Chun --- Thanks for you explain. It looks some weird to me. If the type was int64_t or others, this can work. Is there some specs to say that __int128 is 16-byte aligned?

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/84525] GCC7: generate movaps instruction when assign to unaligned __int128*

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84525 --- Comment #3 from Jakub Jelinek --- (In reply to Zhao Chun from comment #2) > Thanks for you explain. > It looks some weird to me. > If the type was int64_t or others, this can work. No, it would be invalid too. It may appear to work. > Is

[Bug target/84524] -O3 causes behavior change

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84524 Jakub Jelinek changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRME

[Bug c++/84525] GCC7: generate movaps instruction when assign to unaligned __int128*

2018-02-23 Thread buaa.zhaoc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84525 --- Comment #4 from Zhao Chun --- (In reply to Jakub Jelinek from comment #3) > (In reply to Zhao Chun from comment #2) > > Thanks for you explain. > > It looks some weird to me. > > If the type was int64_t or others, this can work. > > No, it

[Bug c++/84525] GCC7: generate movaps instruction when assign to unaligned __int128*

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84525 --- Comment #5 from Jakub Jelinek --- I wrote it above. memcpy or packed struct. And there is no reason to think about memcpy as something inefficient, GCC will turn those single element memcpy calls into efficient unaligned loads or stores.

[Bug c++/84525] GCC7: generate movaps instruction when assign to unaligned __int128*

2018-02-23 Thread buaa.zhaoc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84525 --- Comment #6 from Zhao Chun --- (In reply to Jakub Jelinek from comment #5) > I wrote it above. memcpy or packed struct. And there is no reason to think > about memcpy as something inefficient, GCC will turn those single element > memcpy call

[Bug target/84524] -O3 causes behavior change

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84524 --- Comment #2 from Jakub Jelinek --- A side note, this shows how badly we need a type demotion pass, perhaps just on the LOOP_VECTORIZED copy of loop before vectorization: vect__27.7_175 = [vec_unpack_lo_expr] vect_v_16.5_173; vect__27.7_17

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 --- Comment #18 from Martin Liška --- Created attachment 43492 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43492&action=edit Parallel build of make all-host on 128 core EPYC machine (log file)

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 --- Comment #19 from Martin Liška --- (In reply to Tom Tromey from comment #17) > The results in comment #13 seem to be missing some compilations -- > I would have expected to see more files from libcpp in there. > As it is I only see directives.

[Bug fortran/84519] STOP and ERROR STOP statements with QUIET specifier

2018-02-23 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84519 --- Comment #2 from Janne Blomqvist --- Author: jb Date: Fri Feb 23 09:07:24 2018 New Revision: 257928 URL: https://gcc.gnu.org/viewcvs?rev=257928&root=gcc&view=rev Log: PR 84519 Handle optional QUIET specifier for STOP and ERROR STOP Fortran 2

[Bug target/84524] -O3 causes behavior change

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84524 --- Comment #3 from Jakub Jelinek --- It reproduces even with __attribute__((noipa)) on foo, so the problem is just in that function. In assembly we can see: vpsllw $8, %zmm6, %zmm5 addq$64, %rdi vpmovzxwd %ymm

[Bug rtl-optimization/84527] New: missed optimization for special ternary operation

2018-02-23 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84527 Bug ID: 84527 Summary: missed optimization for special ternary operation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c/84168] Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."

2018-02-23 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug c/84168] Please backport "Avoid assembler warnings from AArch64 constructor/destructor priorities."

2018-02-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84168 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84520] [6/7/8 Regression] ICE with lambda and static member function

2018-02-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84520 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84524] -O3 causes behavior change

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84524 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 --- Comment #2 from Martin Liška --- (In reply to Marek Polacek from comment #1) > So where is ytab.i? Sorry, it's here: $ cat ytab.i struct { char a[1]; } b; int i; void c (void) { __builtin_strcpy (&b.a[i], b.a); }

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 --- Comment #3 from Marek Polacek --- Thanks. Doesn't need -m32, actually. 923 /* There's no way to distinguish an access to the same member 924 of a structure from one to two distinct members of the same 925 structur

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 --- Comment #4 from Martin Liška --- One more test-case with a bit different BT: $ cat sis.i typedef struct { int a; char b[10]; } c; c d; unsigned long s; void e (void) { __builtin_strncpy (d.b, (char*)&d, s); } $ gcc -O2 sis.i -Wall duri

[Bug rtl-optimization/84527] missed optimization for special ternary operation

2018-02-23 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84527 --- Comment #1 from Kai Tietz --- For x86 we produce for sample: movl8(%esp), %eax cmpl%eax, 4(%esp) setge %al movzbl %al, %eax leal-1(%eax,%eax), %eax ret which could be expressed w

[Bug target/84524] -O3 causes behavior change

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84524 --- Comment #4 from Jakub Jelinek --- Created attachment 43493 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43493&action=edit gcc8-pr84524.patch Untested fix.

[Bug target/84528] New: [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 Bug ID: 84528 Summary: [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer Product: gcc Version: unknown Status: UNCONFIRMED

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 ktkachov at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 Known to work|

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 --- Comment #19 from Martin Liška --- (In reply to Laurent GUERBY from comment #18) > Marxin, you have a cfarm account and access to gcc22 / 23 / 24 which are > mips64 machines. If you need to change ssh keys see here: > https://cfarm.tetaneutral

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-23 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 Ramana Radhakrishnan changed: What|Removed |Added Priority|P1 |P3 Status|UNCONFIRMED

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/84519] STOP and ERROR STOP statements with QUIET specifier

2018-02-23 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84519 Janne Blomqvist changed: What|Removed |Added Assignee|jb at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/84509] STOP and ERROR STOP statements with -fdefault-integer-8 and large stop code

2018-02-23 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84509 Janne Blomqvist changed: What|Removed |Added Summary|STOP and PAUSE statements |STOP and ERROR STOP

[Bug fortran/78534] Use a larger integer type for character lengths on 64-bit targets

2018-02-23 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78534 Bug 78534 depends on bug 83344, which changed state. Bug 83344 Summary: Use of uninitialized memory with ASSOCIATE and strings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 What|Removed |Added -

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings

2018-02-23 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83344 Janne Blomqvist changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/83975] [8 Regression] ICE in set_parm_default_def_partition, at tree-ssa-coalesce.c:1919

2018-02-23 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83975 Janne Blomqvist changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug rtl-optimization/84527] missed optimization for special ternary operation

2018-02-23 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84527 --- Comment #2 from Uroš Bizjak --- Try with the unsigned arguments.

[Bug c++/80598] [7/8 regression] -Wunused triggers for functions used in uninstantiated templates

2018-02-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80598 Eric Gallager changed: What|Removed |Added Known to work||4.2.1, 4.5.4, 4.7.4, 4.8.5,

[Bug c++/60212] missing warning for unused variable

2018-02-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60212 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/83148] [8 regression] ICE: crash_signal from toplev.c:325

2018-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83148 --- Comment #7 from Paul Thomas --- Author: pault Date: Fri Feb 23 12:35:30 2018 New Revision: 257930 URL: https://gcc.gnu.org/viewcvs?rev=257930&root=gcc&view=rev Log: 2018-02-23 Paul Thomas PR fortran/83148 * trans-const.c

[Bug fortran/83148] [8 regression] ICE: crash_signal from toplev.c:325

2018-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83148 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/32630] [meta-bug] ISO C binding

2018-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32630 Bug 32630 depends on bug 83148, which changed state. Bug 83148 Summary: [8 regression] ICE: crash_signal from toplev.c:325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83148 What|Removed |Added -

[Bug rtl-optimization/84527] missed optimization for special ternary operation

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84527 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/84518] [8 Regression] ICE with lambda capturing broken variable

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84518 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug c++/84520] [6/7/8 Regression] ICE with lambda and static member function

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84520 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/84518] [8 Regression] ICE with lambda capturing broken variable

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84518 Jakub Jelinek changed: What|Removed |Added Priority|P1 |P4 --- Comment #3 from Jakub Jelinek --

[Bug c++/84286] [8 Regression] Segmentation fault of a chromium binary

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84286 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019 --- Comment #7 from Jakub Jelinek --- Can you please provide the requested reproducer, even if large? Otherwise there is nothing we can do about it and it will be closed as RESOLVED/WORKSFORME.

[Bug debug/83917] [8 Regression] with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83917 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED URL|

[Bug c++/70468] [6/7/8 Regression] ICE on invalid code on x86_64-linux-gnu in emit_mem_initializers, at cp/init.c:1109

2018-02-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468 --- Comment #8 from Jason Merrill --- Author: jason Date: Fri Feb 23 13:32:41 2018 New Revision: 257931 URL: https://gcc.gnu.org/viewcvs?rev=257931&root=gcc&view=rev Log: PR c++/70468 - ICE with constructor delegation via typedef.

[Bug fortran/77746] [6/7/8 Regression] [F03] Wrong subroutine called, clash of specific procedure name and binding-name

2018-02-23 Thread dev-zero at gentoo dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77746 Tiziano Müller changed: What|Removed |Added CC||dev-zero at gentoo dot org --- Comment

[Bug c++/84286] [8 Regression] Segmentation fault of a chromium binary

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84286 --- Comment #9 from Martin Liška --- (In reply to Jakub Jelinek from comment #8) > Isn't this dup of PR84502 and thus fixed with r257892? Very probably, let me test it.

[Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc

2018-02-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 --- Comment #13 from Segher Boessenkool --- It is trying to match #[01] (__)?pthread_mutex_init but instead it gets #1 __GI___pthread_mutex_init

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 Martin Liška changed: What|Removed |Added Status|NEW |WAITING --- Comment #20 from Martin Liška

[Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 --- Comment #14 from Jakub Jelinek --- Changing that (__)? to ((__GI_)?__)? is preapproved if it works. Those are just glibc internal aliases which are in the symbol table too though, so if you have full debug info for libpthread.so rather than j

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

2018-02-23 Thread laurent at guerby dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 --- Comment #21 from Laurent GUERBY --- I'm not familiar with mips ABIs but on gcc mips machine there's 32 bit code. root@erpro8-fsf1:~# file /bin/ls /bin/ls: ELF 32-bit MSB executable, MIPS, MIPS-II version 1 (SYSV), dynamically linked (uses sh

[Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc

2018-02-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 --- Comment #15 from Segher Boessenkool --- Author: segher Date: Fri Feb 23 14:17:35 2018 New Revision: 257932 URL: https://gcc.gnu.org/viewcvs?rev=257932&root=gcc&view=rev Log: Fix tsan race_on_mutex.c testcase (PR80551) The testcase did not m

[Bug c++/84286] [8 Regression] Segmentation fault of a chromium binary

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84286 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libfortran/84529] New: INQUIRE fails on "recycled" internal units

2018-02-23 Thread albandil at atlas dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84529 Bug ID: 84529 Summary: INQUIRE fails on "recycled" internal units Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfor

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-23 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 --- Comment #3 from rsandifo at gcc dot gnu.org --- Bah, this'll be https://gcc.gnu.org/ml/gcc-patches/2017-11/msg02061.html . I hadn't realised that the -fomit-frame-pointer handling was the reason it was no longer a problem.

[Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc

2018-02-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 --- Comment #16 from Segher Boessenkool --- Fixed on trunk. Does this actually fail on GCC 7? The regexp there should work AFAICS.

[Bug target/84530] New: -mfunction-return=thunk does not work for simple_return_pop_internal insn

2018-02-23 Thread marxin at gcc dot gnu.org
movl4(%esp), %eax movlgs, %edx movl%edx, (%eax) ret $4 .cfi_endproc .LFE0: .size foo, .-foo .globl gs .data .align 4 .type gs, @object .size gs, 4 gs: .value 100 .value 20

[Bug c++/84447] [8 Regression] ICE with inherited deleted constructor and default argument

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84447 --- Comment #2 from Jakub Jelinek --- My understanding is that this is because cand->fn in this case (the B ctor) is not DECL_DELETED_FN, but strip_inheriting_ctors (cand->fn) is, we somehow haven't tried to instantiate it (bailed early) and when

[Bug libfortran/84529] INQUIRE fails on "recycled" internal units

2018-02-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84529 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/84412] [7/8 Regression] Erroneous "Inquire statement identifies an internal file" error

2018-02-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84412 Thomas Koenig changed: What|Removed |Added CC||albandil at atlas dot cz --- Comment #6

[Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc

2018-02-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc

2018-02-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 Segher Boessenkool changed: What|Removed |Added Version|7.0 |8.0 Depends on|

[Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc

2018-02-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80551 Segher Boessenkool changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c/84531] New: c/c++: bogus warning for functions with different argument lengths but compatible arguments

2018-02-23 Thread siddhesh at gotplt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84531 Bug ID: 84531 Summary: c/c++: bogus warning for functions with different argument lengths but compatible arguments Product: gcc Version: unknown Status: UNCONFIRMED

[Bug rtl-optimization/84527] missed optimization for special ternary operation

2018-02-23 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84527 --- Comment #4 from Kai Tietz --- (In reply to Jakub Jelinek from comment #3) > ..., but that just means it is not the right code for f1 and f3. Right, that produced code depends on the sign of the condition arguments seems to be pretty wrong

[Bug rtl-optimization/84527] missed optimization for special ternary operation

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84527 --- Comment #5 from Jakub Jelinek --- No, signed comparison is very different from unsigned comparison, and only unsigned comparison < is usable for this. Borrow flag reflects unsigned signed comparison result rather than signed.

[Bug rtl-optimization/84527] missed optimization for special ternary operation

2018-02-23 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84527 Kai Tietz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/83149] [8 Regression] ICE on SELECT CASE: crash_signal in toplev.c:325

2018-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83149 --- Comment #10 from Paul Thomas --- Author: pault Date: Fri Feb 23 16:22:28 2018 New Revision: 257934 URL: https://gcc.gnu.org/viewcvs?rev=257934&root=gcc&view=rev Log: 2018-02-23 Paul Thomas PR fortran/83149 * trans-decl.c

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 --- Comment #6 from Martin Sebor --- The affected bit of code assumes dstref->base is an array and doesn't check to see if it's something else. In both of these cases it's a VAR_DECL so TREE_TYPE (TREE_TYPE (dstref->base)) returns null.

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 --- Comment #7 from Martin Sebor --- (In reply to Jakub Jelinek from comment #5) > > What is the TREE_OPERAND (expr, 0) in: > base = get_inner_reference (expr, &bitsize, &bitpos, &var_off, > &mode, &sign, &reverse

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

2018-02-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84526 --- Comment #8 from Jakub Jelinek --- (In reply to Martin Sebor from comment #7) > (In reply to Jakub Jelinek from comment #5) > > > > What is the TREE_OPERAND (expr, 0) in: > > base = get_inner_reference (expr, &bitsize, &bitpos, &var_off, >

[Bug target/84422] ICE on various builtin test functions when compiled with -mcpu=power7

2018-02-23 Thread carll at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84422 --- Comment #2 from Carl Love --- Moved Power 8 vec_float2, vec_signed2 and vec_unsigned2 builtin tests to new file builtins-3-runnable-p8.c. Fixed ICE for vec_signed2 and vec_unsigned2 which were found in builtins-3-runnable.c once the vec_floa

[Bug fortran/83149] [8 Regression] ICE on SELECT CASE: crash_signal in toplev.c:325

2018-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83149 --- Comment #11 from Paul Thomas --- Author: pault Date: Fri Feb 23 17:55:13 2018 New Revision: 257938 URL: https://gcc.gnu.org/viewcvs?rev=257938&root=gcc&view=rev Log: 2018-02-23 Paul Thomas PR fortran/83149 * trans-types.c

[Bug libstdc++/84532] New: [7/8 Regression] std::thread::__make_invoker prematurely unwraps reference_wrappers

2018-02-23 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84532 Bug ID: 84532 Summary: [7/8 Regression] std::thread::__make_invoker prematurely unwraps reference_wrappers Product: gcc Version: 8.0 Status: UNCONFIRMED Severit

[Bug fortran/83149] [6- and 7-branches] Missing test for sym->ns->proc_name: crash_signal in toplev.c:325

2018-02-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83149 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org

[Bug fortran/84506] [6/7/8 Regression] INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8

2018-02-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84506 --- Comment #12 from Jerry DeLisle --- Author: jvdelisle Date: Fri Feb 23 18:40:14 2018 New Revision: 257941 URL: https://gcc.gnu.org/viewcvs?rev=257941&root=gcc&view=rev Log: 2018-02-23 Jerry DeLisle PR fortran/84506 * trans

[Bug fortran/84506] [6/7/8 Regression] INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8

2018-02-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84506 --- Comment #13 from Jerry DeLisle --- Fixed on trunk. Jakub, thanks for the report. This will be backported to 6 and 7 shortly.

[Bug fortran/84523] [8 Regression] Runtime crash deallocating allocatable array within derived type

2018-02-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84523 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/83765] LTO bootstrap with Ada fails

2018-02-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83765 Eric Botcazou changed: What|Removed |Added CC||steven at uplinklabs dot net --- Comment

[Bug bootstrap/84450] bootstrap-lto ICE in g-dyntab.adb

2018-02-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84450 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/84346] Statement functions should not accept keywords

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84346 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Feb 23 18:57:41 2018 New Revision: 257942 URL: https://gcc.gnu.org/viewcvs?rev=257942&root=gcc&view=rev Log: 2018-02-23 Steven G. Kargl PR fortran/84346

[Bug fortran/84511] [6/7/8 Regression] Internal compiler error from directly printing return of C_LOC

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84511 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Feb 23 18:59:38 2018 New Revision: 257943 URL: https://gcc.gnu.org/viewcvs?rev=257943&root=gcc&view=rev Log: 2018-02-23 Steven G. Kargl PR fortran/84511

[Bug rtl-optimization/83327] Spilling into hard regs not taken into account in lra liveness analysis

2018-02-23 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83327 --- Comment #10 from Vladimir Makarov --- Any news about the patch testing on MIPS. It would be nice to move forward with the PR.

[Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division

2018-02-23 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84019 --- Comment #8 from Allan Jensen --- Yes, I will take a look again and produce the intermediate results

[Bug fortran/84506] [6/7/8 Regression] INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8

2018-02-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84506 --- Comment #14 from Jerry DeLisle --- Author: jvdelisle Date: Fri Feb 23 19:16:00 2018 New Revision: 257945 URL: https://gcc.gnu.org/viewcvs?rev=257945&root=gcc&view=rev Log: 2018-02-23 Jerry DeLisle Backport from trunk PR f

[Bug fortran/84346] Statement functions should not accept keywords

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84346 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Feb 23 19:35:51 2018 New Revision: 257946 URL: https://gcc.gnu.org/viewcvs?rev=257946&root=gcc&view=rev Log: 2018-02-23 Steven G. Kargl PR fortran/84346

[Bug fortran/84511] [6/7/8 Regression] Internal compiler error from directly printing return of C_LOC

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84511 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Feb 23 19:37:57 2018 New Revision: 257948 URL: https://gcc.gnu.org/viewcvs?rev=257948&root=gcc&view=rev Log: 2018-02-23 Steven G. Kargl PR fortran/84511

[Bug fortran/84346] Statement functions should not accept keywords

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84346 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Feb 23 19:41:27 2018 New Revision: 257949 URL: https://gcc.gnu.org/viewcvs?rev=257949&root=gcc&view=rev Log: 2018-02-23 Steven G. Kargl PR fortran/84346

[Bug fortran/84511] [6/7/8 Regression] Internal compiler error from directly printing return of C_LOC

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84511 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Feb 23 19:42:43 2018 New Revision: 257950 URL: https://gcc.gnu.org/viewcvs?rev=257950&root=gcc&view=rev Log: 2018-02-23 Steven G. Kargl PR fortran/84511

[Bug libstdc++/84532] [7/8 Regression] std::thread::__make_invoker prematurely unwraps reference_wrappers

2018-02-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84532 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIR

[Bug fortran/84511] [6/7/8 Regression] Internal compiler error from directly printing return of C_LOC

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84511 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug fortran/84346] Statement functions should not accept keywords

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84346 kargl at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

2018-02-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 Eric Botcazou changed: What|Removed |Added Status|WAITING |ASSIGNED CC|

  1   2   >