[Bug rtl-optimization/82388] wrong code at -O1 and above on x86_64-linux-gnu in 32-bit mode

2017-10-01 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82388 --- Comment #1 from Zhendong Su --- This one also seems to be related, but it fails non-deterministically. $ gcctk -Os tmp.c; a.out 32767 $ gcctk -Os tmp.c; a.out 0 $ gcctk -Os tmp.c; a.out 32767 $ gcctk -Os tmp.c; a.out 32767 $ gcctk -Os

[Bug rtl-optimization/82388] New: wrong code at -O1 and above on x86_64-linux-gnu in 32-bit mode

2017-10-01 Thread su at cs dot ucdavis.edu
--disable-bootstrap Thread model: posix gcc version 8.0.0 20171001 (experimental) [trunk revision 253330] (GCC) $ $ gcctk -m32 -O0 small.c; ./a.out; echo $? 0 $ gcc-7.2.0 -m32 -O1 small.c; ./a.out; echo $? 0 $ $ gcctk -m32 -O1 small.c; ./a.out; echo $? 251

[Bug rtl-optimization/82387] New: wrong code at -O1 and -Os on x86_64-linux-gnu in 64-bit mode

2017-10-01 Thread su at cs dot ucdavis.edu
-linux-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 8.0.0 20171001 (experimental) [trunk revision 253330] (GCC

[Bug target/82386] New: [8 Regression] internal compiler error: Segmentation fault on 32-bit powerpc BE targets

2017-10-01 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82386 Bug ID: 82386 Summary: [8 Regression] internal compiler error: Segmentation fault on 32-bit powerpc BE targets Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug tree-optimization/71751] [7/8 Regression] Segmentation fault in ssa_default_def

2017-10-01 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71751 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #3

[Bug fortran/40196] [F03] [F08] Type parameter inquiry (str%len, a%kind) and Complex parts (z%re, z%im)

2017-10-01 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40196 --- Comment #6 from Jerry DeLisle --- This works: type tp(dim) integer, KIND :: dim = 3 real :: dist(dim) end type tp type(tp) :: t(5) print *, t%dist(2) print *, t end

[Bug target/82385] ICE in extract_constraint_insn, at recog.c:2213

2017-10-01 Thread vvulpes0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82385 Dakotah Lambert changed: What|Removed |Added Attachment #42271|0 |1 is obsolete|

[Bug target/82385] ICE in extract_constraint_insn, at recog.c:2213

2017-10-01 Thread vvulpes0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82385 --- Comment #1 from Dakotah Lambert --- Simpler failing test case: int a,b; void f(void) { a &= b; }

[Bug c++/61636] generic lambda: segfault / "cannot call member function without object"

2017-10-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 Paolo Carlini changed: What|Removed |Added Target Milestone|--- |6.4

[Bug c++/65389] long compile time on incorrect code with lambdas

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

[Bug c++/62052] function parameter has wrong address in lambda converted to pointer-to-function

2017-10-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62052 --- Comment #7 from Paolo Carlini --- *** Bug 64429 has been marked as a duplicate of this bug. ***

[Bug c++/64429] Double free when returning std::string from trivial lambda

