Bug 33534 - bogus escape
Summary: bogus escape
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-23 08:31 UTC by Kai Henningsen
Modified: 2008-12-28 02:49 UTC (History)
1 user (show)

See Also:
Host:
Target: score
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Henningsen 2007-09-23 08:31:21 UTC
gcc/config/score/score.md:113ff:

{
  switch (which_alternative)
    {
    case 0: return mdp_limm (operands);
    case 1: return mdp_move (operands);
    case 2: return mdp_linsn (operands, MDA_BYTE, false);
    case 3: return mdp_sinsn (operands, MDA_BYTE);
    case 4: return TARGET_MAC ? \"mf%1%S0 %0\" : \"mf%1    %0\";   <--------
    case 5: return TARGET_MAC ? \"mt%0%S1 %1\" : \"mt%0    %1\";   <--------
    case 6: return \"mfsr    %0, %1\";                             <--------
    case 7: return \"mtsr    %1, %0\";                             <--------
    default: gcc_unreachable ();
    }
}

This is in a brace block, NOT in a double quote string. These escapes are
bogus.

This is revision 127595.
Comment 1 Kai Henningsen 2007-09-23 08:35:26 UTC
... also many more in this file, too many to add here.
Comment 2 Kai Henningsen 2007-09-23 09:13:42 UTC
(I count 128 lines in all.)
Comment 3 Andrew Pinski 2008-12-28 02:49:54 UTC
Actually this escape is not bogus, just not needed any more.