Bug 199934 - gcc-4.1.1 rejects valid code (no match for function)
gcc-4.1.1 rejects valid code (no match for function)
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-24 10:15 EDT by Neal Becker
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-24 13:34:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
preprocessed (132.25 KB, application/x-bzip2)
2006-07-24 10:15 EDT, Neal Becker
no flags Details

  None (edit)
Description Neal Becker 2006-07-24 10:15:29 EDT
Description of problem:

gcc-4.1.1 rejects valid code (no match for function)

Version-Release number of selected component (if applicable):
gcc-4.1.1-1.fc5

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:

g++ -fsyntax-only  -xc++ -I /usr/local/src/boost.cvs TurboDec_1_4.H
TurboDec_1_4.H: In member function ‘void 
TurboDec_1_4::turbo_constituent_dec(const apriori_t&, const rec_message_t&, 
const rec_parity_t&, const rec_tail_t&, extrinsic_t&)’:
TurboDec_1_4.H:210: error: no matching function for call 
to ‘TurboDec_1_4::compute_alpha(double [dec_length][8][2], double [dec_length]
[8])’
TurboDec_1_4.H:212: error: no matching function for call 
to ‘TurboDec_1_4::compute_beta(double [dec_length][8][2], double [dec_length]
[8], double [dec_length][8])’

Expected results:


Additional info:
gcc32 accepts code
Comment 1 Neal Becker 2006-07-24 10:15:30 EDT
Created attachment 132915 [details]
preprocessed
Comment 2 Neal Becker 2006-07-24 13:34:06 EDT
Resolved - C array is not a type

Note You need to log in before you can comment on or make changes to this bug.