[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-11-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||dave-gccbugs at earth dot li

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Thu May 12 10:59:11 2016 New Revision: 236170 URL: https://gcc.gnu.org/viewcvs?rev=236170&root=gcc&view=rev Log: PR driver/71063 * opts.c (common_handle_option): Detect

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 --- Comment #6 from ktkachov at gcc dot gnu.org --- (In reply to Marek Polacek from comment #5) > Sure, and sorry for duplicated work. Now how to test this properly in > gcc.misc-tests/help.exp... Thanks. Ah, I was not aware of gcc.misc-tests/he

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|ktka

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 --- Comment #3 from Marek Polacek --- FWIW, my fix was --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1641,6 +1641,11 @@ common_handle_option (struct gcc_options *opts, { ++ a; pflags = & exclude_flags; + if (*a == '\0') +

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-11 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee

[Bug driver/71063] ICE: Segmentation fault with --help="^"

2016-05-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71063 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|