~ubuntu-branches/ubuntu/maverick/ghdl/maverick

« back to all changes in this revision

Viewing changes to gcc/gcc/vec.h

  • Committer: Bazaar Package Importer
  • Author(s): Wesley J. Landaker
  • Date: 2009-04-02 21:23:07 UTC
  • mfrom: (1.1.11 upstream) (3.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090402212307-01pkh97q9b3u1vea
Tags: 0.27+svn110+gcc4.3.3+dfsg-1
* Now using gcc-4.3.3
* Updated copyright information
* Added Vcs-Git information
* Updated to policy 3.8.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
480
480
  VEC(T,B) base;                                                          \
481
481
} VEC(T,A)
482
482
 
 
483
#define VEC_TA(T,B,A)                                                     \
 
484
typedef struct VEC(T,A)                                                   \
 
485
{                                                                         \
 
486
  VEC(T,B) base;                                                          \
 
487
} VEC(T,A)
 
488
 
483
489
/* Convert to base type.  */
484
490
#define VEC_BASE(P)  ((P) ? &(P)->base : 0)
485
491
 
491
497
}                                                                         \
492
498
                                                                          \
493
499
VEC_T(T,base);                                                            \
494
 
VEC_TA_GTY(T,base,none,);                                                 \
 
500
VEC_TA(T,base,none);                                                      \
495
501
DEF_VEC_FUNC_P(T)                                                         \
496
502
struct vec_swallow_trailing_semi
497
503
#define DEF_VEC_ALLOC_I(T,A)                                              \
498
 
VEC_TA_GTY(T,base,A,);                                                    \
 
504
VEC_TA(T,base,A);                                                         \
499
505
DEF_VEC_ALLOC_FUNC_I(T,A)                                                 \
500
506
struct vec_swallow_trailing_semi
501
507
 
507
513
}                                                                         \
508
514
                                                                          \
509
515
VEC_T_GTY(T,base);                                                        \
510
 
VEC_TA_GTY(T,base,none,);                                                 \
 
516
VEC_TA(T,base,none);                                                      \
511
517
DEF_VEC_FUNC_P(T)                                                         \
512
518
struct vec_swallow_trailing_semi
513
519
#define DEF_VEC_ALLOC_P(T,A)                                              \
514
 
VEC_TA_GTY(T,base,A,);                                                    \
 
520
VEC_TA(T,base,A);                                                         \
515
521
DEF_VEC_ALLOC_FUNC_P(T,A)                                                 \
516
522
struct vec_swallow_trailing_semi
517
523
 
797
803
/* Vector of object.  */
798
804
#define DEF_VEC_O(T)                                                      \
799
805
VEC_T_GTY(T,base);                                                        \
800
 
VEC_TA_GTY(T,base,none,);                                                 \
 
806
VEC_TA(T,base,none);                                              \
801
807
DEF_VEC_FUNC_O(T)                                                         \
802
808
struct vec_swallow_trailing_semi
803
809
#define DEF_VEC_ALLOC_O(T,A)                                              \
804
 
VEC_TA_GTY(T,base,A,);                                                    \
 
810
VEC_TA(T,base,A);                                                         \
805
811
DEF_VEC_ALLOC_FUNC_O(T,A)                                                 \
806
812
struct vec_swallow_trailing_semi
807
813