Replace dead store with early return
authorJonathan Wakely <jwakely@redhat.com>
Wed, 30 May 2018 08:18:33 +0000 (09:18 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 30 May 2018 08:18:33 +0000 (09:18 +0100)
commitb005486b25cf42a55c418830a4007c83b42c1625
tree8c1016f38e8b35c7091b9aa57680371b53843156
parent6e246559b842b9fc561f5ce6eefa08912dd4f7fd
Replace dead store with early return

* typeck.c (cxx_sizeof_or_alignof_type): Return size_one_node instead
of using it in dead store.

From-SVN: r260920
gcc/cp/ChangeLog
gcc/cp/typeck.c