public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13753] New: miscompilation with -fnew-ra on xCHM
@ 2004-01-20 0:31 gcc-bugzilla at gcc dot gnu dot org
2004-01-20 0:34 ` [Bug optimization/13753] [new-ra] " pinskia at gcc dot gnu dot org
2005-01-17 15:17 ` [Bug rtl-optimization/13753] " pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-01-20 0:31 UTC (permalink / raw)
To: gcc-bugs
Internal compiler error with the following report:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../art -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -fmove-all-movables -fnew-ra -finline-limit=600 -maccumulate-outgoing-args -minline-all-stringops -fprefetch-loop-arrays -mno-align-stringops -frename-registers -mfpmath=387 -march=athlon-xp -fomit-frame-pointer -pipe -W -Wall -MT chmfile.o -MD -MP -MF ".deps/chmfile.Tpo"
bitfiddle.inl: In function `u_int64_t sr_int(unsigned char*, int*, unsigned
char, unsigned char, size_t&)':
bitfiddle.inl:148: internal compiler error: in reloads_to_loads, at
ra-rewrite.c:1068
Please submit a full bug report,
with preprocessed source if appropriate.
(please don't care about the kernel version/patch, it's just my personal modification to make this radeon9800XT work with the framebuffer)
Environment:
System: Linux StrongHold 2.6.1-paya1 #2 Fri Jan 16 16:44:24 ART 2004 i686 AMD Athlon(tm) XP AuthenticAMD GNU/Linux
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib
How-To-Repeat:
With this CFLAGS and the version of gcc, emerge xchm in gentoo.
CFLAGS="-O2 -fmove-all-movables -fnew-ra -finline-limit=600 -maccumulate-outgoing-args -minline-all-stringops -fprefetch-loop-arrays -mno-align-stringops -frename-registers -mfpmath=387 -march=athlon-xp -fomit-frame-pointer -pipe"
------- Additional Comments From jvillavicencio at arnet dot com dot ar 2004-01-20 00:31 -------
Fix:
remove -fnew-ra and it compiles perfectly.
--
Summary: miscompilation with -fnew-ra on xCHM
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jvillavicencio at arnet dot com dot ar
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13753
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug optimization/13753] [new-ra] miscompilation with -fnew-ra on xCHM
2004-01-20 0:31 [Bug c++/13753] New: miscompilation with -fnew-ra on xCHM gcc-bugzilla at gcc dot gnu dot org
@ 2004-01-20 0:34 ` pinskia at gcc dot gnu dot org
2005-01-17 15:17 ` [Bug rtl-optimization/13753] " pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-20 0:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-20 00:34 -------
-fnew-ra is not supported at all for 3.3.x or 3.4, this might get fixed for 3.5 though.
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |13246
nThis| |
AssignedTo|unassigned at gcc dot gnu |matz at suse dot de
|dot org |
Status|UNCONFIRMED |ASSIGNED
Component|c++ |optimization
Keywords| |ice-on-valid-code
Summary|miscompilation with -fnew-ra|[new-ra] miscompilation with
|on xCHM |-fnew-ra on xCHM
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13753
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug rtl-optimization/13753] [new-ra] miscompilation with -fnew-ra on xCHM
2004-01-20 0:31 [Bug c++/13753] New: miscompilation with -fnew-ra on xCHM gcc-bugzilla at gcc dot gnu dot org
2004-01-20 0:34 ` [Bug optimization/13753] [new-ra] " pinskia at gcc dot gnu dot org
@ 2005-01-17 15:17 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-17 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-17 15:17 -------
Closing as wiill not fix as new-ra was removed from the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |WONTFIX
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13753
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-17 15:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20 0:31 [Bug c++/13753] New: miscompilation with -fnew-ra on xCHM gcc-bugzilla at gcc dot gnu dot org
2004-01-20 0:34 ` [Bug optimization/13753] [new-ra] " pinskia at gcc dot gnu dot org
2005-01-17 15:17 ` [Bug rtl-optimization/13753] " pinskia at gcc dot gnu dot org
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).