Bug 199934 - gcc-4.1.1 rejects valid code (no match for function)
Summary: gcc-4.1.1 rejects valid code (no match for function)
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-24 14:15 UTC by Neal Becker
Modified: 2007-11-30 22:11 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2006-07-24 17:34:06 UTC


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

Description Neal Becker 2006-07-24 14:15:29 UTC
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 14:15:30 UTC
Created attachment 132915 [details]
preprocessed

Comment 2 Neal Becker 2006-07-24 17:34:06 UTC
Resolved - C array is not a type


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