This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop



------- Comment #9 from rguenther at suse dot de  2009-01-16 21:01 -------
Subject: Re:  [4.2/4.3/4.4 Regression] trapping
 expression wrongly hoisted out of loop

On Fri, 16 Jan 2009, dberlin at dberlin dot org wrote:

> Subject: Re:  [4.2/4.3/4.4 Regression] trapping 
>         expression wrongly hoisted out of loop
> 
> Hmmm.
> The only way you could get the CFG to represent that any call may exit
> would be to calls terminate bb's and have an edge from every call to
> exit.
> :(
> 
> We actually do this with noreturn edges.
> It's probably a lot easier to just not move trapping expressions for now.

Like all loads from pointers? :/

I'll try to do something slightly more clever.

Richard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38819


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