This is the mail archive of the gcc-prs@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: optimization/6233: simple loop miscompilation


The following reply was made to PR optimization/6233; it has been noted by GNATS.

From: Richard Henderson <rth@redhat.com>
To: gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org
Cc:  
Subject: Re: optimization/6233: simple loop miscompilation
Date: Tue, 9 Apr 2002 09:41:57 -0700

 On Tue, Apr 09, 2002 at 08:57:35PM +0930, Alan Modra wrote:
 > 	* alias.c (nonlocal_referenced_p): Make global.
 > 	* tree.h (nonlocal_referenced_p): Declare.
 > 	* loop.c (prescan_loop): Set has_nonconst_call for pure functions.
 
 This is almost certainly wrong.  It sounds more like either
 we've mis-categorized the function to begin with, or loop is
 failing to note the USE of memory in CALL_INSN_FUNCTION_USAGE.
 
 
 r~


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