Re: Fix PR 67665: ICE when passing two empty files directly to cc1 with -g

2016-01-22 Thread Richard Biener
On Fri, Jan 22, 2016 at 2:17 AM, Andrew Pinski wrote: > On Wed, Jan 13, 2016 at 4:36 AM, Richard Biener > wrote: >> On Wed, Jan 13, 2016 at 9:27 AM, Andrew Pinski wrote: >>> Hi, >>> The support -combine was removed a while back but cc1 still accepts >>> more than one file if directly invoked.

Re: Fix PR 67665: ICE when passing two empty files directly to cc1 with -g

2016-01-21 Thread Andrew Pinski
On Wed, Jan 13, 2016 at 4:36 AM, Richard Biener wrote: > On Wed, Jan 13, 2016 at 9:27 AM, Andrew Pinski wrote: >> Hi, >> The support -combine was removed a while back but cc1 still accepts >> more than one file if directly invoked. The support for multiple >> files has bit-rotten inside the C

Re: Fix PR 67665: ICE when passing two empty files directly to cc1 with -g

2016-01-13 Thread Richard Biener
On Wed, Jan 13, 2016 at 9:27 AM, Andrew Pinski wrote: > Hi, > The support -combine was removed a while back but cc1 still accepts > more than one file if directly invoked. The support for multiple > files has bit-rotten inside the C front-end now too. This patch now > errors out when invoked w

Fix PR 67665: ICE when passing two empty files directly to cc1 with -g

2016-01-13 Thread Andrew Pinski
Hi, The support -combine was removed a while back but cc1 still accepts more than one file if directly invoked. The support for multiple files has bit-rotten inside the C front-end now too. This patch now errors out when invoked with more than one file instead of crashing later. OK? Bootstrap