GCC 4.6.0 Released

2011-03-28 Thread Jakub Jelinek
The GNU Compiler Collection version 4.6.0 has been released. GCC 4.6.0 is a major release, containing substantial new functionality not available in GCC 4.5.x or previous GCC releases. The link-time optimization framework introduced in GCC 4.5.0 has been significantly improved in this release,

Re: Possible Bug

2011-03-28 Thread Paolo Bonzini
On 03/27/2011 06:27 AM, Ian Lance Taylor wrote: Nathan Boleynpbo...@gmail.com writes: In a much larger application, I was getting a weird segfault that an assignment to a temporary variable fixed. I distilled the example into the attached test_case.c. When I run test_case.c under valgrind I

Re: Possible Bug

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 12:42 PM, Paolo Bonzini bonz...@gnu.org wrote: On 03/27/2011 06:27 AM, Ian Lance Taylor wrote: Nathan Boleynpbo...@gmail.com  writes: In a much larger application, I was getting a weird segfault that an assignment to a temporary variable fixed. I distilled the example

Re: inline assembly vs. intrinsic functions

2011-03-28 Thread roy rosen
2011/3/24 Ian Lance Taylor i...@google.com: roy rosen roy.1ro...@gmail.com writes: You build a RECORD_TYPE holding the fields you want to return.  You define the appropriate builtin functions to return that record type. How is that done? using define_insn? How do I tell it to return a

Re: Possible Bug

2011-03-28 Thread Paolo Bonzini
On 03/28/2011 01:06 PM, Richard Guenther wrote: /* GCC uses 8-byte loads and register passing even though sizeof = 6 */ typedef struct __attribute__((__packed__)) { unsigned chr:16; unsigned loc:32; } GENOME_LOC_TYPE_2; //#define GENOME_LOC_TYPE GENOME_LOC_TYPE_1

