diff options
| author | Marek Polacek <polacek@redhat.com> | 2017-09-13 16:46:17 +0000 |
|---|---|---|
| committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-09-13 16:46:17 +0000 |
| commit | 267bbb6fd17860dd09e69493ae031cc3e977301d (patch) | |
| tree | 0b070c170988ef3ec4e6c0149971bd07f7d05be5 /libcpp/include/cpplib.h | |
| parent | 72ace300a2519fdd19617694dfc8c89dbfb96163 (diff) | |
| download | gcc-267bbb6fd17860dd09e69493ae031cc3e977301d.zip gcc-267bbb6fd17860dd09e69493ae031cc3e977301d.tar.gz gcc-267bbb6fd17860dd09e69493ae031cc3e977301d.tar.bz2 | |
re PR c/82167 (Segmentation fault when dereferencing the address of an array argument)
PR c/82167
* c-typeck.c (c_expr_sizeof_expr): Use the type of expr.value rather
than expr.original_type.
* gcc.dg/pr82167.c: New test.
From-SVN: r252372
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions
