LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 873 - bad code in hexxagon
Summary: bad code in hexxagon
Status: RESOLVED FIXED
Alias: None
Product: Test Suite
Classification: Unclassified
Component: Programs Tests (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 16:17 PDT by Nick Lewycky
Modified: 2010-02-22 12:53 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
fix (550 bytes, patch)
2006-08-07 16:18 PDT, Nick Lewycky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Lewycky 2006-08-07 16:17:29 PDT
Hexxagon has code like this in bitboard64.h:

class BitBoard64 {
public:
  BitBoard64::operator bool();
};

The extra qualifier on the operator is illegal, and causes the testcase to fail
to compile with GCC 4.1.
Comment 1 Nick Lewycky 2006-08-07 16:18:09 PDT
Created attachment 376 [details]
fix
Comment 2 Chris Lattner 2006-08-07 16:20:04 PDT
Fixed, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060807/036518.html

-Chris