projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc13286
)
New test.
author
Jeff Law
<law@gcc.gnu.org>
Wed, 6 May 1998 16:35:35 +0000
(10:35 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Wed, 6 May 1998 16:35:35 +0000
(10:35 -0600)
From-SVN: r19587
gcc/testsuite/gcc.c-torture/execute/980506-1.c
[new file with mode: 0644]
patch
|
blob
diff --git a/gcc/testsuite/gcc.c-torture/execute/980506-1.c
b/gcc/testsuite/gcc.c-torture/execute/980506-1.c
new file mode 100644
(file)
index 0000000..
a48b3ad
--- /dev/null
+++ b/
gcc/testsuite/gcc.c-torture/execute/980506-1.c
@@ -0,0
+1,26
@@
+struct decision
+{
+ char enforce_mode;
+ struct decision *next;
+};
+
+
+static void
+clear_modes (p)
+ register struct decision *p;
+{
+ goto blah;
+
+foo:
+ p->enforce_mode = 0;
+blah:
+ if (p)
+ goto foo;
+}
+
+main()
+{
+ struct decision *p = 0;
+ clear_modes (p);
+ exit (0);
+}