Changes in / [fe1b6a4:1ca52db]
- Files:
-
- 1 deleted
- 12 edited
-
doc/user/user.tex (modified) (8 diffs)
-
src/CodeGen/CodeGenerator.cc (modified) (1 diff)
-
src/libcfa/Makefile.am (modified) (1 diff)
-
src/libcfa/Makefile.in (modified) (1 diff)
-
src/libcfa/fstream.c (modified) (4 diffs)
-
src/libcfa/iostream.c (modified) (3 diffs)
-
src/tests/.expect/32/KRfunctions.txt (modified) (3 diffs)
-
src/tests/.expect/32/attributes.txt (deleted)
-
src/tests/.expect/64/KRfunctions.txt (modified) (3 diffs)
-
src/tests/.expect/64/attributes.txt (modified) (4 diffs)
-
src/tests/Makefile.am (modified) (1 diff)
-
src/tests/Makefile.in (modified) (1 diff)
-
src/tests/test.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doc/user/user.tex
rfe1b6a4 r1ca52db 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Thu Mar 23 09:53:57201714 %% Update Count : 13 9913 %% Last Modified On : Mon Feb 20 12:35:48 2017 14 %% Update Count : 1377 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 91 91 }% title 92 92 93 \author{ 94 \huge \CFA Team \medskip \\ 95 \Large Peter A. Buhr, Richard Bilson, Thierry Delisle, \smallskip \\ 96 \Large Glen Ditchfield, Rodolfo G. Esteves, Aaron Moss, Rob Schluntz 93 \author{\huge 94 Peter A. Buhr and ... 97 95 }% author 98 96 … … 4659 4657 which is a local mechanism to disable insertion of the separator character. 4660 4658 \item 4661 A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{ =$£¥¡¿«@4659 A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{$£¥¡¿«@ 4662 4660 %$ 4663 4661 \begin{lstlisting}[mathescape=off] 4664 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x =" | 4 | "x $" | 5 | "x £" | 6 | "x ¥" | 74665 | "x ¡" | 8 | "x ¿" | 9 | "x «" | 10| endl;4662 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x $" | 4 | "x £" | 5 | "x ¥" | 6 | "x ¡" | 7 4663 | "x ¿" | 8 | "x «" | 9 | endl; 4666 4664 \end{lstlisting} 4667 4665 %$ 4668 4666 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] 4669 x (1 x [2 x {3 x =4 x $5 x £6 x ¥7 x ¡8 x ¿9 x «104667 x (1 x [2 x {3 x $4 x £5 x ¥6 x ¡7 x ¿8 x «9 4670 4668 \end{lstlisting} 4671 4669 %$ 4672 4670 \item 4673 {\lstset{deletedelim=**[is][]{¢}{¢}}4674 4671 A seperator does not appear after a C string ending with the (extended) \Index{ASCII}\index{ASCII!extended} characters: ©,.:;!?)]}%¢»© 4675 4672 \begin{lstlisting}[belowskip=0pt] 4676 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | "% x"4677 | 8 | "¢ x" | 9 | "» x" | 10 | ") x" | 11 | "] x" | 12 | "}x" | endl;4673 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 4674 | ") x" | 8 | "] x" | 9 | "} x" | 10 | "% x" | 11 | "¢ x" | 12 | "» x" | endl; 4678 4675 \end{lstlisting} 4679 4676 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] 4680 1, x 2. x 3: x 4; x 5! x 6? x 7 % x 8¢ x 9» x 10) x 11] x 12} x4681 \end{lstlisting} }%4677 1, x 2. x 3: x 4; x 5! x 6? x 7) x 8] x 9} x 10% x 11¢ 12» 4678 \end{lstlisting} 4682 4679 \item 4683 4680 A seperator does not appear before or after a C string begining/ending with the \Index{ASCII} quote or whitespace characters: \lstinline[showspaces=true]@`'" \t\v\f\r\n@ … … 4697 4694 \end{lstlisting} 4698 4695 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4699 sout | 1 | sepOff | 2 | 3 | endl; §\C{// turn off implicit separator locally}§4696 sout | 1 | sepOff | 2 | 3 | endl; §\C{// turn off implicit separator temporarily}§ 4700 4697 \end{lstlisting} 4701 4698 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4703 4700 \end{lstlisting} 4704 4701 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4705 sout | sepDisable | 1 | 2 | 3 | endl; §\C{// turn off implicit separation globally}§4702 sout | sepDisable | 1 | 2 | 3 | endl; §\C{// turn off implicit separation, affects all subsequent prints}§ 4706 4703 \end{lstlisting} 4707 4704 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4709 4706 \end{lstlisting} 4710 4707 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4711 sout | 1 | sepOn | 2 | 3 | endl; §\C{// turn on implicit separator locally}§4708 sout | 1 | sepOn | 2 | 3 | endl; §\C{// turn on implicit separator temporarily}§ 4712 4709 \end{lstlisting} 4713 4710 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4715 4712 \end{lstlisting} 4716 4713 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4717 sout | sepEnable | 1 | 2 | 3 | endl; §\C{// turn on implicit separation globally}§4714 sout | sepEnable | 1 | 2 | 3 | endl; §\C{// turn on implicit separation, affects all subsequent prints}§ 4718 4715 \end{lstlisting} 4719 4716 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4733 4730 4734 4731 int main() { 4735 int x = 0, y = 1, z = 2;4736 sout | x * 3 | y + 1 | z << 2 | x == y | (x | y) | (x || y) | (x > z ? 1 : 2) | endl | endl;4732 int x = 3, y = 5, z = 7; 4733 sout | x * 3 | y + 1 | z << 2 | x == y | (x | y) | (x || y) | (x > z ? 1 : 2) | endl; 4737 4734 sout | 1 | 2 | 3 | endl; 4738 4735 sout | '1' | '2' | '3' | endl; 4739 4736 sout | 1 | "" | 2 | "" | 3 | endl; 4740 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x =" | 4 | "x $" | 5 | "x £" | 6 | "x ¥" | 7 4741 | "x ¡" | 8 | "x ¿" | 9 | "x «" | 10 | endl; 4742 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | "% x" 4743 | 8 | "¢ x" | 9 | "» x" | 10 | ") x" | 11 | "] x" | 12 | "} x" | endl; 4737 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x $" | 4 | "x £" | 5 | "x ¥" | 6 | "x ¡" | 7 | "x ¿" | 8 | "x «" | 9 | endl; 4738 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | ") x" | 8 | "] x" | 9 | "} x" 4739 | 10 | "% x" | 11 | "¢ x" | 12 | "» x" | endl; 4744 4740 sout | "x`" | 1 | "`x'" | 2 | "'x\"" | 3 | "\"x" | "x " | 4 | " x" | "x\t" | 1 | "\tx" | endl; 4745 4741 sout | sepOn | 1 | 2 | 3 | sepOn | endl; // separator at start of line -
src/CodeGen/CodeGenerator.cc
rfe1b6a4 r1ca52db 147 147 148 148 void CodeGenerator::visit( ObjectDecl * objectDecl ) { 149 if (objectDecl->get_name().empty()) {150 static UniqueName name = { "__anonymous_object" };151 objectDecl->set_name( name.newName() );152 }153 154 149 extension( objectDecl ); 155 150 genAttributes( objectDecl->get_attributes() ); -
src/libcfa/Makefile.am
rfe1b6a4 r1ca52db 35 35 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -D__CFA_DEBUG__ -O0 -c -o $@ $< 36 36 37 EXTRA_FLAGS = -g -Wall -W error -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@37 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@ 38 38 39 39 AM_CCASFLAGS = @CFA_FLAGS@ -
src/libcfa/Makefile.in
rfe1b6a4 r1ca52db 305 305 AUTOMAKE_OPTIONS = subdir-objects 306 306 lib_LIBRARIES = $(am__append_1) $(am__append_2) 307 EXTRA_FLAGS = -g -Wall -W error -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@307 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@ 308 308 AM_CCASFLAGS = @CFA_FLAGS@ 309 309 headers = limits stdlib math iostream fstream iterator rational assert \ -
src/libcfa/fstream.c
rfe1b6a4 r1ca52db 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Mar 23 08:20:41 201713 // Update Count : 22 612 // Last Modified On : Wed Mar 22 16:17:21 2017 13 // Update Count : 221 14 14 // 15 15 … … 29 29 #define IO_MSG "I/O error: " 30 30 31 void ?{}( ofstream * this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) {32 this->file = file;33 this->sepDefault = sepDefault;34 this->sepOnOff = sepOnOff;35 sepSet( this, separator );36 sepSetCur( this, sepGet( this ) );37 sepSetTuple( this, tupleSeparator );38 }39 40 31 _Bool sepPrt( ofstream * os ) { return os->sepOnOff; } 41 32 void sepOn( ofstream * os ) { os->sepOnOff = 1; } … … 92 83 exit( EXIT_FAILURE ); 93 84 } // if 94 ?{}( os, file, 1, 0, " ", ", " ); 85 os->file = file; 86 sepOff( os ); 87 sepSet( os, " " ); 95 88 } // open 96 89 … … 132 125 } // fmt 133 126 127 void ?{}( ofstream * this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) { 128 this->file = file; 129 this->sepDefault = sepDefault; 130 this->sepOnOff = sepOnOff; 131 sepSet( this, separator ); 132 sepSetCur( this, sepGet( this ) ); 133 sepSetTuple( this, tupleSeparator ); 134 } 135 134 136 static ofstream soutFile = { (FILE *)(&_IO_2_1_stdout_), 1, 0, " ", ", " }; 135 137 ofstream *sout = &soutFile; -
src/libcfa/iostream.c
rfe1b6a4 r1ca52db 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Mar 23 08:20:40201713 // Update Count : 3 6712 // Last Modified On : Wed Mar 22 17:46:06 2017 13 // Update Count : 359 14 14 // 15 15 … … 201 201 forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } ) 202 202 ostype * ?|?( ostype * os, T arg, Params rest ) { 203 forall( ttype Params ) ostype * prtTuple( T arg, Params rest ) { 204 os | arg; // print first argument 205 os | rest; // print remaining arguments 206 return os; 207 } // prtTuple 203 208 sepSetCur( os, sepGetTuple( os ) ); // switch to tuple separator 204 os | arg; // print first argument 205 os | rest; // print remaining arguments 209 prtTuple( arg, rest ); // recursively print tuple 206 210 sepSetCur( os, sepGet( os ) ); // switch to regular separator 207 211 return os; … … 219 223 os | '\n'; 220 224 flush( os ); 221 sepOff( os ); // prepare for next line225 sepOff( os ); 222 226 return os; 223 227 } // endl -
src/tests/.expect/32/KRfunctions.txt
rfe1b6a4 r1ca52db 47 47 int ___retval_f5__i_1; 48 48 } 49 int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __anonymous_object0){50 int (*___retval_f6__PFi_i__1)(int __anonymous_object1);49 int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int ){ 50 int (*___retval_f6__PFi_i__1)(int ); 51 51 } 52 52 int (*__f7__FPFi_ii__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __a__i_1, int __b__i_1){ … … 61 61 int *(*__f10__FPFPi_ii__iPiPid__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1, double __y__d_1))(int __x__i_1, int __y__i_1){ 62 62 int *(*___retval_f10__PFPi_ii__1)(int __x__i_1, int __y__i_1); 63 int *__x__FPi_ii__2(int __anonymous_object2, int __anonymous_object3);63 int *__x__FPi_ii__2(int , int ); 64 64 ((void)(___retval_f10__PFPi_ii__1=__x__FPi_ii__2) /* ?{} */); 65 65 return ((int *(*)(int __x__i_1, int __y__i_1))___retval_f10__PFPi_ii__1); … … 79 79 const int __fred__FCi___1(){ 80 80 const int ___retval_fred__Ci_1; 81 int *(*__x__PFPi_ii__2)(int __anonymous_object4, int __anonymous_object5);81 int *(*__x__PFPi_ii__2)(int , int ); 82 82 int __a__i_2; 83 83 int __b__i_2; -
src/tests/.expect/64/KRfunctions.txt
rfe1b6a4 r1ca52db 47 47 int ___retval_f5__i_1; 48 48 } 49 int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __anonymous_object0){50 int (*___retval_f6__PFi_i__1)(int __anonymous_object1);49 int (*__f6__FPFi_i__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int ){ 50 int (*___retval_f6__PFi_i__1)(int ); 51 51 } 52 52 int (*__f7__FPFi_ii__iPiPi__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1))(int __a__i_1, int __b__i_1){ … … 61 61 int *(*__f10__FPFPi_ii__iPiPid__1(int __a__i_1, int *__b__Pi_1, int *__c__Pi_1, double __y__d_1))(int __x__i_1, int __y__i_1){ 62 62 int *(*___retval_f10__PFPi_ii__1)(int __x__i_1, int __y__i_1); 63 int *__x__FPi_ii__2(int __anonymous_object2, int __anonymous_object3);63 int *__x__FPi_ii__2(int , int ); 64 64 ((void)(___retval_f10__PFPi_ii__1=__x__FPi_ii__2) /* ?{} */); 65 65 return ((int *(*)(int __x__i_1, int __y__i_1))___retval_f10__PFPi_ii__1); … … 79 79 const int __fred__FCi___1(){ 80 80 const int ___retval_fred__Ci_1; 81 int *(*__x__PFPi_ii__2)(int __anonymous_object4, int __anonymous_object5);81 int *(*__x__PFPi_ii__2)(int , int ); 82 82 int __a__i_2; 83 83 int __b__i_2; -
src/tests/.expect/64/attributes.txt
rfe1b6a4 r1ca52db 58 58 __attribute__ ((used,unused,unused)) int __f7__i_1; 59 59 __attribute__ ((used,used,unused)) int __f8__i_1; 60 __attribute__ ((unused)) int __anonymous_object0;60 __attribute__ ((unused)) int ; 61 61 __attribute__ ((unused,unused)) int *__f9__Pi_1; 62 62 }; … … 226 226 int **const ___retval_f2__CPPi_1; 227 227 } 228 __attribute__ ((unused,used,unused)) int (*__f3__FPA0i_i__1(int __anonymous_object1))[];228 __attribute__ ((unused,used,unused)) int (*__f3__FPA0i_i__1(int ))[]; 229 229 __attribute__ ((unused,unused)) int (*__f3__FPA0i_i__1(int __p__i_1))[]{ 230 230 int (*___retval_f3__PA0i_1)[]; 231 231 } 232 __attribute__ ((unused,used,unused)) int (*__f4__FPFi_i____1())(int __anonymous_object2);233 __attribute__ ((unused,unused)) int (*__f4__FPFi_i____1())(int __anonymous_object3){234 int (*___retval_f4__PFi_i__1)(int __anonymous_object4);232 __attribute__ ((unused,used,unused)) int (*__f4__FPFi_i____1())(int ); 233 __attribute__ ((unused,unused)) int (*__f4__FPFi_i____1())(int ){ 234 int (*___retval_f4__PFi_i__1)(int ); 235 235 } 236 236 __attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(long unsigned int __size); 237 237 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 238 238 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void); 239 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit0(void (*__func)(void), void * __anonymous_object5, void *__anonymous_object6);239 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit0(void (*__func)(void), void *, void *); 240 240 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(int __status); 241 241 __attribute__ ((format(printf, 1, 2))) extern int printf(const char *__restrict __format, ...); … … 268 268 int __tpr2__Fi_PPi__1(__attribute__ ((unused,unused,unused,unused,unused,unused)) int **__Foo__PPi_1); 269 269 int __tpr3__Fi_Pi__1(__attribute__ ((unused,unused,unused)) int *__Foo__Pi_1); 270 int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) int (* __anonymous_object7)(__attribute__ ((unused,unused)) int __anonymous_object8[((long unsigned int )5)]));270 int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) int (*)(__attribute__ ((unused,unused)) int [((long unsigned int )5)])); 271 271 int __tpr5__Fi_PFi____1(__attribute__ ((unused,unused,unused)) int (*__Foo__PFi___1)()); 272 272 int __tpr6__Fi_PFi____1(__attribute__ ((unused,unused,unused)) int (*__Foo__PFi___1)()); 273 int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) int (* __anonymous_object9)(__attribute__ ((unused)) int (*__anonymous_object10)(__attribute__ ((unused,unused)) int __anonymous_object11)));273 int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) int (*)(__attribute__ ((unused)) int (*)(__attribute__ ((unused,unused)) int ))); 274 274 int __ad__Fi___1(){ 275 275 int ___retval_ad__i_1; … … 320 320 ((void)sizeof(enum __anonymous5 )); 321 321 } 322 int __apd1__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int * __anonymous_object12, __attribute__ ((unused,unused,unused)) int *__anonymous_object13);323 int __apd2__Fi_PPiPPi__1(__attribute__ ((unused,unused,unused,unused)) int ** __anonymous_object14, __attribute__ ((unused,unused,unused,unused)) int **__anonymous_object15);324 int __apd3__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int * __anonymous_object16, __attribute__ ((unused,unused,unused)) int *__anonymous_object17);325 int __apd4__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (* __anonymous_object18)(), __attribute__ ((unused,unused,unused)) int (*__anonymous_object19)());326 int __apd5__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (* __anonymous_object20)(__attribute__ ((unused)) int __anonymous_object21), __attribute__ ((unused,unused,unused)) int (*__anonymous_object22)(__attribute__ ((unused)) int __anonymous_object23));327 int __apd6__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (* __anonymous_object24)(), __attribute__ ((unused,unused,unused)) int (*__anonymous_object25)());328 int __apd7__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (* __anonymous_object26)(__attribute__ ((unused)) int __anonymous_object27), __attribute__ ((unused,unused,unused)) int (*__anonymous_object28)(__attribute__ ((unused)) int __anonymous_object29));322 int __apd1__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *, __attribute__ ((unused,unused,unused)) int *); 323 int __apd2__Fi_PPiPPi__1(__attribute__ ((unused,unused,unused,unused)) int **, __attribute__ ((unused,unused,unused,unused)) int **); 324 int __apd3__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *, __attribute__ ((unused,unused,unused)) int *); 325 int __apd4__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*)(), __attribute__ ((unused,unused,unused)) int (*)()); 326 int __apd5__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int ), __attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int )); 327 int __apd6__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*)(), __attribute__ ((unused,unused,unused)) int (*)()); 328 int __apd7__Fi_PFi_i_PFi_i___1(__attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int ), __attribute__ ((unused,unused,unused)) int (*)(__attribute__ ((unused)) int )); 329 329 struct Vad { 330 __attribute__ ((unused)) int __anonymous_object30;331 __attribute__ ((unused,unused)) int * __anonymous_object31;332 __attribute__ ((unused,unused)) int __anonymous_object32[((long unsigned int )10)];333 __attribute__ ((unused,unused)) int (* __anonymous_object33)();330 __attribute__ ((unused)) int ; 331 __attribute__ ((unused,unused)) int *; 332 __attribute__ ((unused,unused)) int [((long unsigned int )10)]; 333 __attribute__ ((unused,unused)) int (*)(); 334 334 }; 335 335 static inline void ___constructor__F_P4sVad_autogen___1(struct Vad *___dst__P4sVad_1); -
src/tests/Makefile.am
rfe1b6a4 r1ca52db 51 51 @+python test.py --list --concurrent=${concurrent} 52 52 53 .dummy : .dummy.c54 ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}55 56 53 constant0-1DP : constant0-1.c 57 54 ${CC} ${CFLAGS} -DDUPS ${<} -o ${@} -
src/tests/Makefile.in
rfe1b6a4 r1ca52db 669 669 @+python test.py --list --concurrent=${concurrent} 670 670 671 .dummy : .dummy.c672 ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}673 674 671 constant0-1DP : constant0-1.c 675 672 ${CC} ${CFLAGS} -DDUPS ${<} -o ${@} -
src/tests/test.py
rfe1b6a4 r1ca52db 25 25 # parses the Makefile to find the machine type (32-bit / 64-bit) 26 26 def getMachineType(): 27 sh('echo " void ?{}(int*a,int b){}int main(){return 0;}" > .dummy.c')27 sh('echo "int main() { return 0; }" > .dummy.c') 28 28 sh("make .dummy", print2stdout=False) 29 29 _, out = sh("file .dummy", print2stdout=False)
Note:
See TracChangeset
for help on using the changeset viewer.