This is the mail archive of the 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 middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

------- Comment #1 from rsandifo at gcc dot gnu dot org  2007-09-03 12:04 -------
Created an attachment (id=14152)
 --> (
Proposed patch

It was indeed my fault, sorry.  When doing a 32x32->64 multiplication,
CONST_INTs are interpreted in the target mode (DImode).  We were forcing
such a CONST_INT into an SImode register without sign-extending it first.

The attached patch seems to fix the testcase.  I'm testing on x86_64-linux-gnu.
Could someone with access to PowerPC GNU/Linux or Darwin please test it too?
I could do before-and-after tests for powerpc-eabisim, but it'd probably
take longer.


rsandifo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
         AssignedTo|unassigned at gcc dot gnu   |rsandifo at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED

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