Description of problem:
I have gcc installed.
$ which gcc
When I type 'gcc <TAB><TAB>' I see the following prompt:
$ gcc Install package 'gcc-c++' to provide command 'c++'? [N/y]
I don't know why command-not-found thinks I need c++, when I request gcc.
Version-Release number of selected component (if applicable):
Is this with bash-completion installed?
Yes, bash-completion-1:2.1-5.fc21.noarch. Without bash-completion I get a list of files, as expected.
More discussion in bug 1164410
*** This bug has been marked as a duplicate of bug 1164410 ***