]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR preprocessor/56824 (pragma GCC diagnostic push/pop fail with GCC...
authorJakub Jelinek <jakub@redhat.com>
Thu, 6 Mar 2014 07:58:16 +0000 (08:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 6 Mar 2014 07:58:16 +0000 (08:58 +0100)
commit660717a20d3b6bdfc80ea9e936224efa171b26cf
treedd83f01c12962d3ce325194292b1368885826eb2
parentf63ef0051b6470f35bdaa8367530075409727c79
backport: re PR preprocessor/56824 (pragma GCC diagnostic push/pop fail with GCC diagnostic ignored "-Waggregate-return")

Backport from mainline
2014-02-07  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/56824
* line-map.c (linemap_compare_locations): Look through adhoc locations
for both l0 and l1.

* gcc.dg/pr56824.c: New test.

From-SVN: r208365
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56824.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/line-map.c