File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
regression/ansi-c/gcc_attributes11 Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change
1
+ static int __attribute__ ((__section__ (".init.text" ))) __attribute__((no_instrument_function )) dp83640_init (void ) { return 0 ; }
2
+ int init_module (void ) __attribute__((alias ("dp83640_init" )));;
3
+
4
+ int main ()
5
+ {
6
+ dp83640_init ();
7
+ return 0 ;
8
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ --
7
+ ^warning: ignoring
8
+ ^CONVERSION ERROR$
Original file line number Diff line number Diff line change @@ -1526,9 +1526,6 @@ __decltype { if(PARSER.cpp98 &&
1526
1526
" alias" |
1527
1527
" __alias__" { BEGIN (GCC_ATTRIBUTE3); loc (); return TOK_GCC_ATTRIBUTE_ALIAS; }
1528
1528
1529
- " section" |
1530
- " __section__" { BEGIN (GCC_ATTRIBUTE3); loc (); return TOK_GCC_ATTRIBUTE_SECTION; }
1531
-
1532
1529
" noreturn" |
1533
1530
" __noreturn__" { BEGIN (GCC_ATTRIBUTE3); loc (); return TOK_GCC_ATTRIBUTE_NORETURN; }
1534
1531
You can’t perform that action at this time.
0 commit comments