http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47518
Summary: va_arg causes segmentation fault in case of variable
length argument
Product: gcc
Version: 4.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47518
--- Comment #1 from jur.pauw at gmail dot com 2011-01-28 15:26:41 UTC ---
If gcc version 3.4.4 is used then the program executes correctly.
Version information:
Reading specs from
/sysmnt/cadappl_linuxi386_nsvr1/gcc/3.4.4/bin/../lib/gcc/i686-pc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47518
--- Comment #4 from jur.pauw at gmail dot com 2011-01-28 15:54:10 UTC ---
Created attachment 23156
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23156
preprocessed output that triggers va_arg segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47518
jur.pauw at gmail dot com changed:
What|Removed |Added
Version|4.2.2 |4.4.5
--- Comment #5 from