[Committed] Add testcase for PR middle-end/37669 ice with builtin checks

Andrew Pinski pinskia@gmail.com
Mon Sep 29 22:28:00 GMT 2008


Hi,
  IRA used to miscompile execute_fold_all_builtins with the recent
ira-lives.c patch.  Since that patch was reverted, I am going to add
this testcase which had caught the miscompiling for me.  The testcase
uses __builtin___snprintf_chk/__builtin_object_size/__builtin_va_arg_pack,
so it is a good testcase to have anyways.

Committed as obvious.

Thanks,
Andrew Pinski

ChangeLog:
* gcc.c-torture/compile/pr37669.c: New test.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: addtestcase3766.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080929/1b26b497/attachment.txt>


More information about the Gcc-patches mailing list