Re: Possible Bug

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 1:36 PM, Paolo Bonzini bonz...@gnu.org wrote: On 03/28/2011 01:06 PM, Richard Guenther wrote: /* GCC uses 8-byte loads and register passing even though sizeof = 6 */ typedef struct __attribute__((__packed__)) {   unsigned chr            :16;   unsigned loc            

RE: Supporting multiple pointer sizes in GCC

2011-03-28 Thread Jayant R. Sonar
? MIPS has two pointer sizes, but a given compilation (gcc invocation) uses only one of them, it comes from the chosen ABI. Yes, it looks like MIPS have got 2 ABIs - 32bit and 64bit. The choice of the ABI is controlled through a command line option '-march=arch'. Therefore in MIPS it doesn't

Re: Possible Bug

2011-03-28 Thread Michael Matz
Hi, On Mon, 28 Mar 2011, Paolo Bonzini wrote: At expansion time we have the following for the call argument: mem_ref 0x77ff9118 typerecord_type 0x75b295e8 GENOME_LOC_TYPE_2 packed type_0 BLK sizeinteger_cst 0x75b256b8 constant 48 unit

Re: Possible Bug

2011-03-28 Thread Paolo Bonzini
On 03/28/2011 02:27 PM, Michael Matz wrote: mem_ref 0x77ff9118 typerecord_type 0x75b295e8 GENOME_LOC_TYPE_2 packed type_0 BLK sizeinteger_cst 0x75b256b8 constant 48 unit sizeinteger_cst 0x75b25708 constant 6 align 8 symtab 0 alias set -1

Proposed solution for bug 44384, builtin_object_size_ treatment of multidimensional arrays is unexpected

2011-03-28 Thread Mark Eklund
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to get a solution for bug 44384, builtin_object_size_ treatment of multidimensional arrays is unexpected, and would like to know if my approach is right. First, a quick recap of the issue. The issue at hand is that

[Fwd: GCC 4.6.0 Released]

2011-03-28 Thread Dennis Clarke
Seems to be working well on Solaris 8 Sparc thus far. No surprises. I'll post a result set once the tests are complete but for now I see the output from hello.c is exactly as expected : # pwd /tmp/test # cat -n hello.c 1 #include stdio.h 2 3 int 4 main(int argc, char

Re: Possible Bug

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 3:36 PM, Paolo Bonzini bonz...@gnu.org wrote: On 03/28/2011 02:27 PM, Michael Matz wrote:   mem_ref 0x77ff9118      typerecord_type 0x75b295e8 GENOME_LOC_TYPE_2 packed type_0 BLK          sizeinteger_cst 0x75b256b8 constant 48          unit sizeinteger_cst

Re: Proposed solution for bug 44384, builtin_object_size_ treatment of multidimensional arrays is unexpected

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 3:54 PM, Mark Eklund mekl...@cisco.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to get a solution for bug 44384, builtin_object_size_ treatment of multidimensional arrays is unexpected, and would like to know if my approach is right. First, a

Re: [C++0x] Range-based for statements and ADL

2011-03-28 Thread Jason Merrill
On 03/25/2011 06:13 AM, Rodrigo Rivas wrote: On Wed, Mar 23, 2011 at 5:46 PM, Jason Merrillja...@redhat.com wrote: Yep. Here is the wording that we approved today: [snip] Nice. Thank you. Could you update your patch to match the final wording? Thanks, Jason

Bootstrap failure on sparc-sun-solaris2.10

2011-03-28 Thread Art Haas
Hi. This morning's build on sparc-sun-solaris2.10 failed for me; the error message in 'stage_2' is below: options.c:753:3: error: enum conversion in initialization is invalid in C++ [-Werror=c++-compat] options.c:753:3: error: (near initialization for

Re: GCC 4.6.0 Released

2011-03-28 Thread Piotr Wyderski
Jakub Jelinek ja...@redhat.com: The GNU Compiler Collection version 4.6.0 has been released. Compilation failure on Cygwin: ../../../libgcc/config/libbid/bid_decimal_globals.c:47:18: fatal error: fenv.h: No such file or directory compilation terminated. make[3]: *** [bid_decimal_globals.o]

Re: GCC 4.6.0 Released

2011-03-28 Thread Kai Tietz
2011/3/28 Piotr Wyderski piotr.wyder...@gmail.com: Jakub Jelinek ja...@redhat.com: The GNU Compiler Collection version 4.6.0 has been released. Compilation failure on Cygwin: ../../../libgcc/config/libbid/bid_decimal_globals.c:47:18: fatal error: fenv.h: No such file or directory

Re: inline assembly vs. intrinsic functions

2011-03-28 Thread Ian Lance Taylor
roy rosen roy.1ro...@gmail.com writes: 2011/3/24 Ian Lance Taylor i...@google.com: roy rosen roy.1ro...@gmail.com writes: You build a RECORD_TYPE holding the fields you want to return.  You define the appropriate builtin functions to return that record type. How is that done? using

Re: Bootstrap comparison failure! (gcc 4.6.x with -O3)

2011-03-28 Thread Witold Baryluk
On 03-27 09:42, Andi Kleen wrote: Witold Baryluk bary...@smp.if.uj.edu.pl writes: make BOOT_CFLAGS=$CFLAGS -flto CFLAGS_FOR_BUILD=$CFLAGS CXXFLAGS_FOR_BUILD=$CXXFLAGS bootstrap Easier is to configure with --with-build-config=bootstrap-lto then you don't need all the magic CFLAGS lines.

Re: GCC 4.6.0 Released

2011-03-28 Thread FX
this is a known issue and strictly cygwin related. Please update your cygwin environment to newest version, or disable decimal-floating point by option. Well, maybe this is known, but it is not noted on the GCC 4.6.0 release notes, nor on the target-specific installation information page at

Re: GCC 4.6.0 Released

2011-03-28 Thread Joe Buck
On Mon, Mar 28, 2011 at 11:52:56AM -0700, FX wrote: this is a known issue and strictly cygwin related. Please update your cygwin environment to newest version, or disable decimal-floating point by option. Well, maybe this is known, but it is not noted on the GCC 4.6.0 release notes, nor

[C++-0X] User-defined literals

2011-03-28 Thread Ed Smith-Rowland
Greetings, I am taking a new shot at user-defined literals. Compared to the previous attempt: * I have altered libcpp so that it tokenizes user defined literals in one chunk properly. * I have started work on new tree nodes and accessors. * I have (or am trying to) refine the checks for

GCC_NO_EXECUTABLES vs. libtool

2011-03-28 Thread Ian Lance Taylor
We have several bug reports for 4.6.0 about failures of the form checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. http://gcc.gnu.org/PR47836 http://gcc.gnu.org/PR46586 http://gcc.gnu.org/PR45174 http://gcc.gnu.org/PR39107 The

Re: GCC_NO_EXECUTABLES vs. libtool

2011-03-28 Thread Ralf Wildenhues
Hello Ian, * Ian Lance Taylor wrote on Tue, Mar 29, 2011 at 07:39:25AM CEST: We have several bug reports for 4.6.0 about failures of the form checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. Unfortunately, on a GNU/Linux

[Bug rtl-optimization/48064] Optimizer produces suboptimal code for e.g. x = x ^ (x 1)

2011-03-28 Thread jasper.neumann at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48064 Jasper Neumann jasper.neumann at web dot de changed: What|Removed |Added Severity|minor |normal

[Bug c/48305] [4.7 Regression] ice at -O0: verify_gimple failed

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48305 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug target/48308] crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section}

