Re: GCC stack backtraces

2012-09-14 Thread Richard Guenther
On Thu, 13 Sep 2012, Diego Novillo wrote: Thanks for the patch! On 2012-09-13 08:46 , Richard Guenther wrote: Index: gcc/testsuite/g++.dg/ext/builtin-location.C === *** /dev/null 1970-01-01 00:00:00.0

Re: GCC stack backtraces

2012-09-14 Thread Pedro Larroy
If you link with -rdynamic you can show a backtrace with something like the attached code. On Wed, Aug 29, 2012 at 9:22 AM, Ian Lance Taylor i...@google.com wrote: I've spent the last couple of days working on a stack backtrace library. It uses the GCC unwind interface to collect a stack

Re: Are Decimal operations are fully implemented/tested ?

2012-09-14 Thread Vincent Lefevre
On 2012-09-13 16:46:04 +, Joseph S. Myers wrote: On Thu, 13 Sep 2012, Vincent Lefevre wrote: But if you want an example, I don't think that the formatOf arithmetic operations (IEEE 754-2008 §5.4.1 -- that's a shall) are implemented by GCC, either for binary or for decimal, say add two

GCC 4.7.2 Release Candidate available from gcc.gnu.org

2012-09-14 Thread Jakub Jelinek
The first release candidate for GCC 4.7.2 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.7.2-RC-20120914 and shortly its mirrors. It has been generated from SVN revision 191287. I have so far bootstrapped and tested the release candidate on x86_64-linux. Please test it and report

GCC 4.7.2 Status Report (2012-09-14), branch frozen

2012-09-14 Thread Jakub Jelinek
The GCC 4.7 branch is now frozen for creating a first release candidate of the GCC 4.7.2 release. All changes need explicit release manager approval until the final release of GCC 4.7.2 which should happen roughly one week after the release candidate if no issues show up with it. Previous

Re: Are Decimal operations are fully implemented/tested ?

