[Bug target/44107] gcc emits frame (epilogue) info incompatible with the darwin {8,9}-unwinder,10-compacter
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107 --- Comment #22 from David Fang fang at csl dot cornell.edu --- Do one of these apple libunwind sources (0.30, 0.35.1) correspond to what's bundled in libgcc_s in darwin8,9,10? http://opensource.apple.com/tarballs/libunwind/
[Bug target/54083] FAIL: gcc.dg/torture/pr53922.c on *-apple-darwin*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54083 --- Comment #14 from David Fang fang at csl dot cornell.edu 2012-11-19 21:40:44 UTC --- Would this be needed for darwin8 as well?
[Bug target/55033] [4.6/4.7/4.8 Regression] PowerPC section type conflict error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55033 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #3 from David Fang fang at csl dot cornell.edu 2012-11-06 09:26:38 UTC --- Would this be testable on powerpc-apple-darwin8?
[Bug tree-optimization/53922] [4.6 Regression] VRP: semantic conflict between range_includes_zero_p and value_inside_range
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53922 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #13 from David Fang fang at csl dot cornell.edu 2012-09-27 21:28:16 UTC --- http://gcc.gnu.org/ml/gcc-testresults/2012-09/msg02736.html (4.7.2 test-results) shows similar failures on powerpc-darwin8
[Bug target/54083] FAIL: gcc.dg/torture/pr53922.c on *-apple-darwin*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54083 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #6 from David Fang fang at csl dot cornell.edu 2012-09-27 21:29:17 UTC --- http://gcc.gnu.org/ml/gcc-testresults/2012-09/msg02736.html seen same failures with 4.7.2 on powerpc-darwin8
[Bug middle-end/52690] ICE after bootstrap comparison in libjava
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52690 David Fang fang at csl dot cornell.edu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WORKSFORME --- Comment #3 from David Fang fang at csl dot cornell.edu 2012-03-25 20:52:25 UTC --- Second build just worked. The failure I saw is not reproducible, and will remain a mystery.
[Bug java/52690] New: ICE after bootstrap comparison in libjava
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52690 Bug #: 52690 Summary: ICE after bootstrap comparison in libjava Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: java AssignedTo: unassig...@gcc.gnu.org ReportedBy: f...@csl.cornell.edu On a powerpc-darwin8 bootstrap of release-4.7.0, after stage 3 comparison, during libjava: configured with: ../gcc-4.7.0/configure --prefix=/sw AS=odas AS_FOR_TARGET=odas NM_FOR_TARGET=odnm LD_FOR_TARGET=odld AR_FOR_TARGET=oda r LIPO_FOR_TARGET=odlipo OBJDUMP_FOR_TARGET=odobjdump RANLIB_FOR_TARGET=odranlib STRIP_FOR_TARGET=odstrip --prefix=/sw/l ib/gcc4.7 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.7/info --enable-languages=c,c++,fortran,lto,objc,obj-c++,java -- with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/ usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.7 --enable-cloog-backend=isl --with-dwarf2 --disa ble-libjava-multilib --disable-libquadmath ... depbase=`echo interpret.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CXX --mode=compile /Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc - shared-libgcc -B/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc -nostdinc++ -L/Volumes/Isolde/fink.build/gc c47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src -L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_ objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src/.libs -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4 .7/powerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.7/po werpc-apple-darwin8.11.0/sys-include-DHAVE_CONFIG_H -I. -I../../../gcc-4.7.0/libjava -I./include -I./gcj -I../../.. /gcc-4.7.0/libjava -Iinclude -I../../../gcc-4.7.0/libjava/include -I../../../gcc-4.7.0/libjava/classpath/include -Iclass path/include -I../../../gcc-4.7.0/libjava/classpath/native/fdlibm -I../../../gcc-4.7.0/libjava/../boehm-gc/include -I../ boehm-gc/include -I../../../gcc-4.7.0/libjava/libltdl -I../../../gcc-4.7.0/libjava/libltdl -I../../../gcc-4.7.0/libjava /.././libjava/../libgcc -I../../../gcc-4.7.0/libjava/../libffi/include -I../libffi/include -I/sw/include -fno-rtti -fno n-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\ /sw/lib/gcc4.7\ -DTOOLEXECLIBDIR=\/sw/lib/gcc4.7/lib\ -DJAVA_HOME=\/sw/lib/gcc4.7\ -DBOOT_CLASS_PATH=\/sw/l ib/gcc4.7/share/java/libgcj-4.7.0.jar\ -DJAVA_EXT_DIRS=\/sw/lib/gcc4.7/share/java/ext\ -DGCJ_ENDORSED_DIRS=\/sw/ lib/gcc4.7/share/java/gcj-endorsed\ -DGCJ_VERSIONED_LIBDIR=\/sw/lib/gcc4.7/lib/gcj-4.7.0-13\ -DPATH_SEPARATOR=\: \ -DECJ_JAR_FILE=\/sw/lib/gcc4.7/share/java/ecj.jar\ -DLIBGCJ_DEFAULT_DATABASE=\/sw/lib/gcc4.7/lib/gcj-4.7.0-13/ classmap.db\ -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\gcj-4.7.0-13/classmap.db\ -fwrapv -g -O2 -MT interpret.lo -MD -M P -MF $depbase.Tpo -c -o interpret.lo ../../../gcc-4.7.0/libjava/interpret.cc \ mv -f $depbase.Tpo $depbase.Plo libtool: compile: /Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc -shared-libgcc -B/Volumes/Isolde/fi nk.build/gcc47-4.7.0-1/darwin_objdir/./gcc -nostdinc++ -L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc- apple-darwin8.11.0/libstdc++-v3/src -L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/ libstdc++-v3/src/.libs -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-inclu de -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.0/libjava -I./include -I./gcj -I../../../gcc-4.7.0/libjava -Iinclude -I../../. ./gcc-4.7.0/libjava/include -I../../../gcc-4.7.0/libjava/classpath/include -Iclasspath/include -I../../../gcc-4.7.0/libj ava/classpath/native/fdlibm -I../../../gcc-4.7.0/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../gcc-4.7.0/ libjava/libltdl -I../../../gcc-4.7.0/libjava/libltdl -I../../../gcc-4.7.0/libjava/.././libjava/../libgcc -I../../../gcc- 4.7.0/libjava/../libffi/include -I../libffi/include -I/sw/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifie rs -Wswitch-enum -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\/sw/lib/gcc4.7\ -DTOOLEXECLIBDIR=\/sw/l ib/gcc4.7/lib\ -DJAVA_HOME=\/sw/lib/gcc4.7\ -DBOOT_CLASS_PATH=\/sw/lib/gcc4.7/share/java/libgcj-4.7.0.jar\ -DJAVA_E XT_DIRS=\/sw/lib/gcc4.7/share/java/ext\ -DGCJ_ENDORSED_DIRS=\/sw/lib/gcc4.7/share/java/gcj-endorsed\ -DGCJ_VERSIONED _LIBDIR=\/sw/lib/gcc4.7/lib/gcj-4.7.0-13\ -DPATH_SEPARATOR=\:\ -DECJ_JAR_FILE=\/sw/lib/gcc4.7/share/java/ecj.jar\
[Bug middle-end/52690] ICE after bootstrap comparison in libjava
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52690 --- Comment #2 from David Fang fang at csl dot cornell.edu 2012-03-23 19:58:55 UTC --- Created attachment 26969 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26969 preprocessed source generated by: /Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc/xgcc -shared-libgcc \ -B/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/./gcc -nostdinc++ \ -L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src \ -L/Volumes/Isolde/fink.build/gcc47-4.7.0-1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src/.libs \ -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ \ -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/lib/ \ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include \ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include \ -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.0/libjava -I./include -I./gcj \ -I../../../gcc-4.7.0/libjava \ -Iinclude -I../../../gcc-4.7.0/libjava/include \ -I../../../gcc-4.7.0/libjava/classpath/include \ -Iclasspath/include -I../../../gcc-4.7.0/libjava/classpath/native/fdlibm \ -I../../../gcc-4.7.0/libjava/../boehm-gc/include -I../boehm-gc/include \ -I../../../gcc-4.7.0/libjava/libltdl -I../../../gcc-4.7.0/libjava/libltdl \ -I../../../gcc-4.7.0/libjava/.././libjava/../libgcc \ -I../../../gcc-4.7.0/libjava/../libffi/include \ -I../libffi/include -I/sw/include -fno-rtti -fnon-call-exceptions \ -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 \ -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\/sw/lib/gcc4.7\ \ -DTOOLEXECLIBDIR=\/sw/lib/gcc4.7/lib\ \ -DJAVA_HOME=\/sw/lib/gcc4.7\ \ -DBOOT_CLASS_PATH=\/sw/lib/gcc4.7/share/java/libgcj-4.7.0.jar\ \ -DJAVA_EXT_DIRS=\/sw/lib/gcc4.7/share/java/ext\ \ -DGCJ_ENDORSED_DIRS=\/sw/lib/gcc4.7/share/java/gcj-endorsed\ \ -DGCJ_VERSIONED_LIBDIR=\/sw/lib/gcc4.7/lib/gcj-4.7.0-13\ \ -DPATH_SEPARATOR=\:\ -DECJ_JAR_FILE=\/sw/lib/gcc4.7/share/java/ecj.jar\ \ -DLIBGCJ_DEFAULT_DATABASE=\/sw/lib/gcc4.7/lib/gcj-4.7.0-13/classmap.db\ \ -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\gcj-4.7.0-13/classmap.db\ \ -fwrapv -g -O2 -MT interpret.lo -MD -MP -MF .deps/interpret.Tpo \ -c ../../../gcc-4.7.0/libjava/interpret.cc -fno-common -DPIC -o .libs/interpret.o \ -save-temps Oddly, when I generated it this time by hand (with -save-temps), the command completed successfully. Nondeterminism??
[Bug c++/50594] Option -fwhole-program discards replaced new operator for std::string
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50594 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #25 from David Fang fang at csl dot cornell.edu 2012-03-12 16:31:03 UTC --- Seeing this failing on powerpc-darwin8. http://gcc.gnu.org/ml/gcc-testresults/2012-03/msg01296.html Log shows failed assertion: Executing on host: /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/./gcc/g++ -shared-libgcc -B/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/./gcc -nostdinc++ -L/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src -L/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/src/.libs -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include -B/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/./libstdc++-v3/src/.libs -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -g -O2 -DLOCALEDIR=. -nostdinc++ -I/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/include/powerpc-apple-darwin8.11.0 -I/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/libstdc++-v3/include -I/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/gcc-4.7.0-RC-20120302/libstdc++-v3/libsupc++ -I/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/gcc-4.7.0-RC-20120302/libstdc++-v3/include/backward -I/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/gcc-4.7.0-RC-20120302/libstdc++-v3/testsuite/util /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/gcc-4.7.0-RC-20120302/libstdc++-v3/testsuite/18_support/50594.cc -fwhole-program ./libtestc++.a -L/sw/lib -liconv -lm -o ./50594.exe (timeout = 600) PASS: 18_support/50594.cc (test for excess errors) Setting LD_LIBRARY_PATH to :/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/gcc:/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/./libstdc++-v3/../libgomp/.libs:/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/./libstdc++-v3/src/.libs::/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/gcc:/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/./libstdc++-v3/../libgomp/.libs:/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/darwin_objdir/powerpc-apple-darwin8.11.0/./libstdc++-v3/src/.libs /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1.1/gcc-4.7.0-RC-20120302/libstdc++-v3/testsuite/18_support/50594.cc:64: failed assertion `user_new_called' FAIL: 18_support/50594.cc execution test
[Bug tree-optimization/46728] GCC does not generate fmadd for pow (x, 0.75)+y on powerpc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46728 --- Comment #15 from David Fang fang at csl dot cornell.edu 2012-03-12 02:26:40 UTC --- I see this test failing on powerpc-apple-darwin8 (32b G4, ppc7400): http://gcc.gnu.org/ml/gcc-testresults/2012-03/msg01296.html Is this specific to 64b, or should it also work for 32b ppc?
[Bug libitm/52482] libitm INVALID MNEMONIC in .S (powerpc asm)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482 --- Comment #5 from David Fang fang at csl dot cornell.edu 2012-03-12 02:28:49 UTC --- Reran using entire set of odcctools-20090808 (passed through configure), looks like same failures: http://gcc.gnu.org/ml/gcc-testresults/2012-03/msg01296.html
[Bug libitm/52482] libitm INVALID MNEMONIC in .S (powerpc asm)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482 --- Comment #4 from David Fang fang at csl dot cornell.edu 2012-03-09 20:44:14 UTC --- Also, from my testing, it looks like AS=odas is needed; if I just pass AS_FOR_TARGET=odas, then the wrong assembler is used and sjlj.S fails.
[Bug libitm/52482] libitm INVALID MNEMONIC in .S (powerpc asm)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482 --- Comment #3 from David Fang fang at csl dot cornell.edu 2012-03-08 16:03:46 UTC --- This build finished, using odcctools' as, but there are some test failures with libitm. http://gcc.gnu.org/ml/gcc-testresults/2012-03/msg00893.html How can I get the failure details for libitm tests from the build dir?
[Bug libitm/52482] libitm INVALID MNEMONIC in .S (powerpc asm)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482 --- Comment #2 from David Fang fang at csl dot cornell.edu 2012-03-05 21:02:27 UTC --- I tried overriding as to point to odcctools-20090808's version: % odas -v Apple Inc version odcctools-698.1od9, GNU assembler version 1.38 and that worked better. hacked gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/as ORIGINAL_AS_FOR_TARGET % /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/xgcc -B/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/ -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.7.0-RC-20120302/libitm -I../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc -I../../../gcc-4.7.0-RC-20120302/libitm/config/posix -I../../../gcc-4.7.0-RC-20120302/libitm/config/generic -I../../../gcc-4.7.0-RC-20120302/libitm -Wall -pthread -Werror -g -O2 -MT sjlj.lo -MD -MP -MF .deps/sjlj.Tpo -c ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S -fno-common -DPIC -v -o .libs/sjlj.o Reading specs from /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/specs COLLECT_GCC=/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/xgcc Target: powerpc-apple-darwin8.11.0 Configured with: ../gcc-4.7.0-RC-20120302/configure --prefix=/sw --prefix=/sw/lib/gcc4.7 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.7/info --enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.7 --enable-cloog-backend=isl --with-dwarf2 --disable-libjava-multilib --disable-libquadmath Thread model: posix gcc version 4.7.0 20120302 (prerelease) (GCC) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.4' '-B' '/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/' '-B' '/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/' '-B' '/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/lib/' '-isystem' '/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include' '-isystem' '/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include' '-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '../../../gcc-4.7.0-RC-20120302/libitm' '-I' '../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc' '-I' '../../../gcc-4.7.0-RC-20120302/libitm/config/posix' '-I' '../../../gcc-4.7.0-RC-20120302/libitm/config/generic' '-I' '../../../gcc-4.7.0-RC-20120302/libitm' '-Wall' '-pthread' '-Werror' '-g' '-O2' '-MT' 'sjlj.lo' '-MD' '-MP' '-MF' '.deps/sjlj.Tpo' '-c' '-fno-common' '-D' 'PIC' '-v' '-o' '.libs/sjlj.o' /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/cc1 -E -lang-asm -quiet -v -I . -I ../../../gcc-4.7.0-RC-20120302/libitm -I ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc -I ../../../gcc-4.7.0-RC-20120302/libitm/config/posix -I ../../../gcc-4.7.0-RC-20120302/libitm/config/generic -I ../../../gcc-4.7.0-RC-20120302/libitm -iprefix /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/../lib/gcc/powerpc-apple-darwin8.11.0/4.7.0/ -isystem /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/include -isystem /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/include-fixed -MD .libs/sjlj.d -MF .deps/sjlj.Tpo -MP -MT sjlj.lo -D__DYNAMIC__ -D_REENTRANT -D HAVE_CONFIG_H -D PIC -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S -feliminate-unused-debug-symbols -fPIC -mmacosx-version-min=10.4 -Wall -Werror -fno-common -g -fworking-directory -O2 -fno-directives-only -o /var/tmp//ccXtGHR0.s ignoring nonexistent directory /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include ignoring nonexistent directory /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include ignoring nonexistent directory /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/../lib/gcc/powerpc-apple-darwin8.11.0/4.7.0/include ignoring nonexistent directory /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/../lib/gcc/powerpc-apple-darwin8.11.0/4.7.0/include-fixed ignoring nonexistent directory /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/../lib/gcc/powerpc-apple-darwin8.11.0/4.7.0/../../../../powerpc-apple-darwin8.11.0/include ignoring nonexistent directory /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/../lib/gcc/../../lib/gcc/powerpc-apple-darwin8.11.0/4.7.0/include ignoring nonexistent directory /usr/local/include ignoring nonexistent directory /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/../lib/gcc/../../include ignoring nonexistent directory /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/gcc/../lib/gcc/../../lib/gcc/powerpc-apple-darwin8.11.0/4.7.0/include-fixed ignoring nonexistent directory /Volumes/Isolde
[Bug libitm/52482] New: libitm INVALID MNEMONIC in .S (powerpc asm)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482 Bug #: 52482 Summary: libitm INVALID MNEMONIC in .S (powerpc asm) Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libitm AssignedTo: unassig...@gcc.gnu.org ReportedBy: f...@csl.cornell.edu Host: powerpc-apple-darwin8 Target: powerpc-apple-darwin8 Build: powerpc-apple-darwin8 Created attachment 26823 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26823 RC1 entire build log On powerpc-darwin8, with: fang% gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5370) h/w: dual 533 MHz G4 OS: 10.4.11 Using Jack Howarth's fink packaging for gcc-4.7.0-RC-20120302, slightly adapted for darwin8: configure: ../gcc-4.7.0-RC-20120302/configure --prefix=/sw --prefix=/sw/lib/gcc4.7 --mand ir=/sw/share/man --infodir=/sw/lib/gcc4.7/info --enable-languages=c,c++,fortran, lto,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw - -with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/includ e --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.7 --enable-cloog-backend= isl --with-dwarf2 --disable-libjava-multilib --disable-libquadmath gcc-4.7.0-RC1 (20120302) makes it all the way through stage 3 bootstrap comparison, and then during libitm: /bin/sh ./libtool --mode=compile /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/ darwin_objdir/./gcc/xgcc -B/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_o bjdir/./gcc/ -B/sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4.7/p owerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11. 0/include -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include -DHA VE_CONFIG_H -I. -I../../../gcc-4.7.0-RC-20120302/libitm -I../../../gcc-4.7.0-RC -20120302/libitm/config/powerpc -I../../../gcc-4.7.0-RC-20120302/libitm/config/p osix -I../../../gcc-4.7.0-RC-20120302/libitm/config/generic -I../../../gcc-4.7.0 -RC-20120302/libitm -Wall -Werror -Wc,-pthread -g -O2 -MT sjlj.lo -MD -MP -MF .deps/sjlj.Tpo -c -o sjlj.lo ../../../gcc-4.7.0-RC-20120302/libitm/config/powerp c/sjlj.S libtool: compile: /Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./ gcc/xgcc -B/Volumes/Isolde/fink.build/gcc47-4.7.0-0.rc1/darwin_objdir/./gcc/ -B/ sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4.7/powerpc-apple-dar win8.11.0/lib/ -isystem /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/include -isyst em /sw/lib/gcc4.7/powerpc-apple-darwin8.11.0/sys-include -DHAVE_CONFIG_H -I. -I. ./../../gcc-4.7.0-RC-20120302/libitm -I../../../gcc-4.7.0-RC-20120302/libitm/con fig/powerpc -I../../../gcc-4.7.0-RC-20120302/libitm/config/posix -I../../../gcc- 4.7.0-RC-20120302/libitm/config/generic -I../../../gcc-4.7.0-RC-20120302/libitm -Wall -pthread -Werror -g -O2 -MT sjlj.lo -MD -MP -MF .deps/sjlj.Tpo -c ../../.. /gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S -fno-common -DPIC -o .libs/ sjlj.o ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S:155:Invalid mnemonic 'FUNC' ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S:250:Invalid mnemonic 'CALL' ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S:259:Invalid mnemonic 'END' ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S:262:Invalid mnemonic 'HIDDEN' ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S:263:Invalid mnemonic 'FUNC' ../../../gcc-4.7.0-RC-20120302/libitm/config/powerpc/sjlj.S:407:Invalid mnemonic 'END' make[4]: *** [sjlj.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-target-libitm] Error 2 make[1]: *** Waiting for unfinished jobs possibly continuation of PR 51031
[Bug libitm/52482] libitm INVALID MNEMONIC in .S (powerpc asm)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482 --- Comment #1 from David Fang fang at csl dot cornell.edu 2012-03-04 18:45:58 UTC --- powerpc/sjlj.S contains: #include asmcfi.h #if defined(__powerpc64__) defined(__ELF__) ... #elif defined(__ELF__) ... #elif defined(_CALL_DARWIN) .macro FUNC name .globl _$0 _$0: .endmacro .macro END name .endmacro .macro HIDDEN name .private_extern _$0 .endmacro .macro CALL name bl _$0 .endmacro # ifdef __ppc64__ .machine ppc64 # else .machine ppc7400 # endif #else #error unsupported system #endif And I didn't see the unsupported system message, so maybe something's funky with the asm macro definitions under _CALL_DARWIN? Is there a particular assembler or assembly-style that's assumed? I have for /usr/bin/as: Apple Computer, Inc. version cctools-622.9~2, GNU assembler version 1.38
[Bug libstdc++/23081] Finish the implementation of tr1::array
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23081 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #5 from David Fang fang at csl dot cornell.edu 2011-12-11 01:00:35 UTC --- Blarg! This never got backported to apple's g++-4.0.1! :(
[Bug c++/21514] [DR 488] templates and anonymous enum
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21514 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #23 from David Fang fang at csl dot cornell.edu 2011-11-18 01:05:04 UTC --- /me wishes this was backported to *-apple-darwin8 gcc (Xcode 2.5)
[Bug spam/50000] 50k get!!! GCC is great!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #2 from David Fang fang at csl dot cornell.edu 2011-08-08 19:59:01 UTC --- dup of PR 3?
[Bug target/44707] operand requires impossible reload
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44707 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||fang at csl dot cornell.edu --- Comment #8 from David Fang fang at csl dot cornell.edu 2011-07-10 17:34:25 UTC --- Hi, I see this test failing on powerpc-darwin8 (I know, not a critical platform). http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg01092.html What information can I provide from my test runs?
[Bug target/48108] lto should be containerized in a single mach-o section on darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48108 --- Comment #16 from David Fang fang at csl dot cornell.edu 2011-07-10 04:41:14 UTC --- This current patch yields excellent results on powerpc-darwin8 now: http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg01092.html
[Bug libffi/49594] bootstrap failure in libffi:darwin_closure for powerpc-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49594 --- Comment #10 from David Fang fang at csl dot cornell.edu 2011-07-10 04:44:46 UTC --- (In reply to comment #9) Using Iain's patch ( http://gcc.gnu.org/bugzilla/attachment.cgi?id=24655 ), a native powerpc-darwin8 bootstrap has just completed successfully. The testsuite has just begun and will probably take another day to finish. Along with your LTO containerization patch from PR 48108, I get excellent results on powerpc-darwin8: http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg01092.html
[Bug libffi/49594] bootstrap failure in libffi:darwin_closure for powerpc-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49594 --- Comment #9 from David Fang fang at csl dot cornell.edu 2011-07-05 22:34:43 UTC --- (In reply to comment #8) I tested the patch on darwin 8 on a G5 and with crosses from darwin 9 - darwin 8. Using Iain's patch ( http://gcc.gnu.org/bugzilla/attachment.cgi?id=24655 ), a native powerpc-darwin8 bootstrap has just completed successfully. The testsuite has just begun and will probably take another day to finish.
[Bug libffi/49594] bootstrap failure in libffi:darwin_closure for powerpc-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49594 --- Comment #7 from David Fang fang at csl dot cornell.edu 2011-07-01 18:13:52 UTC --- (In reply to comment #6) Created attachment 24655 [details] make sure that the size of the dyld_stub_binding_helper is adjusted for arch. please try this - - it resolves the problem for me on a cross to darwin8 from powerpc-darwin9. If I have a chance over the w/e I'll boot the G5 into D8 and try a full test cycle. Hi Iain, thanks for looking into this. The above patch worked for me when I tried to re-run it in my previously failed build dir. I didn't try to resume the bootstrap from there. At the same time I also kicked off a --disable-multilib build. Also running on dual 533MHz G4, -j2 here, so results in half-a-day, though I might be slow responding over the weekend. :)
[Bug libffi/49594] New: bootstrap failure in libffi:darwin_closure for powerpc-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49594 Summary: bootstrap failure in libffi:darwin_closure for powerpc-darwin8 Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libffi AssignedTo: unassig...@gcc.gnu.org ReportedBy: f...@csl.cornell.edu Host: powerpc-apple-darwin8 Target: powerpc-apple-darwin8 Build: powerpc-apple-darwin8 During build of gcc-4.6.1 on powerpc-darwin8 (after having disabled libquadmath from PR 49582), I get a compilation error in libffi on powerpc/darwin_closure.lo: depbase=`echo src/powerpc/darwin_closure.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'` ;\ /bin/sh ./libtool --mode=compile /Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./gcc/xgcc -B/Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./gcc/ -B/sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/sys-include -m64 -DHAVE_CONFIG_H -I. -I../../../../gcc-4.6.1/libffi -I. -I../../../../gcc-4.6.1/libffi/include -Iinclude -I../../../../gcc-4.6.1/libffi/src -I. -I../../../../gcc-4.6.1/libffi/include -Iinclude -I../../../../gcc-4.6.1/libffi/src -g -O2 -MT src/powerpc/darwin_closure.lo -MD -MP -MF $depbase.Tpo -c -o src/powerpc/darwin_closure.lo ../../../../gcc-4.6.1/libffi/src/powerpc/darwin_closure.S \ mv -f $depbase.Tpo $depbase.Plo libtool: compile: /Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./gcc/xgcc -B/Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/./gcc/ -B/sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/bin/ -B/sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/sys-include -m64 -DHAVE_CONFIG_H -I. -I../../../../gcc-4.6.1/libffi -I. -I../../../../gcc-4.6.1/libffi/include -Iinclude -I../../../../gcc-4.6.1/libffi/src -I. -I../../../../gcc-4.6.1/libffi/include -Iinclude -I../../../../gcc-4.6.1/libffi/src -g -O2 -MT src/powerpc/darwin_closure.lo -MD -MP -MF src/powerpc/.deps/darwin_closure.Tpo -c ../../../../gcc-4.6.1/libffi/src/powerpc/darwin_closure.S -fno-common -DPIC -o src/powerpc/.libs/darwin_closure.o ../../../../gcc-4.6.1/libffi/src/powerpc/darwin_closure.S:unknown:missing indirect symbols for section (__DATA,__la_symbol_ptr) make[7]: *** [src/powerpc/darwin_closure.lo] Error 1 make[6]: *** [all-recursive] Error 1 make[5]: *** [all] Error 2 make[4]: *** [multi-do] Error 1 make[3]: *** [all-multi] Error 2 make[2]: *** [all] Error 2 make[1]: *** [all-target-libffi] Error 2 make[1]: *** Waiting for unfinished jobs system compiler: Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5370) hardware: powerpc7400 (dual G4) OS: OS X 10.4.11 (powerpc)
[Bug libffi/49594] bootstrap failure in libffi:darwin_closure for powerpc-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49594 David Fang fang at csl dot cornell.edu changed: What|Removed |Added CC||howarth at nitro dot ||med.uc.edu, iains at gcc ||dot gnu.org --- Comment #1 from David Fang fang at csl dot cornell.edu 2011-06-30 22:58:55 UTC --- darwin_closure.S was touched a while ago: http://gcc.gnu.org/ml/gcc-cvs/2010-12/msg00700.html by http://gcc.gnu.org/ml/gcc-patches/2010-12/txt00045.txt Can anyone else test this on powerpc-darwin8? I'll see what I can figure out.
[Bug bootstrap/49582] New: configure-target-libquadmath fail on powerpc-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49582 Summary: configure-target-libquadmath fail on powerpc-darwin8 Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: f...@csl.cornell.edu Host: powerpc-apple-darwin8 Target: powerpc-apple-darwin8 Build: powerpc-apple-darwin8 With release 4.6.1, on powerpc-darwin8, I get a build failure during libquadmath. Configuring with: --prefix=%p/lib/gcc4.6 --mandir=%p/share/man --infodir=%p/lib/gcc4.6/info --enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=%p --with-libiconv-prefix=%p --with-ppl=%p --with-cloog=%p --with-mpc=%p --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.6 --enable-cloog-backend=isl --with-dwarf2 --disable-libjava-multilib (where %p=/sw) My build log shows: Adding multilib support to Makefile in ../../../gcc-4.6 .1/libquadmath multidirs=ppc64 with_multisubdir= Running configure in multilib subdirs ppc64 pwd: /Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/powerpc -apple-darwin8.11.0/libquadmath Running configure in multilib subdir ppc64 pwd: /Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/powerpc -apple-darwin8.11.0 no checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for sysctl... configure: creating cache ./config.cache checking build system type... yes powerpc-apple-darwin8.11.0 checking host system type... checking for sysmp... powerpc-apple-darwin8.11.0 checking target system type... powerpc-apple-darwin8.11.0 checking for a BSD-compatible install... /sw/bin/ginstall -c checking whether build environment is sane... no checking for table... yes yes checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... checking for times... yes checking for --enable-version-specific-runtime-libs... no checking for style of include used by make... GNU checking for powerpc-apple-darwin8.11.0-gcc... /Volumes/Mercedes2/sw/src/fink.bu ild/gcc46-4.6.1-1000/darwin_objdir/./gcc/xgcc -B/Volumes/Mercedes2/sw/src/fink.b uild/gcc46-4.6.1-1000/darwin_objdir/./gcc/ -B/sw/lib/gcc4.6/powerpc-apple-darwin 8.11.0/bin/ -B/sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/lib/ -isystem /sw/lib/gc c4.6/powerpc-apple-darwin8.11.0/include -isystem /sw/lib/gcc4.6/powerpc-apple-da rwin8.11.0/sys-include -m64 yes checking for wait3... checking for C compiler default output file name... yes checking for wait4... a.out checking whether the C compiler works... configure: error: in `/Volumes/Mercedes 2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/powerpc-apple-darwin8.11.0/pp c64/libquadmath': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. yes checking whether basename is declared... make[1]: *** [configure-target-libquadm ath] Error 1 make[1]: *** Waiting for unfinished jobs (apologies if output is jumbled from parallel make) The -m64 on a 32b-only arch is likely the issue. Is libquadmath supported on 32b? If so, how can we eliminate the -m64 from the build?
[Bug bootstrap/49582] configure-target-libquadmath fail on powerpc-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49582 --- Comment #1 from David Fang fang at csl dot cornell.edu 2011-06-29 17:57:34 UTC --- My 32b-only powerpc arch is a G4, which really should have multilib disabled for most components. I couldn't find an option to --disable-libquadmath-multilib.
[Bug bootstrap/45248] Stage 3 bootstrap comparison failure (powerpc-darwin8)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248 --- Comment #15 from David Fang fang at csl dot cornell.edu 2011-06-29 18:02:48 UTC --- This bug can probably be closed. --with-dwarf2 has been working for quite a while. http://gcc.gnu.org/ml/gcc-testresults/2011-06/msg02820.html
[Bug c++/46170] [4.4/4.5 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #29 from David Fang fang at csl dot cornell.edu 2011-06-29 20:21:52 UTC --- re-ping for backport?
[Bug c++/2288] Variable declared in for-loop-header is in wrong scope
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288 --- Comment #17 from David Fang fang at csl dot cornell.edu 2011-05-20 17:56:25 UTC --- I usually catch these with -Wshadow -Werror.
[Bug c++/46170] [4.4/4.5 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #27 from David Fang fang at csl dot cornell.edu 2011-03-28 23:42:54 UTC --- Friendly ping for backport?
[Bug c++/46170] [4.4/4.5 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #26 from David Fang fang at csl dot cornell.edu 2011-02-22 00:16:19 UTC --- Friendly ping?
[Bug bootstrap/45248] Stage 3 bootstrap comparison failure (powerpc-darwin8)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248 --- Comment #11 from David Fang fang at csl dot cornell.edu 2011-02-07 21:02:13 UTC --- Any updates on this? re-confirmation? I would like to continue testing gcc-4.5.x on powerpc-darwin8, but can't b/c of this.
[Bug c++/46170] [4.4/4.5 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #23 from David Fang fang at csl dot cornell.edu 2011-01-13 22:07:10 UTC --- Hi again, any chance Dodji's patches could be pushed to the 4.5 and/or 4.4 branches, before it gets too close to release time again? Thanks. also if we're keeping fields accurate, keywords: rejects-valid known-to-fail: 4.4.2 4.5.2
[Bug c++/46170] [4.4/4.5 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #24 from David Fang fang at csl dot cornell.edu 2011-01-13 23:23:49 UTC --- Apologies, my typo: known-to-fail: 4.4.4 4.5.2 known-to-work: 4.4.2
[Bug c++/46170] [4.4/4.5/4.6 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #22 from David Fang fang at csl dot cornell.edu 2010-11-30 21:11:02 UTC --- Little ping: is this still expected to be fixed in 4.4.x and 4.5.x? Not that it should matter, but it's still a rejects-valid showstopper for compiling my project, which other users keep running into. Again, thanks for the fix on trunk.
[Bug c++/46170] [4.4/4.5/4.6 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #20 from David Fang fang at csl dot cornell.edu 2010-11-02 17:50:01 UTC --- (In reply to comment #18) Fantastic explanation, thank you!
[Bug c++/46170] [4.4/4.5/4.6 Regression] g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #10 from David Fang fang at csl dot cornell.edu 2010-11-01 20:40:17 UTC --- Thanks for working on this, Dodji! Meanwhile, I've been trying to find some source workaround for my example until this is patched and the next release is out. Can you think of any? Just to clarify: the test case I pasted isn't related to substitution failure or SFINAE, is it?
[Bug c++/46170] New: g++ wrongly rejects pointer-to-member in template arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 Summary: g++ wrongly rejects pointer-to-member in template arguments Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: f...@csl.cornell.edu The following reduced test case is wrongly rejected by g++-4.4 and g++-4.5: test case: reduce.ii = namespace util { struct option_value { }; template class T struct options_map_impl { typedef T options_struct_type; typedef bool (*opt_func)(const option_value, options_struct_type); template class V, V K static bool set_member_constant(const option_value, options_struct_type, V options_struct_type::*); template class V, V options_struct_type::*mem, V K static bool set_member_constant(const option_value opt, options_struct_type t) { return set_member_constantV,K(opt, t, mem); } }; } struct cflat_options { bool show_precharges; }; typedef util::options_map_implcflat_options options_map_impl_type; class register_options_modifier { typedef options_map_impl_type::opt_func modifier_type; public: register_options_modifier(); register_options_modifier(const char* Mode,const modifier_type COM, const char* h); }; static const register_options_modifier cflat_opt_mod_show_precharges(precharges, options_map_impl_type::set_member_constantbool, cflat_options::show_precharges, true, show precharge expressions), cflat_opt_mod_no_show_precharges(no- precharges, options_map_impl_type::set_member_constantbool, cflat_options::show_precharges, false, hide precharge expressions); === end test case === delta-reduced using: #!/bin/sh -e # reduce.sh CXXFLAGS=-ansi -Woverloaded-virtual -W -Wextra -Wall -Wundef -Wshadow -Wno-unused-parameter -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Werror -Wno-conversion -Wno-long-long # must pass g++-4.2 first g++ $CXXFLAGS -c -o reduce.o reduce.ii g++-4 -pipe -g -O2 $CXXFLAGS -x c++ reduce.ii -o reduce.o 2 reduce.err || : grep -q not a valid template argument reduce.err # exactly 4 lines of errors el=`wc -l reduce.err | awk '{print $1;}'` test $el -eq 4 diagnostic: reduce.ii: In static member function 'static bool util::options_map_implT::set_member_constant(const util::option_value, T) [with V = bool, V T::* mem = cflat_options::show_precharges, V K = true, T = cflat_options]': reduce.ii:22: instantiated from here reduce.ii:9: error: 'true' is not a valid template argument for type 'bool cflat_options::*' reduce.ii:9: error: it must be a pointer-to-member of the form `X::Y' it pass g++-4.2 and fails g++-4.4, g++-4.5: f...@fangbook 163 g++ -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5664) f...@fangbook 164 g++-4 -v Using built-in specs. Target: i386-apple-darwin10.4.0 Configured with: ../gcc-4.4.4/configure --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.4/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.4 Thread model: posix gcc version 4.4.4 (GCC) (for 4.5) g++-4 -v Using built-in specs. COLLECT_GCC=g++-4 COLLECT_LTO_WRAPPER=/Volumes/MacSpare/sw/lib/gcc4.5/bin/../libexec/gcc/i386-apple-darwin10.4.0/4.5.0/lto-wrapper Target: i386-apple-darwin10.4.0 Configured with: ../gcc-4.5.0/configure --prefix=/sw --prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.5/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.5 Thread model: posix gcc version 4.5.0 (GCC) === keywords: rejects-valid, diagnostic known-to-work: 4.2.1 known-to-fail: 4.4.4 4.5.0 This also used to work on 4.4.2, so it might be a branch regression.
[Bug target/32523] disastrous scheduling for POWER5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32523 --- Comment #9 from David Fang fang at csl dot cornell.edu 2010-09-29 21:36:02 UTC --- Out of curiosity, any benchmark updates on more recent releases?