public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39592]  New: [4.5 regression] Revision 145272 breaks -ansi -march=core2
@ 2009-03-30 18:41 hjl dot tools at gmail dot com
  2009-03-30 19:45 ` [Bug target/39592] " hjl dot tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-03-30 18:41 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]

Revision 145272:

http://gcc.gnu.org/ml/gcc-cvs/2009-03/msg00779.html

caused:

[hjl@gnu-33 gcc]$ cat /tmp/x.i
double
foo (unsigned long var)
{
  return var;
}
[hjl@gnu-33 gcc]$  ./xgcc -B./ -m32 -S -ansi /tmp/x.i
[hjl@gnu-33 gcc]$  ./xgcc -B./ -m32 -S -ansi /tmp/x.i -march=core2
/tmp/x.i: In function ‘foo’:
/tmp/x.i:5: error: unrecognizable insn:
(insn 23 22 16 2 /tmp/x.i:4 (set (reg:DF 8 st [orig:58 D.1245 ] [58])
        (float:DF (mem/c:DI (plus:SI (reg/f:SI 6 bp)
                    (const_int -8 [0xfffffffffffffff8])) [0 S8 A64]))) -1
(nil))
/tmp/x.i:5: internal compiler error: in extract_insn, at recog.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-33 gcc]$


-- 
           Summary: [4.5 regression] Revision 145272 breaks -ansi -
                    march=core2
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -march=core2
  2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
@ 2009-03-30 19:45 ` hjl dot tools at gmail dot com
  2009-03-30 19:50 ` [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse hjl dot tools at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-03-30 19:45 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]



------- Comment #1 from hjl dot tools at gmail dot com  2009-03-30 19:45 -------
It will fail with -msse:

[hjl@gnu-33 gcc]$  ./xgcc -B./ -m32 -S -ansi /tmp/x.i -msse
/tmp/x.i: In function ‘foo’:
/tmp/x.i:5: error: unrecognizable insn:
(insn 23 22 16 2 /tmp/x.i:4 (set (reg:DF 8 st [orig:58 D.1037 ] [58])
        (float:DF (mem/c:DI (plus:SI (reg/f:SI 6 bp)
                    (const_int -8 [0xfffffffffffffff8])) [0 S8 A64]))) -1
(nil))
/tmp/x.i:5: internal compiler error: in extract_insn, at recog.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-33 gcc]$ 


-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse
  2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
  2009-03-30 19:45 ` [Bug target/39592] " hjl dot tools at gmail dot com
@ 2009-03-30 19:50 ` hjl dot tools at gmail dot com
  2009-03-30 21:12 ` jsm28 at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-03-30 19:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0
            Version|4.4.0                       |4.5.0


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse
  2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
  2009-03-30 19:45 ` [Bug target/39592] " hjl dot tools at gmail dot com
  2009-03-30 19:50 ` [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse hjl dot tools at gmail dot com
@ 2009-03-30 21:12 ` jsm28 at gcc dot gnu dot org
  2009-03-30 22:00 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 21:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jsm28 at gcc dot gnu dot org  2009-03-30 21:11 -------
Testing a patch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jsm28 at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-03-30 21:11:52
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse
  2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2009-03-30 21:12 ` jsm28 at gcc dot gnu dot org
@ 2009-03-30 22:00 ` hjl dot tools at gmail dot com
  2009-03-31 12:51 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-03-30 22:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2009-03-30 22:00 -------
I got

FAIL: gcc.dg/conv-1.c (internal compiler error)
FAIL: gcc.dg/conv-1.c (test for excess errors)
FAIL: gcc.dg/Wconversion-real-integer.c (internal compiler error)
FAIL: gcc.dg/Wconversion-real-integer.c (test for excess errors)

when I added -march=core2. They are the same bug as this one.


-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse
  2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2009-03-30 22:00 ` hjl dot tools at gmail dot com
@ 2009-03-31 12:51 ` jsm28 at gcc dot gnu dot org
  2009-03-31 12:52 ` jsm28 at gcc dot gnu dot org
  2009-03-31 14:38 ` hjl at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 12:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2009-03-31 12:51 -------
Subject: Bug 39592

Author: jsm28
Date: Tue Mar 31 12:51:02 2009
New Revision: 145342

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145342
Log:
        PR target/39592
        * config/i386/i386.md (*floatunssi<mode>2_1, two unnamed
        define_splits, floatunssi<mode>2): Require x87 conversions from
        DImode to be permitted.

testsuite:
        * gcc.target/i386/pr39592-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr39592-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog


-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse
  2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2009-03-31 12:51 ` jsm28 at gcc dot gnu dot org
@ 2009-03-31 12:52 ` jsm28 at gcc dot gnu dot org
  2009-03-31 14:38 ` hjl at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 12:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2009-03-31 12:51 -------
Fixed on trunk for 4.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |4.5.0
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse
  2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
                   ` (5 preceding siblings ...)
  2009-03-31 12:52 ` jsm28 at gcc dot gnu dot org
@ 2009-03-31 14:38 ` hjl at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-03-31 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl at gcc dot gnu dot org  2009-03-31 14:38 -------
Subject: Bug 39592

Author: hjl
Date: Tue Mar 31 14:37:50 2009
New Revision: 145346

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145346
Log:
2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2009-03-31  Joseph Myers  <joseph@codesourcery.com>

        PR target/39592
        * gcc.target/i386/pr39592-1.c: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr39592-1.c
      - copied unchanged from r145345,
trunk/gcc/testsuite/gcc.target/i386/pr39592-1.c
Modified:
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-31 14:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-30 18:41 [Bug target/39592] New: [4.5 regression] Revision 145272 breaks -ansi -march=core2 hjl dot tools at gmail dot com
2009-03-30 19:45 ` [Bug target/39592] " hjl dot tools at gmail dot com
2009-03-30 19:50 ` [Bug target/39592] [4.5 regression] Revision 145272 breaks -ansi -msse hjl dot tools at gmail dot com
2009-03-30 21:12 ` jsm28 at gcc dot gnu dot org
2009-03-30 22:00 ` hjl dot tools at gmail dot com
2009-03-31 12:51 ` jsm28 at gcc dot gnu dot org
2009-03-31 12:52 ` jsm28 at gcc dot gnu dot org
2009-03-31 14:38 ` hjl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).