2012-09-14 Thread Joseph S. Myers
On Fri, 14 Sep 2012, Vincent Lefevre wrote: round-to-odd would be a good solution if it were provided directly in hardware. Otherwise a direct implementation would probably be more efficient (in particular when the implementation of the usual operation is done in software, like for decimal

C++ code in cgraph.h breaking Ada builds?

2012-09-14 Thread Lawrence Crowl
I added some reference returning member functions in cgraph.h, and now Ada appears to break while including cgraph.h. Huh? gnatbind -nostdinc -I- -I. -Iada -I../../src2/gcc/ada -I../../src2/gcc/ada/gcc-interface -o b_gnat1.adb -n ada/gnat1drv.ali mv b_gnat1.adb b_gnat1.ads ada/ build/gengtype -S

Re: C++ code in cgraph.h breaking Ada builds?

2012-09-14 Thread Arnaud Charlet
I added some reference returning member functions in cgraph.h, and now Ada appears to break while including cgraph.h. Huh? I suspect you are doing a parallel build (make -jxx), and the error is actually unrelated to the lines you quoted, but occurs above. Do a 'make' and you'll see the error

[OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread James Courtier-Dutton
Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG to AST. The decompiler project is open source. https://github.com/jcdutton/libbeauty The decompiler already contains a disassembler and

Re: C++ code in cgraph.h breaking Ada builds?

2012-09-14 Thread Lawrence Crowl
On 9/14/12, Arnaud Charlet char...@adacore.com wrote: I added some reference returning member functions in cgraph.h, and now Ada appears to break while including cgraph.h. Huh? I suspect you are doing a parallel build (make -jxx), and the error is actually unrelated to the lines you quoted,

Re: [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread Mike Dupont
thanks for sharing, will check this out. mike On Fri, Sep 14, 2012 at 9:05 PM, James Courtier-Dutton james.dut...@gmail.com wrote: Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG

gcc-4.6-20120914 is now available

2012-09-14 Thread gccadmin
Snapshot gcc-4.6-20120914 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20120914/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

[Bug c++/53661] [gcc-4.7/4.8 regression] Wrong narrowing conversion warning with -std=c++11

2012-09-14 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661 --- Comment #4 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-09-14 06:05:09 UTC --- (In reply to comment #2) Manuel, what do you think about this? I see the warning happening because the underlying type of Code is unsigned int. Isn't

[Bug c/54559] [4.7/4.8 Regression], ICE in gimplify_expr, at gimplify.c:7592

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54559 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug bootstrap/52887] Bootstrap on AIX failure: Undefined symbol: .std::functionvoid (std::__regex::_PatternCursor const, std::__regex::_Results)::function(std::functionvoid (std::__regex::_Patte

2012-09-14 Thread joerg.rich...@pdv-fs.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52887 --- Comment #22 from Jörg Richter joerg.rich...@pdv-fs.de 2012-09-14 07:58:16 UTC --- I have reduced a real live case. But still using vector. $ cat t.cc #include vector struct ClassicUpdate { ClassicUpdate(); }; typedef

[Bug fortran/54578] New: [OOP] -Wunused-function warnings for __copy functions

2012-09-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54578 Bug #: 54578 Summary: [OOP] -Wunused-function warnings for __copy functions Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug c++/54575] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 --- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2012-09-14 08:34:52 UTC --- I can't reproduce this.

[Bug middle-end/54571] Missed optimization converting between bit sets

2012-09-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54571 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/53661] [gcc-4.7/4.8 regression] Wrong narrowing conversion warning with -std=c++11

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||jason at

[Bug libstdc++/54577] dequeT::erase() still takes iterator instead of const_iterator

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54577 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug libstdc++/54576] [4.8 Regression] random_device isn't protected by _GLIBCXX_USE_C99_STDINT_TR1

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54576 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||hjl.tools

[Bug c++/54575] [4.8 Regression] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/54575] [4.8 Regression] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/54576] [4.8 Regression] random_device isn't protected by _GLIBCXX_USE_C99_STDINT_TR1

2012-09-14 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54576 --- Comment #2 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2012-09-14 11:42:00 UTC --- Author: hjl Date: Fri Sep 14 11:41:53 2012 New Revision: 191294 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191294 Log: Check

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/54575] [4.8 Regression] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 --- Comment #4 from Wolfgang Bangerth bangerth at gmail dot com 2012-09-14 11:48:56 UTC --- Would this do? ;-) .. templatetypename _From, typename _To struct is_convertible { static const bool value = true; };

[Bug c++/54575] [4.8 Regression] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 --- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com 2012-09-14 12:00:21 UTC --- Fantastic, thanks!

[Bug target/54564] [4.8 Regression] Broken __builtin_ia32_vfmadds[sd]3

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54564 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-09-14 12:16:59 UTC --- H.J., could you please review the fmaintrin.h changes of http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00921.html (Uros wanted your feedback on that). Thanks.

[Bug tree-optimization/54565] pass_update_address_taken before forwprop1 for vectors

2012-09-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54565 --- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2012-09-14 12:22:33 UTC --- Author: rguenth Date: Fri Sep 14 12:22:27 2012 New Revision: 191295 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191295 Log: 2012-09-14 Richard

[Bug tree-optimization/54565] pass_update_address_taken before forwprop1 for vectors

2012-09-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54565 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/54564] [4.8 Regression] Broken __builtin_ia32_vfmadds[sd]3

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54564 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2012-09-14 12:36:41 UTC --- Author: jakub Date: Fri Sep 14 12:36:33 2012 New Revision: 191297 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191297 Log: PR target/54564 *

[Bug target/54564] [4.8 Regression] Broken __builtin_ia32_vfmadds[sd]3

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54564 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2012-09-14 12:36:41 UTC --- Author: jakub Date: Fri Sep 14 12:36:33 2012 New Revision: 191297 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191297 Log: PR target/54564 *

