[Bug c/81996] New: __builtin_return_address(0) does not work on powerpc in -fPIC mode and causes SIGSEGVs

2017-08-27 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81996 Bug ID: 81996 Summary: __builtin_return_address(0) does not work on powerpc in -fPIC mode and causes SIGSEGVs Product: gcc Version: 7.2.0 Status: UNCONFIRMED Se

[Bug c/81996] __builtin_return_address(0) does not work on powerpc in -fPIC mode and causes SIGSEGVs

2017-08-27 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81996 --- Comment #1 from Sergei Trofimovich --- Compiler version: Target: powerpc-unknown-linux-gnu Configured with: /dev/shm/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/configure --host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu --pr

[Bug c/81996] __builtin_return_address(0) does not work on powerpc in -fPIC mode and causes SIGSEGVs

2017-08-27 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81996 --- Comment #2 from Sergei Trofimovich --- gcc master is slightly better here but is still inefficient in fPIC mode: gcc -O2 -fno-PIC: f: mflr 3 blr gcc -O2 -fPIC: f: stwu 1,-16(1) mflr 0 stw 0,

[Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references

2017-08-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81993 --- Comment #2 from Markus Trippelsdorf --- % cat CompilerInstance.ii struct A { template struct B {}; }; struct ObjCMethodDecl : A { bool isClassMethod() const {} B classmeth_end() {} }; int main(){} % g++ CompilerInstance.ii % g++

[Bug fortran/81974] [8 Regression] ICE verify_gimple failed type mismatch in binary expression

2017-08-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81974 --- Comment #3 from Thomas Koenig --- Author: tkoenig Date: Sun Aug 27 08:01:25 2017 New Revision: 251368 URL: https://gcc.gnu.org/viewcvs?rev=251368&root=gcc&view=rev Log: 2017-08-27 Thomas Koenig PR fortran/81974 * frontend

[Bug fortran/81974] [8 Regression] ICE verify_gimple failed type mismatch in binary expression

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

[Bug fortran/81707] Type parameter inquiry errors

2017-08-27 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81707 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2017-08-27 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40196 janus at gcc dot gnu.org changed: What|Removed |Added CC||mexas at bristol dot ac.uk ---

[Bug fortran/81841] THREADPRIVATE (OpenMP) wrongly rejected in BLOCK DATA

2017-08-27 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81841 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/81841] [5/6/7/8 Regression] THREADPRIVATE (OpenMP) wrongly rejected in BLOCK DATA

2017-08-27 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81841 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references

2017-08-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81993 Markus Trippelsdorf changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Targe

[Bug c/81996] __builtin_return_address(0) does not work on powerpc in -fPIC mode and causes SIGSEGVs

2017-08-27 Thread slyfox at inbox dot ru
igure --prefix=/root/gcc-installed Thread model: posix gcc version 8.0.0 20170827 (experimental) (GCC) $ gcc-installed/bin/gcc -O2 a.c -o a -fPIC -fstack-protector-all && ./a main=0x130c ret_addr=0x7c641b78 $ gcc-installed/bin/gcc -O2 a.c -o a -fno-PIC -fstack-protector-al

[Bug c++/81992] C++ toupper symbol clash?

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

[Bug c++/81997] New: segfault while instantiating constrained function template

2017-08-27 Thread gccbugzilla at szaszm dot tk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81997 Bug ID: 81997 Summary: segfault while instantiating constrained function template Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/81997] segfault while instantiating constrained function template

2017-08-27 Thread gccbugzilla at szaszm dot tk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81997 --- Comment #1 from gccbugzilla at szaszm dot tk --- Created attachment 42052 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42052&action=edit Source file

[Bug c++/81997] segfault while instantiating constrained function template

2017-08-27 Thread gccbugzilla at szaszm dot tk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81997 --- Comment #2 from gccbugzilla at szaszm dot tk --- Created attachment 42053 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42053&action=edit CLI log

[Bug c++/81998] New: [c++14] lambda: name from init-capture not visible in lambda-declarator

2017-08-27 Thread aschepler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81998 Bug ID: 81998 Summary: [c++14] lambda: name from init-capture not visible in lambda-declarator Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/71974] Warning: uninitialized variable with OpenMP nested loops

2017-08-27 Thread register at rgug dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71974 --- Comment #3 from Rafael Guglielmetti --- (In reply to Eric Gallager from comment #2) > (In reply to Rafael Guglielmetti from comment #1) > > With gcc 6.1.1, the above code gives rise to the error: > > error: condition expression refers to iter

[Bug fortran/81770] [5/6/7 Regression] Bogus warning: Pointer in pointer assignment might outlive the pointer target

2017-08-27 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81770 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/81999] New: templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2017-08-27 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81999 Bug ID: 81999 Summary: templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...) Product: gcc

[Bug c++/81999] templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2017-08-27 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81999 --- Comment #1 from bastien penavayre --- Created attachment 42055 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42055&action=edit compile log with -v

[Bug c++/81999] templated lambda in template context: cannot call operator() explicitly with template parameters (expected primary-expression before ...)

2017-08-27 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81999 --- Comment #2 from bastien penavayre --- the same exact code compiles fine in a non-template context and parse error in one

[Bug bootstrap/81995] [8.0 Regression] gcc/reg-stack.c:2073:1: error: unrecognizable insn:

2017-08-27 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81995 --- Comment #2 from uros at gcc dot gnu.org --- Author: uros Date: Sun Aug 27 18:01:46 2017 New Revision: 251369 URL: https://gcc.gnu.org/viewcvs?rev=251369&root=gcc&view=rev Log: PR target/81995 * config/i386/i386.md (*): Change

[Bug target/81995] [8.0 Regression] gcc/reg-stack.c:2073:1: error: unrecognizable insn:

2017-08-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81995 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|bootstrap

[Bug c++/82000] New: Missed optimization of char_traits::length() on constant string

2017-08-27 Thread ldionne.2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82000 Bug ID: 82000 Summary: Missed optimization of char_traits::length() on constant string Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

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

2017-08-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 71974, which changed state. Bug 71974 Summary: Warning: uninitialized variable with OpenMP nested loops https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71974 What|Removed |Added ---

[Bug c++/71974] Warning: uninitialized variable with OpenMP nested loops

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

[Bug c++/69572] [C++11] invalid alignas accepted in many contexts

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

[Bug c++/69585] [C++ 11] parser errors mixing alignas, C++ 11 and GNU attributes on class declaration

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

[Bug c++/69638] array out of bounds access accepted in constexpr function invocation

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

[Bug fortran/78387] OpenMP segfault/stack size exceeded writing to internal file

2017-08-27 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78387 --- Comment #13 from Jerry DeLisle --- Author: jvdelisle Date: Mon Aug 28 03:42:47 2017 New Revision: 251374 URL: https://gcc.gnu.org/viewcvs?rev=251374&root=gcc&view=rev Log: 2017-08-27 Jerry DeLisle PR libgfortran/78387 * i

[Bug c++/82000] Missed optimization of char_traits::length() on constant string

2017-08-27 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82000 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug inline-asm/82001] New: [5/6/7/8 regression] wrong code when two functions differ only in inline asm register constraints

2017-08-27 Thread peter at cordes dot ca
) { asm("mul %%edx # %%1 was %1" : "+a" (a), "+d" (b)); return a; } int mulhi(int a, int b) { asm("mul %%edx # %%1 was %1" : "+d" (a), "+a" (b)); return a; } gcc8.0.0-snapshot 20170827 -O3 (https://godbolt.org/g/CYjnGg) c