* gcc.dg/
20020312-2.c: Add definition for RX.
* lib/target-supports.exp (add_options_for_ieee): Use -mnofpu
option with RX targets.
* gcc.target/rx/pack.c: Replace C++ style // comments with C style
/* */ comments.
From-SVN: r173034
+2011-04-27 Nick Clifton <nickc@redhat.com>
+
+ * gcc.dg/20020312-2.c: Add definition for RX.
+
+ * lib/target-supports.exp (add_options_for_ieee): Use -mnofpu
+ option with RX targets.
+
+ * gcc.target/rx/pack.c: Replace C++ style // comments with C style
+ /* */ comments.
+
2011-04-27 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/pr23382.c: Remove.
# else
# define PIC_REG "30"
# endif
+#elif defined(__RX__)
+/* No pic register. */
#elif defined(__s390__)
# define PIC_REG "12"
#elif defined(__sparc__)
typedef struct tst_2
{
- INT16U f0; // [+0]
- INT16U * f1; // [+2]
- INT16U f2; // [+6]
- INT16U * f3; // [+8]
+ INT16U f0; /* [+0] */
+ INT16U * f1; /* [+2] */
+ INT16U f2; /* [+6] */
+ INT16U * f3; /* [+8] */
} __attribute__ ((__packed__)) t2;
#include <stddef.h>
|| [istarget "sh*-*-*"] } {
return "$flags -mieee"
}
+ if { [istarget "rx-*-*"] } {
+ return "$flags -mnofpu"
+ }
return $flags
}