: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: krzysio.kurek at wp dot pl
Target Milestone: ---
Created attachment 52502
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52502&action=edit
-freport-bug outp
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: krzysio.kurek at wp dot pl
Target Milestone: ---
Consider this example
void foo()
{
std::string(1, 0);
}
(https://godbolt.org/z/AlkBBJ)
This function creates a string using the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88516
krzysio.kurek at wp dot pl changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88516
--- Comment #2 from krzysio.kurek at wp dot pl ---
Created attachment 45243
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45243&action=edit
preprocessed file
Oh I just noticed that the preprocessed file didn't get attached.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88516
--- Comment #1 from krzysio.kurek at wp dot pl ---
I'm afraid this is as minimal as it gets. Should I set up a git repo with all
sources needed to reproduce the error?
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: krzysio.kurek at wp dot pl
CC: marxin at gcc dot gnu.org
Target Milestone: ---
sysinfo:
gcc (SUSE Linux) 8.2.1 20181108 [gcc-8-branch revision 265914]
OpenSUSE Tumbleweed 20181213
GCC configuration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #28 from krzysio.kurek at wp dot pl ---
I mean the relative performance is worse but still Profiled GCC6 is faster than
GCC 7 or GCC 8.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
krzysio.kurek at wp dot pl changed:
What|Removed |Added
Attachment #44025|0 |1
is obsolete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
krzysio.kurek at wp dot pl changed:
What|Removed |Added
Attachment #42199|0 |1
is obsolete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #22 from krzysio.kurek at wp dot pl ---
I'm sorry but profiling doesn't seem to be well documented, what tools should I
use to generate a profiling log?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
krzysio.kurek at wp dot pl changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #19 from krzysio.kurek at wp dot pl ---
I'm sorry if it's not clear, English isn't my native language.
So to reiterate.
The normal, unoptimized path is:
World::update() simulates world which uses Random::get() to ge
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #18 from krzysio.kurek at wp dot pl ---
I'm sorry if it's not clear, English isn't my native language.
So to reiterate.
The normal, unoptimized path is:
World::update() simulates world which uses Random::get() on every
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
krzysio.kurek at wp dot pl changed:
What|Removed |Added
Version|7.1.0 |7.2.0
--- Comment #17 from
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
--- Comment #8 from krzysio.kurek at wp dot pl ---
Wouldn't this bug affect all gcc compilers? I have 5, 6 and 7 installed, and
only 5 is affected.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302
--- Comment #9 from krzysio.kurek at wp dot pl ---
I think I located the issue, it works fine on my machine, but using I found an
error using glslangValidator.
Please try pulling and compiling again.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
--- Comment #5 from krzysio.kurek at wp dot pl ---
$ g++-5 -std=c++11 main.cpp -o string -v
Using built-in specs.
COLLECT_GCC=g++-5
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
krzysio.kurek at wp dot pl changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
++
Assignee: unassigned at gcc dot gnu.org
Reporter: krzysio.kurek at wp dot pl
Target Milestone: ---
Most basic code fails to compile.
#include
#include
int main ()
{
std::string perfect = std::to_string(1+2+4+7+14) + " is a perfect number";
std::cout <<
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302
--- Comment #8 from krzysio.kurek at wp dot pl ---
In a sense that there is no error, the program goes into infinite loop.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302
--- Comment #7 from krzysio.kurek at wp dot pl ---
No, the error you're having is completely different from what I originally
reported.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302
--- Comment #5 from krzysio.kurek at wp dot pl ---
I can't reproduce your error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302
--- Comment #3 from krzysio.kurek at wp dot pl ---
This happens only on GCC7 with -flto activated.
clang-6, GCC6 and GCC5 with either flag enabled or disabled compile code that
runs fine.
I don't know why this error is occurring for you Martin.
: unassigned at gcc dot gnu.org
Reporter: krzysio.kurek at wp dot pl
CC: marxin at gcc dot gnu.org
Target Milestone: ---
I've found a repository with code which upon compilation with -flto under GCC7
creates a softlock. Works fine on GCC6.
Here's a fork of the r
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #11 from krzysio.kurek at wp dot pl ---
Done, cmake will now default to Release config with altered compiler flags that
include -flto.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #8 from krzysio.kurek at wp dot pl ---
Okay, I'm terribly sorry for the amount of messages but I'm failing over and
over again trying to grasp the issue.
The seed is only static for the first request, but changes later o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #7 from krzysio.kurek at wp dot pl ---
I've created a fork with "devel" branch here:
https://github.com/kiroma/Empire/tree/devel
I've tweaked some things, so now random seed is set, the simulation will exit
afte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #6 from krzysio.kurek at wp dot pl ---
Oh, two comments about the callgrind output.
Random::get() is being called 14 times less often on GCC6
There is a function created from template in GCC7 that is completely absent on
GCC6.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #5 from krzysio.kurek at wp dot pl ---
Created attachment 42199
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42199&action=edit
callgrind output
I can make the program output to console average fps after 20 iterations
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #2 from krzysio.kurek at wp dot pl ---
I'm using CMake to generate a Makefile.
The Release build adds -O3 and -DNDEBUG by default to compile options.
I modify the config so that it also adds -flto.
Should I attach make verbose output?
nt: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: krzysio.kurek at wp dot pl
Target Milestone: ---
A small SFML project on github:
https://github.com/Hopson97/Empire
Takes huge advantage of -flto flag on GCC6, but after upgrading to GCC7, the
difference is negligible.
Her
32 matches
Mail list logo