[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

geoffk at geoffk dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 2 05:31:00 GMT 2006



------- Comment #13 from geoffk at geoffk dot org  2006-09-02 05:31 -------
Subject: Re:  [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using
may_alias and structs


On 01/09/2006, at 2:53 PM, mmitchel at gcc dot gnu dot org wrote:

> ------- Comment #11 from mmitchel at gcc dot gnu dot org   
> 2006-09-01 21:53 -------
> Yet another problem showing problems with attributes on typedefs  
> for structure
> types...

The question I asked is "why doesn't this happen for 'const'"?  That  
turned out to be a good question, because it leads to the better  
question of "what debugging output did you expect for this code,  
anyway"?

It seems to me that __noalias__ is an interesting attribute that  
should be somehow reflected in the DWARF.  That would require a GNU  
extension, of course.


-- 


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



More information about the Gcc-bugs mailing list