aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2003-12-09 01:57:45 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-12-09 01:57:45 +0000
commita9baceb10b8db929dbf87c0670b041aaa9171b42 (patch)
treea42d7b7b99c57a76ad67255b112d715ef171c90e /gcc/testsuite
parent86b40947201d0457c50072eb6443ce09b68d5acc (diff)
downloadgcc-a9baceb10b8db929dbf87c0670b041aaa9171b42.zip
gcc-a9baceb10b8db929dbf87c0670b041aaa9171b42.tar.gz
gcc-a9baceb10b8db929dbf87c0670b041aaa9171b42.tar.bz2
re PR target/11848 ([darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128)
PR target/11848 * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Allow change of mode in floating-point registers between TFmode and DImode. * rs6000.c (rs6000_emit_move): Split moves early. (secondary_reload_class): Random Whitespace Change. (rs6000_split_multireg_move): Support moves involving FP registers. Emit instructions directly. * rs6000-protos.h (rs6000_split_multireg_move): Update prototype. * altivec.md: Update for changes to rs6000_split_multireg_move. * rs6000.md: Update for changes to rs6000_split_multireg_move. (movtf_internal): Support moves to/from GPRs. From-SVN: r74454
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20031208-1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20031208-1.c b/gcc/testsuite/gcc.c-torture/compile/20031208-1.c
new file mode 100644
index 0000000..02586df
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20031208-1.c
@@ -0,0 +1,6 @@
+extern int foo(int, ...);
+int bar(void) {
+ long double l = 1.2345E6;
+ foo(0, l);
+ return 0;
+}