aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-03-08 23:33:04 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-03-08 23:33:04 +0000
commit7d6be4c870c2a1fdb694222ee1f750badc3b3d8a (patch)
tree7a5ccba6a082f2d0a7ecff65d3eef03f31a471da /gcc/tree-ssa-phiopt.c
parentb97190553d2798af4c5c8e6e775b942e458ba09e (diff)
downloadgcc-7d6be4c870c2a1fdb694222ee1f750badc3b3d8a.zip
gcc-7d6be4c870c2a1fdb694222ee1f750badc3b3d8a.tar.gz
gcc-7d6be4c870c2a1fdb694222ee1f750badc3b3d8a.tar.bz2
compiler: Don't initialize zero sized variables.
* go-gcc.cc (Gcc_backend::init_statement): Don't initialize a zero-sized variable. (go_non_zero_struct): New global variable. (Gcc_backend::non_zero_size_type): New function. (Gcc_backend::global_variable): Don't build an assignment for a zero-sized value. * go-c.h (go_non_zero_struct): Declare. * config-lang.in (gtfiles): Add go-c.h. From-SVN: r185115
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions