re PR c/37106 (ICE with -fpic or -fPIC: in mems_in_disjoint_alias_sets_p, at alias...
authorJakub Jelinek <jakub@redhat.com>
Tue, 4 Nov 2008 20:06:33 +0000 (21:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 4 Nov 2008 20:06:33 +0000 (21:06 +0100)
commitcbc19f3932ff61af3bce86a4681ffa2efbe96690
treef32a249f4d5af439f025a12c5e338d4006d5b851
parent5c6ed53afc63d941494bb6c9f0640ad7160031b3
re PR c/37106 (ICE with -fpic or -fPIC: in mems_in_disjoint_alias_sets_p, at alias.c:278)

PR c/37106
* c-common.c (parse_optimize_options): Save and restore
flag_strict_aliasing around decode_options call.

* gcc.dg/pr37106-1.c: New test.
* gcc.dg/pr37106-2.c: New test.

From-SVN: r141584
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr37106-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr37106-2.c [new file with mode: 0644]