This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36713] [4.4 regression] r137252 breaks -O2 optimization on x86_64-unknown-linux-gnu
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2008 09:12:21 -0000
- Subject: [Bug target/36713] [4.4 regression] r137252 breaks -O2 optimization on x86_64-unknown-linux-gnu
- References: <bug-36713-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenther at suse dot de 2008-07-03 09:12 -------
Subject: Re: New: [4.4 regression] r137252 breaks -O2
optimization on x86_64-unknown-linux-gnu
On Thu, 3 Jul 2008, dfranke at gcc dot gnu dot org wrote:
> ------------------------------------------------------------------------
> r137252 | rguenth | 2008-06-29 17:44:00 +0200 (Sun, 29 Jun 2008) | 27 lines
>
> 2008-06-29 Richard Guenther <rguenther@suse.de>
>
>
> For now, all I can tell is: my Fortran-based project gives acceptable results
> with r137251 (FCFLAGS="-O2"), but r137252 produces strange output that can,
> numerically, not be justified. For FCFLAGS="-O1", both revisions seem to work.
>
> Can't provide a testcase for now as I'm not sure where I should start looking.
> Pointers welcome :)
Try updating to at least
2008-06-30 Richard Guenther <rguenther@suse.de>
PR middle-end/36671
* tree-ssa-structalias.c (handle_lhs_call): Add flags argument,
handle calls from ECF_MALLOC functions.
(handle_pure_call): ECF_MALLOC functions do not return
call-used memory.
(find_func_aliases): Handle all calls, adjust calls to
handle_lhs_call.
as this fixes some fortran problems.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36713