2017-10-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64429 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/79768] `-Wmaybe-uninitialized' false positive with optimisation

2017-10-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79768 --- Comment #7 from Eric Gallager --- (In reply to Jeffrey A. Law from comment #6) > Eric. Thanks for the BZ maintenance. It's definitely appreciated. > > For bugs like this (very sensitive to unrelated code generator changes) it > is often

[Bug c++/59655] incorrect diagnostic on templatized function with lambda parameter

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

[Bug other/82383] Some new toplevel directories are not documented

2017-10-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82383 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82385] New: ICE in extract_constraint_insn, at recog.c:2213

2017-10-01 Thread vvulpes0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82385 Bug ID: 82385 Summary: ICE in extract_constraint_insn, at recog.c:2213 Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/82247] [concepts] Name deduction in concepts fails depending on the argument type

2017-10-01 Thread mjklaim at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82247 --- Comment #3 from Joël Lamotte --- Sorry, I though you would see the flaga in the llink to godbolt I provided: --std=c++17 -fconcepts -O3 The code I provided in the report do compile, the problem is explained through the comments that if

[Bug c++/58908] ICE in process_init_constructor_array for std::vector

2017-10-01 Thread maarten+gcc at m dot de-vri.es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58908 --- Comment #3 from Maarten de Vries --- I forgot to mention, I tested that with gcc 7.2.0: > $ gcc -v > Using built-in specs. > COLLECT_GCC=gcc >

[Bug c++/58908] ICE in process_init_constructor_array for std::vector

2017-10-01 Thread maarten+gcc at m dot de-vri.es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58908 Maarten de Vries changed: What|Removed |Added CC|

[Bug ada/82384] New: [8 Regression] s-taprop.adb failed to compile for x32

2017-10-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82384 Bug ID: 82384 Summary: [8 Regression] s-taprop.adb failed to compile for x32 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/82302] LTO producing bad code

2017-10-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302 --- Comment #13 from Martin Liška --- (In reply to krzysio.kurek from comment #12) > UBSAN errors regarding integer overflow is by design, and is a part of > libnoise. > I can't find any documentation or help on what invalid vptr errors are >

[Bug c++/82247] [concepts] Name deduction in concepts fails depending on the argument type

2017-10-01 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82247 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug lto/82302] LTO producing bad code

2017-10-01 Thread krzysio.kurek at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302 --- Comment #12 from krzysio.kurek at wp dot pl --- UBSAN errors regarding integer overflow is by design, and is a part of libnoise. I can't find any documentation or help on what invalid vptr errors are though.

[Bug lto/81351] [8 regression] Many LTO testcases FAIL

2017-10-01 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81351 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug go/82131] FAIL: TestCgoCallbackGC in gotools testsuite; segfaults in morestack.S:529

2017-10-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82131 --- Comment #3 from Uroš Bizjak --- (In reply to Ian Lance Taylor from comment #2) > I have not been able to create this. > > Are you using GNU ld or the gold linker? I've tried both and for me it > works either way, but it might help to know.

[Bug fortran/56789] Wrong code with contiguous dummy argument

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

[Bug fortran/40196] [F03] [F08] Type parameter inquiry (str%len, a%kind) and Complex parts (z%re, z%im)

2017-10-01 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40196 Jerry DeLisle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug go/82348] make[4]: Circular runtime.lo <- bytes.gox dependency dropped.

2017-10-01 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82348 --- Comment #8 from Ian Lance Taylor --- If the re-generated math.lo.dep file does not refer to internal/cpu.gox, then something went wrong the first time the file was generated. Try simply removing your TARGET/libgo directory and building from

[Bug tree-optimization/82381] internal compiler error: qsort checking failed

2017-10-01 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82381 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2017-10-01 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 79768, which changed state. Bug 79768 Summary: `-Wmaybe-uninitialized' false positive with optimisation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79768 What|Removed |Added

