This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/15345] [3.4 Regression] [non-unit-at-a-time] unreferenced nested inline functions not optimized away
- From: "jh at suse dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jun 2004 14:13:10 -0000
- Subject: [Bug middle-end/15345] [3.4 Regression] [non-unit-at-a-time] unreferenced nested inline functions not optimized away
- References: <20040509172606.15345.dank@kegel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jh at suse dot cz 2004-06-13 14:13 -------
Subject: Re: [3.4 Regression] [non-unit-at-a-time] unreferenced nested inline functions not optimized away
>
> ------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-06-12 22:05 -------
> Jan, please investigate this problem. There are a lot of unit-at-a-time related
> regressions targeted at 3.4.1; please look at all of them and indicate your
> thoughts.
I am still offline till day after tomorrow but I will look into that
afterwards.
The irritating thing about this testcase is that nested functions bypass
cgraph code completely on GCC before tree-ssa merge and thus it does not
deffer and elliminate it.
I am quite surprised that this used to be working on 2.95 and 3.2. To
get it back I guess I will need to add some hacks into the frontend to
ask the cgraph about the reachability.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15345