public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/62005] New: [4.10 regression] with --enable-checking=rtl : loop-unroll.c:2095:10: error: function may return address of local variable Date: Mon, 04 Aug 2014 09:13:00 -0000 [thread overview] Message-ID: <bug-62005-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62005 Bug ID: 62005 Summary: [4.10 regression] with --enable-checking=rtl : loop-unroll.c:2095:10: error: function may return address of local variable Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com r213523, r213529 FAIL r213316 PASS ~/src/gcc_r213529/configure --enable-checking=rtl make [...] make[3]: Entering directory `/home/dimhen/build/gcc_r213529_rtl/gcc' /home/dimhen/build/gcc_r213529_rtl/./prev-gcc/xg++ -B/home/dimhen/build/gcc_r213529_rtl/./prev-gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/home/dimhen/build/gcc_r213529_rtl/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/dimhen/build/gcc_r213529_rtl/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/dimhen/build/gcc_r213529_rtl/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/home/dimhen/build/gcc_r213529_rtl/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/home/dimhen/src/gcc_r213529/libstdc++-v3/libsupc++ -L/home/dimhen/build/gcc_r213529_rtl/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/dimhen/build/gcc_r213529_rtl/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I. -I/home/dimhen/src/gcc_r213529/gcc -I/home/dimhen/src/gcc_r213529/gcc/. -I/home/dimhen/src/gcc_r213529/gcc/../include -I/home/dimhen/src/gcc_r213529/gcc/../libcpp/include -I/home/dimhen/build/gcc_r213529_rtl/./gmp -I/home/dimhen/src/gcc_r213529/gmp -I/home/dimhen/build/gcc_r213529_rtl/./mpfr -I/home/dimhen/src/gcc_r213529/mpfr -I/home/dimhen/src/gcc_r213529/mpc/src -I/home/dimhen/src/gcc_r213529/gcc/../libdecnumber -I/home/dimhen/src/gcc_r213529/gcc/../libdecnumber/bid -I../libdecnumber -I/home/dimhen/src/gcc_r213529/gcc/../libbacktrace -DCLOOG_INT_GMP -I/home/dimhen/build/gcc_r213529_rtl/./cloog/include -I/home/dimhen/src/gcc_r213529/cloog/include -I/home/dimhen/build/gcc_r213529_rtl/./isl/include -I/home/dimhen/src/gcc_r213529/isl/include -o loop-unroll.o -MT loop-unroll.o -MMD -MP -MF ./.deps/loop-unroll.TPo /home/dimhen/src/gcc_r213529/gcc/loop-unroll.c /home/dimhen/src/gcc_r213529/gcc/loop-unroll.c: In function 'rtx_def** get_ivts_expr(rtx, iv_to_split*)': /home/dimhen/src/gcc_r213529/gcc/loop-unroll.c:2095:10: error: function may return address of local variable [-Werror=return-local-addr] return ret; ^ /home/dimhen/src/gcc_r213529/gcc/loop-unroll.c:2087:20: note: declared here get_ivts_expr (rtx expr, struct iv_to_split *ivts) ^ cc1plus: all warnings being treated as errors make[3]: *** [loop-unroll.o] Error 1 make[3]: Leaving directory `/home/dimhen/build/gcc_r213529_rtl/gcc'
next reply other threads:[~2014-08-04 9:13 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-08-04 9:13 dimhen at gmail dot com [this message] 2014-08-04 9:53 ` [Bug bootstrap/62005] " rguenth at gcc dot gnu.org 2014-08-04 10:24 ` glisse at gcc dot gnu.org 2014-08-04 18:47 ` jakub at gcc dot gnu.org 2014-08-04 18:55 ` glisse at gcc dot gnu.org 2014-08-04 20:12 ` glisse at gcc dot gnu.org 2014-08-05 9:08 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-62005-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).