From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7809 invoked by alias); 17 Feb 2008 08:23:40 -0000 Received: (qmail 7737 invoked by uid 48); 17 Feb 2008 08:22:58 -0000 Date: Sun, 17 Feb 2008 08:23:00 -0000 Subject: [Bug c/35227] New: [4.1/4.2 regression] gcc ICEs/segfaults when using implicit cabs() with -O1 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "vapier at gentoo 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-02/txt/msg01849.txt.bz2 on an x86_64/x86 system, a simple mandel code base crashes gcc-4.1.2 and newer: $ gcc -c mandel.i -O1 mandel.i: In function 'mandel': mandel.i:5: warning: incompatible implicit declaration of built-in function 'cabs' mandel.i:2: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/cc4gdEy7.out file, please attach this to your bugreport. gcc-4.0.4 seems to work, but anything newer bombs -- Summary: [4.1/4.2 regression] gcc ICEs/segfaults when using implicit cabs() with -O1 Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vapier at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35227