Custom Query (145 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 145)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#158 fixed Missing constructor reference parameter Thierry Delisle <tdelisle@…> pabuhr
Description

First parameter of constructor must be refererence.

struct S { int i; };
void ?{}( S  s ); // forgot constructor reference

CFA Version 1.0.0 (debug)
cfa-cpp: SymTab/Indexer.cc:301: std::string SymTab::getOtypeKey(const FunctionDecl*): Assertion `base' failed.
Stack back trace for: /u0/pabuhr/software/mary/cfa-cc/lib/cfa/cfa-cpp
(0) /lib/x86_64-linux-gnu/libc.so.6 : (/*unknown*/)+0x2dc82 [0x7f557b935c82]
(1) /u0/pabuhr/software/mary/cfa-cc/lib/cfa/cfa-cpp() [0x14421e2]
(2) /u0/pabuhr/software/mary/cfa-cc/lib/cfa/cfa-cpp : SymTab::Indexer::removeSpecialOverrides(SymTab::Indexer::IdData&, std::shared_ptr<PersistentMap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, SymTab::Indexer::IdData, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&)+0xda [0x1443a2a]
(3) /u0/pabuhr/software/mary/cfa-cc/lib/cfa/cfa-cpp : SymTab::Indexer::addId(DeclarationWithType const*, SymTab::Indexer::OnConflict, Expression const*, Declaration const*)+0x321 [0x1448681]
(4) /u0/pabuhr/software/mary/cfa-cc/lib/cfa/cfa-cpp : PassVisitor<SymTab::LinkReferenceToTypes_old>::visit(FunctionDecl*)+0x85 [0x162dda5]
(5) /u0/pabuhr/software/mary/cfa-cc/lib/cfa/cfa-cpp : SymTab::validate(std::__cxx11::list<Declaration*, std::allocator<Declaration*> >&, bool)+0x679 [0x14c82e9]
(6) /u0/pabuhr/software/mary/cfa-cc/lib/cfa/cfa-cpp : main(/*unknown*/)+0x653 [0x92bb13]
CC1 Translator error: stage 2, child failed 6
#154 fixed linking problem Thierry Delisle pabuhr
Description

Programs that do not include anything from concurrency or stdlib, do not get important modules loaded, such as "startup" or signal handlers.

#152 fixed Incorrect Lvalue conversion when using inline assembly Thierry Delisle <tdelisle@…> Thierry Delisle
Description

Given the following code :

void bts(unsigned long long int * target, unsigned long long int bit ) {
	asm (
            "LOCK btsq %[bit], %[target]\n\t" :
            : [target] "m" (*target), [bit] "r" (bit)
	);
}

The code generator incorrectly generates code missing the * in front of target as follows:

void _X3btsFv_Pyy__1(unsigned long long int *_X6targetPy_1, unsigned long long int _X3bity_1){
    asm ( "LOCK btsq %[bit], %[target]\n\t" :  : [ target ] "m" ( _X6targetPy_1 ), [ bit ] "r" ( _X3bity_1 ) :  );
}

It should generate:

void _X3btsFv_Pyy__1(unsigned long long int *_X6targetPy_1, unsigned long long int _X3bity_1){
    asm ( "LOCK btsq %[bit], %[target]\n\t" :  : [ target ] "m" ( *_X6targetPy_1 ), [ bit ] "r" ( _X3bity_1 ) :  );
}

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.