Bug 144608

Summary: jikes-1.22-6: array subscript out of range
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: JavaAssignee: Daniel Bornkessel <dbornkessel>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-01-21 15:01:36 UTC
I just tried to compile package jikes-1.22-6 with the Intel C compiler.

It said

semantic.h(634): warning #175: subscript out of range

The source code is

	DefiniteExpr[Ast::TYPE] = &Semantic::DefiniteDefaultExpression;

but

    DefiniteAssignmentSet* (Semantic::*DefiniteExpr[Ast::_num_expression_kinds])(AstExpression*, DefinitePair&);

and _num_expression_kinds seems to have the value of 27.

Ast::TYPE seems to have a much larger value in the same enum
Comment 1 Daniel Bornkessel 2006-07-24 16:31:09 UTC
Thanks for the report and sorry for the ultra-long delay.
I will try to recreate the bug and find a solution.
Greetings,
Daniel
Comment 2 Stefan Dirsch 2007-01-16 22:32:48 UTC
Feel free to close as duplicate of Bug #235591.
Comment 3 Daniel Bornkessel 2007-02-14 19:07:56 UTC
ok, I feel free ;)
Thanks for the hint

*** This bug has been marked as a duplicate of bug 235591 ***