public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21840] New: Linux 2.6.11.1.11: drivers/char/keyboard.c:619: internal compiler error: Segmentation fault
@ 2005-05-31 13:57 mclinden at informed dot net
  2005-05-31 14:05 ` [Bug middle-end/21840] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: mclinden at informed dot net @ 2005-05-31 13:57 UTC (permalink / raw)
  To: gcc-bugs

The relevant code is here:
CONFIG_GRKERNSEC_PROC and 
CONFIG_GRKERNSEC_PROC_MEMMAP)

are defined 

static void k_spec(struct vc_data *vc, unsigned char value, char up_flag, 
struct pt_regs *regs)
{
        if (up_flag)
                return;
        if (value >= ARRAY_SIZE(fn_handler))
                return;
        if ((kbd->kbdmode == VC_RAW ||
             kbd->kbdmode == VC_MEDIUMRAW) &&
             value != KVAL(K_SAK))
                return;         /* SAK is allowed even in raw mode */

#if defined(CONFIG_GRKERNSEC_PROC) || defined(CONFIG_GRKERNSEC_PROC_MEMMAP)
        {
                void *func = fn_handler[value];
                if (func == fn_show_state || func == fn_show_ptregs ||
                    func == fn_show_mem)
                        return;
        }
#endif

        fn_handler[value](vc, regs); /* line 619 */
}

-- 
           Summary: Linux 2.6.11.1.11: drivers/char/keyboard.c:619: internal
                    compiler error: Segmentation fault
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mclinden at informed dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21840


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-07-13  2:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-31 13:57 [Bug c/21840] New: Linux 2.6.11.1.11: drivers/char/keyboard.c:619: internal compiler error: Segmentation fault mclinden at informed dot net
2005-05-31 14:05 ` [Bug middle-end/21840] " pinskia at gcc dot gnu dot org
2005-05-31 14:35 ` mclinden at informed dot net
2005-05-31 14:45 ` pluto at agmk dot net
2005-05-31 14:57 ` pinskia at gcc dot gnu dot org
2005-05-31 14:59 ` [Bug middle-end/21840] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-31 15:10 ` pinskia at gcc dot gnu dot org
2005-05-31 15:41 ` dberlin at gcc dot gnu dot org
2005-06-16 23:53 ` pluto at agmk dot net
2005-07-12  6:54 ` [Bug middle-end/21840] [4.1 Regression] ICE while building Linux kernel (seg fault), missing cast pinskia at gcc dot gnu dot org
2005-07-12 17:00 ` pinskia at gcc dot gnu dot org
2005-07-13  2:22 ` pinskia at gcc dot gnu dot org
2005-07-13  2:33 ` pinskia at gcc dot gnu dot org
2005-07-13  2:33 ` cvs-commit at gcc dot gnu dot org

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).