[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-11-02 Thread janis at gcc dot gnu dot org


--- Comment #9 from janis at gcc dot gnu dot org  2005-11-02 17:15 ---
A regression hunt on powerpc-linux identified this patch:

r100793 | rth | 2005-06-09 07:43:40 + (Thu, 09 Jun 2005) | 38 lines

PR tree-opt/20610


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rth at gcc dot gnu dot org


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-30 Thread mmitchel at gcc dot gnu dot org


--- Comment #8 from mmitchel at gcc dot gnu dot org  2005-10-31 06:18 
---
ICE on reasonable valid code; showstopper.


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P2  |P1


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-29 Thread steven at gcc dot gnu dot org


--- Comment #5 from steven at gcc dot gnu dot org  2005-10-29 16:28 ---
This does not fail for me...  Neither the original test case nor the reduced
one. The compiler I used was GNU C++ version 4.1.0 20051029 (experimental)
(x86_64-unknown-linux-gnu)


-- 


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-29 Thread steven at gcc dot gnu dot org


--- Comment #6 from steven at gcc dot gnu dot org  2005-10-29 16:41 ---
This does ICE for i686 or for AMD64 -m32.  For 64 bits it passes for me.


-- 


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-29 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2005-10-29 18:01 ---
I have a fix but it could cause missed optimizations but from the looks of it,
that is because we don't use SFT on complex variables (or it might be on
RESULT_DECL which is the real issue).


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-26 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2005-10-26 22:38 ---
This is a combined return slot optimization and inliner bug.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jason at gcc dot gnu dot
   ||org, hubicka at gcc dot gnu
   ||dot org


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.1.0


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-14 13:48 ---
Reduced testcase:
typedef __complex__ double cdouble;
inline cdouble to_complex(double r) {
  cdouble z;
  __real__ z = r;
  return z;
}
cdouble elt_zero() {
  return to_complex(0.0);
}
-

The inliner is remapping z/retval wrong and forgetting to copy if the complex
is a aggregate or a scaler.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2005-10-14 13:48:27
   date||


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2005-10-14 13:49 ---
One more thing, this only happens with the C++ front-end.


-- 


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|critical|normal


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



[Bug tree-optimization/24365] [4.1 Regression] statement makes a memory store with complex

2005-10-14 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2005-10-14 14:00 ---
Oh, the reason why I could confirm this one is because this is a split off from
PR 24362.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

OtherBugsDependingO||24362
  nThis||


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