2011-03-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308 --- Comment #1 from Mikael Pettersson mikpe at it dot uu.se 2011-03-28 07:47:41 UTC --- Works for me on armv5tel-linux-gnueabi with gcc-4.6-20110325 (r171529) and binutils-2.20.1 (heavily updated). Please attach the intermediate assembly file.

[Bug fortran/48298] F2003 Implement User Defined Derived Type IO (DTIO)

2011-03-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48298 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc

[Bug lto/48309] gcc -flto -fuse-linker-plugin generates crashing executables on MinGW

2011-03-28 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48309 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2011-03-28 08:12:57 UTC --- It can be a duplicate of bug 47891.

[Bug fortran/48279] [4.6/4.7 Regression] segfault in gfc_check_vardef_context

2011-03-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48279 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug boehm-gc/48299] [4.7 Regression] FAIL: boehm-gc.c/thread_leak_test.c

2011-03-28 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48299 --- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-03-28 08:49:47 UTC --- Could you please check if this test worked before my patch? It may have been that the failure simply went unnoticed. Thanks.

[Bug c/48190] [regression?] Huge memory use while compiling qemu-0.4.0

2011-03-28 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48190 rsand...@gcc.gnu.org rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug debug/48041] dwarf2out emits unnecessary null byte in empty .debug_abbrev section

2011-03-28 Thread mark at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48041 Mark Wielaard mark at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-28 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 --- Comment #5 from Jan Kratochvil jan.kratochvil at redhat dot com 2011-03-28 09:12:20 UTC --- Created attachment 23788 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23788 GDB patch attempt with ptype regressions. (In reply to comment #4)

[Bug debug/48229] DW_TAG_type_unit has no DW_AT_producer

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2011-03-28 09:22:57 UTC --- .debug_types only appears with -gdwarf-4, I don't think any gcc defaulted to that yet, so if you are talking about DW_AT_accessibility default, IMHO just

[Bug tree-optimization/48295] Incorrect code generated with dynamic floating point rounding mode switches

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48295 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug target/48297] Suboptimal optimization of boolean expression addition

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48297 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug target/48301] Xcode 4.0's llvm-gcc can't bootstrap gcc 4.6.0 or trunk

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48301 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug driver/48306] presence of gcc subdir with . in PATH causes breakdown

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug bootstrap/48307] [4.7 Regression] Bootstrap failure

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48307 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/48311] New: [Quadmath] Documentation - typo, order

2011-03-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48311 Summary: [Quadmath] Documentation - typo, order Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: documentation Severity: trivial Priority: P3 Component:

[Bug lto/48309] gcc -flto -fuse-linker-plugin generates crashing executables on MinGW

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48309 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug middle-end/48310] ask a question about expand_used_vars in cfgexpand.c

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48310 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug ada/44431] [boot with C++] Conflicting exit declaration in ada/b_gnatb.c

