Bug 28372

Summary: Segfault with -fipa-pta
Product: gcc Reporter: Michael Cieslinski <micis>
Component: tree-optimizationAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED DUPLICATE    
Severity: normal CC: anton, dberlin, gcc-bugs, micis
Priority: P3    
Version: 4.2.0   
Target Milestone: ---   
Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu Known to work:
Known to fail: Last reconfirmed:
Bug Depends on: 26963    
Bug Blocks:    
Attachments: preprocessed source

Description Michael Cieslinski 2006-07-13 17:53:17 UTC
With the actual snapshot gcc-4.2-20060708 I get a segfault when I use the option -fipa-pta

Michael Cieslinski


g++ -fipa-pta -S get.ii -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.2-20060708/configure --prefix=/usr/local/gcc42s --program-suffix=42s --with-arch=opteron --enable-languages=c,c++ --enable-__cxa_atexit --disable-nls --enable-threads=posix --disable-multilib --enable-checking
Thread model: posix
gcc version 4.2.0 20060708 (experimental)
/usr/local/gcc42s/libexec/gcc/x86_64-unknown-linux-gnu/4.2.0/cc1plus -fpreprocessed get.ii -quiet -dumpbase get.ii -march=opteron -auxbase get -version -fipa-pta -o get.s
GNU C++ version 4.2.0 20060708 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.2.0 20060708 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 736978e320f18d6f4f45445f87c62220
get.ii: In member function 'basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, <template-parameter-1-2> >::_M_insert(_ValueT) [with _ValueT = bool, _CharT = char, _Traits = char_traits<char>]':
get.ii:72: internal compiler error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
Comment 1 Michael Cieslinski 2006-07-13 17:54:08 UTC
Created attachment 11882 [details]
preprocessed source
Comment 2 Andrew Pinski 2006-07-13 22:52:14 UTC
This is most likely the same as PR 26963.

-fipa-pta does nothing useful for users (except compiler developers).
Comment 3 Volker Reichelt 2006-08-25 22:39:53 UTC

*** This bug has been marked as a duplicate of 26963 ***