[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME

2021-09-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24201 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Last reconfirmed|2

[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME

2012-01-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24201 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME

2005-10-04 Thread hjl at lucon dot org
--- Comment #6 from hjl at lucon dot org 2005-10-05 00:37 --- I used libstdc++ as an example to show that it isn't unreasonable to have .o files compiled with and without -fffunction-sections. Besides, on my system there is a libstdc++.a. We can just use something like #define HOT_TEXT_

[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME

2005-10-04 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-04 23:14 --- (In reply to comment #4) > A library may be compiled with -ffunction-sections. It doesn't mean that all > codes linked against that library have to use -ffunction-sections. For > example, > libstdc++ is compiled wit

[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME

2005-10-04 Thread hjl at lucon dot org
--- Comment #4 from hjl at lucon dot org 2005-10-04 22:58 --- A library may be compiled with -ffunction-sections. It doesn't mean that all codes linked against that library have to use -ffunction-sections. For example, libstdc++ is compiled with -ffunction-sections. Do I have to use it f

[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME

2005-10-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-04 22:41 --- (In reply to comment #2) > The problem is with -ffunction-sections, we may put a very big cold function > in > the .text.hot section and a very hot function in the .text.unlikely section. > It > defeats the whole p

[Bug middle-end/24201] Potential problems with HOT_TEXT_SECTION_NAME

2005-10-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-04 21:52 --- I don't see why this is really a problem. It only effects the gcing sections, it just means you are not going to remove those functions when used with other functions which are in the hold/cold section. -- pinsk