Changeset fe1b6a4


Ignore:
Timestamp:
Mar 23, 2017, 5:20:33 PM (5 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
231f01c, f20dffa
Parents:
1ca52db (diff), 578b637 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    r1ca52db rfe1b6a4  
    1111%% Created On       : Wed Apr  6 14:53:29 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Mon Feb 20 12:35:48 2017
    14 %% Update Count     : 1377
     13%% Last Modified On : Thu Mar 23 09:53:57 2017
     14%% Update Count     : 1399
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    9191}% title
    9292
    93 \author{\huge
    94 Peter A. Buhr and ...
     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
    9597}% author
    9698
     
    46574659which is a local mechanism to disable insertion of the separator character.
    46584660\item
    4659 A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{$£¥¡¿«@
     4661A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{=$£¥¡¿«@
    46604662%$
    46614663\begin{lstlisting}[mathescape=off]
    4662 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x $" | 4 | "x £" | 5 | "x ¥" | 6 | "x ¡" | 7
    4663          | "x ¿" | 8 | "x «" | 9 | endl;
     4664sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x =" | 4 | "x $" | 5 | "x £" | 6 | "x ¥" | 7
     4665         | "x ¡" | 8 | "x ¿" | 9 | "x «" | 10 | endl;
    46644666\end{lstlisting}
    46654667%$
    46664668\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
    4667 x (1 x [2 x {3 x $4 x £5 x ¥6 x ¡7 x ¿8 x «9
     4669x (1 x [2 x {3 x =4 x $5 x £6 x ¥7 x ¡8 x ¿9 x «10
    46684670\end{lstlisting}
    46694671%$
    46704672\item
     4673{\lstset{deletedelim=**[is][]{¢}{¢}}
    46714674A seperator does not appear after a C string ending with the (extended) \Index{ASCII}\index{ASCII!extended} characters: ©,.:;!?)]}%¢»©
    46724675\begin{lstlisting}[belowskip=0pt]
    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;
     4676sout | 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;
    46754678\end{lstlisting}
    46764679\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
    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}
     46801, x 2. x 3: x 4; x 5! x 6? x 7% x 8¢ x 9» x 10) x 11] x 12} x
     4681\end{lstlisting}}%
    46794682\item
    46804683A 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@
     
    46944697\end{lstlisting}
    46954698\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4696 sout | 1 | sepOff | 2 | 3 | endl;                       §\C{// turn off implicit separator temporarily}§
     4699sout | 1 | sepOff | 2 | 3 | endl;                       §\C{// turn off implicit separator locally}§
    46974700\end{lstlisting}
    46984701\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47004703\end{lstlisting}
    47014704\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4702 sout | sepDisable | 1 | 2 | 3 | endl;           §\C{// turn off implicit separation, affects all subsequent prints
     4705sout | sepDisable | 1 | 2 | 3 | endl;           §\C{// turn off implicit separation globally
    47034706\end{lstlisting}
    47044707\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47064709\end{lstlisting}
    47074710\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4708 sout | 1 | sepOn | 2 | 3 | endl;                        §\C{// turn on implicit separator temporarily}§
     4711sout | 1 | sepOn | 2 | 3 | endl;                        §\C{// turn on implicit separator locally}§
    47094712\end{lstlisting}
    47104713\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47124715\end{lstlisting}
    47134716\begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt]
    4714 sout | sepEnable | 1 | 2 | 3 | endl;            §\C{// turn on implicit separation, affects all subsequent prints
     4717sout | sepEnable | 1 | 2 | 3 | endl;            §\C{// turn on implicit separation globally
    47154718\end{lstlisting}
    47164719\begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt]
     
    47304733
    47314734int main() {
    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;
     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;
    47344737        sout | 1 | 2 | 3 | endl;
    47354738        sout | '1' | '2' | '3' | endl;
    47364739        sout | 1 | "" | 2 | "" | 3 | 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;
     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;
    47404744        sout | "x`" | 1 | "`x'" | 2 | "'x\"" | 3 | "\"x" | "x " | 4 | " x" | "x\t" | 1 | "\tx" | endl;
    47414745        sout | sepOn | 1 | 2 | 3 | sepOn | endl;        // separator at start of line
  • src/CodeGen/CodeGenerator.cc

    r1ca52db rfe1b6a4  
    147147
    148148        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
    149154                extension( objectDecl );
    150155                genAttributes( objectDecl->get_attributes() );
  • src/libcfa/Makefile.am

    r1ca52db rfe1b6a4  
    3535         ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -D__CFA_DEBUG__ -O0 -c -o $@ $<
    3636
    37 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
     37EXTRA_FLAGS = -g -Wall -Werror -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
    3838
    3939AM_CCASFLAGS = @CFA_FLAGS@
  • src/libcfa/Makefile.in

    r1ca52db rfe1b6a4  
    305305AUTOMAKE_OPTIONS = subdir-objects
    306306lib_LIBRARIES = $(am__append_1) $(am__append_2)
    307 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
     307EXTRA_FLAGS = -g -Wall -Werror -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr -imacros libcfa-prelude.c @CFA_FLAGS@
    308308AM_CCASFLAGS = @CFA_FLAGS@
    309309headers = limits stdlib math iostream fstream iterator rational assert \
  • src/libcfa/fstream.c

    r1ca52db rfe1b6a4  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar 22 16:17:21 2017
    13 // Update Count     : 221
     12// Last Modified On : Thu Mar 23 08:20:41 2017
     13// Update Count     : 226
    1414//
    1515
     
    2929#define IO_MSG "I/O error: "
    3030
     31void ?{}( 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
    3140_Bool sepPrt( ofstream * os ) { return os->sepOnOff; }
    3241void sepOn( ofstream * os ) { os->sepOnOff = 1; }
     
    8392                exit( EXIT_FAILURE );
    8493        } // if
    85         os->file = file;
    86         sepOff( os );
    87         sepSet( os, " " );
     94        ?{}( os, file, 1, 0, " ", ", " );
    8895} // open
    8996
     
    125132} // fmt
    126133
    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 
    136134static ofstream soutFile = { (FILE *)(&_IO_2_1_stdout_), 1, 0, " ", ", " };
    137135ofstream *sout = &soutFile;
  • src/libcfa/iostream.c

    r1ca52db rfe1b6a4  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar 22 17:46:06 2017
    13 // Update Count     : 359
     12// Last Modified On : Thu Mar 23 08:20:40 2017
     13// Update Count     : 367
    1414//
    1515
     
    201201forall( dtype ostype, otype T, ttype Params | ostream( ostype ) | writeable( T ) | { ostype * ?|?( ostype *, Params ); } )
    202202ostype * ?|?( 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
    208203        sepSetCur( os, sepGetTuple( os ) );                                     // switch to tuple separator
    209         prtTuple( arg, rest );                                                          // recursively print tuple
     204        os | arg;                                                                                       // print first argument
     205        os | rest;                                                                                      // print remaining arguments
    210206        sepSetCur( os, sepGet( os ) );                                          // switch to regular separator
    211207        return os;
     
    223219        os | '\n';
    224220        flush( os );
    225         sepOff( os );
     221        sepOff( os );                                                                           // prepare for next line
    226222        return os;
    227223} // endl
  • src/tests/.expect/32/KRfunctions.txt

    r1ca52db rfe1b6a4  
    4747    int ___retval_f5__i_1;
    4848}
    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 );
     49int (*__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);
    5151}
    5252int (*__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){
     
    6161int *(*__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){
    6262    int *(*___retval_f10__PFPi_ii__1)(int __x__i_1, int __y__i_1);
    63     int *__x__FPi_ii__2(int , int );
     63    int *__x__FPi_ii__2(int __anonymous_object2, int __anonymous_object3);
    6464    ((void)(___retval_f10__PFPi_ii__1=__x__FPi_ii__2) /* ?{} */);
    6565    return ((int *(*)(int __x__i_1, int __y__i_1))___retval_f10__PFPi_ii__1);
     
    7979const int __fred__FCi___1(){
    8080    const int ___retval_fred__Ci_1;
    81     int *(*__x__PFPi_ii__2)(int , int );
     81    int *(*__x__PFPi_ii__2)(int __anonymous_object4, int __anonymous_object5);
    8282    int __a__i_2;
    8383    int __b__i_2;
  • src/tests/.expect/64/KRfunctions.txt

    r1ca52db rfe1b6a4  
    4747    int ___retval_f5__i_1;
    4848}
    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 );
     49int (*__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);
    5151}
    5252int (*__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){
     
    6161int *(*__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){
    6262    int *(*___retval_f10__PFPi_ii__1)(int __x__i_1, int __y__i_1);
    63     int *__x__FPi_ii__2(int , int );
     63    int *__x__FPi_ii__2(int __anonymous_object2, int __anonymous_object3);
    6464    ((void)(___retval_f10__PFPi_ii__1=__x__FPi_ii__2) /* ?{} */);
    6565    return ((int *(*)(int __x__i_1, int __y__i_1))___retval_f10__PFPi_ii__1);
     
    7979const int __fred__FCi___1(){
    8080    const int ___retval_fred__Ci_1;
    81     int *(*__x__PFPi_ii__2)(int , int );
     81    int *(*__x__PFPi_ii__2)(int __anonymous_object4, int __anonymous_object5);
    8282    int __a__i_2;
    8383    int __b__i_2;
  • src/tests/.expect/64/attributes.txt

    r1ca52db rfe1b6a4  
    5858    __attribute__ ((used,unused,unused)) int __f7__i_1;
    5959    __attribute__ ((used,used,unused)) int __f8__i_1;
    60     __attribute__ ((unused)) int ;
     60    __attribute__ ((unused)) int __anonymous_object0;
    6161    __attribute__ ((unused,unused)) int *__f9__Pi_1;
    6262};
     
    226226    int **const ___retval_f2__CPPi_1;
    227227}
    228 __attribute__ ((unused,used,unused)) int (*__f3__FPA0i_i__1(int ))[];
     228__attribute__ ((unused,used,unused)) int (*__f3__FPA0i_i__1(int __anonymous_object1))[];
    229229__attribute__ ((unused,unused)) int (*__f3__FPA0i_i__1(int __p__i_1))[]{
    230230    int (*___retval_f3__PA0i_1)[];
    231231}
    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 );
     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);
    235235}
    236236__attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(long unsigned int __size);
    237237__attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr);
    238238__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void);
    239 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit0(void (*__func)(void), void *, void *);
     239__attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit0(void (*__func)(void), void *__anonymous_object5, void *__anonymous_object6);
    240240__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(int __status);
    241241__attribute__ ((format(printf, 1, 2))) extern int printf(const char *__restrict __format, ...);
     
    268268int __tpr2__Fi_PPi__1(__attribute__ ((unused,unused,unused,unused,unused,unused)) int **__Foo__PPi_1);
    269269int __tpr3__Fi_Pi__1(__attribute__ ((unused,unused,unused)) int *__Foo__Pi_1);
    270 int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) int (*)(__attribute__ ((unused,unused)) int [((long unsigned int )5)]));
     270int __tpr4__Fi_PFi_Pi___1(__attribute__ ((unused,unused)) int (*__anonymous_object7)(__attribute__ ((unused,unused)) int __anonymous_object8[((long unsigned int )5)]));
    271271int __tpr5__Fi_PFi____1(__attribute__ ((unused,unused,unused)) int (*__Foo__PFi___1)());
    272272int __tpr6__Fi_PFi____1(__attribute__ ((unused,unused,unused)) int (*__Foo__PFi___1)());
    273 int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) int (*)(__attribute__ ((unused)) int (*)(__attribute__ ((unused,unused)) int )));
     273int __tpr7__Fi_PFi_PFi_i____1(__attribute__ ((unused,unused)) int (*__anonymous_object9)(__attribute__ ((unused)) int (*__anonymous_object10)(__attribute__ ((unused,unused)) int __anonymous_object11)));
    274274int __ad__Fi___1(){
    275275    int ___retval_ad__i_1;
     
    320320    ((void)sizeof(enum __anonymous5 ));
    321321}
    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 ));
     322int __apd1__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *__anonymous_object12, __attribute__ ((unused,unused,unused)) int *__anonymous_object13);
     323int __apd2__Fi_PPiPPi__1(__attribute__ ((unused,unused,unused,unused)) int **__anonymous_object14, __attribute__ ((unused,unused,unused,unused)) int **__anonymous_object15);
     324int __apd3__Fi_PiPi__1(__attribute__ ((unused,unused,unused)) int *__anonymous_object16, __attribute__ ((unused,unused,unused)) int *__anonymous_object17);
     325int __apd4__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*__anonymous_object18)(), __attribute__ ((unused,unused,unused)) int (*__anonymous_object19)());
     326int __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));
     327int __apd6__Fi_PFi__PFi____1(__attribute__ ((unused,unused,unused)) int (*__anonymous_object24)(), __attribute__ ((unused,unused,unused)) int (*__anonymous_object25)());
     328int __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));
    329329struct Vad {
    330     __attribute__ ((unused)) int ;
    331     __attribute__ ((unused,unused)) int *;
    332     __attribute__ ((unused,unused)) int [((long unsigned int )10)];
    333     __attribute__ ((unused,unused)) int (*)();
     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)();
    334334};
    335335static inline void ___constructor__F_P4sVad_autogen___1(struct Vad *___dst__P4sVad_1);
  • src/tests/Makefile.am

    r1ca52db rfe1b6a4  
    5151        @+python test.py --list --concurrent=${concurrent}
    5252
     53.dummy : .dummy.c
     54        ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
     55
    5356constant0-1DP : constant0-1.c
    5457        ${CC} ${CFLAGS} -DDUPS ${<} -o ${@}
  • src/tests/Makefile.in

    r1ca52db rfe1b6a4  
    669669        @+python test.py --list --concurrent=${concurrent}
    670670
     671.dummy : .dummy.c
     672        ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
     673
    671674constant0-1DP : constant0-1.c
    672675        ${CC} ${CFLAGS} -DDUPS ${<} -o ${@}
  • src/tests/test.py

    r1ca52db rfe1b6a4  
    2525# parses the Makefile to find the machine type (32-bit / 64-bit)
    2626def getMachineType():
    27         sh('echo "int main() { return 0; }" > .dummy.c')
     27        sh('echo "void ?{}(int*a,int b){}int main(){return 0;}" > .dummy.c')
    2828        sh("make .dummy", print2stdout=False)
    2929        _, out = sh("file .dummy", print2stdout=False)
Note: See TracChangeset for help on using the changeset viewer.