2011-03-28 Thread gingold at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44431 --- Comment #6 from gingold at gcc dot gnu.org gingold at gcc dot gnu.org 2011-03-28 09:49:14 UTC --- Author: gingold Date: Mon Mar 28 09:49:10 2011 New Revision: 171593 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171593 Log: 2011-03-28

[Bug ada/44431] [boot with C++] Conflicting exit declaration in ada/b_gnatb.c

2011-03-28 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44431 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/48295] Incorrect code generated with dynamic floating point rounding mode switches

2011-03-28 Thread frederic.riss at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48295 --- Comment #3 from Frederic Riss frederic.riss at gmail dot com 2011-03-28 09:58:50 UTC --- In bug #34678 I thought you were agreeing with Joseph that -frounding-math had a more general meaning than the one you are expressing here, but I get

[Bug tree-optimization/48134] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1085 with custom flags

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48134 --- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2011-03-28 10:14:41 UTC --- Author: rguenth Date: Mon Mar 28 10:14:34 2011 New Revision: 171595 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171595 Log: 2011-03-28 Richard

[Bug c/48228] incorrect signed overflow warning when only 0 and 1 are used

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228 --- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2011-03-28 10:14:40 UTC --- Author: rguenth Date: Mon Mar 28 10:14:34 2011 New Revision: 171595 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171595 Log: 2011-03-28 Richard

[Bug middle-end/48269] [4.6 Regression] Incorrect fortify warning for a packed struct member

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48269 --- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2011-03-28 10:14:40 UTC --- Author: rguenth Date: Mon Mar 28 10:14:34 2011 New Revision: 171595 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171595 Log: 2011-03-28 Richard

[Bug tree-optimization/48031] [4.4/4.5 Regression] gcc.c-torture/compile/pr42956.c ICEs gcc on m68k-linux, ivopts related?

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48031 --- Comment #18 from Richard Guenther rguenth at gcc dot gnu.org 2011-03-28 10:14:39 UTC --- Author: rguenth Date: Mon Mar 28 10:14:34 2011 New Revision: 171595 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171595 Log: 2011-03-28 Richard

[Bug middle-end/48269] [4.6 Regression] Incorrect fortify warning for a packed struct member

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48269 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/48228] incorrect signed overflow warning when only 0 and 1 are used

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Component|c

[Bug tree-optimization/48134] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1085 with custom flags

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48134 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/47553] ARM neon vld1q_lane_u8 co. don't accept lanes = 8

2011-03-28 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47553 --- Comment #3 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 2011-03-28 10:23:03 UTC --- Author: rsandifo Date: Mon Mar 28 10:22:57 2011 New Revision: 171596 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171596 Log: gcc/

[Bug tree-optimization/48290] FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072

2011-03-28 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48290 --- Comment #3 from Ira Rosen irar at il dot ibm.com 2011-03-28 10:30:55 UTC --- I am going to test this patch. It checks that if we have a phi in outer loop in the basic block after the inner loop, then this phi is really inner loop's exit phi,

[Bug target/47553] ARM neon vld1q_lane_u8 co. don't accept lanes = 8

2011-03-28 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47553 --- Comment #4 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 2011-03-28 10:32:12 UTC --- Author: rsandifo Date: Mon Mar 28 10:32:09 2011 New Revision: 171597 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171597 Log: gcc/

[Bug go/48312] New: [4.7 regression] http, rpc, websocket tests hang on Solaris 2/x86

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48312 Summary: [4.7 regression] http, rpc, websocket tests hang on Solaris 2/x86 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/48290] FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48290 --- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2011-03-28 10:38:27 UTC --- Thanks Ira.

[Bug target/47553] ARM neon vld1q_lane_u8 co. don't accept lanes = 8

2011-03-28 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47553 rsand...@gcc.gnu.org rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/48295] Incorrect code generated with dynamic floating point rounding mode switches

2011-03-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48295 --- Comment #4 from joseph at codesourcery dot com joseph at codesourcery dot com 2011-03-28 10:50:44 UTC --- On Mon, 28 Mar 2011, rguenth at gcc dot gnu.org wrote: Btw, your testcase would be kindof invalid as you are not using the documented

