Bug 28372 - Segfault with -fipa-pta
Summary: Segfault with -fipa-pta
Status: RESOLVED DUPLICATE of bug 26963
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 26963
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-13 17:53 UTC by Michael Cieslinski
Modified: 2006-08-25 22:39 UTC (History)
4 users (show)

See Also:
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:


Attachments
preprocessed source (659 bytes, text/plain)
2006-07-13 17:54 UTC, Michael Cieslinski
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***