[HP aCC 3.74] -E +Maked ICE on a conditional with new -----------------------------------------------------
Key: STDCXX-484 URL: https://issues.apache.org/jira/browse/STDCXX-484 Project: C++ Standard Library Issue Type: Bug Components: External Environment: HP aCC 3.74, 3.73, but not 3.63 Reporter: Martin Sebor aCC 3.73 and 3.74 crashes generating dependencies for the code below: $ cat t.cpp && aCC +Maked -E -V t.cpp void foo (int i) { char a [1]; char *p = i < sizeof a ? a : new char [i + 1]; } aCC: HP ANSI C++ B3910B A.03.74 Signal 11 ( 0) 0x00298924 sighandler__FiT1 + 0x134 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 1) 0xc022c328 _sigreturn [/usr/lib/libc.2] ( 2) 0x0026b76c synthesize__15LibraryRoutinesF19LibraryRoutinesEnum + 0x7c [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 3) 0x0026f7dc enter__15LibraryRoutinesF19LibraryRoutinesEnum + 0x10 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 4) 0x001ca0d8 lookup__3MapF11StringTokenP11DeclarationRbQ2_3Map10LookupKindRC11DynamicListXTP4 + 0x168 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 5) 0x001c9e84 find__3MapF11StringTokenP11DeclarationRbQ2_3Map10LookupKindRC11DynamicListXTP4No + 0x9c [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 6) 0x001a1e64 hasPointerToMemberComing__12PreprocessorFQ2_12Preprocessor8PTMStateP11Declaratio + 0x844 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 7) 0x002375f4 isProbablyAnIdentifier__12PreprocessorFb + 0x54 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 8) 0x001c7b7c resolveIdentifier__12PreprocessorFP12ScannerValue11StringToken + 0xbd4 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] ( 9) 0x001c5a30 nextToken__12PreprocessorFP12ScannerValue + 0x210 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] (10) 0x0026adc4 DoCompile__8CompilerFv + 0xd44 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] (11) 0x000b347c DoCompile__8CompilerFP6Buffer + 0x34 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] (12) 0x000b9178 DoCompileFile__8CompilerFPc + 0x110 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] (13) 0x000c1248 main + 0x404 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] (14) 0xc017d964 _start + 0xb4 [/usr/lib/libc.2] (15) 0x001a7d08 $START$ + 0x178 [/amd/packages/mdx/hpux/compilers/hp/aCC374_11.31/opt/aCC/lbin/ctcom.pa20] Error (system problem) 689: # Compiler received signal 11 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.