[Bug target/54564] [4.8 Regression] Broken __builtin_ia32_vfmadds[sd]3

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54564 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2012-09-14 12:37:32 UTC --- Author: jakub Date: Fri Sep 14 12:37:16 2012 New Revision: 191298 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191298 Log: PR target/54564 *

[Bug target/54564] [4.8 Regression] Broken __builtin_ia32_vfmadds[sd]3

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54564 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2012-09-14 12:40:37 UTC --- Fixed on trunk, backport also tested on the 4.7 branch, but as 4.7.2-rc1 is in the works, I'll defer it for after 4.7.2 is released.

[Bug tree-optimization/54565] pass_update_address_taken before forwprop1 for vectors

2012-09-14 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54565 --- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-09-14 12:44:33 UTC --- (In reply to comment #4) Fixed Thank you. (in case you have a testcase feel free to add it). Mostly I could tweak the last forwprop-xx.c tests to dump an

[Bug target/54546] SH: Enable -fshrink-wrap

2012-09-14 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54546 --- Comment #2 from chrbr at gcc dot gnu.org 2012-09-14 13:22:34 UTC --- Author: chrbr Date: Fri Sep 14 13:22:29 2012 New Revision: 191301 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191301 Log: PR target/54546 *

[Bug rtl-optimization/44194] struct returned by value generates useless stores

2012-09-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44194 --- Comment #46 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-09-14 13:28:52 UTC --- Author: ebotcazou Date: Fri Sep 14 13:28:44 2012 New Revision: 191302 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191302 Log: PR

[Bug tree-optimization/54579] New: missed optimization: ASR idiom

2012-09-14 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54579 Bug #: 54579 Summary: missed optimization: ASR idiom Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug rtl-optimization/44194] struct returned by value generates useless stores

2012-09-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44194 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-09-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #33 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2012-09-14 13:42:44 UTC --- --- Comment #26 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-08-30 14:19:16 UTC --- (In reply to comment #22)

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-09-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #34 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2012-09-14 13:44:22 UTC --- --- Comment #27 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-08-30 14:56:46 UTC --- FWIW, I just filed the

[Bug c++/53661] [gcc-4.7/4.8 regression] Wrong narrowing conversion warning with -std=c++11

2012-09-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug c++/53661] [gcc-4.7/4.8 regression] Wrong narrowing conversion warning with -std=c++11

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|jason at gcc dot gnu.org| ---

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-09-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #35 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2012-09-14 13:49:28 UTC --- --- Comment #28 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-08-30 17:32:35 UTC --- (In reply to comment #22)

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-09-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #36 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2012-09-14 13:51:58 UTC --- --- Comment #30 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-09-01 08:18:06 UTC --- I commented out

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-09-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #37 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2012-09-14 13:54:42 UTC --- --- Comment #32 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-09-01 11:22:55 UTC --- Went back to 4.5.0 and

[Bug middle-end/52890] Revision 185336 causes 10% degradation on cpu2000 benchmark 252.eon

2012-09-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52890 --- Comment #11 from Martin Jambor jamborm at gcc dot gnu.org 2012-09-14 13:55:04 UTC --- (In reply to comment #10) Martin, Have you done any more digging on this? I just discovered that cpu2006 benchmark 471.omnetpp suffers the same

[Bug tree-optimization/54579] missed optimization: ASR idiom

2012-09-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54579 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/53661] [gcc-4.7/4.8 regression] Wrong narrowing conversion warning with -std=c++11

2012-09-14 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661 --- Comment #8 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-09-14 14:07:21 UTC --- Wconversion does not warn either, but it also does not warn for: enum Code { SUCCESS=-1 }; Code a; void foo(void) { unsigned int r; r = a; }

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-09-14 Thread htl10 at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #38 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-09-14 14:43:00 UTC --- (In reply to comment #33) I've no idea why gmp 4.3.x or 5.x works for you: both fail make check for me if built with gcc 4.4.2. I've not yet

