aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2013-04-23 09:05:31 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2013-04-23 09:05:31 +0000
commit08c52234765066a487d3341f0f4797dbcff83bfd (patch)
tree6f541223648e1e82bfcfdf9090d4cba90cedd311 /gcc
parent999c11718ded2d02734a6ecdf7572f7467cf5dc6 (diff)
downloadgcc-08c52234765066a487d3341f0f4797dbcff83bfd.zip
gcc-08c52234765066a487d3341f0f4797dbcff83bfd.tar.gz
gcc-08c52234765066a487d3341f0f4797dbcff83bfd.tar.bz2
coretypes.h (gimple_stmt_iterator): Add struct to make compatible with C.
* coretypes.h (gimple_stmt_iterator): Add struct to make compatible with C. From-SVN: r198176
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/coretypes.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fea5059..376ca51 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
+
+ * coretypes.h (gimple_stmt_iterator): Add struct to make
+ compatible with C.
+
2013-04-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/57026
diff --git a/gcc/coretypes.h b/gcc/coretypes.h
index 76fc4aa..71d031d 100644
--- a/gcc/coretypes.h
+++ b/gcc/coretypes.h
@@ -63,7 +63,7 @@ typedef union gimple_statement_d *gimple;
typedef const union gimple_statement_d *const_gimple;
typedef gimple gimple_seq;
struct gimple_stmt_iterator_d;
-typedef gimple_stmt_iterator_d gimple_stmt_iterator;
+typedef struct gimple_stmt_iterator_d gimple_stmt_iterator;
union section;
typedef union section section;
struct gcc_options;