This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/20281] [3.4 Regression] cpp segfaults on directory input


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-02 16:17 -------
Confirmed, here is the backtrace:
#0  0x00840a33 in strlen () from /lib/tls/libc.so.6
#1  0x08084920 in print_line (map=0x843b030, line=79, special_flags=0x0) at ../../gcc/c-ppoutput.c:
237
#2  0x0808508c in pp_file_change (map=0x843b030) at ../../gcc/c-ppoutput.c:384
#3  0x0807f48b in cb_file_change (pfile=0x84301f8, new_map=0x843b030) at ../../gcc/c-opts.c:1491
#4  0x080921be in cpp_change_file (pfile=0x0, reason=LC_ENTER, new_name=0x0) at ../../gcc/
cppfiles.c:936
#5  0x0807f15c in push_command_line_include () at ../../gcc/c-opts.c:1476
#6  0x0807f452 in c_common_init () at ../../gcc/c-opts.c:1194
#7  0x08086d6e in c_objc_common_init () at ../../gcc/c-objc-common.c:166
#8  0x08275f89 in toplev_main (argc=0, argv=0x0) at ../../gcc/toplev.c:4527
#9  0x0809962e in main (argc=0, argv=0x0) at ../../gcc/main.c:35

The error message is a regression from 2.95.3, I will file a different bug for that.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.4.0
      Known to work|                            |3.3.3 4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-02 16:18:02
               date|                            |
            Summary|cpp segfaults on directory  |[3.4 Regression] cpp
                   |input                       |segfaults on directory input
   Target Milestone|---                         |3.4.4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]