This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/10719] invalid code generated (x86, "int $5") with __builtin_va_arg(va, char);


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-09-15 04:52 -------
> Yes well I don't think you should have to go out of your way to ask the 
> compiler to not generate invalid code.  Not generating invalid code should be 
> the default behavior.

Again the compiler violates the ISO C standard if it stops.  I agree that this
is counter-intuitive, but you have an unconditional warning.  Simply ban -w.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10719


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]