]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/match.pd
re PR middle-end/82976 (Error: non-trivial conversion at assignment since r254526)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 7 Apr 2018 23:52:03 +0000 (23:52 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 7 Apr 2018 23:52:03 +0000 (23:52 +0000)
commitf913ff2adc41a6f8dec64efffbbfb3ee9bb4464b
tree2a8701b4c6ab1c4378abbf0c65d5ddf552ee37cd
parent7c75d64658039682e0d2bd73c81b0adc88677115
re PR middle-end/82976 (Error: non-trivial conversion at assignment since r254526)

2018-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
Andrew Pinski <pinsika@gcc.gnu.org>

PR middle-end/82976
* match.pd: Use constant_boolean_node of correct type instead of
boolean_true_node or boolean_false_node for simplifying
pointer comparisons to zero.

2018-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR middle-end/82976
* gfortran.dg/realloc_on_assign_16a.f90: New test.

Co-Authored-By: Andrew Pinski <pinskia@gcc.gnu.org>
From-SVN: r259212
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_16a.f90 [new file with mode: 0644]