[Bug c++/44406] New: wrong code generation with -ftree-sra

2010-06-03 Thread torbenh at users dot sourceforge dot net
attached code crashes, when compiled with -ftree-sra
works fine with 4.4.2

its probably an incarnation of PR44258


-- 
   Summary: wrong code generation with -ftree-sra
   Product: gcc
   Version: 4.5.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: torbenh at users dot sourceforge dot net
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44406



[Bug c++/44406] wrong code generation with -ftree-sra

2010-06-03 Thread torbenh at users dot sourceforge dot net


--- Comment #1 from torbenh at users dot sourceforge dot net  2010-06-03 
19:08 ---
Created an attachment (id=20819)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20819&action=view)
code that crashes when compiled


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44406



[Bug c++/44406] wrong code generation with -ftree-sra

2010-06-03 Thread torbenh at users dot sourceforge dot net


--- Comment #2 from torbenh at users dot sourceforge dot net  2010-06-03 
19:10 ---
Created an attachment (id=20820)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20820&action=view)
preprocessed signals_test.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44406



[Bug tree-optimization/44258] [4.5/4.6 Regression] possible SRA wrong-code generation.

2010-06-03 Thread torbenh at users dot sourceforge dot net


--- Comment #5 from torbenh at users dot sourceforge dot net  2010-06-03 
19:15 ---
(In reply to comment #4)
> Unfortunately the preprocessed source from comment #1 seems to be
> damaged, I get loads of errors like "error: stray '\336' in program."
> Can you please re-upload it?  Thanks.
> 

have a look at PR44406... i believe its the same thing.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44258