[Bug middle-end/54315] Unnecessary copy of return value

2012-09-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54315 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug middle-end/54563] [4.7/4.8 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2215

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54563 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug middle-end/54563] [4.7/4.8 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2215

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54563 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot

[Bug c++/54580] New: 64-bit pointer to int cast fails

2012-09-14 Thread russell.wallace at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54580 Bug #: 54580 Summary: 64-bit pointer to int cast fails Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/54575] [4.8 Regression] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||hjl at gcc

[Bug c++/53661] [gcc-4.7/4.8 regression] Wrong narrowing conversion warning with -std=c++11

2012-09-14 Thread harald at gigawatt dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661 Harald van Dijk harald at gigawatt dot nl changed: What|Removed |Added CC||harald at

[Bug c/54103] ICE at gimplify.c:7790 on current trunk

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54103 --- Comment #1 from Joseph S. Myers jsm28 at gcc dot gnu.org 2012-09-14 16:59:21 UTC --- Author: jsm28 Date: Fri Sep 14 16:59:10 2012 New Revision: 191304 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191304 Log: c: PR c/54103 *

[Bug c/54103] [4.6/4.7 Regression] ICE at gimplify.c:7790 on current trunk

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54103 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/54580] 64-bit pointer to int cast fails

2012-09-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54580 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-09-14 17:07:50 UTC --- C++ is not C.

[Bug target/54516] [4.8 regression] ICE in reload_cse_simplify_operands, at postreload.c:403 with -O1 -march=armv7-a -mthumb

2012-09-14 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54516 --- Comment #3 from Richard Earnshaw rearnsha at gcc dot gnu.org 2012-09-14 17:10:53 UTC --- Author: rearnsha Date: Fri Sep 14 17:10:45 2012 New Revision: 191307 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191307 Log: PR target/54516

[Bug rtl-optimization/54540] [4.8 regression] postreload incorrectly simplifies stack adjustment into constant load into SP

2012-09-14 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54540 --- Comment #3 from Richard Earnshaw rearnsha at gcc dot gnu.org 2012-09-14 17:10:53 UTC --- Author: rearnsha Date: Fri Sep 14 17:10:45 2012 New Revision: 191307 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191307 Log: PR target/54516

[Bug c++/54427] Expose more vector extensions

2012-09-14 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54427 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-09-14 17:17:08 UTC --- Author: glisse Date: Fri Sep 14 17:17:01 2012 New Revision: 191308 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191308 Log: 2012-09-14 Marc Glisse

[Bug c++/54427] Expose more vector extensions

2012-09-14 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54427 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org 2012-09-14 17:22:24 UTC --- Progress :-) Documentation update is needed. Next useful one would be ?: so we can generate vec_cond_expr. See the OpenCL specification for a list of what's

[Bug rtl-optimization/44194] struct returned by value generates useless stores

2012-09-14 Thread chip at pobox dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44194 --- Comment #48 from Chip Salzenberg chip at pobox dot com 2012-09-14 17:23:08 UTC --- May Shub-Internet not see you as you pass.

