From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15650 invoked by alias); 29 Aug 2008 23:48:22 -0000 Received: (qmail 15210 invoked by uid 48); 29 Aug 2008 23:46:58 -0000 Date: Fri, 29 Aug 2008 23:48:00 -0000 Message-ID: <20080829234658.15209.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/36756] [4.4 Regression] g++.dg/tls-3.C ICE with section-anchors, unit-at-a-time, no-toplevel-reorder In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sam at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg02405.txt.bz2 ------- Comment #7 from sam at gcc dot gnu dot org 2008-08-29 23:46 ------- I think the fix is wrong: when optimization_options() is called, user options have not been processed yet. It is likely that section anchors are always disabled by this change. The patch for PR37283 at http://gcc.gnu.org/ml/gcc-patches/2008-08/msg02325.html may solve this. -- sam at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sam at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36756