summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/pr26765.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-04 20:13:37 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-04 20:13:37 +0000
commit87bc559b9b5f35106113a59dc11a43f89f00c87f (patch)
treef08dca75b1636ad0afb15d3268945808e4c57c91 /gcc/testsuite/gcc.target/mips/pr26765.c
parentecc74eeaa9039b5cca365292229f95e4ff0df24b (diff)
downloadgcc-87bc559b9b5f35106113a59dc11a43f89f00c87f.tar.gz
gcc/
PR target/26765 * config/mips/mips.c (mips_symbolic_address_p): Return true for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL, SYMBOL_GOTTPREL, and SYMBOL_TLS. gcc/testsuite/ PR target/26765 * gcc.target/mips/pr26765.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113536 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/pr26765.c')
-rw-r--r--gcc/testsuite/gcc.target/mips/pr26765.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/mips/pr26765.c b/gcc/testsuite/gcc.target/mips/pr26765.c
new file mode 100644
index 00000000000..0b70b56ab44
--- /dev/null
+++ b/gcc/testsuite/gcc.target/mips/pr26765.c
@@ -0,0 +1,13 @@
+/* PR target/pr26765
+ This testcase used to trigger an unrecognizable insn. */
+
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
+
+__thread int *a = 0;
+
+void foo (void)
+{
+ extern int *b;
+ b = (int *) ((*a));
+}