[Bug c/48305] [4.7 Regression] ice at -O0: verify_gimple failed

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48305 --- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2011-03-28 10:55:56 UTC --- Created attachment 23790 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23790 gcc47-pr48305.patch Untested fix.

[Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245 --- Comment #21 from Rainer Orth ro at gcc dot gnu.org 2011-03-28 11:07:02 UTC --- Author: ro Date: Mon Mar 28 11:06:58 2011 New Revision: 171598 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171598 Log: PR target/48245 *

[Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*

2011-03-28 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245 --- Comment #23 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-03-28 11:11:09 UTC --- --- Comment #20 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-03-24 18:46:41 UTC --- AFAICT, comment #12 is OK

[Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245 --- Comment #24 from Richard Guenther rguenth at gcc dot gnu.org 2011-03-28 11:18:44 UTC --- (In reply to comment #20) AFAICT, comment #12 is OK on *-darwin9 including cross-cris-elf. given that Mike has approved, if someone could chip in

[Bug middle-end/48310] ask a question about expand_used_vars in cfgexpand.c

2011-03-28 Thread zgss278 at 163 dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48310 --- Comment #2 from shushengyu zgss278 at 163 dot com 2011-03-28 11:20:03 UTC --- Oh,sorry!I am not know the rule well. Can you introduce someone who would like to give me some help to me? At 2011-03-28 17:47:06,rguenth at gcc dot gnu.org

[Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*

2011-03-28 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245 --- Comment #25 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-03-28 11:21:20 UTC --- supposed to test? pr46940_0.c fails because only weak aliases are supported on darwin and the other tests pass even without

[Bug debug/48229] 4.5.x should produce unambiguous DW_AT_accessibility

2011-03-28 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Summary|DW_TAG_type_unit has no |4.5.x

[Bug libstdc++/48313] New: std::bind with template function

2011-03-28 Thread joerg.rich...@pdv-fs.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 Summary: std::bind with template function Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo:

[Bug lto/48309] gcc -flto -fuse-linker-plugin generates crashing executables on MinGW

2011-03-28 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48309 --- Comment #3 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2011-03-28 11:35:37 UTC --- (In reply to comment #2) Gordon Magnusson wrote: C:\bugreportld -v GNU ld (GNU Binutils) 2.21.51.20110326

[Bug libobjc/48314] New: Make the new symbols weak symbols

2011-03-28 Thread js-gcc at webkeks dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48314 Summary: Make the new symbols weak symbols Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libobjc AssignedTo:

[Bug middle-end/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36043 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target|x86_64-unknown-linux-gnu

[Bug middle-end/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36043 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Blocks||37954 ---

[Bug c/42098] gcc does not honor alignment specification for qualified typedefs

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42098 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/12742] Type alignment is lost if const is added to typedef

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12742 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added CC||jepler at

[Bug libstdc++/48313] std::bind with template function

2011-03-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug fortran/48279] [4.6/4.7 Regression] segfault in gfc_check_vardef_context

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48279 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug libstdc++/48313] std::bind with template function

2011-03-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2011-03-28 12:24:23 UTC --- The example can be modified to work by passing a pointer, so the template argument isn't deduced as a function type: std::bind( funcint, 0 );

[Bug boehm-gc/48299] [4.7 Regression] FAIL: boehm-gc.c/thread_leak_test.c

2011-03-28 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48299 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2011-03-28 12:31:35 UTC --- (In reply to comment #1) Could you please check if this test worked before my patch? It may have been that the failure simply went unnoticed. I don't think

[Bug target/48308] crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section}

2011-03-28 Thread dev-gcc-20110327-b588 at gheift dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308 --- Comment #2 from Gerhard Heift dev-gcc-20110327-b588 at gheift dot de 2011-03-28 12:34:31 UTC --- Created attachment 23791 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23791 generated assembler On line 114, the generates assembler code

[Bug boehm-gc/48299] [4.7 Regression] FAIL: boehm-gc.c/thread_leak_test.c

2011-03-28 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48299 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-03-28 12:40:06 UTC --- I don't think thread_leak_test.c was tested before. In that case, please try to compile it with the same flags used for one of

[Bug libstdc++/48313] std::bind with template function

2011-03-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2011-03-28 12:43:12 UTC --- It's not the _Bind constructor, it's the bind() call itself, this demonstrates the problem: templatetypename _Functor, typename... _ArgTypes inline

[Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32

2011-03-28 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48276 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added CC|hjl at gcc dot gnu.org |hjl.tools at gmail

[Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32

2011-03-28 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48276 --- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-03-28 12:52:43 UTC --- Please try ... -/* { dg-options -O2 } */ +/* { dg-options -O2 -fno-pic } */ ... It does fix the failure, thanks.

[Bug target/48308] crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section}

2011-03-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC||mikpe at it dot

[Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32

2011-03-28 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48276 --- Comment #3 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2011-03-28 13:14:56 UTC --- Author: hjl Date: Mon Mar 28 13:14:47 2011 New Revision: 171604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171604 Log: Add -fno-pic to

[Bug testsuite/48276] FAIL: gcc.target/i386/pr47502-2.c on x86_64-apple-darwin10.7.0 with -m32

2011-03-28 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48276 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/48279] [4.6/4.7 Regression] segfault in gfc_check_vardef_context

2011-03-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48279 --- Comment #6 from Tobias Burnus burnus at gcc dot gnu.org 2011-03-28 13:21:30 UTC --- ==1823== Invalid read of size 1 ==1823==at 0x4C32E7: gfc_check_vardef_context (expr.c:4377) ==1823==by 0x4CBC25: compare_actual_formal

[Bug debug/48315] New: ICE in mem_loc_descriptor, at dwarf2out.c:13899

2011-03-28 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48315 Summary: ICE in mem_loc_descriptor, at dwarf2out.c:13899 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo:

[Bug preprocessor/48248] [4.5/4.6/4.7 Regression] Wrong error message location when compiling preprocessed code

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48248 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug preprocessor/48248] [4.5/4.6/4.7 Regression] Wrong error message location when compiling preprocessed code

2011-03-28 Thread joerg.rich...@pdv-fs.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48248 --- Comment #3 from joerg.rich...@pdv-fs.de 2011-03-28 13:51:55 UTC --- (In reply to comment #2) Can't reproduce this, neither with g++ 4.5, nor trunk. Did you delete the empty lines?

[Bug tree-optimization/48316] New: missed CSE / reassoc with array offsets

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48316 Summary: missed CSE / reassoc with array offsets Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3

[Bug c/44384] builtin_object_size_ treatment of multidimensional arrays is unexpected

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44384 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug libstdc++/48313] std::bind with template function

2011-03-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2011-03-28 14:26:35 UTC --- slightly further reduced: templatetypename Functor, typename ArgTypes inline void bind(Functor f, ArgTypes a) { } templatetypename T void func( T )

[Bug tree-optimization/48317] New: SCCVN does not handle vector constructors

2011-03-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48317 Summary: SCCVN does not handle vector constructors Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3

[Bug c++/48289] [4.5/4.6/4.7 regression] -pedantic breaks std::move

2011-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48289 --- Comment #3 from Jason Merrill jason at gcc dot gnu.org 2011-03-28 15:06:32 UTC --- Author: jason Date: Mon Mar 28 15:06:28 2011 New Revision: 171607 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171607 Log: Revert: PR

[Bug tree-optimization/48195] ICE: vector VEC(ipa_node_params_t,base) index domain error, in ipa_analyze_node at ipa-prop.c:1525 with -flto --param partial-inlining-entry-probability=101

2011-03-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48195 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug go/48312] [4.7 regression] http, rpc, websocket tests hang on Solaris 2/x86

2011-03-28 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48312 Ian Lance Taylor ian at airs dot com changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug other/48318] New: Memory access error by build/genhooks?

2011-03-28 Thread Markus.Elfring at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48318 Summary: Memory access error by build/genhooks? Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo:

[Bug c++/48296] [C++0x] constexpr member function cannot use the class type it belongs as parameter type or return type

2011-03-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48296 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||jason at

  1   2   3   >