Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Jonathan Wakely
On 28 November 2012 07:36, Xinliang David Li wrote: What you described is the 'transitional model' right? but I don't see any of those in the C++ standard working paper: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3347.pdf It's far too early for anything to have been voted into

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Andrew Haley
On 11/27/2012 04:00 PM, Diego Novillo wrote: Are there any big PCH users out there? Yes, lots. We certainly need it to make OpenJDK builds tolerable. It was quite a lot of work to reorganize the build to use it, but very worthwhile. Andrew.

Re: RFC - Alternatives to gengtype

2012-11-28 Thread Richard Biener
On Wed, Nov 28, 2012 at 12:48 AM, Diego Novillo dnovi...@google.com wrote: On Tue, Nov 27, 2012 at 6:20 PM, Jeff Law l...@redhat.com wrote: On 11/27/2012 03:51 PM, Diego Novillo wrote: * Start implementing memory pools for data structures that do not need to be in PCH images. It is still

Re: RFC - Alternatives to gengtype

2012-11-28 Thread Basile Starynkevitch
On Wed, Nov 28, 2012 at 11:30:32AM +0100, Richard Biener wrote: Note that I don't think that non-GC is inherently better than GC. In fact, using a GC leads to easier maintainable code. The fact that we are more memory hungry than necessary (and also maybe consume more compile-time than

Re: RFC - Alternatives to gengtype

2012-11-28 Thread Richard Biener
On Wed, Nov 28, 2012 at 11:54 AM, Basile Starynkevitch bas...@starynkevitch.net wrote: On Wed, Nov 28, 2012 at 11:30:32AM +0100, Richard Biener wrote: Note that I don't think that non-GC is inherently better than GC. In fact, using a GC leads to easier maintainable code. The fact that we are

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Diego Novillo
Thanks for all the responses, folks. The choice is clear, then. We will not pursue the removal of PCH. We'll attempt to re-structure PCH to use the streaming infrastructure, to make it at least more efficient (we were observing very significant file size gains when we tried it on the PPH

Re: RFC - Alternatives to gengtype

2012-11-28 Thread Diego Novillo
On Wed, Nov 28, 2012 at 5:30 AM, Richard Biener richard.guent...@gmail.com wrote: Note that I don't think that non-GC is inherently better than GC. In fact, using a GC leads to easier maintainable code. I don't think there is a direct relationship, actually. Other, easier to maintain

Re: RFC - Alternatives to gengtype

2012-11-28 Thread Richard Kenner
I don't think there is a direct relationship, actually. Other, easier to maintain compilers, are quite happy without a GC. I do agree, however, that a bad memory management system leads to maintainability issues. We definitely do not want to fall into the obstack nightmare. I agree

libstdc++-v3 without exception/exception segments

2012-11-28 Thread Martin Laabs
Hello, I currenty build an arm-elf cross compiler. It is intended to use it together with eCos, a small RTOS. I want to use the C++ compiler and therefore I want to use the libstdc++-v3. Since eCos has no underlying exception support I want to disable all exceptions in the libstdc++-v3. This is

Re: libstdc++-v3 without exception/exception segments

