[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2019-07-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629 --- Comment #11 from Eric Gallager --- (In reply to Federico Fissore from comment #8) > I forgot to say: this result came out of avr-gcc 4.8.1 (packaged by Arduino: > it's a 4.8.1 with two small patches applied [1]). It uses -Os optimization >

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2019-01-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629 Eric Gallager changed: What|Removed |Added Assignee|hubicka at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2018-10-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2015-04-09 Thread federico at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629 --- Comment #8 from Federico Fissore federico at fsfe dot org --- I forgot to say: this result came out of avr-gcc 4.8.1 (packaged by Arduino: it's a 4.8.1 with two small patches applied [1]). It uses -Os optimization flag [1]

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2015-04-09 Thread federico at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629 Federico Fissore federico at fsfe dot org changed: What|Removed |Added CC||federico at

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2010-11-10 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629 --- Comment #5 from Jan Hubicka hubicka at gcc dot gnu.org 2010-11-10 20:19:24 UTC --- Hi, I have reservations for making inline heuristics too target specific as it would increase the testing matrix of inliner even more. It is difficult to

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2010-11-10 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38629 --- Comment #6 from Jan Hubicka hubicka at gcc dot gnu.org 2010-11-10 20:52:18 UTC --- OK, at -Os the issue is that function is called once so inlining is a win. Making multiple copies of it leads to GCC making clone:

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-29 20:10 --- There is a dup for this somewhere ... on pretty-ipa branch the call cost is 3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2008-12-26 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2008-12-26 15:38 --- GCC inline heuristics are just that: heuristics. They are not optimal for all targets but only for those targets that they have been tuned for. For AVR, nobody ever tuned the heuristics, despite several suggestions

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2008-12-26 Thread forwards dot from dot bugzilla at d81 dot de
--- Comment #2 from forwards dot from dot bugzilla at d81 dot de 2008-12-26 21:29 --- Steven, thanks for your explanation. My point of view was that gcc-4.3.3 did do inlining code for -Os, -O1, -O2 although the manual clearly states that it would not do inlining for these optimization

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2008-12-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-26 21:35 --- set_param_value (inline-call-cost, 5); This might be too high, the default for -O2/-O3 is 12. That might be the real issue. Also -O2/-Os for 3.4 and above did the same inlining of static functions that 4.3