--- Comment #5 from rguenth at gcc dot gnu dot org 2008-04-06 18:05 ---
Subject: Bug 35842
Author: rguenth
Date: Sun Apr 6 18:04:47 2008
New Revision: 133963
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133963
Log:
2008-04-06 Richard Guenther <[EMAIL PROTECTED]>
PR
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-04-06 16:37 ---
Reduced C testcase:
extern __attribute__((dllimport)) const int SSL_ImplementedCiphers[];
extern void SSL_GetCipherSuiteInfo(int cipherSuite);
void nsCipherInfo(int SSL_NumImplementedCiphers)
{
int i;
for (i = 0;
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-04-06 16:06 ---
-fno-tree-ch probably just hides the bug. -linux targets work for me.
(gdb) call debug_generic_expr (tmp)
&SSL_ImplementedCiphers
(gdb) call is_gimple_min_invariant (tmp)
$1 = 0 '\0'
which is the problem.
static
--- Comment #2 from nightstrike at gmail dot com 2008-04-06 15:07 ---
To clarify the title, the ICE goes away with all optimization levels when
-fno-tree-ch is used.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35842
--- Comment #1 from nightstrike at gmail dot com 2008-04-06 14:55 ---
Created an attachment (id=15434)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15434&action=view)
Preprocessed source
This is the preprocessed source that causes the ICE.
--
http://gcc.gnu.org/bugzilla/show