2012-11-28 Thread Jonathan Wakely
This message is inappropirate on this list, which is for discussing development of GCC. For help using or building GCC please use the gcc-help list instead. Please take any follow up to that list, thanks. On 28 November 2012 15:19, Martin Laabs wrote: Hello, I currenty build an arm-elf cross

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Chris Lattner
On Nov 27, 2012, at 11:36 PM, Xinliang David Li davi...@google.com wrote: What you described is the 'transitional model' right? but I don't see It's not immediately clear from the slides, but the transitional model is the only model that we're pursuing. The other approach is set out in the

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Toon Moene
On 11/28/2012 02:53 PM, Diego Novillo wrote: Thanks for all the responses, folks. The choice is clear, then. We will not pursue the removal of PCH. We'll attempt to re-structure PCH to use the streaming infrastructure, to make it at least more efficient (we were observing very significant

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Jonathan Wakely
On 28 November 2012 09:03, Jonathan Wakely wrote: On 28 November 2012 07:36, Xinliang David Li wrote: What you described is the 'transitional model' right? but I don't see any of those in the C++ standard working paper: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3347.pdf It's

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Jonathan Wakely
On 28 November 2012 20:16, Toon Moene wrote: On 11/28/2012 02:53 PM, Diego Novillo wrote: Is it permissable to ask a meta-question here ? What's so horrible about the definition of header files that something like this is necessary ? In Fortran we have modules. Certainly, the efficient

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Douglas Gregor
On Nov 28, 2012, at 1:14 PM, Jonathan Wakely jwakely@gmail.com wrote: On 28 November 2012 09:03, Jonathan Wakely wrote: On 28 November 2012 07:36, Xinliang David Li wrote: What you described is the 'transitional model' right? but I don't see any of those in the C++ standard working

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Gabriel Dos Reis
On Wed, Nov 28, 2012 at 3:14 PM, Jonathan Wakely jwakely@gmail.com wrote: On 28 November 2012 09:03, Jonathan Wakely wrote: On 28 November 2012 07:36, Xinliang David Li wrote: What you described is the 'transitional model' right? but I don't see any of those in the C++ standard working

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Miles Bader
2012/11/29 Gabriel Dos Reis g...@integrable-solutions.net: My understanding from attending the last C++ standards committee is that we are still way far from having something that gets consensus of good enough proposal on modules to coalesce around. We have several proposals, each in various

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Gabriel Dos Reis
On Wed, Nov 28, 2012 at 6:41 PM, Miles Bader mi...@gnu.org wrote: 2012/11/29 Gabriel Dos Reis g...@integrable-solutions.net: My understanding from attending the last C++ standards committee is that we are still way far from having something that gets consensus of good enough proposal on

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Lawrence Crowl
On 11/28/12, Gabriel Dos Reis g...@integrable-solutions.net wrote: On Nov 28, 2012 Miles Bader mi...@gnu.org wrote: 2012/11/29 Gabriel Dos Reis g...@integrable-solutions.net: My understanding from attending the last C++ standards committee is that we are still way far from having

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Gabriel Dos Reis
On Wed, Nov 28, 2012 at 7:07 PM, Lawrence Crowl cr...@googlers.com wrote: On 11/28/12, Gabriel Dos Reis g...@integrable-solutions.net wrote: On Nov 28, 2012 Miles Bader mi...@gnu.org wrote: 2012/11/29 Gabriel Dos Reis g...@integrable-solutions.net: My understanding from attending the last

[Bug target/53325] arm-rtems switch default target to EABI

2012-11-28 Thread sebastian.hu...@embedded-brains.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53325 --- Comment #5 from Sebastian Huber sebastian.hu...@embedded-brains.de 2012-11-28 08:09:47 UTC --- It is fixed on GCC 4.8. GCC 4.6 and 4.7 are still open. http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00939.html

[Bug sanitizer/55502] gcc.c-torture/execute/builtins/memcpy-chk.c execution failures with -fsanitize=address

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55502 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug sanitizer/55485] probable false positive on __builtin_setjmp/__builtin_longjmp

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55485 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||howarth

[Bug target/54721] Generate arm/thumb interwork veneers at compile time?

2012-11-28 Thread linux at horizon dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54721 --- Comment #4 from George Spelvin linux at horizon dot com 2012-11-28 08:37:50 UTC --- I wouldn't expect this to be something of high priority currently. I know the benefit is low; I had just hoped that it would be a fairly small and

[Bug sanitizer/55508] many test cases fail using -fsanitize=address with internal compiler error: in expand_call_tm

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55508 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||aldyh at

[Bug testsuite/55429] new UNRESOLVED: 20_util/enable_shared_from_this/cons/constexpr.cc scan-assembler on darwin

2012-11-28 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55429 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC|

[Bug other/55358] Valgrind errors

