[Bug target/77326] [avr] Invalid optimization using varargs and a weak function
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 21 09:18:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Wed Sep 21 09:17:32 2016
New Revision: 240306
URL: https://gcc.gnu.org/viewcvs?rev=240306&root=gcc&view=rev
Log:
gcc/
PR target/77326
* config/avr/avr.c (avr_notice_update_cc) [CC_NONE]: If insn
touches some regs mentioned in cc_status, do CC_STATUS_INIT.
gcc/testsuite/
PR target/77326
* gcc.target/avr/torture/pr77326.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/avr/torture/pr77326.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list