This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11530] [3.4 regression] [unit-at-a-time] inline static function not emitted with -O3
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2003 23:09:05 -0000
- Subject: [Bug c++/11530] [3.4 regression] [unit-at-a-time] inline static function not emitted with -O3
- References: <20030715211908.11530.snyder@fnal.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11530
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |wrong-code
Priority|P3 |P1
Summary|[3.4 regression] unit-at-a- |[3.4 regression] [unit-at-a-
|time: inline static function|time] inline static function
|not emitted with -O3 |not emitted with -O3
Target Milestone|--- |3.4
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-15 23:09 -------
It looks like if the function is referenced in not in a call, unit-at-a-time does not mark the
function as being used as gcc does not emit it.