2012-11-28 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55358 --- Comment #6 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-11-28 08:51:26 UTC --- Created attachment 28818 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28818 stl benchmark The last issue can be reproduced with an

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug rtl-optimization/55512] New: [4.8 Regression] Various LRA ICEs with inline-asm

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55512 Bug #: 55512 Summary: [4.8 Regression] Various LRA ICEs with inline-asm Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/55512] [4.8 Regression] Various LRA ICEs with inline-asm

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55512 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug c/35634] [4.6/4.7/4.8 Regression] operand of pre-/postin-/decrement not promoted

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35634 --- Comment #37 from Richard Biener rguenth at gcc dot gnu.org 2012-11-28 09:27:14 UTC --- Author: rguenth Date: Wed Nov 28 09:27:10 2012 New Revision: 193882 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193882 Log: 2012-11-28

[Bug c/35634] [4.6/4.7 Regression] operand of pre-/postin-/decrement not promoted

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35634 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Known to work||4.8.0

[Bug rtl-optimization/55489] [4.7/4.8 regression] insane PRE memory usage with PIE (translate.i)

2012-11-28 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55489 Paolo Bonzini bonzini at gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/52996] [4.8 Regression] ice in verify_loop_structure, at cfgloop.c:1567

2012-11-28 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52996 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug regression/55327] [4.8 regression] FAIL: gcc.dg/vect/slp-perm-8.c scan-tree-dump-times vect vectorized 1 loops 2

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55327 --- Comment #1 from Richard Biener rguenth at gcc dot gnu.org 2012-11-28 09:32:35 UTC --- Author: rguenth Date: Wed Nov 28 09:32:30 2012 New Revision: 193883 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193883 Log: 2012-11-28

[Bug testsuite/55327] [4.8 regression] FAIL: gcc.dg/vect/slp-perm-8.c scan-tree-dump-times vect vectorized 1 loops 2

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55327 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/55512] [4.8 Regression] Various LRA ICEs with inline-asm

2012-11-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55512 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-11-28 09:33:32 UTC --- I thought this was fixed with: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02271.html

[Bug rtl-optimization/55512] [4.8 Regression] Various LRA ICEs with inline-asm

2012-11-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55512 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #3 from janus at gcc dot gnu.org 2012-11-28 09:40:33 UTC --- The backtrace one gets on trunk is: 0x669272 gfc_conv_structure(gfc_se*, gfc_expr*, int) /home/jweil/gcc48/trunk/gcc/fortran/trans-expr.c:5971 0x667dbb

[Bug tree-optimization/54547] [4.8 regression] FAIL: gcc.dg/tree-ssa/pr37508.c scan-tree-dump-times vrp1 Folding 3

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54547 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug c++/55513] New: Incorrect snprintf folding when building with -std=c++0x

2012-11-28 Thread gnobal at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513 Bug #: 55513 Summary: Incorrect snprintf folding when building with -std=c++0x Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED

[Bug c++/55513] Incorrect snprintf folding when building with -std=c++0x

2012-11-28 Thread gnobal at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513 --- Comment #1 from Amit Schreiber gnobal at hotmail dot com 2012-11-28 10:05:16 UTC --- Created attachment 28819 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28819 The program

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #4 from janus at gcc dot gnu.org 2012-11-28 10:10:40 UTC --- For a case like this: module test integer :: MPI_INTEGER = merge(4, 8, .false.) end module we do not get an EXPR_FUNCTION in gfc_conv_initializer, but it is

[Bug middle-end/55266] vector expansion: 36 movs for 4 adds

2012-11-28 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55266 --- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-11-28 10:11:31 UTC --- Author: glisse Date: Wed Nov 28 10:11:27 2012 New Revision: 193884 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193884 Log: 2012-11-28 Marc

[Bug c++/55513] [4.7 Regression] Incorrect snprintf folding when building with -std=c++0x

2012-11-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug target/55491] Segmentation fault