[Bug c++/54575] [4.8 Regression] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 --- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2012-09-14 17:38:07 UTC --- (In reply to comment #4) Would this do? ;-) .. templatetypename _From, typename _To struct is_convertible { static const

[Bug c++/54581] New: decltype and opaque vector types

2012-09-14 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54581 Bug #: 54581 Summary: decltype and opaque vector types Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/54575] [4.8 Regression] ICE with std::vector::insert and -std=c++11

2012-09-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54575 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com 2012-09-14 18:22:17 UTC --- Ah, thanks!

[Bug middle-end/54563] [4.7/4.8 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2215

2012-09-14 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54563 --- Comment #6 from William J. Schmidt wschmidt at gcc dot gnu.org 2012-09-14 18:25:52 UTC --- I tend to agree; this isn't the only place in the middle-end this could cause trouble. The handling of pow/powf in reassociation comes to mind as

[Bug middle-end/54563] [4.7/4.8 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2215

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54563 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2012-09-14 18:30:18 UTC --- Seems the C++ FE ignores the nothrow attribute from builtins and instead just uses its own cfns.gperf. pow is in there, but powf/powl is not (as C++03 is

[Bug middle-end/54563] [4.7/4.8 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2215

2012-09-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54563 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/54582] New: gap in FORTIFY checking of buffer lengths

2012-09-14 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54582 Bug #: 54582 Summary: gap in FORTIFY checking of buffer lengths Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: minor

[Bug c++/54583] New: Spurious warning: value computed is not used with variable-size array

2012-09-14 Thread stuff0002 at pobox dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54583 Bug #: 54583 Summary: Spurious warning: value computed is not used with variable-size array Classification: Unclassified Product: gcc Version: 4.6.3 Status:

[Bug target/54584] New: m68k-uclinux error: Link tests are not allowed after GCC_NO_EXECUTABLES

2012-09-14 Thread baker at usgs dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54584 Bug #: 54584 Summary: m68k-uclinux error: Link tests are not allowed after GCC_NO_EXECUTABLES Classification: Unclassified Product: gcc Version: 4.7.1 Status:

[Bug target/28896] -fstack-limit-symbol and m68k and non 68020

2012-09-14 Thread baker at usgs dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28896 --- Comment #28 from Larry Baker baker at usgs dot gov 2012-09-14 20:52:14 UTC --- Created attachment 28194 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28194 Patch for trunk version 2012-09-09 of gcc/config/m68k/uclinux.h To fix the same

[Bug gcov-profile/54487] [4.8 Regression] profiledbootstrap broken by r190952

2012-09-14 Thread tejohnson at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54487 --- Comment #32 from tejohnson at gcc dot gnu.org 2012-09-14 21:06:54 UTC --- Author: tejohnson Date: Fri Sep 14 21:06:49 2012 New Revision: 191312 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191312 Log: Backport from trunk r190952 to add

[Bug rtl-optimization/54585] New: stack space allocated but never used when calling functions that return structs in registers

2012-09-14 Thread chip at pobox dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54585 Bug #: 54585 Summary: stack space allocated but never used when calling functions that return structs in registers Classification: Unclassified Product: gcc Version: 4.7.2

[Bug c/54552] [4.6/4.7/4.8 Regression] Cast to pointer to VLA crash the compiler

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54552 --- Comment #3 from Joseph S. Myers jsm28 at gcc dot gnu.org 2012-09-14 21:17:00 UTC --- Author: jsm28 Date: Fri Sep 14 21:16:56 2012 New Revision: 191313 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191313 Log: c: PR c/54552 *

[Bug c/54552] [4.6/4.7 Regression] Cast to pointer to VLA crash the compiler

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54552 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Summary|[4.6/4.7/4.8 Regression]|[4.6/4.7

[Bug middle-end/52173] internal compiler error: verify_ssa failed possibly caused by itm

2012-09-14 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52173 --- Comment #8 from Aldy Hernandez aldyh at gcc dot gnu.org 2012-09-14 21:20:23 UTC --- Created attachment 28195 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28195 reduced testcase Further reduced testcase that triggers on either C/C++.

[Bug bootstrap/38607] AIX error messages about TOC during build

2012-09-14 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38607 --- Comment #20 from David Edelsohn dje at gcc dot gnu.org 2012-09-14 23:23:45 UTC --- Author: dje Date: Fri Sep 14 23:23:41 2012 New Revision: 191316 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191316 Log: PR target/38607

[Bug other/54586] New: Help diagnosing error: Link tests are not allowed after GCC_NO_EXECUTABLES

2012-09-14 Thread baker at usgs dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54586 Bug #: 54586 Summary: Help diagnosing error: Link tests are not allowed after GCC_NO_EXECUTABLES Classification: Unclassified Product: gcc Version: 4.7.1 Status:

[Bug c/54103] [4.6/4.7 Regression] ICE at gimplify.c:7790 on current trunk

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54103 --- Comment #3 from Joseph S. Myers jsm28 at gcc dot gnu.org 2012-09-15 00:28:08 UTC --- Author: jsm28 Date: Sat Sep 15 00:28:05 2012 New Revision: 191336 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191336 Log: PR c/54103 *

[Bug c/54552] [4.6/4.7 Regression] Cast to pointer to VLA crash the compiler

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54552 --- Comment #5 from Joseph S. Myers jsm28 at gcc dot gnu.org 2012-09-15 00:29:31 UTC --- Author: jsm28 Date: Sat Sep 15 00:29:28 2012 New Revision: 191337 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191337 Log: PR c/54552 *

[Bug c/54103] [4.7 Regression] ICE at gimplify.c:7790 on current trunk

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54103 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Summary|[4.6/4.7 Regression] ICE at |[4.7

[Bug c/54552] [4.6/4.7 Regression] Cast to pointer to VLA crash the compiler

2012-09-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54552 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.6.4 |4.7.2 ---

[Bug target/54584] m68k-uclinux error: Link tests are not allowed after GCC_NO_EXECUTABLES

2012-09-14 Thread baker at usgs dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54584 --- Comment #1 from Larry Baker baker at usgs dot gov 2012-09-15 00:39:14 UTC --- I found that the -msep-data link would succeed if program section .tm_clone_table has a non-zero length. I changed __JCR_LIST__[] and __TMC_LIST__[] to

[Bug target/28896] -fstack-limit-symbol and m68k and non 68020

2012-09-14 Thread baker at usgs dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28896 --- Comment #29 from Larry Baker baker at usgs dot gov 2012-09-15 05:41:24 UTC --- Created attachment 28196 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28196 Patches for Sourcery (Mentor Graphics) CodeBench Lite GCC 4.6-2011.09-23 Patches

Re: [PATCH] Changes in mode switching

2012-09-14 Thread Vladimir Yakovlev
Hello, I reproduced the failure and found reason of it. I understood haw it resolve and now I need small changes only - additional argument of EMIT_MODE_SET. Is it good fo trunk? Thank you, Vladimir 2012-09-14 Vladimir Yakovlev vladimir.b.yakov...@intel.com *

Re: [PATCH] Combine location with block using block_locations

2012-09-14 Thread Richard Guenther
On Thu, Sep 13, 2012 at 7:37 PM, Mike Stump mikest...@comcast.net wrote: On Sep 13, 2012, at 6:52 AM, Robert Dewar de...@adacore.com wrote: Sure, it is obvious that you don't want -g to affect -O1 or -O2 code, but I think if you have -Og (if and when we have that), it would not be a bad thing

[PATCH] Bug fix in LSHIFT_EXPR case with a shift range in tree-vrp, handle more cases

2012-09-14 Thread Tom de Vries
Richard, I've tried to handle more LSHIFT_EXPR cases with a shift range in tree-vrp. Currently we handle cases like this: - non-negative shifting out zeros [5, 6] [1, 2] == [10, 24] This patch adds these cases: - unsigned shifting out ones [0xff00, 0x] [1, 2] ==

Re: [PATCH] Bug fix in LSHIFT_EXPR case with a shift range in tree-vrp, handle more cases

2012-09-14 Thread Jakub Jelinek
On Fri, Sep 14, 2012 at 09:27:27AM +0200, Tom de Vries wrote: * gcc.dg/tree-ssa/vrp81.c: New test. * gcc.dg/tree-ssa/vrp81-2.c: Same. * gcc.dg/tree-ssa/vrp82.c: Same. Why not vrp82.c, vrp83.c and vrp84.c (and rename the recently added vrp80-2.c test to vrp81.c)?

Re: [PATCH] Bug fix in LSHIFT_EXPR case with a shift range in tree-vrp, handle more cases

2012-09-14 Thread Tom de Vries
On 14/09/12 09:38, Jakub Jelinek wrote: On Fri, Sep 14, 2012 at 09:27:27AM +0200, Tom de Vries wrote: * gcc.dg/tree-ssa/vrp81.c: New test. * gcc.dg/tree-ssa/vrp81-2.c: Same. * gcc.dg/tree-ssa/vrp82.c: Same. Why not vrp82.c, vrp83.c and vrp84.c (and rename the recently added

Re: [PATCH] Bug fix in LSHIFT_EXPR case with a shift range in tree-vrp, handle more cases

2012-09-14 Thread Jakub Jelinek
On Fri, Sep 14, 2012 at 09:51:48AM +0200, Tom de Vries wrote: On 14/09/12 09:38, Jakub Jelinek wrote: On Fri, Sep 14, 2012 at 09:27:27AM +0200, Tom de Vries wrote: * gcc.dg/tree-ssa/vrp81.c: New test. * gcc.dg/tree-ssa/vrp81-2.c: Same. * gcc.dg/tree-ssa/vrp82.c: Same. Why

Re: [PATCH] Changes in mode switching

2012-09-14 Thread Vladimir Yakovlev
Additionaly. You can find the patch history in http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01590.html. I need this changes for my implementation of vzeroupper placement: for some statements I have no needs doing real insertion. I tested the changes on bootstrap using config

Re: [PATCH] Combine location with block using block_locations

2012-09-14 Thread Eric Botcazou
I think it's going to make GCC harder to maintain if we drop the -g0 vs. -g no-code-difference requirement for just some optimization levels. Seconded, this is surely going to open yet another can of worms. -- Eric Botcazou

Re: Backtrace library [3/3]

2012-09-14 Thread Jakub Jelinek
On Fri, Sep 14, 2012 at 11:50:31AM +0300, Janne Blomqvist wrote: A few quick comments, 1) Although mmap is not guaranteed to be async-signal-safe, in practice it should be as you mentioned previously. However I see that when using mmap, the implementation uses pthread mutexes. These are not

Re: [PATCH] Fix PR54489 - FRE needing AVAIL_OUT

2012-09-14 Thread Richard Guenther
On Thu, 13 Sep 2012, Steven Bosscher wrote: On Wed, Sep 12, 2012 at 4:52 PM, Steven Bosscher wrote: On Wed, Sep 12, 2012 at 4:02 PM, Richard Guenther wrote: for a followup (and I bet sth else than PRE blows up at -O2 as well). Actually, the only thing that really blows up is that enemy

Re: PATCH: PR debug/54568: --eh-frame-hdr should also be enabled for static executable

2012-09-14 Thread Jakub Jelinek
On Thu, Sep 13, 2012 at 07:46:52PM -0700, H.J. Lu wrote: There is no reason why --eh-frame-hdr can't be used with static executable on Linux. This patch enables --eh-frame-hdr for static Well, there is. For more than 2 years after the addition of --eh-frame-hdr support dl_iterate_phdr in

Re: [PATCH] Fix PR54489 - FRE needing AVAIL_OUT

2012-09-14 Thread Richard Guenther
On Fri, 14 Sep 2012, Richard Guenther wrote: On Thu, 13 Sep 2012, Steven Bosscher wrote: On Wed, Sep 12, 2012 at 4:52 PM, Steven Bosscher wrote: On Wed, Sep 12, 2012 at 4:02 PM, Richard Guenther wrote: for a followup (and I bet sth else than PRE blows up at -O2 as well).

  1   2   >