public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/25706]  New: [4.2 regression]: invalid asm: "mov"
@ 2006-01-07  1:27 hp at gcc dot gnu dot org
  2006-01-07  1:30 ` [Bug target/25706] " hp at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-07  1:27 UTC (permalink / raw)
  To: gcc-bugs

Last known to work with: "Thu Dec  8 10:28:12 UTC 2005 (revision 108225M)".
Known to fail with: "Thu Jan  5 03:26:35 UTC 2006 (revision 109371M)".

For the test-case in the attachment named bug.i, this line is emitted:
 mov.w [$r12=$r10+8],$r9
That's an invalid asm; it should have been movs.w or movu.w.
The error is in the CRIS port; setting state when the %x asm operand output
modifier is seen, and clearing it with %e, except there are other %x that
aren't followed by %e.


-- 
           Summary: [4.2 regression]: invalid asm: "mov"
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
GCC target triplet: cris-axis-linux-gnu


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



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

* [Bug target/25706] [4.2 regression]: invalid asm: "mov"
  2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
@ 2006-01-07  1:30 ` hp at gcc dot gnu dot org
  2006-01-07  1:30 ` hp at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-07  1:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hp at gcc dot gnu dot org  2006-01-07 01:30 -------
Created an attachment (id=10591)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10591&action=view)
test-case

Compile with
./cc1 -fpreprocessed -march=v10 -quiet -O2 -w -fno-strict-aliasing -fno-common
-fomit-frame-pointer -fno-strength-reduce


-- 


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



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

* [Bug target/25706] [4.2 regression]: invalid asm: "mov"
  2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
  2006-01-07  1:30 ` [Bug target/25706] " hp at gcc dot gnu dot org
@ 2006-01-07  1:30 ` hp at gcc dot gnu dot org
  2006-01-11 13:43 ` hp at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-07  1:30 UTC (permalink / raw)
  To: gcc-bugs



-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hp at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-07 01:30:47
               date|                            |


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



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

* [Bug target/25706] [4.2 regression]: invalid asm: "mov"
  2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
  2006-01-07  1:30 ` [Bug target/25706] " hp at gcc dot gnu dot org
  2006-01-07  1:30 ` hp at gcc dot gnu dot org
@ 2006-01-11 13:43 ` hp at gcc dot gnu dot org
  2006-01-11 13:45 ` hp at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-11 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hp at gcc dot gnu dot org  2006-01-11 13:43 -------
Subject: Bug 25706

Author: hp
Date: Wed Jan 11 13:43:08 2006
New Revision: 109584

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109584
Log:
        PR target/25706
        * config/cris/cris.md ("*extopqihi_side", "*extop<mode>si_side")
        ("*extop<mode>si_swap_side_biap", "*extop<mode>si_swap_side",
        ("*extopqihi", "*extop<mode>si", "*extop<mode>si_swap"): Use %E
        output pattern modifier, not %e.
        * config/cris/cris.c (cris_op_str): Update comment about pattern
        modifier.
        (cris_print_operand) <case 'e'>: Clear cris_output_insn_is_bound
        before falling through into...
        <case 'E'>: Redefined from old 'e' case.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/cris/cris.c
    trunk/gcc/config/cris/cris.md


-- 


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



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

* [Bug target/25706] [4.2 regression]: invalid asm: "mov"
  2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-01-11 13:43 ` hp at gcc dot gnu dot org
@ 2006-01-11 13:45 ` hp at gcc dot gnu dot org
  2006-01-11 13:51 ` hp at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-11 13:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hp at gcc dot gnu dot org  2006-01-11 13:45 -------
Subject: Bug 25706

Author: hp
Date: Wed Jan 11 13:45:03 2006
New Revision: 109585

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109585
Log:
        PR target/25706
        * gcc.dg/torture/pr25706-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr25706-1.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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



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

* [Bug target/25706] [4.2 regression]: invalid asm: "mov"
  2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-01-11 13:45 ` hp at gcc dot gnu dot org
@ 2006-01-11 13:51 ` hp at gcc dot gnu dot org
  2006-01-28 23:03 ` hp at gcc dot gnu dot org
  2006-01-28 23:04 ` hp at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-11 13:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hp at gcc dot gnu dot org  2006-01-11 13:51 -------
.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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



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

* [Bug target/25706] [4.2 regression]: invalid asm: "mov"
  2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-01-11 13:51 ` hp at gcc dot gnu dot org
@ 2006-01-28 23:03 ` hp at gcc dot gnu dot org
  2006-01-28 23:04 ` hp at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-28 23:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hp at gcc dot gnu dot org  2006-01-28 23:03 -------
Subject: Bug 25706

Author: hp
Date: Sat Jan 28 23:03:00 2006
New Revision: 110346

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110346
Log:
        PR target/25706
        * gcc.dg/torture/pr25706-1.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr25706-1.c
Modified:
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/25706] [4.2 regression]: invalid asm: "mov"
  2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-01-28 23:03 ` hp at gcc dot gnu dot org
@ 2006-01-28 23:04 ` hp at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2006-01-28 23:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hp at gcc dot gnu dot org  2006-01-28 23:04 -------
Subject: Bug 25706

Author: hp
Date: Sat Jan 28 23:03:58 2006
New Revision: 110347

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110347
Log:
        PR target/25706
        * config/cris/cris.md ("*extopqihi_side", "*extop<mode>si_side")
        ("*extop<mode>si_swap_side_biap", "*extop<mode>si_swap_side",
        ("*extopqihi", "*extop<mode>si", "*extop<mode>si_swap"): Use %E
        output pattern modifier, not %e.
        * config/cris/cris.c (cris_op_str): Update comment about pattern
        modifier.
        (cris_print_operand) <case 'e'>: Clear cris_output_insn_is_bound
        before falling through into...
        <case 'E'>: Redefined from old 'e' case.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/cris/cris.c
    branches/gcc-4_1-branch/gcc/config/cris/cris.md


-- 


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


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

end of thread, other threads:[~2006-01-28 23:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-07  1:27 [Bug target/25706] New: [4.2 regression]: invalid asm: "mov" hp at gcc dot gnu dot org
2006-01-07  1:30 ` [Bug target/25706] " hp at gcc dot gnu dot org
2006-01-07  1:30 ` hp at gcc dot gnu dot org
2006-01-11 13:43 ` hp at gcc dot gnu dot org
2006-01-11 13:45 ` hp at gcc dot gnu dot org
2006-01-11 13:51 ` hp at gcc dot gnu dot org
2006-01-28 23:03 ` hp at gcc dot gnu dot org
2006-01-28 23:04 ` hp 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).