This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/82302] LTO producing bad code
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Sep 2017 07:40:05 +0000
- Subject: [Bug lto/82302] LTO producing bad code
- Auto-submitted: auto-generated
- References: <bug-82302-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to krzysio.kurek from comment #9)
> 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.
Good, I can confirm using GCC-6 it runs and exits very fast. With GCC 7 it
hangs in:
#0 0x0000000000413720 in get () at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/Block/BlockDatabase.cpp:25
#1 0x000000000041619f in getData (this=<synthetic pointer>) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/Block/ChunkBlock.cpp:20
#2 setBlock (this=0x88ccb0, x=1, y=-703477434, z=0, block=...) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/Chunk/Chunk.cpp:43
#3 0x0000000000412ee6 in setBlocks (maxHeight=<optimized out>, this=0x884fb0)
at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/Generation/Terrain/ClassicOverWorldGenerator.cpp:145
#4 generateTerrainFor (this=0x884fb0, chunk=...) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/Generation/Terrain/ClassicOverWorldGenerator.cpp:61
#5 0x00000000004074df in load (generator=..., this=0x88ccb0) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/Chunk/Chunk.cpp:122
#6 loadChunk (z=153, x=102, this=0x896868) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/Chunk/ChunkManager.cpp:59
#7 setSpawnPoint (this=0x896868) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/World.cpp:278
#8 __base_ctor (player=..., config=..., camera=..., this=0x896868) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/World/World.cpp:18
#9 __base_ctor (config=..., app=..., this=0x8965f0) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/States/PlayingState.cpp:14
#10 make_unique (__args#1=..., __args#0=...) at
/usr/include/c++/7/bits/unique_ptr.h:825
#11 pushState (args#1=..., args#0=..., this=0x7fffffffd6d0) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/Application.h:26
#12 __base_ctor (config=..., this=0x7fffffffd6d0) at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/Application.cpp:13
#13 main () at
/home/marxin/Programming/MineCraft-One-Week-Challenge/Source/Main.cpp:61