[Bug target/20126] [3.3/3.4/4.0 Regression] Inlined memcmp makes one argument null on entry
jconner at apple dot com
gcc-bugzilla@gcc.gnu.org
Mon Apr 11 21:11:00 GMT 2005
------- Additional Comments From jconner at apple dot com 2005-04-11 21:10 -------
Subject: Re: [PR target/20126, RFC] loop DEST_ADDR biv replacement may fail
On Apr 10, 2005, at 8:50 PM, Alexandre Oliva wrote:
> On Apr 10, 2005, Mark Mitchell <mark@codesourcery.com> wrote:
>
>> Thanks for alerting me to this one; it does look relatively
>> serious. I've added it to:
>
>> http://gcc.gnu.org/wiki/Last-Minute%20Requests%20for%204.0.0
>
>> and will consider whether it merits a second release-candidate.
>
> FWIW, I've bootstrapped and regtested it on amd64-linux-gnu on 4.0
> branch as well. The same patch applies cleanly.
>
> --
> Alexandre Oliva http://www.ic.unicamp.br/~oliva/
> Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
> Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
>
I'm now getting a ICE building the mainline (please ignore the "3.4.3"
in the
directory structure, it's a holdover from the build scripts I'm using)
that appears
to be related to this patch. Here's the output:
...
/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/build-gcc
-3.4.3-arm-elf-full/./gcc/xgcc
-B/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/build-
gcc-3.4.3-arm-elf-full/./gcc/ -c -DHAVE_CONFIG_H -O2 -g -O2 -I.
-I/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/gcc/
libiberty/../include -W -Wall -pedantic -Wwrite-strings
-Wstrict-prototypes
/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/gcc/
libiberty/cp-demangle.c -o cp-demangle.o
In file included from
/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/gcc/
libiberty/cp-demangle.c:99:
/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/gcc/
libiberty/../include/libiberty.h:80: warning: function declaration
isn't a prototype
/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/gcc/
libiberty/cp-demangle.c: In function 'd_print_comp':
/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/gcc/
libiberty/cp-demangle.c:3324: internal compiler error: in
loop_givs_rescan, at loop.c:5501
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [cp-demangle.o] Error 1
make: *** [all-target-libiberty] Error 2
And my configuration:
TOPLEVEL_CONFIGURE_ARGUMENTS=/Volumes/Home/Users/josh/work/SameOld-
mainline-elf/ToolsSrc/gcc/configure
--prefix=/Volumes/Home/Users/josh/work/SameOld-mainline-elf/ToolsSrc/
gcc/../../ToolChains/darwin-ppc/gcc-3.4.3/ --target=arm-unknown-elf
--program-prefix=arm-elf- --disable-nls --enable-languages=c,c++
--with-newlib --enable-multilib --disable-shared
FWIW, the mainline built successfully for me on 5 April.
I'd be glad to enter a bug report, if it's appropriate -- I wasn't sure
about
proper behavior for a recently fixed bug. Otherwise, I'm also glad to
provide
any additional information that may help track down the issue.
- Josh
~~~~~~
Josh Conner
Apple Computer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20126
More information about the Gcc-bugs
mailing list