re PR driver/71063 (ICE: Segmentation fault with --help="^")
authorMarek Polacek <polacek@redhat.com>
Thu, 12 May 2016 10:59:11 +0000 (10:59 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 12 May 2016 10:59:11 +0000 (10:59 +0000)
commita5fbf76d427b3ecee39a091185bb6c67d0c80f8a
treeb32bdfac1d9fb7e811bf88e877d9301ba135fdc1
parent5acc47a40d13af51cd1709f0238c798a666bcd7b
re PR driver/71063 (ICE: Segmentation fault with --help="^")

PR driver/71063
* opts.c (common_handle_option): Detect missing argument for --help^.

* gcc.dg/opts-7.c: New test.

From-SVN: r236170
gcc/ChangeLog
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/opts-7.c [new file with mode: 0644]