[Bug c++/33607] -O2 optimisation causes null pointer exception at runtime when calling g++ from java using jni

2007-10-02 Thread mattias dot ellert at tsl dot uu dot se
--- Comment #3 from mattias dot ellert at tsl dot uu dot se 2007-10-02 07:52 --- (In reply to comment #2) Thanks for taking your time to reply. Using -fno-strict-aliasing works for me too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33607

[Bug c++/33607] -O2 optimisation causes null pointer exception at runtime when calling g++ from java using jni

2007-10-01 Thread mattias dot ellert at tsl dot uu dot se
--- Comment #1 from mattias dot ellert at tsl dot uu dot se 2007-10-01 08:41 --- Created an attachment (id=14277) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14277&action=view) The test case... This is the test case used above. -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/33607] New: -O2 optimisation causes null pointer exception at runtime when calling g++ from java using jni

2007-10-01 Thread mattias dot ellert at tsl dot uu dot se
mponent: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mattias dot ellert at tsl dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33607

[Bug libstdc++/23528] [3.4 Regression] Wrong default allocator in ext/hash_map

2005-08-23 Thread mattias dot ellert at tsl dot uu dot se
--- Additional Comments From mattias dot ellert at tsl dot uu dot se 2005-08-23 17:14 --- (In reply to comment #10) Your proposed alternative patch works for me. Both for the testcase in this bug report and when I compile the code I was building when I found the bug. -- http

[Bug libstdc++/23528] Wrong default allocator in ext/hash_map

2005-08-23 Thread mattias dot ellert at tsl dot uu dot se
--- Additional Comments From mattias dot ellert at tsl dot uu dot se 2005-08-23 12:02 --- Created an attachment (id=9564) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9564&action=view) Patch against the gcc 3.4.4 STL headers With this patch applied to gcc 3.4.4 it c

[Bug libstdc++/23528] Wrong default allocator in ext/hash_map

2005-08-23 Thread mattias dot ellert at tsl dot uu dot se
--- Additional Comments From mattias dot ellert at tsl dot uu dot se 2005-08-23 12:01 --- Created an attachment (id=9563) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9563&action=view) The testcase that exemplifies the error It fails with gcc 3.4.4 but works correctly w

[Bug libstdc++/23528] New: Wrong default allocator in ext/hash_map

2005-08-23 Thread mattias dot ellert at tsl dot uu dot se
: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mattias dot ellert at tsl dot uu dot se CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23528