This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fortran] RFC: Enabling -fwhole-file by default


On Fri, Jul 23, 2010 at 9:48 PM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> On Fri, Jul 23, 2010 at 9:18 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
>> On Fri, Jul 23, 2010 at 9:15 PM, Paul Richard Thomas
>> <paul.richard.thomas@gmail.com> wrote:
>>>> I think -fwhole-file is now stable enough to be enabled by default; one
>>>> can still use -fno-whole-file to disable it. (Though, I like to remove
>>>> that "no" option in the next release, i.e. 4.7.)
>>>
>>> I don't think that I can agree to that, largely for legacy reasons. ?I
>>> see no harm in leaving the option and would suggest that for
>>> std=legacy it is automatically set.
>>
>> I think this should also depend on whether there are still all those
>> middle-end hacks we used to have for the -fno-whole-file case. Honza?
>
> We don't have any - we always just miscompiled stuff.

ISTR there is special code in the call graph construction, to handle
multiple function decls...?

Ciao!
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]