diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-07 19:17:05 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-07 19:17:05 +0000 |
commit | 97a4eb3d4e5fd59d4203e40770095cd59c8cceda (patch) | |
tree | cde4f0026ad12e34f4ad315b43bf7ad37c6352f3 /gcc/testsuite/gcc.c-torture | |
parent | 470f4908713dcc9a9e6a577488f4da9abae17b4e (diff) | |
download | gcc-97a4eb3d4e5fd59d4203e40770095cd59c8cceda.tar.gz |
PR target/16407
* config/mips/mips-protos.h (mips_declare_common_object): Declare.
* config/mips/mips.c (mips_declare_common_object): New function,
mostly split out from...
(mips_output_aligned_decl_common): ...here.
* config/mips/mips.h (ASM_OUTPUT_LOCAL): Remove in favor of...
(ASM_OUTPUT_ALIGNED_LOCAL): ...this new definition.
* config/mips/iris6.h (ASM_OUTPUT_ALIGNED_LOCAL): Undefine this
rather than ASM_OUTPUT_LOCAL. Call mips_declare_common_object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84219 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20040707-1.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20040707-1.c b/gcc/testsuite/gcc.c-torture/execute/20040707-1.c new file mode 100644 index 00000000000..6fc15cc24a7 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20040707-1.c @@ -0,0 +1,12 @@ +struct s { char c1, c2; }; +void foo (struct s s) +{ + static struct s s1; + s1 = s; +} +int main () +{ + static struct s s2; + foo (s2); + exit (0); +} |