[Bug target/68028] Compilation error "lto1: error: target attribute or pragma changes single precision floating point", with "-flto" on different variant of powerpc like -mcpu=e6500, 8540, 8548, e500m

2015-10-29 Thread ranjan.amit8 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68028 --- Comment #5 from martin --- Hi Richard, There are the changes came after gcc-4.9.3 because of that I am getting above issue, but if I comment these 2 line in file (tree-streamer-in.c & tree-streamer-out.c) then it resolves the issue I am faci

[Bug target/68028] Compilation error "lto1: error: target attribute or pragma changes single precision floating point", with "-flto" on different variant of powerpc like -mcpu=e6500, 8540, 8548, e500m

2015-10-21 Thread ranjan.amit8 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68028 --- Comment #4 from martin --- $ ./powerpc-pc-linux-gcc test.c -mcpu=e6500 does that work? (without LTO?) Yes, It works without -flto.

[Bug target/68028] Compilation error "lto1: error: target attribute or pragma changes single precision floating point", with "-flto" on different variant of powerpc like -mcpu=e6500, 8540, 8548, e500m

2015-10-21 Thread ranjan.amit8 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68028 --- Comment #2 from martin --- Hi Richard, You mean to say that there is no issue with LTO, the error is only due to addition flags for particular -mcpu. I am only getting this issue when I passs -flto option with -mcpu=e6500. Without -flto th

[Bug lto/68028] New: Compilation error "lto1: error: target attribute or pragma changes single precision floating point", with "-flto" on different variant of powerpc like -mcpu=e6500, 8540, 8548, e50

2015-10-20 Thread ranjan.amit8 at gmail dot com
Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: ranjan.amit8 at gmail dot com Target Milestone: --- Created attachment 36547 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36547&action=edit gdb debug log (LOG5gdb-6-error) Test-Case:- $cat test.c