https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
--- Comment #10 from Matthias Goldhoorn ---
Tested gcc6 (daily bump 20151124 (638a694865e4ad7d35397526251f1401e01afb54)
from git, branch master) same problem the binary for testcase1 segfaults, the
other ones running fine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
--- Comment #8 from Matthias Goldhoorn ---
Created attachment 36758
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36758=edit
Revert of identified causing commit
Not indented to apply on mainline, only for debugging help
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
--- Comment #9 from Matthias Goldhoorn ---
I added a patch for the revert of the causing commit Evgeniy mentioned.
This revert makes my code working but i don't know the side-effects and/or what
was intended originally by this commit.
However
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
--- Comment #7 from Matthias Goldhoorn ---
I played around with different versions of the GCC.
I figured out that default gcc on ubuntu 15.10 adds --as-needed to the linker
flag when i call the compiler. This causes the resulting binary to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
--- Comment #6 from Matthias Goldhoorn ---
(In reply to Jonathan Wakely from comment #5)
> Fails with gcc-5-branch, but doesn't fail on trunk for me.
Is there a trunk branch or tag available i can try to compile, the last
versions i tried does
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
--- Comment #3 from Evgeniy Dushistov ---
I build gcc with last commit:
commit 06d6724083a2cb1f35e36f4a0db3025bfde20667
Author: nathan
Date: Wed Nov 4 17:01:23 2015 +
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
--- Comment #4 from Evgeniy Dushistov ---
Created attachment 36650
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36650=edit
preprocessed sources
I attached files created with gcc -E from main.cpp and Lib.cpp, hope this helps
reproduce
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
Evgeniy Dushistov changed:
What|Removed |Added
CC||dushistov at mail dot ru
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195
Jan Hubicka changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org
--- Comment #2
10 matches
Mail list logo