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/37315] [4.4 Regression]: gcc.c-torture/execute/931018-1.c int-compare.c ieee/inf-2.c mzero6.c



------- Comment #2 from hp at gcc dot gnu dot org  2008-09-02 00:47 -------
Honza, why is tree-inline.c:initialize_cfun not calling
allocate_struct_function and *then* change whatever elements need changing? 
There's no comment to reveal the reason.  Now, you're just allocating a cleared
area and doing a shallow-copy, which causes the clone to have e.g. the same
cfun->machine. Badness results.
This is a tree-optimization bug, not a target bug.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |tree-optimization


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


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