This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33088] [4.1/4.2/4.3 Regression] spurious exceptions with -ffloat-store
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Dec 2007 10:12:51 -0000
- Subject: [Bug middle-end/33088] [4.1/4.2/4.3 Regression] spurious exceptions with -ffloat-store
- References: <bug-33088-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from ebotcazou at gcc dot gnu dot org 2007-12-05 10:12 -------
We could probably get away with a kludge for -ffloat-store and optimization,
but currently the flag comes into play only very late (in TER) and I think
it's better to keep this.
So I think the approach to solving this is two-pronged:
- at -O0, do not promote the partial stores to total stores in the gimplifier,
- at -O1 or above, insert dummy initializations for "uninitialized" SSA names,
this should be cleaned up at the RTL level (if -ffloat-store is not passed).
Andrew, IIRC you extended DECL_COMPLEX_GIMPLE_REG_P to DECL_GIMPLE_REG_P, can
vectors be affected by the same issue?
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33088