2012-11-28 Thread tom.day at amlin dot co.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 --- Comment #7 from tom.day at amlin dot co.uk 2012-11-28 10:29:51 UTC --- Sorry Mikael, I'm with you now. I also don't get this error message when targeting i686-w64-mingw32 when hosted on i686-linux-gnu.

[Bug bootstrap/55511] r193802 caused s390x bootstrap failure

2012-11-28 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55511 Hans-Peter Nilsson hp at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/55514] New: PowerPC EABI: Warning: setting incorrect section attributes for .sdata2

2012-11-28 Thread rdiezmail-gcc at yahoo dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55514 Bug #: 55514 Summary: PowerPC EABI: Warning: setting incorrect section attributes for .sdata2 Classification: Unclassified Product: gcc Version: 4.7.2

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #6 from Tobias Burnus burnus at gcc dot gnu.org 2012-11-28 10:48:58 UTC --- (In reply to comment #2) type(MPI_Datatype) :: MPI_INTEGER = merge(MPI_Datatype(4), MPI_Datatype(8), .false.) The problem is related to having

[Bug c++/55497] Local array (char[]) initialized with a size taken from a static variable creates an ICE

2012-11-28 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55497 --- Comment #6 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 2012-11-28 10:49:44 UTC --- Author: paolo Date: Wed Nov 28 10:49:39 2012 New Revision: 193885 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193885 Log:

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #7 from janus at gcc dot gnu.org 2012-11-28 10:50:28 UTC --- I think the following variant makes even more sense: Index: gcc/fortran/simplify.c === ---

[Bug c++/55497] Local array (char[]) initialized with a size taken from a static variable creates an ICE

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

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #8 from Tobias Burnus burnus at gcc dot gnu.org 2012-11-28 10:54:56 UTC --- (In reply to comment #5) +tsource-expr_type != EXPR_STRUCTURE) That's not okay: If you have integer, allocatable :: a(:), b(:) one has

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

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

[Bug target/55515] New: PowerPC EABI: Create a predefined symbol for -mdata=xxx

2012-11-28 Thread rdiezmail-gcc at yahoo dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55515 Bug #: 55515 Summary: PowerPC EABI: Create a predefined symbol for -mdata=xxx Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED

[Bug regression/55516] New: strict volatile bitfields are broken on ARM.

2012-11-28 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55516 Bug #: 55516 Summary: strict volatile bitfields are broken on ARM. Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #10 from janus at gcc dot gnu.org 2012-11-28 12:16:59 UTC --- (In reply to comment #9) (In reply to comment #7) - if (tsource-expr_type != EXPR_CONSTANT - || fsource-expr_type != EXPR_CONSTANT - ||

[Bug tree-optimization/54547] [4.8 regression] FAIL: gcc.dg/tree-ssa/pr37508.c scan-tree-dump-times vrp1 Folding 3

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54547 --- Comment #2 from Richard Biener rguenth at gcc dot gnu.org 2012-11-28 12:18:47 UTC --- Author: rguenth Date: Wed Nov 28 12:18:39 2012 New Revision: 193888 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193888 Log: 2012-11-28

[Bug tree-optimization/54547] [4.8 regression] FAIL: gcc.dg/tree-ssa/pr37508.c scan-tree-dump-times vrp1 Folding 3

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54547 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #11 from janus at gcc dot gnu.org 2012-11-28 12:22:02 UTC --- (In reply to comment #10) The first two are runtime checks, which are basically identical. Here is a reduced test case for these: implicit none integer

[Bug other/55517] New: [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 Bug #: 55517 Summary: [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug c++/55513] [4.7 Regression] Incorrect snprintf folding when building with -std=c++0x

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.3

[Bug bootstrap/55511] [4.8 Regression] r193802 caused s390x bootstrap failure

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55511 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug middle-end/55507] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55507 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug c++/55494] ICE for char array or int in variadic template

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55494 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug lto/55493] [4.8 Regression] LTO always ICEs on i686-w64-mingw32

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55493 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug other/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread konstantin.s.serebryany at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 Konstantin Serebryany konstantin.s.serebryany at gmail dot com changed: What|Removed |Added CC|

