Commit 59ac9a55 by Jakub Jelinek Committed by Jakub Jelinek

re PR target/56256 (inline asm with {|} alternatives in it no longer accepted)

	PR target/56256
	* config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define.

	* gcc.target/powerpc/pr56256.c: New test.

From-SVN: r195913
parent d6517f8d
2013-02-09 Jakub Jelinek <jakub@redhat.com>
PR target/56256
* config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define.
2013-02-08 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/56246
......
......@@ -356,6 +356,12 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
#define PROCESSOR_DEFAULT PROCESSOR_PPC603
#define PROCESSOR_DEFAULT64 PROCESSOR_RS64A
/* Specify the dialect of assembler to use. Only new mnemonics are supported
starting with GCC 4.8, i.e. just one dialect, but for backwards
compatibility with older inline asm ASSEMBLER_DIALECT needs to be
defined. */
#define ASSEMBLER_DIALECT 1
/* Debug support */
#define MASK_DEBUG_STACK 0x01 /* debug stack applications */
#define MASK_DEBUG_ARG 0x02 /* debug argument handling */
......
2013-02-09 Jakub Jelinek <jakub@redhat.com>
PR target/56256
* gcc.target/powerpc/pr56256.c: New test.
2013-02-08 Ian Lance Taylor <iant@google.com>
* lib/go.exp: Load timeout.exp.
......
/* PR target/56256 */
/* { dg-do assemble } */
/* { dg-options "-O2" } */
int
foo (void)
{
int a;
__asm__ ("{lil|li} %0,%1" : "=r" (a) : "I" (26));
return a;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment