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/17483] [4.0 regression] ICE at -O3 when passing a reference.


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-16 03:27 -------
The problem comes from the tree optimizations happen for foo so the TREE_ADDRESSABLE bit is unset 
but since we don't do inlining from that trees we get the orginal code where we take the address.  So 
this is really a tree problem where we don't reset the addressable flags after doing the optimizations on 
the tree.  If we did the inlining from the optimizated code, we would not have this problem in fact we 
don't have to do the optimizations twice on the code (which can reduce the compile time :) ).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW
           Keywords|patch                       |


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


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