public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 @ 2014-06-17 9:10 ro at gcc dot gnu.org 2014-06-17 9:11 ` [Bug target/61533] " ro at gcc dot gnu.org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: ro at gcc dot gnu.org @ 2014-06-17 9:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61533 Bug ID: 61533 Summary: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: tom at codesourcery dot com, ubizjak at gmail dot com Host: i386-pc-solaris2.1[01] Target: i386-pc-solaris2.1[01] Build: i386-pc-solaris2.1[01] The new gcc.target/i386/fuse-caller-save.c test FAILs on Solaris 10 and 11/x86 with gas and -m64: FAIL: gcc.target/i386/fuse-caller-save.c scan-assembler-not .cfi_def_cfa_offset FAIL: gcc.target/i386/fuse-caller-save.c scan-assembler-not .cfi_offset It's compiled like this: /var/gcc/regression/trunk/11-gcc-gas/build/gcc/xgcc -B/var/gcc/regression/trunk/11-gcc-gas/build/gcc/ /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/fuse-caller-save.c -fno-diagnostics-show-caret -fdiagnostics-color=never -mclear-hwcap -O2 -fuse-caller-save -S -m64 -o fuse-caller-save.s I'm attaching the assembler output. Rainer ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/61533] gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 2014-06-17 9:10 [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 ro at gcc dot gnu.org @ 2014-06-17 9:11 ` ro at gcc dot gnu.org 2014-06-17 9:11 ` ro at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: ro at gcc dot gnu.org @ 2014-06-17 9:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61533 --- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> --- Created attachment 32950 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32950&action=edit assembler output ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/61533] gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 2014-06-17 9:10 [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 ro at gcc dot gnu.org 2014-06-17 9:11 ` [Bug target/61533] " ro at gcc dot gnu.org @ 2014-06-17 9:11 ` ro at gcc dot gnu.org 2014-06-17 13:49 ` ro at CeBiTec dot Uni-Bielefeld.DE ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: ro at gcc dot gnu.org @ 2014-06-17 9:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61533 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.10.0 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/61533] gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 2014-06-17 9:10 [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 ro at gcc dot gnu.org 2014-06-17 9:11 ` [Bug target/61533] " ro at gcc dot gnu.org 2014-06-17 9:11 ` ro at gcc dot gnu.org @ 2014-06-17 13:49 ` ro at CeBiTec dot Uni-Bielefeld.DE 2014-06-17 13:54 ` ubizjak at gmail dot com ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2014-06-17 13:49 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61533 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- > (In reply to Rainer Orth from comment #1) >> Created attachment 32950 [details] >> assembler output > > The test assumes that frame pointer is omitted. It passes indeed with -fomit-frame-pointer added on both i386-pc-solaris2.11 and x86_64-unknown-linux-gnu. I suppose the patch is ok then? Rainer >From gcc-bugs-return-454397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 17 13:51:28 2014 Return-Path: <gcc-bugs-return-454397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 808 invoked by alias); 17 Jun 2014 13:51:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 781 invoked by uid 55); 17 Jun 2014 13:51:23 -0000 From: "yufeng at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61483] [AArch64] builtin va_start incorrectly initializes the field of va_list for incoming unnamed arguments on the stack Date: Tue, 17 Jun 2014 13:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yufeng at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: yufeng at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61483-4-va79dTpPUL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61483-4@http.gcc.gnu.org/bugzilla/> References: <bug-61483-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg01479.txt.bz2 Content-length: 1842 https://gcc.gnu.org/bugzilla/show_bug.cgi?ida483 --- Comment #2 from Yufeng Zhang <yufeng at gcc dot gnu.org> --- Author: yufeng Date: Tue Jun 17 13:50:50 2014 New Revision: 211739 URL: https://gcc.gnu.org/viewcvs?rev!1739&root=gcc&view=rev Log: gcc/ PR target/61483 * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local variable 'size'; calculate 'size' right in the front; use 'size' to compute 'nregs' (when 'allocate_ncrn != 0') and pcum->aapcs_stack_words. gcc/testsuite/ PR target/61483 * gcc.target/aarch64/aapcs64/type-def.h (struct hfa_fx2_t): New type. * gcc.target/aarch64/aapcs64/va_arg-13.c: New test. * gcc.target/aarch64/aapcs64/va_arg-14.c: Ditto. * gcc.target/aarch64/aapcs64/va_arg-15.c: Ditto. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-13.c - copied unchanged from r211733, trunk/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-13.c branches/gcc-4_9-branch/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-14.c - copied unchanged from r211733, trunk/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-14.c branches/gcc-4_9-branch/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-15.c - copied unchanged from r211733, trunk/gcc/testsuite/gcc.target/aarch64/aapcs64/va_arg-15.c Modified: branches/gcc-4_9-branch/ (props changed) branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/aarch64/aarch64.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h branches/gcc-4_9-branch/libjava/classpath/ (props changed) Propchange: branches/gcc-4_9-branch/ ('svn:mergeinfo' modified) Propchange: branches/gcc-4_9-branch/libjava/classpath/ ('svn:mergeinfo' modified) ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/61533] gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 2014-06-17 9:10 [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 ro at gcc dot gnu.org ` (2 preceding siblings ...) 2014-06-17 13:49 ` ro at CeBiTec dot Uni-Bielefeld.DE @ 2014-06-17 13:54 ` ubizjak at gmail dot com 2014-06-17 13:58 ` ro at gcc dot gnu.org 2014-06-17 14:04 ` ro at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: ubizjak at gmail dot com @ 2014-06-17 13:54 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61533 --- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #3) > > The test assumes that frame pointer is omitted. > > It passes indeed with -fomit-frame-pointer added on both > i386-pc-solaris2.11 and x86_64-unknown-linux-gnu. I suppose the patch > is ok then? Yes, I think that -fomit-frame-pointer should be added unconditionally to the dg-options. Patch is preapproved for mainline SVN. >From gcc-bugs-return-454399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 17 13:55:04 2014 Return-Path: <gcc-bugs-return-454399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6378 invoked by alias); 17 Jun 2014 13:55:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5124 invoked by uid 48); 17 Jun 2014 13:54:32 -0000 From: "alexander.adam at informatik dot tu-chemnitz.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61537] New: template parameter lists wrongly detected on "struct" or "class" keyword on parameters Date: Tue, 17 Jun 2014 13:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.adam at informatik dot tu-chemnitz.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: <bug-61537-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg01481.txt.bz2 Content-length: 2985 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537 Bug ID: 61537 Summary: template parameter lists wrongly detected on "struct" or "class" keyword on parameters Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.adam at informatik dot tu-chemnitz.de Created attachment 32956 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32956&action=edit sample code When I define a template method outside of its template class declaration, it cannot use the class or struct keyword on normal parameters. This worked up to gcc 4.8. If I remove the struct or class keyword, everything works fine again. I tried -std=c++98 without success. If I write the definition inside the class Base { ... }; it also works. When I try to compile the code (see attachment), I get the following error: $ g++ main.cc main.cc:17:38: error: too many template-parameter-lists void Base<T>::do_sth(S param, struct Dummy) // not working ^ main.cc:17:6: error: prototype for ‘void Base<T>::do_sth(S, int)’ does not match any in class ‘Base<T>’ void Base<T>::do_sth(S param, struct Dummy) // not working ^ main.cc:11:18: error: candidate is: template<class T> template<class S> void Base<T>::do_sth(S, Dummy) void do_sth(S param, struct Dummy dummy); $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.0-6' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.0 (Debian 4.9.0-6) >From gcc-bugs-return-454400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 17 13:55:13 2014 Return-Path: <gcc-bugs-return-454400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7128 invoked by alias); 17 Jun 2014 13:55:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6757 invoked by uid 48); 17 Jun 2014 13:55:08 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/61536] [4.10 regression] g++ and libstdc++ regressions on arm-none-linux-gnueabihf with missing typeinfo Date: Tue, 17 Jun 2014 13:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 4.10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61536-4-QZ12quWHxz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61536-4@http.gcc.gnu.org/bugzilla/> References: <bug-61536-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg01482.txt.bz2 Content-length: 418 https://gcc.gnu.org/bugzilla/show_bug.cgi?ida536 --- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> --- Well, up to you really: maybe operator!= is special for you because it just thinly wraps operator== which is exported for you. If adding back *only* that additional export under the macro works, all your tests are fine, it would be great. Otherwise, just revert. Sorry again for the breakage. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/61533] gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 2014-06-17 9:10 [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 ro at gcc dot gnu.org ` (3 preceding siblings ...) 2014-06-17 13:54 ` ubizjak at gmail dot com @ 2014-06-17 13:58 ` ro at gcc dot gnu.org 2014-06-17 14:04 ` ro at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: ro at gcc dot gnu.org @ 2014-06-17 13:58 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61533 --- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> --- Author: ro Date: Tue Jun 17 13:58:11 2014 New Revision: 211740 URL: https://gcc.gnu.org/viewcvs?rev=211740&root=gcc&view=rev Log: Compile gcc.target/i386/fuse-caller-save.c with -fomit-frame-pointer (PR target/61533) PR target/61533 * gcc.target/i386/fuse-caller-save.c: Add -fomit-frame-pointer to dg-options. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/fuse-caller-save.c ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/61533] gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 2014-06-17 9:10 [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 ro at gcc dot gnu.org ` (4 preceding siblings ...) 2014-06-17 13:58 ` ro at gcc dot gnu.org @ 2014-06-17 14:04 ` ro at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: ro at gcc dot gnu.org @ 2014-06-17 14:04 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61533 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED URL| |https://gcc.gnu.org/ml/gcc- | |patches/2014-06/msg01357.ht | |ml Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |ro at gcc dot gnu.org --- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> --- Fixed for 4.10.0. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-06-17 14:04 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-06-17 9:10 [Bug target/61533] New: gcc.target/i386/fuse-caller-save.c FAILs on 64-bit Solaris/x86 ro at gcc dot gnu.org 2014-06-17 9:11 ` [Bug target/61533] " ro at gcc dot gnu.org 2014-06-17 9:11 ` ro at gcc dot gnu.org 2014-06-17 13:49 ` ro at CeBiTec dot Uni-Bielefeld.DE 2014-06-17 13:54 ` ubizjak at gmail dot com 2014-06-17 13:58 ` ro at gcc dot gnu.org 2014-06-17 14:04 ` ro at gcc dot gnu.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).