[Bug lto/64343] [5 Regression] lto compile options

2014-12-18 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64343

--- Comment #5 from Jan Hubicka  ---
Yep, I am slowly working on that: still need to finish upatin ipa passes for
per-function flags (ipa-reference/ipa-icf are two remaining) and we need to
figure out what to do with flags that arenot marked Optimization but still
affects codegen.

Honza

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64343
> 
> --- Comment #4 from Richard Biener  ---
> Note that we should update the documentation about this change (and throw away
> all option handling of optimize/target attribute handled options from
> lto-wrapper,
> or rather move all of that handling to lto1).
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.


[Bug lto/64343] [5 Regression] lto compile options

2014-12-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64343

--- Comment #4 from Richard Biener  ---
Note that we should update the documentation about this change (and throw away
all option handling of optimize/target attribute handled options from
lto-wrapper,
or rather move all of that handling to lto1).


[Bug lto/64343] [5 Regression] lto compile options

2014-12-17 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64343

Joost VandeVondele  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #3 from Joost VandeVondele  
---
OK,fine with me.


[Bug lto/64343] [5 Regression] lto compile options

2014-12-17 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64343

--- Comment #2 from Jan Hubicka  ---
This is intended change. Compiling with -O0 -flto and linking with -O3 will not
really give you -O3 optimized code in earlier compilers either; you will not
get any of early optimizations and inlining will not use any of the more
advanced optimizations.

THe purpose of OPTIMIZE/TARGET_OPTION node streaming is to make LTO closer to
non-LTO copmilation by making the compile time flags to matter.  This allows
you to i.e. combine -ffast-math/-fno-fast-math units well or build part of
program with different target options.


[Bug lto/64343] [5 Regression] lto compile options

2014-12-17 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64343

Joost VandeVondele  changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu.org,
   ||Joost.VandeVondele at mat dot 
ethz
   ||.ch

--- Comment #1 from Joost VandeVondele  
---
possibly caused by r218767 ?