[Bug other/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 --- Comment #2 from Richard Biener rguenth at gcc dot gnu.org 2012-11-28 12:48:56 UTC --- (In reply to comment #1) I am quite sure that asan should not mess with the limits itself. It gets too messy too soon. (e.g. in tsan we try to

[Bug other/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread konstantin.s.serebryany at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 --- Comment #3 from Konstantin Serebryany konstantin.s.serebryany at gmail dot com 2012-11-28 12:50:09 UTC --- [The component for such bugs should be 'sanitizer' but for some reason I can't change it]

[Bug sanitizer/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||dodji

[Bug sanitizer/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread konstantin.s.serebryany at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 --- Comment #5 from Konstantin Serebryany konstantin.s.serebryany at gmail dot com 2012-11-28 12:56:53 UTC --- We try to minimize the number of syscalls we make in asan run-time. One reason for that is that asan may run in a sanbox which

[Bug sanitizer/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-28 13:00:27 UTC --- I think raising soft limit is a standard approach done in multiple places, even gcc itself does that, and is far better than just crashing. Unlike

[Bug sanitizer/55517] [ASAN] ASAN doesn't work with (soft) ulimit on virtual memory

2012-11-28 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55517 --- Comment #7 from kcc at gcc dot gnu.org 2012-11-28 13:17:21 UTC --- BTW, the messages are actually quite nice: ==22487== ERROR: Failed to allocate 0x2001000 (2199023259648) bytes at address 0x0000 (12) ==22487==

[Bug other/55358] Valgrind errors

2012-11-28 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55358 --- Comment #7 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-11-28 13:20:54 UTC --- The fix for: ==23637== Invalid write of size 8 ==23637==at 0xCF9951: rest_of_handle_dse() (dse.c:2874) ... seems to be simple. Because

[Bug bootstrap/55511] [4.8 Regression] r193802 caused s390x bootstrap failure

2012-11-28 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55511 --- Comment #2 from Hans-Peter Nilsson hp at gcc dot gnu.org 2012-11-28 13:36:08 UTC --- (In reply to comment #1) Is this with the first build of libgcc? I.e. is it likely that I'll see this with just a cross-build? Also, can you

[Bug sanitizer/55485] probable false positive on __builtin_setjmp/__builtin_longjmp

2012-11-28 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55485 --- Comment #7 from Kostya Serebryany kcc at gcc dot gnu.org 2012-11-28 13:37:02 UTC --- Note that the LLVM implementation inserts a call to __asan_handle_no_return before every no-return call instruction.

[Bug sanitizer/55485] probable false positive on __builtin_setjmp/__builtin_longjmp

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55485 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-28 13:47:41 UTC --- If I understand it right, that clears all shadow memory corresponding to current thread's stack, rather than trying to figure out into which function it

[Bug target/54791] AIX-only: Constructors are not called in main program.

2012-11-28 Thread adivilceanu at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791 --- Comment #29 from Adi adivilceanu at yahoo dot com 2012-11-28 14:00:55 UTC --- Ok... if you are so kind please tell me exactly 1) how did you install the gcc(you said it works on your aix) ? I mean what mpfr,gmp, libmpc did you use

[Bug sanitizer/55485] probable false positive on __builtin_setjmp/__builtin_longjmp

2012-11-28 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55485 --- Comment #9 from Kostya Serebryany kcc at gcc dot gnu.org 2012-11-28 14:00:53 UTC --- Correct. __asan_handle_no_return may loose some of the stack-buffer overflows. It is also used to handle clone case, where the entire stack should

[Bug bootstrap/55511] [4.8 Regression] r193802 caused s390x bootstrap failure

2012-11-28 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55511 --- Comment #3 from Andreas Krebbel krebbel at gcc dot gnu.org 2012-11-28 14:10:24 UTC --- (In reply to comment #2) (In reply to comment #1) Is this with the first build of libgcc? I.e. is it likely that I'll see this with just a

[Bug tree-optimization/55264] [4.6/4.7/4.8 Regression] ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak

2012-11-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55264 Aldy Hernandez aldyh at gcc dot gnu.org changed: What|Removed |Added CC||hubicka

[Bug c++/55513] [4.7/4.8 Regression] Incorrect snprintf folding when building with -std=c++0x

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

[Bug sanitizer/48076] Unsafe double checked locking in __emutls_get_address

2012-11-28 Thread torvald at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48076 --- Comment #7 from torvald at gcc dot gnu.org 2012-11-28 14:29:47 UTC --- (In reply to comment #6) There seems to be a similar bug in code generated for function static variables. The fast-path load is a plain load rather than atomic

[Bug lto/55474] global-buffer-overflow in lto-wrapper.c

2012-11-28 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55474 --- Comment #2 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2012-11-28 14:38:50 UTC --- Author: hjl Date: Wed Nov 28 14:38:40 2012 New Revision: 193893 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193893 Log: Handle

[Bug lto/54795] global-buffer-overflow in lto_write_options

2012-11-28 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #28 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2012-11-28 14:38:50 UTC --- Author: hjl Date: Wed Nov 28 14:38:40 2012 New Revision: 193893 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193893 Log: Handle

[Bug lto/54795] global-buffer-overflow in lto_write_options

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

[Bug lto/55474] global-buffer-overflow in lto-wrapper.c

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

[Bug middle-end/55477] [devirt] trunk fails inline-devirt tests #2 and and #3 whereas they pass in google/4_7

2012-11-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55477 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added CC||jamborm

[Bug other/55358] Valgrind errors

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55358 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug fortran/55501] [F03] ICE using MERGE in constant expr

2012-11-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55501 --- Comment #12 from Tobias Burnus burnus at gcc dot gnu.org 2012-11-28 14:54:33 UTC --- (In reply to comment #10) integer :: i(-1:1) = 0 print *, lbound(merge(i,i,.true.)) Without the patch, this prints: 1 And with the

[Bug fortran/55469] memory leak on read with istat.ne.0

2012-11-28 Thread matthias.krack at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55469 Matthias Krack matthias.krack at gmail dot com changed: What|Removed |Added CC|

[Bug sanitizer/55518] New: boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer

2012-11-28 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518 Bug #: 55518 Summary: boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer Classification: Unclassified

[Bug fortran/52161] Internal compiler errors with -fcheck=bounds in coarray tests

2012-11-28 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52161 --- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-11-28 15:12:52 UTC --- Still there at revision 193884.

[Bug middle-end/55481] [4.8 regression] -O2 generates a wrong-code infinite loop in C++Benchmark's simple_types_constant_folding int8 xor test

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55481 --- Comment #9 from Richard Biener rguenth at gcc dot gnu.org 2012-11-28 15:14:20 UTC --- Testcase that fails (infinite loop) with both the C and the C++ frontend at -O2: int main() { signed char result = 0; int n; for (n = 0;

[Bug c++/55513] [4.7/4.8 Regression] Incorrect snprintf folding when building with -std=c++0x

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

[Bug middle-end/55481] [4.8 regression] -O2 generates a wrong-code infinite loop in C++Benchmark's simple_types_constant_folding int8 xor test

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55481 --- Comment #10 from Richard Biener rguenth at gcc dot gnu.org 2012-11-28 15:16:00 UTC --- Caused by 2012-06-27 Richard Guenther rguent...@suse.de PR middle-end/53676 * tree-chrec.c (chrec_convert_1): Represent

[Bug middle-end/55481] [4.8 regression] -O2 generates a wrong-code infinite loop in C++Benchmark's simple_types_constant_folding int8 xor test

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55481 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug middle-end/55481] [4.8 regression] -O2 generates a wrong-code infinite loop in C++Benchmark's simple_types_constant_folding int8 xor test

2012-11-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55481 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer

2012-11-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

  1   2   3   >