public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Randolph Chung <tausq@debian.org> To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org Cc: parisc-linux@lists.parisc-linux.org Subject: optimization/10130: [3.3 regression] [parisc-linux] ICE when building lesstif1 at -O1/O2 Date: Tue, 18 Mar 2003 05:46:00 -0000 [thread overview] Message-ID: <20030318053440.GO26139@tausq.org> (raw) >Number: 10130 >Category: optimization >Synopsis: [3.3 regression] [parisc-linux] ICE when building lesstif1 at -O1/O2 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Tue Mar 18 05:46:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Randolph Chung <tausq@debian.org> >Release: 3.3 20030309 (Debian prerelease) (Debian testing/unstable) >Organization: Debian >Environment: System: Linux gsyprf11.external.hp.com 2.4.20-pa18-UP #1 Sat Jan 4 22:06:52 PST 2003 parisc64 unknown unknown GNU/Linux Architecture: parisc64 <machine, os, target, libraries (multiple lines)> host: hppa-unknown-linux-gnu build: hppa-unknown-linux-gnu target: hppa-unknown-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,f77,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-sjlj-exceptions --enable-clocale=gnu --enable-debug --enable-objc-gc hppa-linux >Description: Test program below is extracted from lesstif1 (v0.93.36). Compiles fine without -O, but with -O1 or -O2 it aborts. The code compiles fine with gcc-3.2.3 bash-2.05b# gcc -O1 -v -c bug.c Reading specs from /usr/lib/gcc-lib/hppa-linux/3.3/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-sjlj-exceptions --enable-clocale=gnu --enable-debug --enable-objc-gc hppa-linux Thread model: posix gcc version 3.3 20030309 (Debian prerelease) /usr/lib/gcc-lib/hppa-linux/3.3/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 bug.c -quiet -dumpbase bug.c -auxbase bug -O1 -version -o /tmp/ccrpBE2v.s GNU C version 3.3 20030309 (Debian prerelease) (hppa-linux) compiled by GNU C version 3.3 20030309 (Debian prerelease). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 ignoring nonexistent directory "/usr/hppa-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/lib/gcc-lib/hppa-linux/3.3/include /usr/include End of search list. bug.c: In function `get_modifier_mapping': bug.c:44: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >How-To-Repeat: gcc -O1 -c bug.c ------- 8< bug.c 8<------ typedef struct { int max_keypermod; } XModifierKeymap; #define XK_Meta_L 0xFFE7 /* Left meta */ #define XK_Meta_R 0xFFE8 /* Right meta */ #define XK_Alt_L 0xFFE9 /* Left alt */ #define XK_Alt_R 0xFFEA /* Right alt */ #define Mod1Mask (1<<3) unsigned int blah(void); static int get_modifier_mapping(void *Dsp) { XModifierKeymap *mk; unsigned int ModifierKeysym; int ModifierSet, SetIndex, SetSize; int AltMask = Mod1Mask; SetSize = mk->max_keypermod; for (ModifierSet = 0; ModifierSet < 8; ModifierSet++) { for (SetIndex = 0; SetIndex < SetSize; SetIndex++) { ModifierKeysym = blah(); switch (ModifierKeysym) { case XK_Meta_L: case XK_Meta_R: AltMask = 1L << ModifierSet; goto bailout; case XK_Alt_L: case XK_Alt_R: AltMask = 1L << ModifierSet; goto bailout; } } } bailout: return AltMask; } ------- 8< bug.c 8<------ >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2003-03-18 5:46 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-18 5:46 Randolph Chung [this message] 2003-03-31 18:26 mmitchel
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030318053440.GO26139@tausq.org \ --to=tausq@debian.org \ --cc=debian-gcc@lists.debian.org \ --cc=gcc-gnats@gcc.gnu.org \ --cc=parisc-linux@lists.parisc-linux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).