[Bug middle-end/79768] `-Wmaybe-uninitialized' false positive with optimisation

2017-10-01 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79768 Jeffrey A. Law changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug libfortran/81937] stack-buffer-overflow on memcpy in libgfortran/io/unix.c on character(kind=4)

2017-10-01 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81937 --- Comment #2 from Jerry DeLisle --- Added Thomas to cc since he is peeking at I/O things I think.

[Bug fortran/81499] internal compiler error when compiling gfortran code with user-defined derived type i/o

2017-10-01 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81499 --- Comment #2 from Jerry DeLisle --- Just doing a quick scan here. Has anuone tried allocating the dtv1...4 before the I/O calls. I think i can see where th einternal runtime is trying to pass interal pointers to the DTIO procedures and an

[Bug fortran/82007] DTIO write format stored in a string leads to severe errors

2017-10-01 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82007 --- Comment #5 from Jerry DeLisle --- The ice is because we are not handling the case where the expreesion is type function vs character expression or character constant. I am thinking we need to simplify the expression before trying to use it.

[Bug preprocessor/78497] compiling with -save-temps adds -Wimplicit-fallthrough warnings

2017-10-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78497 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug libfortran/82378] Data race in libgfortran with OpenMP

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

[Bug libgomp/66756] libgfortran: ThreadSanitizer: lock-order-inversion

2017-10-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66756 --- Comment #15 from Thomas Koenig --- *** Bug 82378 has been marked as a duplicate of this bug. ***

[Bug libgomp/66756] libgfortran: ThreadSanitizer: lock-order-inversion

2017-10-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66756 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Last reconfirmed|2015-11-10

[Bug other/82383] New: Some new toplevel directories are not documented

2017-10-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82383 Bug ID: 82383 Summary: Some new toplevel directories are not documented Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: documentation Severity: normal

[Bug go/82348] make[4]: Circular runtime.lo <- bytes.gox dependency dropped.

2017-10-01 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82348 --- Comment #7 from martin --- I tried to follow your instructions: 1.) remove math.o.dep > /gcc-compiled/sparc-unknown-linux-gnu/libgo# rm math.lo.dep 2.) run `make math.lo.dep` > gcc-compiled/sparc-unknown-linux-gnu/libgo# make math.lo.dep >

[Bug fortran/57871] gfortran -freal-4-real-16 gives wrong result for selected_real_kind(1)

2017-10-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57871 --- Comment #8 from Dominique d'Humieres --- > The reason I sent that bug report is that I had read the manual and > found that -freal-4-real-16 makes the available real kinds 8, 10, 16. > The Fortran standard says selected_real_kind(1) must

[Bug c++/82382] ICE for template auto parameter specialized for function pointer with variadic arguments

2017-10-01 Thread witosx at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82382 --- Comment #1 from witosx at gmail dot com --- Sorry, posted wrong g++ -v output ### g++ -v Using built-in specs. COLLECT_GCC=/home/witos/.local/opt/gcc-git/bin/g++

[Bug c++/82382] New: ICE for template auto parameter specialized for function pointer with variadic arguments

2017-10-01 Thread witosx at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82382 Bug ID: 82382 Summary: ICE for template auto parameter specialized for function pointer with variadic arguments Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug fortran/80666] character length parameter fails if declaration order incorrect

2017-10-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80666 --- Comment #7 from Dominique d'Humieres --- Any objection to close this PR as WONTFIX?

[Bug libfortran/79540] [7/8 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2017-10-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #8 from Dominique d'Humieres --- Could you please uncomment the line !print *, "print '", fmt(:fmt_len), "', ", x, " ! => ", str(:len), ": ", reason and post the result?

[Bug fortran/68401] improve 'Allocation would exceed memory limit'

2017-10-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68401 --- Comment #10 from Dominique d'Humieres --- How long this PR has to rot before being closed as WONTFIX?

[Bug fortran/80257] Cygwin test fail: pointer_check_1.f90 output test

2017-10-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80257 --- Comment #4 from Dominique d'Humieres --- What is the output at run time of the following test? Program RunTimeCheck implicit none call sub() contains subroutine sub() print *, 'Hello World' end subroutine sub end Program

[Bug fortran/82375] PDT components in PDT declarations fail to compile

2017-10-01 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82375 Paul Thomas changed: What|Removed |Added Summary|PDT error |PDT components in PDT |

[Bug fortran/61450] ICE in gfc_global_used()

2017-10-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/61450] ICE in gfc_global_used()

2017-10-01 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61450 --- Comment #6 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Sun Oct 1 09:49:48 2017 New Revision: 253328 URL: https://gcc.gnu.org/viewcvs?rev=253328=gcc=rev Log: 2017-10-01 Dominique d'Humieres PR

[Bug fortran/82375] PDT error

2017-10-01 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82375 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug middle-end/81376] unnecessary cast before comparison

2017-10-01 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81376 Yury Gribov changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/82319] [8 Regression] ICE in generic_simplify_148, at generic-match.c:6436

2017-10-01 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82319 Yury Gribov changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/81733] stage1 libgcc_s.dylib fails to link on Darwin 11/x86_64

2017-10-01 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81733 --- Comment #11 from Iain Sandoe --- Dominique identifies r249105 as triggering the issue (but this might well be exposing a latent). I have built xc 8.2.1 series tools on Darwin 10 and carried out the following test with trunk at 253320 (which

[Bug fortran/49232] Pointer assignment of stride to CONTIGUOUS pointer not diagnosed as invalid

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

[Bug tree-optimization/82381] New: internal compiler error: qsort checking failed

2017-10-01 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82381 Bug ID: 82381 Summary: internal compiler error: qsort checking failed Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/45435] Automatically generate C interop interface blocks from C code

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

[Bug sanitizer/82379] [7/8 Regression] internal_sigreturn not defined in libasan.so or libubsan.so with -mx32

2017-10-01 Thread steven at uplinklabs dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82379 --- Comment #6 from Steven Noonan --- Seems to resolve the link issue. Not sure how to test that internal_sigreturn does what it should, though.